analyzing-macro-malware-in-office-documents
Agent skill frommukul975/Anthropic-Cybersecurity-Skills
'Analyzes malicious VBA macros embedded in Microsoft Office documents
How to install analyzing-macro-malware-in-office-documents
install analyzing-macro-malware-in-office-documents
# install the Anthropic-Cybersecurity-Skills pack with the skills CLI
npx skills add mukul975/Anthropic-Cybersecurity-Skills# or add only this skill to Claude Code: copy the folder
skills/analyzing-macro-malware-in-office-documents/
# into
~/.claude/skills/analyzing-macro-malware-in-office-documents/ (all projects)
.claude/skills/analyzing-macro-malware-in-office-documents/ (one project)
1# Analyzing Macro Malware in Office Documents23## When to Use45- A suspicious Office document (.doc, .docm, .xls, .xlsm, .ppt) has been flagged by email security6- Investigating phishing campaigns that deliver weaponized Office documents7- Extracting VBA macro code to identify the payload download URL and execution method8- Analyzing obfuscated VBA code to understand the full attack chain9- Determining if a document uses DDE, ActiveX, or remote template injection instead of macros1011**Do not use** for analyzing non-macro Office threats (DDE, remote template injection); while this skill covers detection of these, specialized analysis may be needed.1213## Prerequisites1415- Python 3.8+ with oletools installed (`pip install oletools`)16- oledump.py from Didier Stevens (https://blog.didierstevens.com/programs/oledump-py/)17- Isolated analysis VM without Microsoft Office installed (prevents accidental execution)18- XLMDeobfuscator for Excel 4.0 macro analysis (pip install xlmdeobfuscator)19- LibreOffice for safe document rendering (does not execute VBA macros by default)2021## Workflow2223### Step 1: Initial Document Triage2425Determine if the document contains macros or other active content:2627```bash28# Quick triage with olevba29olevba suspect.docm3031# Check for OLE streams and macros32oleid suspect.docm3334# Output indicators:35# VBA Macros: True/False36# XLM Macros: True/False37# External Relationships: True/False (remote template)38# ObjectPool: True/False (embedded objects)39…
Excerpt shown under the repository's Apache-2.0 license.
More skills in Anthropic-Cybersecurity-Skills
- ▸abusing-dpapi-for-credential-access
- ▸abusing-shadow-credentials-for-privesc
- ▸achieving-cmmc-level-2-compliance
- ▸acquiring-disk-image-with-dd-and-dcfldd
- ▸analyzing-active-directory-acl-abuse
- ▸analyzing-android-malware-with-apktool
- ▸analyzing-api-gateway-access-logs
- ▸analyzing-apt-group-with-mitre-navigator
- ▸analyzing-azure-activity-logs-for-threats
- ▸analyzing-bootkit-and-rootkit-samples
- ▸analyzing-browser-forensics-with-hindsight
- ▸analyzing-campaign-attribution-evidence
