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

Static analysis result for SHA-256 7c538e1bda0f9c74…

MALICIOUS

Office (OOXML) / .DOCX

3.57 MB Created: 2022-08-26 13:30:00 UTC Authoring application: Microsoft Office Word 14.0000
MD5: eb09f4a7f4dfb5484c795bdcc155078d SHA-1: 894fd76f975be774af908477d3595ce0b38ed7a7 SHA-256: 7c538e1bda0f9c744af3be554ffc4f2048ee50180a6204debadcec17283a8c47
342 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1203 Exploitation for Client Execution

This OOXML document contains a VBA project with a Document_Open macro that utilizes GetObject and CallByName functions, indicative of a shellcode loader. The presence of VBA macros and the ClamAV detection strongly suggest malicious intent. The VBA script appears to be designed to download and execute a second-stage payload, likely leveraging shellcode execution.

Heuristics 9

  • VBA property-stored shellcode loader critical OLE_VBA_PROPERTY_SHELLCODE_LOADER
    VBA auto-exec macro takes the address (VarPtr) of a byte buffer decoded from a document property, marks memory executable (VirtualProtect/VirtualAlloc), and transfers control through a callback API (e.g. SetTimer/EnumWindows). The payload is hidden in the document properties rather than the macro source — the SVCReady loader pattern, a native shellcode runner rather than a parser CVE.
  • ClamAV: Doc.Downloader.bf93e2e062840f3b-OOXML-9981529-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.bf93e2e062840f3b-OOXML-9981529-0
  • OOXML part with non-standard content type and high-entropy data high OOXML_BOGUS_CUSTOM_PART
    The package declares a part with an invented content type (not an OpenXML/Office/standard media type) holding large, high-entropy (likely encrypted/packed) data. Legitimate OOXML files do not carry opaque binary blobs under custom content types; this is the embedded next-stage payload pattern used by loaders such as SVCReady.
  • VBA project part renamed to evade filename detection high OOXML_VBA_PROJECT_RENAMED
    The VBA project is bound through the OOXML relationship/content type but its part is not named vbaProject.bin. Legitimate Office producers always emit vbaProject.bin; renaming it hides the macros from path-only scanners (observed in the SVCReady loader).
  • Document_Open macro high OLE_VBA_DOCOPEN
    Document_Open macro
  • GetObject call high OLE_VBA_GETOBJ
    GetObject call
  • CallByName call high OLE_VBA_CALLBYNAME
    CallByName call
  • VBA project inside OOXML medium OOXML_VBA
    Document contains a VBA project — VBA macros present (project part renamed away from vbaProject.bin: word/XJHnCwukYa.bin)
  • 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.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/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
40c9022a6e2f9eafb72736a916d65dea51304bd733a2b0aff137ab04dfd11b68
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 6326 bytes
vbaProject_00.bin
dcac40ccddd44dcfefb0e81c21b843fa2a7b38615ac8b7416a43395e9df065e1
vba-project OOXML VBA project: word/XJHnCwukYa.bin 13824 bytes