nerdexam
EC-Council

312-39 · Question #13

The SOC team found a suspicious document file on a user's workstation. Upon initial inspection, the document appears benign, but deeper analysis reveals an embedded PowerShell script. The team…

The correct answer is A. Static analysis. Static analysis is the correct approach when the requirement is to understand what the script is intended to do without executing it. For PowerShell embedded in documents, static analysis includes extracting the script content, de-obfuscating it (common techniques include…

Security Incident Detection

Question

The SOC team found a suspicious document file on a user's workstation. Upon initial inspection, the document appears benign, but deeper analysis reveals an embedded PowerShell script. The team suspects the script is designed to download and execute a malicious payload. They need to understand the script's functionality without triggering it. Which malware analysis technique is recommended to understand the PowerShell script's functionality without executing it?

Options

  • AStatic analysis
  • BDynamic analysis
  • CAutomated behavioral analysis
  • DNetwork traffic analysis

How the community answered

(20 responses)
  • A
    90% (18)
  • B
    5% (1)
  • D
    5% (1)

Explanation

Static analysis is the correct approach when the requirement is to understand what the script is intended to do without executing it. For PowerShell embedded in documents, static analysis includes extracting the script content, de-obfuscating it (common techniques include base64 decoding, string reconstruction, and analyzing encoded commands), and reviewing functions, URLs/IPs, file paths, registry keys, and command-line arguments. This allows the SOC to determine likely behaviors such as downloading payloads, establishing persistence, credential theft, or disabling security controls- without risking system impact. Dynamic or behavioral analysis involves running code in a controlled sandbox to observe actions, which can be valuable but violates the constraint “without triggering it,” and can be risky if containment fails or the malware has evasive logic. Network traffic analysis can help once execution has occurred or in a sandbox run, but it cannot fully explain logic that never ran. Static analysis is also useful for creating detections (hashes, strings, YARA-like patterns, command- line indicators) and for scoping across the environment by searching for matching script fragments or document markers.

Topics

#static analysis#malware analysis#PowerShell script#document forensics

Community Discussion

No community discussion yet for this question.

Full 312-39 Practice