Attacks and Exploits
A tester's PowerShell payload runs only in memory, yet Defender blocks it before it executes. Which Windows interface most likely passed the script content to Defender for scanning?
Show the answer
Correct answerD. AMSI
AWhy not this: UAC controls elevation prompts and has no role in scanning scripts.
BWhy not this: ETW provides event telemetry for monitoring; it does not pass content to an engine to block it.
CWhy not this: SmartScreen checks downloaded files and URLs by reputation, not in-memory script content.
DWhy this is right: AMSI submits script content to the antimalware engine at runtime, so fileless scripts are still scanned.
The Antimalware Scan Interface lets the scripting engine hand script content to the installed antimalware product at runtime, so in-memory scripts are inspected and blocked. ETW only emits telemetry events for defenders and does not scan content to block it.