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

Static analysis result for SHA-256 848de91c16469e9f…

MALICIOUS

Office (OLE) / .DOC

85.0 KB Created: 2021-09-07 22:10:00 Authoring application: Microsoft Office Word
MD5: a02cfacbf32e9ff66464de27faa58543 SHA-1: 50f510e76b3a4655b9d5f4626e10e88e63b6ff68 SHA-256: 848de91c16469e9f09e284adbbbf8cf317db916b414240c6bd46364a8f4c2c84
542 Risk Score

Malware Insights

MITRE ATT&CK
T1566.001 Phishing: Spearphishing Attachment T1204.002 User Execution: Malicious File T1059.001 Command and Scripting Interpreter: PowerShell T1027 Obfuscation T1547.001 Boot or Logon Autostart Execution: Registry Run Keys / Startup Folder

The sample is a malicious Word document containing VBA macros (AutoOpen and Document_Open) that execute a base64-encoded PowerShell command. The script assembles the same command string via concatenation. The payload is truncated in the evidence, but the base64 string starts with 'powershell.exe -nop -w hidden -e aQBmACgAWwBJAG4Ad...'. The ClamAV detection 'Doc.Downloader.Pwshell' suggests this is a a macro-based downloader.

Heuristics 13

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • WScript.Shell usage critical OLE_VBA_WSCRIPT
    WScript.Shell usage
  • PowerShell reference in VBA critical OLE_VBA_PS
    PowerShell reference in VBA
  • ClamAV: Doc.Downloader.Pwshell-10001336-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.Pwshell-10001336-0
  • Reference to PowerShell high SC_STR_POWERSHELL
    Reference to PowerShell
  • Reference to Windows Script Host high SC_STR_WSCRIPT
    Reference to Windows Script Host
  • AutoOpen macro high OLE_VBA_AUTOOPEN
    AutoOpen macro
  • 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 https://2020vestibular.com/wp-content/uploads/2017/12/vestibular-ufba-2020.jpg
    • http://schemas.openxmlformats.org/drawingml/2006/main

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
22c366474ea5b5b1e8ca9dc291ee4b06936403e3a82d7a5af2ba560c9dbab45a
vba-macro oletools.olevba.extract_macros (decoded VBA source) 9156 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.