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

Static analysis result for SHA-256 12d47f62ed1f5d60…

MALICIOUS

Office (OOXML) / .DOCM

15.7 KB Created: 2024-12-09 07:34:00 UTC Authoring application: Microsoft Office Word 15.0000 First seen: 2024-12-09
MD5: 5b539c1cf933b4b4158552ce25f708e1 SHA-1: 8b322500fa186ca8f6e2fe0494214ad2b527d8d0 SHA-256: 12d47f62ed1f5d60193a3a3099873286365c15dc6bf9df17aa250e1f7660c36c
382 Risk Score

Malware Insights

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

The sample is a macro-enabled Office document containing an AutoOpen macro. This macro is designed to download an executable file from the URL "http://52575815-38-20200406120634.webstarterz.com/pSRrNpLv0bS37RA.exe" and save it as "C:\ProgramData\pSRrNpLv0bS37RA.exe". Subsequently, it executes the downloaded file using the Shell() function. ClamAV detections further confirm the malicious nature of the file.

Heuristics 9

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • VBA downloads and writes a file to disk critical OLE_VBA_HTTP_DROP_EXEC
    VBA reads an HTTP response body and writes it to disk (ADODB.Stream SaveToFile). Combined with the auto-exec/Shell paths this is a download-drop dropper even when the COM ProgIDs are built dynamically to evade keyword scanning.
  • ClamAV: Doc.Dropper.Agent-6412232-1 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Dropper.Agent-6412232-1
  • ClamAV detection on extracted artifact critical EXTRACTED_FILE_CLAMAV
    ClamAV flagged at least one file extracted from inside this sample. Even when the wrapping document carries no AV detection of its own, a hit on the carved artifact is a strong indicator the sample is a delivery vehicle.
  • AutoOpen macro high OLE_VBA_AUTOOPEN
    AutoOpen macro
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
  • VBA p-code auto-exec with execution tokens high OLE_VBA_PCODE_AUTOEXEC_EXEC
    Compiled VBA/cache stream contains an auto-execution token together with shell/download/object-execution tokens. This catches p-code-only or source-extraction-failure macro documents where visible source is unavailable.
  • VBA project inside OOXML medium OOXML_VBA
    Document contains a VBA project — 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://52575815-38-20200406120634.webstarterz.com/pSRrNpLv0bS37RA.exe
    • http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas
    • 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/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
eafee8579d04e8ce3638aa0e5c08f9b736360b0ecc2e535ce1047fdbee01d2f1
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 1513 bytes
vbaProject_00.bin
7708de6408de18ead7c6627f17e9c9f084bad38be5b9da49bb197f8ee381c0b1
vba-project OOXML VBA project: word/vbaProject.bin 9728 bytes
Detection
ClamAV: Doc.Dropper.Agent-6412232-1
Obfuscation or payload: unlikely