Bypass Record
AMSI Bypass × Microsoft Windows AMSI
A publicly-reported instance of AMSI Bypass bypassing Microsoft Windows AMSI, recorded with its original source. Factual record; no assessment of any specific deployment.
Mechanism
The tool locates a running PowerShell process, identifies AMSI functions (AmsiScanBuffer, AmsiScanString) in its memory, and patches them to return E_INVALIDARG. This prevents AMSI from scanning script content, allowing execution of malicious PowerShell scripts that would otherwise be blocked.
Detection & mitigation
Monitor for suspicious memory modifications in PowerShell processes, such as WriteProcessMemory calls targeting AMSI functions (AmsiScanBuffer, AmsiScanString). Deploy endpoint detection rules that alert on unexpected return values from AMSI APIs or integrity checks on AMSI DLLs. Mitigate by enforcing least privilege, using application control, and enabling AMSI in constrained language mode.
This is a record of a publicly-reported event, not an assessment of any specific organization's deployment. Detection and mitigation notes are drawn from the cited source. Where the source is silent, fields are omitted.