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

Static analysis result for SHA-256 8e7fb6e2f5cab40b…

MALICIOUS

Office (OLE) / .DOCX

125.0 KB Created: 2019-06-09 15:35:00 Authoring application: Microsoft Office Word
MD5: 27fd4e8b72e11357f0a00b5beb964920 SHA-1: 50dafeaa2b75e183661be525fde060782a794ef6 SHA-256: 8e7fb6e2f5cab40baf71083b4406f993d482e945117f146efc9b2aeeb7772625
250 Risk Score

Malware Insights

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

The sample contains a VBA macro that is automatically executed upon opening the document. This macro uses the Shell() function to execute a command. The command constructs a path to a temporary file in the user's profile directory, '%USERPROFILE%\zx.tmp', and then executes it. The content of this temporary file is obfuscated and truncated in the provided evidence, but the overall pattern suggests a downloader or initial execution stage for further malicious activity. The use of cmd.exe and Shell() calls are strong indicators of malicious intent.

Heuristics 8

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • 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
  • Environ() call (env variable access) low OLE_VBA_ENVIRON
    Environ() call (env variable access)
  • 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
553bcfcebf14b2291ed13e8b94e700d57c05a3acb4879ca2c7e6277a3216900a
vba-macro oletools.olevba.extract_macros (decoded VBA source) 15385 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 shell/COM execution token(s). Carved macro source contains an auto-exec entry point and execution/download terms.