analyzing-excel-4-macro-malware
Analyzes legacy Excel 4.0 (XLM) macro malware by parsing extracted macro-sheet
v1.0.03 instalações+3 em 7 dias24 EstrelasApache-2.0sincronizado há 11 horas
Instalar
Ainda não tem a CLI da NotHoly? Instale primeiro.
$ curl -fsSL https://notholy.com/install.sh | sh$ notholy skills install meltedinhex/analyzing-excel-4-macro-malwareGrava em ~/.notholy/skills depois de conferir a assinatura e o SHA-256.
AssinaturaAssinado, ed25519
Pacote0b61c9eb…d85ba3aa
0b61c9eb605d…7720d85ba3aa4 arquivos · 3.3 KBVarreduraMédio2 achados
- Script executável junto com a skillscripts/analyst.py
- Links para domínios externos
Fontegithub.com/meltedinhex/analyst-ai-pack/tree/main/skills/analyzing-excel-4-macro-malware@da7600a
Este item ainda não foi escrito no seu idioma, então aparece em English.
Nesta página
When to Use
- You have an extracted Excel 4.0 (XLM) macro sheet (e.g., from a
.xls/.xlsmdumped with oletools/XLMMacroDeobfuscator) and need to find auto-run cells and execution primitives. - You are triaging maldocs that hide logic in legacy macro sheets rather than VBA.
Do not use Excel to open the document to "see" the macro — opening triggers the auto-run cells. Work from the extracted formula text statically.
Prerequisites
- The extracted XLM formula text (cell address → formula). Optional:
oletoolsto extract it.
Safety & Handling
- Never open the workbook in Excel; analyze the extracted formulas inertly. Defang URLs.
Workflow
Step 1: Find auto-executing entry points
python scripts/analyst.py analyze macros.txtFlags defined-name triggers (Auto_Open, Auto_Close) and the cells they point to, plus
=HALT()/=RETURN() flow markers.
Step 2: Identify execution and download primitives
Detects EXEC(, CALL(, REGISTER( (Win32 imports), and URLDownload-style CALL patterns that
fetch and run a payload.
Step 3: Unwind obfuscation
Surfaces CHAR()/& string-building, FORMULA.FILL/FORMULA self-writing, and base/MID
slicing used to hide strings; reconstructs concatenated literals where possible.
Step 4: Extract IOCs
Pull URLs/paths and defang them; record the execution method (regsvr32, rundll32, mshta).
Validation
- Auto-run entry cells are identified, not just the presence of macros.
- Execution primitives (EXEC/CALL/REGISTER) are reported with their arguments.
- Reconstructed strings and URLs are defanged.
Pitfalls
- Heavily obfuscated sheets that self-write cells at runtime — static reconstruction is partial.
- Macro sheets hidden as
Very Hiddenthat simple viewers miss. - Confusing benign legacy spreadsheets that legitimately use XLM.
References
- See
references/api-reference.mdfor the analyzer. - ATT&CK T1059.005 and the Excel 4.0 macro reference (linked in frontmatter).
Arquivos desta versão
references/11.4 KB
- api-reference.md1.4 KB
scripts/12.7 KB
- analyst.py2.7 KB
- LICENSE340 B
- SKILL.md2.9 KB
Permissões
| Permissão | Declarada | Encontrada na varredura |
|---|---|---|
| Lê arquivos | Não | Não |
| Grava arquivos | Não | Não |
| Roda comandos no shell | Sim | Sim |
| Usa a rede | Sim | Sim |
| Usa conectores | Não | Não |
| Controla um navegador | Não | Não |
Achados da varredura
Revisado em 13 de nov. de 2026
- MédiaArquivo · Script executável junto com a skillscripts/analyst.py
- InfoLink · Links para domínios externos
Uma varredura limpa reduz o risco, mas não prova que o pacote é seguro. Leia o que você instala.
| Versão | Publicada em | Commit | SHA-256 | Assinatura | Mudança de permissão |
|---|---|---|---|---|---|
| v1.0.0 | 13 de nov. de 2026 | da7600a | 0b61c9eb | Assinada | – |
Mais de meltedinhex
Tudo deste publicador- writing-yara-rules-from-reversed-codemeltedinhex/writing-yara-rules-from-reversed-code4
- validating-detections-with-atomic-testsmeltedinhex/validating-detections-with-atomic-tests4
- writing-suricata-and-snort-rulesmeltedinhex/writing-suricata-and-snort-rules3
- writing-sigma-detection-rulesmeltedinhex/writing-sigma-detection-rules3
Mais em Análise de malware e ransomware
Ver a categoria- yara-sigsdariushoule/yara-sigs4
- monitoring-darkweb-sourcesmukul975/monitoring-darkweb-sources3
- deploying-ransomware-canary-filesmukul975/deploying-ransomware-canary-files3
- implementing-honeypot-for-ransomware-detectionmukul975/implementing-honeypot-for-ransomware-detection3
- yaraaeondave/yara3
- testing-ransomware-recovery-proceduresmukul975/testing-ransomware-recovery-procedures3
Pergunte tudo o que o seu escopo permite.
Crie a conta, adicione créditos e faça a primeira pergunta no chat ou no terminal.
- 1/3
Crie a conta
Individual ou empresa. Dá para virar empresa depois sem perder saldo nem chaves.
Pessoa físicaEmpresa - 2/3
Adicione créditos
No cartão. Você paga por token, sem assinatura.
$5.00recarga mínima - 3/3
Pergunte
No chat, ou instale o CLI e rode notholy login no terminal.
$ notholy login