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

Static analysis result for SHA-256 6aa5efecddd28d83…

MALICIOUS

Office (OLE) / .DOC

39.5 KB Created: 2017-12-05 09:09:00 Authoring application: Microsoft Office Word First seen: 2022-03-18
MD5: 17b32e51d62aae495b024272852a2631 SHA-1: 77fdaf871dd331dedc84ebcafe43f8ed9294bd62 SHA-256: 6aa5efecddd28d83affa4bfcc0b5edbb4c52a9a48f04d7daea5a21e32d116989
482 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell T1566.001 Spearphishing Attachment T1204.002 Malicious File

The sample contains VBA macros that automatically execute upon opening. These macros construct and run a PowerShell command. The PowerShell command is heavily obfuscated but appears to be designed to download and execute a second-stage payload from a remote source. This is a common pattern for malware droppers.

Heuristics 12

  • PowerShell reference in VBA critical OLE_VBA_PS
    PowerShell reference in VBA
  • VBA WMI Win32_Process launcher critical OLE_VBA_WMI_PROCESS_CREATE
    VBA macro builds or references a WMI moniker for Win32_Process and invokes .Create to start a command. This is a high-confidence macro execution chain that often hides the WMI class name through string concatenation or helper functions.
  • ClamAV: Doc.Dropper.Donoff-5743532-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Dropper.Donoff-5743532-0
  • Reference to PowerShell high SC_STR_POWERSHELL
    Reference to PowerShell
  • AutoOpen macro high OLE_VBA_AUTOOPEN
    AutoOpen macro
  • Document_Open macro high OLE_VBA_DOCOPEN
    Document_Open macro
  • Auto_Open macro high OLE_VBA_AUTO
    Auto_Open macro
  • GetObject call high OLE_VBA_GETOBJ
    GetObject 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.
  • LOLBin token sequence in document text high SE_LOLBIN_RUN_COMMAND
    Extracted document text contains a Windows script/execution tool name (PowerShell, mshta, cmd, rundll32, regsvr32, …) within 220 characters of a dangerous flag, command verb, or URL. This is a visible 'run this' instruction in HTML/PDF/RTF lure bodies, or — in macro-laden Office files — the macro's own string-pool entries appearing adjacent in extracted text.
  • 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
016bf003b09d29b0261eefa4830c4b8d9b1fa8022e53e7df97867f2c5c8a043e
vba-macro oletools.olevba.extract_macros (decoded VBA source) 9761 bytes