39 Commits

Author SHA1 Message Date
Ryan Cobb 9acc43860c Change ScriptPath ParameterSetName 2018-02-17 19:55:56 -06:00
Ryan Cobb c1be9d3d52 Adding AST obfuscation 2018-01-04 12:47:49 -06:00
cobbr 99b33dd9d0 Adding AST obfuscation 2018-01-04 12:44:01 -08:00
cobbr e350ed4f3f Adding AST obfuscation 2018-01-04 12:21:09 -08:00
cobbr 043ad8418c Adding AST obfuscation 2018-01-04 12:07:18 -08:00
cobbr bbd174f4dd Adding AST obfuscation 2018-01-04 12:00:43 -08:00
Daniel Bohannon a24aca7e8d Merge pull request #30 from danielbohannon/danielbohannon-patch-1
Removing $env:Public invocation option for compatibility
2017-12-19 08:27:05 -05:00
Daniel Bohannon 0e31fabd86 Removing $env:Public invocation option for compatibility
Removing $env:Public invocation option for non-English system compatibility found by ilgrank (https://github.com/danielbohannon/Invoke-Obfuscation/issues/22).
2017-12-19 08:26:51 -05:00
Daniel Bohannon 5ae6ab432e Merge pull request #29 from danielbohannon/danielbohannon-patch-1
Adding COMPRESS function to README
2017-12-19 08:12:19 -05:00
Daniel Bohannon 721191ccbe Adding COMPRESS function to README
Adding COMPRESS function to README
2017-12-19 08:12:06 -05:00
Daniel Bohannon e55be699f2 Merge pull request #28 from danielbohannon/danielbohannon-patch-1
Adding COMPRESS function
2017-12-19 08:03:40 -05:00
Daniel Bohannon 889e62f4c4 Adding COMPRESS function
Adding COMPRESS function for easier conversion of multi-line scripts to a one-liner command while drastically reducing the command length for cmd.exe command line length limitation purposes.
2017-12-19 08:03:21 -05:00
cobbr 950785e5f8 Linux compatibility issue fix 2017-10-10 20:58:21 -05:00
cobbr ce9eb555d0 Various TOKEN bug fixes, cross-platform compatibility, PS 6.0 compatible 2017-10-08 12:26:29 -07:00
Daniel Bohannon 8ea0ebfd52 Added 2 New Encoding Schemes
Added 2 New Encoding Schemes :: paired with today's release of Revoke-Obfuscation
2017-07-27 12:36:31 -04:00
Daniel Bohannon 63e694fa6a Fixed OutputType param bind error (thanks @cobbr!)
Fixed OutputType param bind error (thanks @cobbr!)
2017-03-13 08:00:56 -04:00
Daniel Bohannon fbe1c846c3 Added support for WindowStyle shorthand arguments
Added support for WindowStyle shorthand arguments:
0,n,no,nor,norm,norma
1,h,hi,hid,hidd,hidde
2,mi,min,mini,minim,minimi,minimiz,minimize
3,ma,max,maxi,maxim,maximi,maximiz,maximize
2017-03-11 07:23:26 -05:00
Daniel Bohannon 33ef7ef325 Added support for WindowStyle shorthand arguments
Added support for WindowStyle shorthand arguments:
0,n,no,nor,norm,norma
1,h,hi,hid,hidd,hidde
2,m,mi,min,mini,minim,minimi,minimiz,minimize
3,m,ma,max,maxi,maxim,maximi,maximiz,maximize
2017-03-10 12:11:36 -05:00
Daniel Bohannon 654a825ebb Added support for Hidden shorthand: 1,H,Hi,Hid,Hidd,Hidde
Added support for Hidden shorthand: 1,H,Hi,Hid,Hidd,Hidde
2017-03-10 11:50:37 -05:00
Daniel Bohannon 19c5dc40fb v1.7 - Added RUNDLL and MSHTA Launchers
Added 3 new LAUNCHER options:
RUNDLL
RUNDLL++
MSHTA++
2017-03-03 04:40:26 -05:00
Daniel Bohannon 3619e161b2 v1.7 - Added RUNDLL and MSHTA Launchers
Added 3 new LAUNCHER options:
RUNDLL
RUNDLL++
MSHTA++
2017-03-02 22:37:13 -05:00
Daniel Bohannon e6b01edbb2 Variable and String token fix
Variable token fix: Some variables were being obfuscated without trimming out double quotes (i.e. ${"var`Name"} instead of ${varName})

String token fix: ParameterSetName strings (but not DefaultParameterSetName) string values now error when trying to concatenate or reorder even when encapsulated with curly braces. This fix downgrades these parameter binding scenarios with double quotes and tick markes, same as a member token obfuscation. This was causing errors when obfuscating, for example, Invoke-Mimikatz with any kind of STRING token obfuscation (Token\String\* or Token\All\1).
2017-02-12 15:31:28 -05:00
Daniel Bohannon cba7dd3ef7 Variable and String token fix
Variable token fix: Some variables were being obfuscated without trimming out double quotes (i.e. ${"var`Name"} instead of ${varName})

String token fix: ParameterSetName strings (but not DefaultParameterSetName) string values now error when trying to concatenate or reorder even when encapsulated with curly braces. This fix downgrades these parameter binding scenarios with double quotes and tick markes, same as a member token obfuscation. This was causing errors when obfuscating, for example, Invoke-Mimikatz with any kind of STRING token obfuscation (Token\String\* or Token\All\1).
2017-02-12 15:26:09 -05:00
Daniel Bohannon 3d9758bca1 v1.6 - Added CLI + Regex + Much More + Variable Fix
v1.6 - Added CLI + Regex + Much More + Variable Fix
2017-02-12 11:03:16 -05:00
Daniel Bohannon d325d1d22c Add files via upload 2017-01-30 21:39:19 -05:00
Daniel Bohannon 9ec8b1530d v1.6 - Added CLI + Regex + Much More (and IEX bug fix)
v1.6 - Added CLI + Regex + Much More (and IEX bug fix)
2017-01-24 11:58:04 -05:00
Daniel Bohannon fc136d3a27 v1.6 - Added CLI + Regex + Much More (and IEX bug fix)
v1.6 - Added CLI + Regex + Much More (and IEX bug fix)
2017-01-24 09:05:15 -05:00
Daniel Bohannon d419d0b4a0 v1.6 - Added CLI + Regex + Much More
v1.6 - Added CLI + Regex + Much More
2017-01-24 03:28:08 -05:00
Daniel Bohannon 599e268269 Fixed string obfuscation bug when $ or ` are present
Fixed string obfuscation bug when $ or ` are present  in strings encapsulated by double quotes. Also removed white space obfuscation from TOKEN/ALL/1 to dramatically reduce the time required to obfuscate large scripts.
2016-12-07 18:16:05 -05:00
Daniel Bohannon 41bf018057 v1.5 - Added WMIC launcher + WMIC arg obfuscation 2016-11-04 14:46:39 -04:00
Daniel Bohannon 33cf2fbbca v1.4 - Added BXOR encoding + shorthand -Win syntax
v1.4 - 2016-10-28 BruCON, Ghent: Added new BXOR ENCODING function. Also enhanced 
randomized case for all components of all ENCODING functions as well as for 
PowerShell execution flags for all LAUNCHERs. Finally, added -EP shorthand option 
for -ExecutionPolicy to all LAUNCHERs as well as the optional integer representation 
of the -WindowStyle PowerShell execution flag: Normal (0), Hidden (1), Minimized (2), 
Maximized (3).
2016-10-28 05:25:54 -04:00
Daniel Bohannon 80999f3f03 v1.3 - Added CLIP+ and CLIP++ launchers. 2016-10-23 18:42:28 -04:00
Daniel Bohannon 27dbdd2d28 Added Type Token obfuscation 2016-10-19 13:23:18 -04:00
Daniel Bohannon 83578ade90 Add files via upload 2016-10-08 18:04:26 -04:00
Daniel Bohannon 8a75ef8da8 Add files via upload
v1.1 Release: Introducing -f format operator for re-ordering obfuscation options for the following TOKEN level obfuscation functions: Command, (Command) Argument, String and Member. 

Detailed explanation with example and DFIR implications can be found at: http://www.danielbohannon.com/blog-1/2016/10/1/invoke-obfuscation-v11-release-sunday-oct-9
2016-10-08 18:03:06 -04:00
Daniel Bohannon 191a1f0178 Fixed Member obfuscation bug
Fixed Member obfuscation bug when type casting was present in the Member's arguments.
2016-09-28 21:39:11 -04:00
Daniel Bohannon 381b28b362 Add files via upload
Invoke-Obfuscation v1.0
2016-09-25 10:39:28 -04:00
Daniel Bohannon 9dc068c4aa Add files via upload
Updated README.md
2016-09-25 02:25:40 -04:00
Daniel Bohannon 49b359d577 Initial commit 2016-09-24 23:38:02 -04:00