T1566.001 CrowdStrike LogScale · LogScale

Detect Spearphishing Attachment in CrowdStrike LogScale

Adversaries send targeted spearphishing emails with malicious attachments to gain initial access. Attachments may include Microsoft Office documents with macros, PDFs exploiting reader vulnerabilities, executables disguised with document icons, archive files (ZIP, ISO, IMG) containing LNK or script files, or RTF files exploiting equation editor vulnerabilities. Upon opening the attachment, the adversary's payload exploits a vulnerability or executes directly, typically spawning a child process from the email client or document handler. Common threat actors using this technique include APT28, Lazarus Group, FIN6, Cobalt Group, and Tropic Trooper.

MITRE ATT&CK

Tactic
Initial Access
Technique
T1566 Phishing
Sub-technique
T1566.001 Spearphishing Attachment
Canonical reference
https://attack.mitre.org/techniques/T1566/001/

LogScale Detection Query

CrowdStrike LogScale (LogScale)
cql
// Primary: Falcon ProcessRollup2 - Office parent spawning suspicious child
#event_simpleName=ProcessRollup2
| ParentBaseFileName = /^(winword|excel|powerpnt|outlook|mspub|msaccess|onenote|visio|eqnedt32)\.exe$/i
| FileName = /^(cmd|powershell|pwsh|wscript|cscript|mshta|regsvr32|rundll32|certutil|bitsadmin|curl|wget|msbuild|installutil|schtasks|at|wmic|odbcconf|pcalua|cmstp|msiexec|hh)\.exe$/i
| RiskLevel := if(FileName = /^(powershell|pwsh|mshta|wscript|cscript)\.exe$/i, "Critical",
                if(FileName = /^(certutil|bitsadmin|regsvr32|rundll32|odbcconf|cmstp)\.exe$/i, "High", "Medium"))
| HasNetworkRef := if(CommandLine = /(?i)(https?:\/\/|ftp:\/\/|\\\\)/, "true", "false")
| HasEncodedPayload := if(CommandLine = /(?i)(-enc|-encodedcommand|frombase64string|\/e:jscript|\/e:vbscript)/, "true", "false")
| TempExecution := if(CommandLine = /(?i)(\\temp\\|\\appdata\\|\\downloads\\|%temp%|%appdata%)/, "true", "false")
| table([timestamp, ComputerName, UserName, FileName, CommandLine, ParentBaseFileName, ParentCommandLine, RiskLevel, HasNetworkRef, HasEncodedPayload, TempExecution])
| sort(timestamp, order=desc)
critical severity high confidence

CrowdStrike LogScale (Falcon) CQL query using ProcessRollup2 events to detect spearphishing attachment execution. Filters on ParentBaseFileName matching Office applications and FileName matching known LOLBins or script interpreters. Inline computed fields classify risk level and flag encoded payloads, network references, and temp-path execution patterns to prioritize analyst triage. Requires Falcon Insight EDR with process telemetry enabled.

Data Sources

CrowdStrike Falcon Insight EDR (ProcessRollup2 events)CrowdStrike Falcon Data Replicator (FDR) feed to LogScale

Required Tables

ProcessRollup2 Falcon event stream

False Positives & Tuning

  • Enterprise Excel-based dashboards used by IT operations that execute PowerShell scripts to pull metrics from monitoring endpoints via HTTP APIs.
  • Microsoft Office deployment scripts that use msiexec.exe or rundll32.exe triggered from Outlook-based approval workflow integrations.
  • Third-party Office add-ins or productivity tools (e.g., PDF converters, e-signature plugins) that spawn cmd.exe or wscript.exe as part of their normal operation.
Download portable Sigma rule (.yml)

Other platforms for T1566.001


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 1Word Macro Spawning PowerShell (VBA Simulation)

    Expected signal: Sysmon Event ID 1: Process Create with Image=powershell.exe. If run from within a Word VBA macro (Tools > Macro > Run), the ParentImage will be winword.exe. Security Event ID 4688 (if command line auditing enabled) will capture the full command line.

  2. Test 2LNK File Execution Simulating ISO-Delivered Spearphishing

    Expected signal: Sysmon Event ID 11: File Created for InvoiceDocument.lnk in %TEMP%. Sysmon Event ID 1: Process Create with Image=cmd.exe, ParentImage=explorer.exe (or the process that invoked Start-Process). The LNK file path in temp directory is a key indicator. Sysmon Event ID 1 will show target command line '/c whoami'.

  3. Test 3Excel Macro Dropping Script to Disk (Dropper Pattern)

    Expected signal: Sysmon Event ID 11: File Created for update_helper.ps1 in %TEMP%. Sysmon Event ID 1: Process Create for powershell.exe with CommandLine containing '-ExecutionPolicy Bypass -File' and the temp path. DeviceFileEvents ActionType=FileCreated for the .ps1 file. The combination of file drop to temp + immediate execution is a high-fidelity pattern.

  4. Test 4Equation Editor Exploitation Simulation (CVE-2017-11882 Pattern)

    Expected signal: Sysmon Event ID 1: Process Create with Image=cmd.exe. In real exploitation, ParentImage=eqnedt32.exe (C:\Program Files (x86)\Common Files\Microsoft Shared\OfficeSoftwareProtectionPlatform\OSPPSVC.EXE launching eqnedt32.exe which spawns cmd.exe). Security Event ID 4688 with cmd.exe command line. For authentic testing, embed this command in an RTF file using a hex editor to trigger via eqnedt32.exe.

Unlock Pro Content

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

Response PlaybookInvestigation GuideHunting QueriesAtomic Red Team TestsTuning Guidance

Related Detections