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

Static analysis result for SHA-256 d283a0d5cfed4d21…

MALICIOUS

Office (OLE) / .DOC

106.4 KB Created: 2021-07-28 00:32:00 Authoring application: Microsoft Office Word
MD5: 9b1ca0408e33c43970b87c4c380b134f SHA-1: 2fadfaef5179fe69bfecbd9adebd8f6a50615fa4 SHA-256: d283a0d5cfed4d212cd76497920cf820472c5f138fd061f25e3cddf65190283f
322 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell T1059.003 Windows Command Shell T1204.002 Malicious File

The sample contains a VBA macro that is automatically executed upon opening the document. This macro constructs and executes a command line that attempts to extract content from the document body, save it as 'y.js', and then execute it using wscript. This indicates the document is a lure designed to download and execute a second-stage payload. The macro directly references cmd.exe and wscript, supporting the attack pattern.

Heuristics 9

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • Reference to PowerShell high SC_STR_POWERSHELL
    Reference to PowerShell
  • Reference to Windows Script Host high SC_STR_WSCRIPT
    Reference to Windows Script Host
  • Document_Open macro high OLE_VBA_DOCOPEN
    Document_Open macro
  • cmd.exe reference in VBA high OLE_VBA_CMD
    cmd.exe reference in VBA
  • 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
76c6c4b74e5e222259b11052f8fc1d6a74eb7e042e0affc23008e08ccbce5ec8
vba-macro oletools.olevba.extract_macros (decoded VBA source) 576 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved macro source contains an auto-exec entry point and execution/download terms.