This Go program applies a lifetime patch to PowerShell to disable ETW (Event Tracing for Windows) and AMSI (Antimalware Scan Interface) protections.
In the realm of cybersecurity, evading detection is often as critical as the attack itself. The ‘Lifetime-Amsi-EtwPatch’ tool is a sophisticated piece of software designed specifically for this purpose.
Developed by codepulze, also known as evilbytecode, this Go program ingeniously modifies PowerShell to disable two critical security features: the Antimalware Scan Interface (AMSI) and Event Tracing for Windows (ETW).
By altering the PowerShell profile, this patch ensures that any session initiated subsequently is invisible to standard security measures, providing a stealthy environment for operations.
Read on to understand how this tool works and the implications of its use.
INFO
The program modifies the PowerShell profile (Microsoft.PowerShell_profile.ps1
) to apply two patches:
- AMSI Patch: Disables AMSI by modifying the
AmsiScanBuffer
function,{ 0x31, 0xC0, 0xC3 }
. - ETW Patch: Modifies the
EtwEventWrite
function inntdll.dll
to prevent event tracing,{ 0xC3 }
. - Sets File attributes to Hidden and System to :
Microsoft.PowerShell_profile.ps1
.
Effect : Once applied, PowerShell sessions initiated afterward will have AMSI and ETW bypassed
- Made by codepulze aka evilbytecode.