Malicious Office (OLE) / .DOC — malware analysis report

Static analysis result for SHA-256 2b9c1981ecc18429…

MALICIOUS

Office (OLE) / .DOC

88.5 KB Created: 2022-05-08 12:49:00 Authoring application: Microsoft Office Word First seen: 2022-05-08
MD5: c880f54dea1790057f23b1c33aedab48 SHA-1: 957126d97b6c70dfd4b99775337b88ab89d7de30 SHA-256: 2b9c1981ecc184292b944906a3b4ea1cedcd800c899326d18c57af3aea2d39a7
342 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.003 Windows Command Shell T1204.002 Malicious File

The sample is a malicious Microsoft Word document containing a VBA macro. The macro utilizes WScript.Shell and CreateObject to execute a shell command, as indicated by the 'OLE_VBA_SHELL' and 'OLE_VBA_WSCRIPT' heuristic firings. The 'Document_Open' macro is automatically executed upon opening the document, suggesting it's designed to immediately initiate the malicious payload. The extracted 'macros.bas' file is the source of this malicious VBA code.

Heuristics 9

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • WScript.Shell usage critical OLE_VBA_WSCRIPT
    WScript.Shell usage
  • Reference to Windows Script Host high SC_STR_WSCRIPT
    Reference to Windows Script Host
  • 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.
  • Suspicious extracted artifact high 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.
  • VBA macros detected medium OLE_VBA_MACROS
    Document contains VBA macro code
  • 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/drawingml/2006/main

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
3c04ea04467069829343dbe669abaec97bbecde737380a9c0db542f6810be8ab
vba-macro oletools.olevba.extract_macros (decoded VBA source) 23009 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 2 shell/COM execution token(s). Carved macro source contains an auto-exec entry point and execution/download terms.