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

Static analysis result for SHA-256 54f42da8259c446d…

MALICIOUS

Office (OLE) / .DOC

74.5 KB Created: 2017-10-17 09:08:00 Authoring application: Microsoft Office Word
MD5: 3ca459375646fa36b18b24e3d4121ef0 SHA-1: 4a577a89c89d5e641480a8b8c2dccd04ef810b98 SHA-256: 54f42da8259c446dcaa20a678a382301b319b3936c9d42fe50300d28f6c5939a
420 Risk Score

Malware Insights

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

The sample is a malicious DOC file containing VBA macros. The document body prompts the user to 'Enable content to display this transaction receipt', acting as a lure. The critical heuristic 'OLE_VBA_SHELL' and 'OLE_VBA_WSCRIPT' indicate that the VBA macros utilize WScript.Shell to execute commands. The 'macros.bas' file is the source of these malicious macros, which likely download and execute a second-stage payload.

Heuristics 11

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • WScript.Shell usage critical OLE_VBA_WSCRIPT
    WScript.Shell usage
  • ClamAV: Xls.Macro.Obfuscation-9804250-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Xls.Macro.Obfuscation-9804250-0
  • 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
  • Macro/content-enable lure medium SE_ENABLE_LURE
    Document instructs the user to enable macros or editing — a common technique used by malware droppers to bypass Office macro security settings
  • 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
c9fed0cd5af5ef4ee3b6f936a85929246bd39d9340fefd4842b621e5550ec1ca
vba-macro oletools.olevba.extract_macros (decoded VBA source) 29161 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 2 shell/COM execution token(s). Carved artifact contains 124 long base64-like blob(s). Carved macro source contains an auto-exec entry point and execution/download terms.