amsi
Bypass In-memory Integrity Checking
In the Memory Patching AMSI Bypass post, I discussed how to patch the AmsiScanBuffer function to prevent it from returning a positive result when scanning content. That process involved: 1. Finding the location of AmsiScanBuffer in memory. 2. Changing the memory permissions to RWX. 3. Copying the patched bytes across.