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

Static analysis result for SHA-256 45f293b1b5a4aaec…

MALICIOUS

Office (OOXML) / .DOCM

143.5 KB Created: 2022-07-19 20:38:00 UTC Authoring application: Microsoft Office Word 16.0000 First seen: 2022-10-19
MD5: f769f67681707e8f69ecdf9e62fb944c SHA-1: c5f6a48fa52a279e1f3424b97662b479716229af SHA-256: 45f293b1b5a4aaec48ac943696302bac9c893867f1fc282e85ed8341dd2f0f50
178 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1140 Deobfuscate/Decode Files or Information T1059.001 PowerShell

The OOXML document contains a VBA project with an Auto_Open macro, indicating an attempt to automatically execute malicious code upon opening. The presence of CreateObject and Environ() calls, along with a function named EncodeBase65, suggests the macro is designed to decode and execute a payload, likely downloaded from an external source. The heuristic 'SE_ENABLE_LURE' further supports this by indicating the document likely prompts the user to enable macros.

Heuristics 8

  • Document_Open macro high OLE_VBA_DOCOPEN
    Document_Open 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
  • Macro/content-enable lure medium SE_ENABLE_LURE
    Document instructs the user to enable macros or editing — a common technique used by malware droppers to bypass Office macro security settings
  • Environ() call (env variable access) low OLE_VBA_ENVIRON
    Environ() call (env variable access)
  • External hyperlinks (7) low OOXML_EXTERNAL_HYPERLINKS
    Document contains 7 external hyperlinks — clickable URLs are stored as external relationships. First target: https://www.lumen.com/en-sg/about/legal/privacy-notice.html
  • 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://45.89.125.189/get
    • http://45.89.125.189/put
    • 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
    • https://www.lumen.com/en-sg/about/legal/privacy-notice.html
    • http://schemas.microsoft.com/windows/2004/02/mit/task

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
9b8d3de398738435c6fbeb660970b18f762bdb14e36bdf6f975c080ded6508da
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 4961 bytes
vbaProject_00.bin
0c217865933117559bfd4a33d577740d21a033db076ec531d4a24fd919adb791
vba-project OOXML VBA project: word/vbaProject.bin 121856 bytes