analyzing-malicious-onenote-and-html-smuggling
Analyzes two modern delivery techniques: malicious OneNote (.one) attachments with
v1.0.03 instalações+3 em 7 dias24 EstrelasApache-2.0sincronizado há 10 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-malicious-onenote-and-html-smugglingGrava em ~/.notholy/skills depois de conferir a assinatura e o SHA-256.
AssinaturaAssinado, ed25519
Pacotef70fbd2f…f89c08e6
f70fbd2f5282…c2f7f89c08e64 arquivos · 3.2 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-malicious-onenote-and-html-smuggling@da7600a
Este item ainda não foi escrito no seu idioma, então aparece em English.
Nesta página
When to Use
- You have a OneNote (
.one) attachment suspected of hiding an embedded executable/script behind a "click to view" lure. - You have an HTML/SVG page that reconstructs and auto-downloads a payload from an embedded blob (HTML smuggling).
- You need to extract the hidden payload without triggering the lure.
Do not use OneNote or a browser to open these files for analysis — that is exactly the delivery mechanism. Carve the embedded data statically.
Prerequisites
- A static carver (Python) for embedded file signatures; the sample handled inertly.
Safety & Handling
- Never open the
.onein OneNote or the HTML in a browser. - Defang URLs and store carved payloads password-protected.
Workflow
Step 1: For OneNote — carve embedded files
OneNote stores attached files in the document. Scan for embedded file signatures (MZ, script
headers, archives) and the FileDataStoreObject GUIDs, and carve them out.
python scripts/analyst.py carve sample.oneStep 2: For HTML smuggling — find the embedded blob
Look for large base64/Blob/Uint8Array constructions, data: URIs, and a JS routine that
builds a Blob and triggers a download (msSaveOrOpenBlob, anchor download, createObjectURL).
Step 3: Reconstruct the payload statically
Decode the embedded base64/byte array (and any XOR/char-code layer) to recover the payload as data — without executing the page.
Step 4: Analyze and extract IOCs
Hash carved payloads, identify their type, defang any URLs, and route executables/scripts to the appropriate analysis workflow.
Validation
- Embedded payloads are carved/reconstructed from the inert file, not by opening it.
- The recovered payload's type is identified and hashed.
- The lure/trigger mechanism (fake button, Blob download) is documented.
Pitfalls
- Opening the OneNote/HTML to "see" the lure and executing the payload.
- Decoding only the first layer when the blob is additionally XOR/char-code encoded.
- Missing multiple embedded objects in a single OneNote page.
References
- See
references/api-reference.mdfor the carver/decoder. - ATT&CK T1027.006 and MS-ONESTORE (linked in frontmatter).
Arquivos desta versão
references/11.1 KB
- api-reference.md1.1 KB
scripts/12.4 KB
- analyst.py2.4 KB
- LICENSE340 B
- SKILL.md3.1 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 | f70fbd2f | 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 Relatórios e compliance
Ver a categoria- skillduty1g/skill5
- rea-ci-tests-auditmorluto/rea-ci-tests-audit4
- tracking-threat-actor-infrastructuremukul975/tracking-threat-actor-infrastructure4
- performing-authenticated-scan-with-openvasmukul975/performing-authenticated-scan-with-openvas4
- slicing-code-contexttrailofbits/slicing-code-context4
- 1337aeondave/13374
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