Detection Method: Macro analysis

Macro analysis examines embedded code within documents, focusing primarily on Microsoft Office files that contain VBA (Visual Basic for Applications) macros. This technique goes beyond simply detecting macros—it analyzes how they behave, their intent, and whether they pose a potential security risk.
Macro analysis can help you detect:
  • Auto-executing macros that run as soon as documents are opened
  • Obfuscated or encoded commands that hide malicious actions
  • Suspicious API calls that access system resources or modify settings
  • Attempts to run commands through shell or PowerShell
  • Data exfiltration methods within macro code
For example, attackers might distribute seemingly legitimate Excel files with embedded macros that, when activated, download malware or establish persistence on your system.
Rule Name & Severity
Last Updated
Author
Types, Tactics & Capabilities
Attachment: Excel file with document sharing lure created by Go Excelize
1mo ago
Jan 29th, 2026
Sublime Security
Attachment: Office file with document sharing and browser instruction lures
1mo ago
Jan 29th, 2026
Sublime Security
Attachment: Potential sandbox evasion in Office file
2mo ago
Jan 12th, 2026
@ajpc500
Attachment: Macro with suspected use of COM ShellBrowserWindow object for process creation
2mo ago
Jan 12th, 2026
@ajpc500
Attachment soliciting user to enable macros
2mo ago
Jan 12th, 2026
Sublime Security
Suspicious VBA macros from untrusted sender
2mo ago
Jan 12th, 2026
Sublime Security
Attachment with auto-opening VBA macro (unsolicited)
2mo ago
Jan 12th, 2026
Sublime Security
Attachment with VBA macros from employee impersonation (unsolicited)
2mo ago
Jan 12th, 2026
Sublime Security
Attachment with high risk VBA macro (unsolicited)
2mo ago
Jan 12th, 2026
Sublime Security
Attachment: CVE-2021-40444 - MSHTML Remote Code Execution Vulnerability
2mo ago
Jan 12th, 2026
Sublime Security
Attachment with auto-executing macro (unsolicited)
2mo ago
Jan 12th, 2026
Sublime Security
Attachment: Macro files containing MHT content
2mo ago
Jan 12th, 2026
Sublime Security
Attachment: Archive contains DLL-loading macro
3y ago
Dec 28th, 2023
Sublime Security