AMSI is Microsoft's security feature that scans and blocks suspicious PowerShell scripts.
A new technique patches AMSI functions in memory to make the scanner return an error code and allow code execution.
The tool locates the PowerShell process, calculates the memory addresses of critical AMSI functions, and writes a small assembly code patch to bypass scanning.
This technique disables AMSI's scanning capability directly at its source and allows PowerShell code execution without triggering security alerts.