AMSI Bypass via AmsiUtils Patch, AmsiScanBuffer Tampering, or Provider Registry
Detects attempts to bypass or tamper with the Antimalware Scan Interface (AMSI). This rule monitors for command-line arguments indicative of reflection-based patching of AmsiUtils and forced AmsiScanBuffer failures, as well as registry modifications to AMSI providers.
Microsoft Sentinel (KQL)

