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

Static analysis result for SHA-256 b7cff98a268bb25e…

MALICIOUS

Office (OLE) / .DOC

95.0 KB Created: 2022-05-08 12:36:00 Authoring application: Microsoft Office Word First seen: 2022-05-08
MD5: 2557d96cf66117de5ab8fc35f86c2094 SHA-1: 020ef82e0ef8147be28ebacfc7eb150aae043347 SHA-256: b7cff98a268bb25e3d4610198770217efe749310422435920e49b10531e16f87
342 Risk Score

Malware Insights

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

The file contains a VBA macro that utilizes WScript.Shell to execute commands. The macro is auto-executing via the Document_Open event, indicating an attempt to run malicious code upon opening the document. The presence of a `Shell()` call and `WScript.Shell` usage strongly suggests the macro is designed to download and execute a second-stage payload. No specific family could be identified, but the technique is common for initial access.

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
3315d4011465ca535bd3eeb8f4b264bbfb34da8b31b37b9d1109206e9909668d
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.