T1564.007 VBA Stomping
Stealthon attack.mitre.org
ATT&CK Enterprise 20.0 · 20.1 released, update in review
How MITRE detects it
DET0012 Detection Strategy for VBA Stomping
AN0034 Windows
Discrepancies between VBA source code and p-code inside Office documents. Defender perspective: anomalies in file metadata streams, execution of Office processes loading macros without source code consistency, and script execution with no corresponding source metadata.
| MITRE log source | In Microsoft Sentinel |
|---|---|
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. |
AN0035 Linux
Execution of Wine or LibreOffice macros with inconsistent VBA metadata. Defender perspective: file analysis showing p-code embedded without matching source streams.
| MITRE log source | In Microsoft Sentinel |
|---|---|
auditd:SYSCALLexecve calls to soffice.bin with suspicious macro execution flags | Not mapped to Sentinel yet. |
linux:syslogDiscrepancies in _VBA_PROJECT p-code vs source code extracted with oletools/pcodedmp | Not mapped to Sentinel yet. |
AN0036 macOS
Opening of Office files where VBA source code appears benign or missing, but p-code remains active. Defender perspective: process execution of Office apps with macro execution lacking visible source components.
| MITRE log source | In Microsoft Sentinel |
|---|---|
macos:unifiedlogProcess execution of Microsoft Word, Excel, PowerPoint with macro execution attempts | Not mapped to Sentinel yet. |
macos:unifiedlogDetection of altered _VBA_PROJECT or PerformanceCache streams | Not mapped to Sentinel yet. |
Content Hub rules tagged with it (0)
No Content Hub rule is tagged with this technique.
In Sigma rules
Mitigations
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.