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

Static analysis result for SHA-256 72aa8332dff8b565…

MALICIOUS

Office (OLE) / .DOC

31.0 KB Created: 2026-06-25 23:44:00 Authoring application: Microsoft Office Word First seen: 2026-06-27
MD5: e786bbcd1bcc606ae95bd197b7310433 SHA-1: 06afb7037be26418bab49842ff858d1121dd9d61 SHA-256: 72aa8332dff8b5657c627df4a2ebff8555f6fad3b23d353a51ca090446a553e3
230 Risk Score

Heuristics 7

  • VBA macros detected medium 4 related findings OLE_VBA_MACROS
    Document contains VBA macro code
  • Potential Shell call in VBA critical OLE_VBA_SHELL
    Potential Shell call in VBA
    Matched line in script
        Shell payload, vbHide
  • PowerShell reference in VBA critical OLE_VBA_PS
    PowerShell reference in VBA
    Matched line in script
        payload = "powershell.exe -NoProfile -WindowStyle Hidden -Command ""Write-Output '" & targetString & "'"""
  • VBA p-code auto-exec with execution tokens high OLE_VBA_PCODE_AUTOEXEC_EXEC
    Triggers on the COMBINATION of two tokens co-occurring in the same compiled VBA/cache stream: an auto-execution entry point (Auto_Open / AutoOpen / Document_Open / Workbook_Open / Auto_Close / AutoClose) AND a shell/download/object-execution token (Shell, CreateObject, GetObject, PowerShell, cmd.exe, URLDownloadToFile, WinHttp, XMLHTTP, ADODB.Stream, ShellExecute, ExecuteExcel4Macro). Neither token alone fires it — it is the pairing that flags p-code-only or source-extraction-failure macro documents where the visible VBA source is unavailable. The matched tokens are named in the detail line below.
  • Document_Open macro low OLE_VBA_DOCOPEN
    Document_Open macro
    Matched line in script
    Private Sub Document_Open()
  • Reference to PowerShell high SC_STR_POWERSHELL
    Reference to PowerShell
  • 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 In document text (OLE body)

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source) 743 bytes
SHA-256: 7ba89e5bdf6f0a05933fdec719817bc984c9823283ab2ee4509a3eba8a83b686
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "ThisDocument"
Attribute VB_Base = "1Normal.ThisDocument"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = True
Attribute VB_Customizable = True
Private Sub Document_Open()
    Dim payload As String
    Dim targetString As String
    
    ' The AMSI memory test string
    targetString = "Invoke-Mimikatz"
    
    ' Construct a command that opens a hidden PowerShell window to read the string
    payload = "powershell.exe -NoProfile -WindowStyle Hidden -Command ""Write-Output '" & targetString & "'"""
    
    ' Execute the process injection behavior
    Shell payload, vbHide
End Sub