Attacks and Exploits

An authorized tester's PowerShell payload is Base64-encoded and split into concatenated strings, and the client's signature-based scanner no longer flags the file. Which four controls could still detect it once it runs? (Choose four.)

Choose 4 answers

Show the answer

Correct answersA. AMSI inspection of the script content after the interpreter decodes itC. Script block logging that records the deobfuscated codeD. EDR behavioral rules on the process's API calls and child processesE. Network monitoring of the beacon's traffic pattern to the command-and-control host

AWhy this is right: AMSI scans the script after it is decoded in memory, so the encoding does not hide it.

BWhy not this: The obfuscated file has a different hash and different bytes, so the original's entry never matches.

CWhy this is right: Script block logging records the code after deobfuscation, exposing the real commands.

DWhy this is right: Behavior such as API calls and child processes stays the same however the payload is written.

EWhy this is right: The beacon's network traffic is unchanged by how the payload file was obfuscated.

FWhy not this: The file on disk holds only encoded, split strings, so a rule for the original plain text never matches it.

Obfuscation changes how a payload looks on disk, not what it does. AMSI and script block logging see the decoded code, EDR sees the behavior, and network monitoring sees the beacon. A hash entry for the original file fails because the obfuscated file has different bytes. An on-disk rule for the original plain-text strings fails for the same reason.