Malicious Office (OOXML) / .DOC — malware analysis report

Static analysis result for SHA-256 8dabd7b00bdf3823…

MALICIOUS

Office (OOXML) / .DOC

16.1 KB Created: 2022-02-11 14:24:00 UTC Authoring application: Microsoft Office Word 16.0000
MD5: 2f25a89142fd222479803bf2dcca4314 SHA-1: b8e7b001a6dcc4cea4c0651e232ee78ec40fc0db SHA-256: 8dabd7b00bdf38238fdda5953d0ac414f9d6980fc2f54f3968caa55ffd15ba02
262 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.003 Windows Command Shell T1105 Ingress Tool Transfer T1204.002 Malicious File

The sample contains a VBA macro that executes upon opening the document. This macro constructs a command to copy system files, encode a file named 'curl.exe' using certutil, decode it into 'download.exe', and then execute 'download.exe' with the host 'hanoi.com'. This indicates a downloader functionality designed to fetch and run a second-stage payload. The use of cmd.exe and certutil are indicative of living-off-the-land techniques.

Heuristics 7

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • LOLBin reference in VBA critical OLE_VBA_LOLBIN
    LOLBin reference in VBA
  • Document_Open macro high OLE_VBA_DOCOPEN
    Document_Open macro
  • cmd.exe reference in VBA high OLE_VBA_CMD
    cmd.exe reference in VBA
  • Suspicious extracted artifact high EXTRACTED_FILE_STATIC_TRIAGE
    One or more files extracted from inside this sample matched static suspicious-content checks such as script obfuscation, encoded payload blobs, packed data, or execution/download terms.
  • VBA project inside OOXML medium OOXML_VBA
    Document contains vbaProject.bin — VBA macros present
  • Embedded URL info EMBEDDED_URL
    One or more URLs were extracted from the document. The URL itself is not a detection — see the per-URL labels for which channel (macro, JS, link annotation, document body, ...) reached each URL.
    URL http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas
    • http://schemas.microsoft.com/office/drawing/2014/chartex
    • http://schemas.openxmlformats.org/markup-compatibility/2006
    • http://schemas.openxmlformats.org/officeDocument/2006/relationships
    • http://schemas.openxmlformats.org/officeDocument/2006/math
    • http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing
    • http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing
    • http://schemas.openxmlformats.org/wordprocessingml/2006/main
    • http://schemas.microsoft.com/office/word/2010/wordml
    • http://schemas.microsoft.com/office/word/2012/wordml
    • http://schemas.microsoft.com/office/word/2015/wordml/symex
    • http://schemas.microsoft.com/office/word/2010/wordprocessingGroup
    • http://schemas.microsoft.com/office/word/2010/wordprocessingInk
    • http://schemas.microsoft.com/office/word/2006/wordml
    • http://schemas.microsoft.com/office/word/2010/wordprocessingShape

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
ec6efa4ab0ca74d22eaa63d6f7e196121f08d76a70425d3e8ff48ed792b48544
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 2718 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 2 shell/COM execution token(s). Carved macro source contains an auto-exec entry point and execution/download terms.
vbaProject_00.bin
5c569a8973475fcfcbc4b54c6f60cc99cc61275171caaa609f0d82ad204b33e2
vba-project OOXML VBA project: word/vbaProject.bin 10240 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 2 shell/COM execution token(s). Carved macro source contains an auto-exec entry point and execution/download terms.