T1559.002 CrowdStrike LogScale · LogScale

Detect Dynamic Data Exchange in CrowdStrike LogScale

Adversaries may use Windows Dynamic Data Exchange (DDE) to execute arbitrary commands without relying on VBA macros. DDE is a legacy client-server IPC protocol supported in Microsoft Office applications that allows documents to request command execution from a server process. Attackers poison Word documents, Excel spreadsheets, Outlook emails, and CSV files with DDE fields (e.g., DDEAUTO cmd) that execute shell commands when the document is opened and field updates are accepted. DDE is also delivered via OLE-embedded Equation Editor objects (EQNEDT32.EXE) exploiting CVE-2017-11882. Threat actors including APT28, FIN7, MuddyWater, Cobalt Group, Gallmaker, APT37, Leviathan, and BITTER have leveraged DDE in targeted spearphishing campaigns to achieve initial code execution.

MITRE ATT&CK

Tactic
Execution
Technique
T1559 Inter-Process Communication
Sub-technique
T1559.002 Dynamic Data Exchange
Canonical reference
https://attack.mitre.org/techniques/T1559/002/

LogScale Detection Query

CrowdStrike LogScale (LogScale)
cql
// DDE Detection: Office or EQNEDT32 spawning suspicious child processes
#event_simpleName = "ProcessRollup2"
| ParentBaseFileName = /(?i)^(winword|excel|outlook|onenote|powerpnt|msaccess|mspub|EQNEDT32)\.exe$/
| FileName = /(?i)^(cmd|powershell|pwsh|wscript|cscript|mshta|rundll32|regsvr32|certutil|bitsadmin|msiexec|wmic|schtasks|net|net1|curl|wget|forfiles|pcalua)\.exe$/
| eval DDEType = case(
    ParentBaseFileName = /(?i)EQNEDT32\.exe/, "EquationEditor_CVE-2017-11882",
    ParentBaseFileName = /(?i)(winword|excel|outlook|onenote|powerpnt|msaccess|mspub)\.exe/, "OfficeDDE_Spawn",
    true, "Unknown"
  )
| eval SuspiciousArgs = if(
    CommandLine = /(?i)(http|https|-enc|-encodedcommand|downloadstring|webclient|iex\(|invoke-expression|frombase64|-bypass|-hidden|start-bitstransfer)/,
    "true", "false"
  )
| table timestamp, ComputerName, UserName, FileName, CommandLine, ParentBaseFileName, ParentCommandLine, DDEType, SuspiciousArgs
| sort timestamp desc
high severity high confidence

CrowdStrike LogScale (CQL) detection for DDE execution abuse using ProcessRollup2 events. Identifies Microsoft Office processes and EQNEDT32.EXE (Equation Editor) spawning known LOLBin or interpreter child processes, classifies the DDE vector type, and flags suspicious command-line indicators suggesting post-execution payload delivery or C2 activity.

Data Sources

CrowdStrike Falcon EDRCrowdStrike Falcon LogScale (Humio)CrowdStrike Endpoint Activity Monitor

Required Tables

#event_simpleName=ProcessRollup2

False Positives & Tuning

  • Managed print or document workflows where Office applications spawn cmd.exe or PowerShell to trigger print queue management scripts in enterprise environments with Group Policy-enforced document handling
  • Software deployment tools (e.g., PDQ Deploy, SCCM) that open Office documents in automated testing pipelines and execute associated shell commands as part of regression testing
  • Penetration testing or red team engagements in the organization where EQNEDT32.EXE exploitation is part of an authorized attack simulation — should be excluded by host/time window
Download portable Sigma rule (.yml)

Other platforms for T1559.002


Testing Methodology

Validate this detection against 4 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.

  1. Test 1CSV DDE Injection via Excel

    Expected signal: Sysmon Event ID 1: Process Create for excel.exe with the CSV path as argument. If the DDE prompt is accepted: Sysmon Event ID 1 for cmd.exe with ParentImage=excel.exe and CommandLine='/c whoami > %TEMP%\dde_csv_out.txt'. Sysmon Event ID 11: File Create for dde_csv_out.txt in %TEMP%. Security Event ID 4688 (if command line auditing enabled) for the cmd.exe spawn.

  2. Test 2Word DDEAUTO Field Execution via RTF

    Expected signal: Sysmon Event ID 1: Process Create for winword.exe with the RTF file as argument. If DDE executes: Sysmon Event ID 1 for cmd.exe with ParentImage=winword.exe, CommandLine='/c whoami > %TEMP%\dde_word_out.txt'. Sysmon Event ID 11: File Create for dde_word_out.txt. Office telemetry logs the DDEAUTO field activation attempt. Security Event ID 4688 for the spawned cmd.exe.

  3. Test 3DDE via Outlook Email with Embedded OLE Object

    Expected signal: Sysmon Event ID 1: Process Create for outlook.exe with the .msg file path as argument. Outlook COM instantiation visible in Sysmon Event ID 1 for the PowerShell parent spawning outlook.exe. If OLE DDE executes: Sysmon Event ID 1 for cmd.exe with ParentImage=outlook.exe. Security Event ID 4688 for the spawned process.

  4. Test 4Equation Editor (EQNEDT32.EXE) Presence and Execution Check

    Expected signal: If EQNEDT32.EXE is found and executed: Sysmon Event ID 1 for EQNEDT32.EXE with Image=<office_path>\EQNEDT32.EXE. Prefetch file created at C:\Windows\Prefetch\EQNEDT32.EXE-*.pf. Security Event ID 4688 for EQNEDT32.EXE execution. In a real exploitation scenario: Sysmon Event ID 1 for a child process (cmd.exe, powershell.exe) with ParentImage=EQNEDT32.EXE would additionally fire.

Unlock Pro Content

Get the full detection package for T1559.002 including response playbook, investigation guide, and atomic red team tests.

Response PlaybookInvestigation GuideHunting QueriesAtomic Red Team TestsTuning Guidance

Related Detections