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

Static analysis result for SHA-256 5b2e5a163c66cb3a…

MALICIOUS

Office (OOXML) / .DOCM

139.9 KB Created: 2021-11-15 15:39:00 UTC Authoring application: Microsoft Office Word 12.0000
MD5: 2e32bb218619f3918d83011838bc16ce SHA-1: bb4ad026d234942355261cb3b91e131ce08e72e1 SHA-256: 5b2e5a163c66cb3a906fb0e820f3695c7586d729a21a086fe9c82c69efaeb7e9
382 Risk Score

Malware Insights

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

This DOCM file contains a Document_Open macro that utilizes WScript.Shell to execute obfuscated commands. The script attempts to download a second-stage payload from the URL "http://visteme.mxc/shop/wp-admin/PP/" by constructing a PowerShell command. The presence of the ClamAV detection 'Doc.Malware.Valyria-10033907-0' further supports its malicious nature.

Heuristics 9

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • WScript.Shell usage critical OLE_VBA_WSCRIPT
    WScript.Shell usage
  • ClamAV: Doc.Malware.Valyria-10033907-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Malware.Valyria-10033907-0
  • 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.
  • 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
  • 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.openxmlformats.org/markup-compatibility/2006
    • http://schemas.openxmlformats.org/officeDocument/2006/relationships
    • http://schemas.openxmlformats.org/officeDocument/2006/math
    • http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing
    • http://schemas.openxmlformats.org/wordprocessingml/2006/main
    • http://schemas.microsoft.com/office/word/2006/wordml

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
d5a25b7bf0ccedb249c27ef36e62fa12ba8e2ff73f7114a3a1f9f528858c345b
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 3999 bytes
vbaProject_00.bin
5a91d1e4ccd9421bacd21e09bff386135359be01db4d0b4039f78ae2fe97654c
vba-project OOXML VBA project: word/vbaProject.bin 16896 bytes
Detection
ClamAV: Doc.Malware.Valyria-10033907-0
Obfuscation or payload: unlikely