Bypass Record
AMSI Bypass × Microsoft PowerShell 5.1
A publicly-reported instance of AMSI Bypass bypassing Microsoft PowerShell 5.1, recorded with its original source. Factual record; no assessment of any specific deployment.
Mechanism
A writable entry in System.Management.Automation.dll stores the address of AmsiScanBuffer. Attackers can overwrite this entry with a dummy function address, causing AMSI to call a harmless function instead of scanning, bypassing detection without changing memory protection or using VirtualProtect.
Detection & mitigation
Monitor for suspicious modifications to System.Management.Automation.dll in memory, such as writes to the AmsiScanBuffer pointer location, using endpoint detection tools that track memory tampering or API hooking anomalies. Mitigate by applying the latest security updates from Microsoft and enabling attack surface reduction rules that block AMSI tampering.
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.