T1566.001 Spearphishing Attachment
Initial Accesson attack.mitre.org
ATT&CK Enterprise 20.0 · 20.1 released, update in review
How MITRE detects it
DET0236 Detection Strategy for Spearphishing Attachment across OS Platforms
AN0655 Windows
Detection of spearphishing attachments by correlating suspicious email delivery with subsequent file creation and abnormal process execution (e.g., Office spawning PowerShell or CMD). Behavior chain includes inbound email metadata → attachment stored on disk → process execution → outbound network activity.
| MITRE log source | In Microsoft Sentinel |
|---|---|
m365:unifiedSend/Receive: Inbound emails with attachments from suspicious or spoofed senders | interpreted
The Office 365 connector brings the Exchange, SharePoint and Teams workloads of the unified audit log; Entra sign-ins in it are in SigninLogs; CloudAppEvents carries Microsoft 365 app activity. |
WinEventLog:SysmonEventCode=11 |
Sysmon has no dedicated Sentinel connector: it is collected as a Windows event log into Event or WindowsEvent. |
WinEventLog:SysmonEventCode=1 |
Sysmon has no dedicated Sentinel connector: it is collected as a Windows event log into Event or WindowsEvent. |
WinEventLog:SysmonEventCode=3, 22 |
Sysmon has no dedicated Sentinel connector: it is collected as a Windows event log into Event or WindowsEvent. |
AN0656 Linux
Phishing attachments executed on Linux systems are detected by linking email logs to file creation in mail directories and subsequent suspicious process execution. Look for unexpected binaries or scripts spawned from user mail directories and anomalous outbound network activity.
| MITRE log source | In Microsoft Sentinel |
|---|---|
Application:MailInbound email attachments logged from MTAs with suspicious metadata | Not mapped to Sentinel yet. |
auditd:SYSCALLexecve: Execution of files saved in mail or download directories | Not mapped to Sentinel yet. |
NSM:FlowOutbound traffic from suspicious new processes post-attachment execution | Not mapped to Sentinel yet. |
AN0657 macOS
Phishing attachment detection on macOS through correlation of Mail app logs, file creation in user directories, and abnormal process execution (e.g., Preview.app or Mail.app spawning Terminal or scripting binaries). Network traffic after attachment interaction is also monitored.
| MITRE log source | In Microsoft Sentinel |
|---|---|
macos:unifiedlogInbound messages with attachments from suspicious domains | Not mapped to Sentinel yet. |
macos:unifiedlogExecution of Terminal, osascript, or other interpreters originating from Mail or Preview | Not mapped to Sentinel yet. |
macos:unifiedlogAttachment files written to ~/Downloads or temporary folders | Not mapped to Sentinel yet. |
Content Hub rules tagged with it (27)
- Acronis - Multiple Inboxes with Malicious Content Detected
- CYFIRMA - Brand Intelligence - Domain Impersonation High Rule
- CYFIRMA - Brand Intelligence - Domain Impersonation Medium Rule
- CYFIRMA - Data Breach and Web Monitoring - Phishing Campaign Detection Rule
- CYFIRMA - Data Breach and Web Monitoring - Phishing Campaign Detection Rule
- CYFIRMA - Data Breach and Web Monitoring - Ransomware Exposure Detected Rule
- CYFIRMA - Data Breach and Web Monitoring - Ransomware Exposure Detected Rule
- CYFIRMA - High severity File Hash Indicators with Block Action and Malware
- CYFIRMA - High severity File Hash Indicators with Block Action Rule
- CYFIRMA - High severity File Hash Indicators with Monitor Action and Malware
- CYFIRMA - High severity File Hash Indicators with Monitor Action Rule
- CYFIRMA - High severity Malicious Phishing Network Indicators - Block Recommended Rule
- CYFIRMA - High severity Malicious Phishing Network Indicators - Monitor Recommended Rule
- CYFIRMA - High severity Trojan File Hash Indicators with Block Action Rule
- CYFIRMA - High severity Trojan File Hash Indicators with Monitor Action Rule
- CYFIRMA - Medium severity File Hash Indicators with Block Action and Malware
- CYFIRMA - Medium severity File Hash Indicators with Block Action Rule
- CYFIRMA - Medium severity File Hash Indicators with Monitor Action and Malware
- CYFIRMA - Medium severity File Hash Indicators with Monitor Action Rule
- CYFIRMA - Medium severity Malicious Phishing Network Indicators - Block Recommended Rule
- CYFIRMA - Medium severity Malicious Phishing Network Indicators - Monitor Recommended Rule
- CYFIRMA - Medium severity Trojan File Hash Indicators with Block Action Rule
- CYFIRMA - Medium severity Trojan File Hash Indicators with Monitor Action Rule
- Malware attachment delivered
- Vaikora - High score quarantine
How the Content Hub rules for T1566.001 are built: their tables, filters, joins, schedules and windows.
In Sigma rules
24 SigmaHQ community rules name it in their tags.
- Droppers Exploiting CVE-2017-11882
- Ursnif Malware C2 URL Pattern
- Suspicious Double Extension File Execution
- Exploit for CVE-2017-8759
- HTML Help HH.EXE Suspicious Child Process
- ISO File Created Within Temp Folders
- Office Macro File Creation From Suspicious Process
- Password Protected ZIP File Opened (Email Attachment)
- Suspicious Execution From Outlook Temporary Folder
- Suspicious HH.EXE Execution
- Suspicious HWP Sub Processes
- Suspicious Microsoft OneNote Child Process
- Arbitrary Shell Command Execution Via Settingcontent-Ms
- Disk Image Mounting Via Hdiutil - MacOS
- Exploit for CVE-2017-0261
- ISO Image Mounted
- ISO or Image Mount Indicator in Recent Files
- Potential Initial Access via DLL Search Order Hijacking
- Windows Registry Trust Record Modification
- Office Macro File Creation
- Office Macro File Download
- Suspicious File Created in Outlook Temporary Directory
- Suspicious Email Delivered In Microsoft 365
- HTML File Opened From Download Folder
Mitigations
M1017User TrainingM1018User Account ManagementM1021Restrict Web-Based ContentM1031Network Intrusion PreventionM1047AuditM1049Antivirus/AntimalwareM1054Software Configuration
MITRE ATT&CK® is a registered trademark of The MITRE Corporation. VeriKQL is not affiliated with or endorsed by MITRE. ATT&CK data © The MITRE Corporation, used under its terms of use.