Detect Microsoft Office PowerPoint Code Injection (CVE-2009-0556) in Google Chronicle
Detects exploitation attempts of CVE-2009-0556, a code injection vulnerability in Microsoft Office PowerPoint. Attackers can exploit this vulnerability via crafted PowerPoint files to execute arbitrary code in the context of the logged-in user. This CVE is listed in CISA's Known Exploited Vulnerabilities catalog.
MITRE ATT&CK
- Tactic
- Initial Access Execution
YARA-L Detection Query
rule cve_2009_0556_powerpnt_code_injection {
meta:
author = "df00tech"
description = "Detects PowerPoint spawning shell interpreters (CVE-2009-0556)"
severity = "HIGH"
reference = "https://nvd.nist.gov/vuln/detail/CVE-2009-0556"
events:
$parent.metadata.event_type = "PROCESS_LAUNCH"
re.regex($parent.principal.process.file.full_path, `(?i)powerpnt\.exe$`)
$child.metadata.event_type = "PROCESS_LAUNCH"
re.regex($child.principal.process.file.full_path, `(?i)(cmd|powershell|wscript|cscript|mshta|rundll32|regsvr32)\.exe$`)
$parent.principal.hostname = $child.principal.hostname
$child.target.process.parent_process.pid = $parent.target.process.pid
condition:
$parent and $child
} Chronicle YARA-L rule correlating PowerPoint as parent process to shell interpreter child processes, indicating CVE-2009-0556 exploitation.
Data Sources
Required Tables
False Positives & Tuning
- Business automation macros in PowerPoint launching system scripts
- IT tooling that automates Office documents via COM
- Authorized red team simulations involving Office exploitation
Other platforms for CVE-2009-0556
Testing Methodology
Validate this detection against 3 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are available with Pro.
- Test 1PowerPoint Spawning cmd.exe (Simulated CVE-2009-0556 Payload Execution)
Expected signal: Process creation event: parent=POWERPNT.EXE, child=cmd.exe with arguments '/c whoami'
- Test 2PowerPoint Spawning PowerShell with Encoded Command
Expected signal: Sysmon Event ID 1: Image=powershell.exe, ParentImage=powerpnt.exe, CommandLine contains -EncodedCommand
- Test 3Crafted PPT File Drop to Temp Directory
Expected signal: File creation event: FileName=exploit_test.ppt, FolderPath contains \Temp\
Unlock Pro Content
Get the full detection package for CVE-2009-0556 including response playbook, investigation guide, and atomic red team tests.