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

Static analysis result for SHA-256 f199cc703c62cb31…

MALICIOUS

Office (OLE) / .DOC

118.5 KB Created: 2021-09-08 22:48:00 Authoring application: Microsoft Office Word
MD5: e2f9c1c12b3ea287fe8fdca1e2c3a415 SHA-1: dc0c8a9d7fae0920c49b3cce9ac26f89c0dde321 SHA-256: f199cc703c62cb31955634bf10a1285c81fb95f3bba152130cb3cb2e976aef1f
542 Risk Score

Malware Insights

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

The sample contains VBA macros that trigger on document open. These macros construct and execute a hidden PowerShell command. The PowerShell command appears to be a downloader, attempting to execute a second-stage payload. The specific PowerShell command is: powershell.exe -nop -w hidden -e aQBmACgAWwBJAG4AdABQAHQAcgBdADoAOQ. This indicates a macro-based downloader delivery mechanism.

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://upload.wikimedia.org/wikipedia/pt/a/a2/Brasao_UFPA.jpg
    • http://schemas.openxmlformats.org/drawingml/2006/main

Extracted artifacts 1

Files carved from inside the sample during analysis.

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