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

Static analysis result for SHA-256 c036d1c05516a8df…

MALICIOUS

Office (OOXML) / .DOCM

3.44 MB Created: 2021-03-15 12:26:00 UTC Authoring application: Microsoft Office Word 16.0000
MD5: 00865fba20ef7d34ed136b9533401755 SHA-1: 49d83871e2fdf8ca5f05c7eb67a580943cb930ed SHA-256: c036d1c05516a8df5ea47b37cf51676e02f06ddc69532b600e3a9e1e50da3de2
220 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.003 Windows Command Shell

The sample is a DOCM file containing VBA macros. The 'Document_Open' macro is present, which is a common technique for automatic execution upon opening. The VBA code utilizes 'Shell()' and 'CreateObject()' functions, and references 'cmd.exe', indicating an attempt to execute arbitrary commands. This strongly suggests the macro is designed to download and execute a second-stage payload.

Heuristics 7

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • Document_Open macro high OLE_VBA_DOCOPEN
    Document_Open macro
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
  • cmd.exe reference in VBA high OLE_VBA_CMD
    cmd.exe reference in VBA
  • VBA project inside OOXML medium OOXML_VBA
    Document contains vbaProject.bin — VBA macros present
  • Suspicious extracted artifact medium 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.
  • 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.micros
    • http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas
    • http://schemas.microsoft.com/office/drawing/2014/chartex
    • http://schemas.microsoft.com/office/drawing/2015/9/8/chartex
    • http://schemas.microsoft.com/office/drawing/2015/10/21/chartex
    • http://schemas.microsoft.com/office/drawing/2016/5/9/chartex
    • http://schemas.microsoft.com/office/drawing/2016/5/10/chartex
    • http://schemas.microsoft.com/office/drawing/2016/5/11/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/2006/wordml
    • http://schemas.microsoft.com/office/word/2010/wordprocessingGroup
    • http://schemas.microsoft.com/office/word/2010/wordprocessingInk
    • http://schemas.microsoft.com/office/word/2010/wordprocessingShape

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
422dd954b4b86387c3bed865e3fcd133126000022e336ad81201d8aaa61864f8
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 8388608 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 shell/COM execution token(s).
vbaProject_00.bin
e08c1e9efdcd5eaf3f2ab6e117b3a39d56010fe7c3f1c16675a02719b5080b0e
vba-project OOXML VBA project: word/vbaProject.bin 3884032 bytes