ATT&CK coverage › Technique

Phishing: Spearphishing Attachment T1566.001

Adversaries may send spearphishing emails with a malicious attachment in an attempt to gain access to victim systems. Spearphishing attachment is a specific variant of spearphishing. Spearphishing attachment is different from other forms of spearphishing in that it employs the use of malware attached to an email. All forms of spearphishing are electronically delivered social engineering targeted at a specific individual, company, or industry. In this scenario, adversaries attach a file to the spearphishing email and usually rely upon User Execution to gain execution. Spearphishing may also involve social engineering techniques, such as posing as a trusted source.

Events covered

20 catalog events are tagged with this technique by at least one rule.

ProviderEvent IDTitle
Sysmon1Process creation
Sysmon7Image loaded
Sysmon11FileCreate
Sysmon12RegistryEvent (Object create and delete)
Sysmon13RegistryEvent (Value Set)
Sysmon14RegistryEvent (Key and Value Rename)
Sysmon22DNSEvent (DNS query)
Security-Auditing4663An attempt was made to access an object.
Security-Auditing4688A new process has been created.
Security-Auditing5379Credential Manager credentials were read.
Windows-Defender1121Microsoft Defender Exploit Guard has blocked an operation that is not allowed by your IT administrator.
Windows-Defender1122Microsoft Defender Exploit Guard audited an operation that is not allowed by your IT administrator.
Windows-Defender1125Your IT administrator would have caused Microsoft Defender Exploit Guard to block a potentially dangerous network connection.
Windows-Defender1126Your IT administrator has caused Microsoft Defender Exploit Guard to block a potentially dangerous network connection.
Windows-Defender1129A user has allowed a blocked Microsoft Defender Exploit Guard operation.
Windows-Defender1131ProductName has blocked an operation that your administrator doesn't allow.
Windows-Defender1132ProductName has audited an operation.
Windows-Defender1133ProductName has blocked an operation that your administrator doesn't allow.
Windows-Defender1134ProductName has audited an operation.
Windows-Defender5007Product Name Configuration has changed.

Authoring guide

Patterns shared across the 30 rules above: which fields they filter on, what specific values they look for, and what they exclude. Field names are normalized across vendors so Sigma's Image, Elastic's process.name, and Splunk's process_name collapse into one row. Each rule contributes at most once per row.

Fields filtered most (16 distinct)

The fields most rules look at when detecting this technique. The How column shows the operators authors use (eq, wildcard, regex_match, match) and how often each appears. Sample values are concrete examples to start from, not an exhaustive list.

FieldRulesHowSample values
Image10ends_with 8, match 2, in 1\rundll32.exe, \MSHTA.EXE, \wmic.exe, \regsvr32.exe, \mshta.exe
TargetFilename9ends_with 7, match 5, eq 2, in 1.potm, .docm, .xlsm, \AppData\Local\Temp\, \AppData\Local\Microsoft\Windows\INetCache\Content.Outlook\
EventID7eq 4, in 37, 1125, 1126, 1133, 1134
process_name6in 5, eq 1"outlook.exe", "excel.exe", "winword.exe", outlook.exe
file_name5in 3, ne 1, eq 1"", *.cab, "*.vhd.lnk", "*.iso.lnk", "*vhdx.lnk"
CommandLine4match 4, ends_with 1.SettingContent-ms, immersivecontrolpanel, .pdf.exe, .jpeg.exe, .mp3.exe
ParentImage4ends_with 4\hh.exe, \rundll32.exe, \regsvr32.exe, \mshta.exe, \Hwp.exe
OriginalFileName4eq 2, in 2"OUTLOOK.EXE", "WinProj.exe", "MSPUB.EXE", HH.exe, WorkFolders.exe
ImageLoaded3in 2, eq 1"*\\IE.Interop.MSHTML.dll", "*\\MshtmlDac.dll", "*\\mshtml.dll", "*\\taskschd.dll", "*\\VBE7.DLL"
ObjectName1eq 1, starts_with 1\Device\CdRom0\setup.exe, \Device\CdRom0\autorun.ico, \Device\CdRom0\setup64.exe
ObjectServer1eq 1Security
ObjectType1eq 1File
TargetName1match 1\Temporary Internet Files\Content.Outlook, Microsoft_Windows_Shell_ZipFolder:filename
TargetObject1match 1\Security\Trusted Documents\TrustRecords
event_action1eq 1created

Top indicator values (328 distinct)

Specific (field, operator, value) combinations the rules check for, ranked by how many rules under this technique use each one. The Corpus reach column counts how many rules across the entire catalog (any technique) check the same combination. High numbers point to widely-used indicators that are likely noisy on their own; combine them with another condition for useful signal. Blank means the combination is specific to rules under this technique.

FieldKindValueRules (here)Corpus reach
process_namein"mspub.exe"55
process_namein"outlook.exe"55
process_namein"msaccess.exe"55
process_namein"EQNEDT32.exe"55
process_namein"excel.exe"55
process_namein"powerpnt.exe"55
process_namein"winword.exe"55
process_namein"winproj.exe"55
process_namein"Graph.exe"55
process_namein"onenoteim.exe"55
process_namein"visio.exe"55
process_namein"onenotem.exe"55
process_namein"onenote.exe"55
Imageends_with\cscript.exe464
Imageends_with\wscript.exe464
Imageends_with\regsvr32.exe357
Imageends_with\cmd.exe392
Imageends_with\pwsh.exe3140
Imageends_with\rundll32.exe376
Imageends_with\powershell.exe3143

Common exclusions (2 distinct)

Field/operator/value combinations that rules under this technique routinely exclude (top-level not() clauses). These are the false-positive paths the community has learned to filter out. A new rule that ignores the high-count entries here will likely fire on the same noisy paths.

FieldKindValueRules excluding
QueryNamein"*.office.net"1
QueryNamein"*.office.com"1

Rules under this technique

Every rule in the catalog tagged with this technique, grouped by vendor. Click a rule title for its full predicates, exclusions, and indicators.

Sigma 17 rules

Splunk 13 rules