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

Static analysis result for SHA-256 76e8804bda8f0c7c…

MALICIOUS

Office (OLE) / .DOC

31.0 KB Created: 2026-06-25 23:31:00 Authoring application: Microsoft Office Word First seen: 2026-06-28
MD5: 21c2247bc0b469e8a4676833aec547e7 SHA-1: 612ea4e941f8a06530d0f1b4f9ad9528669c22d3 SHA-256: 76e8804bda8f0c7c2c29a8954aefffc35ca9dcab64ce4c59af73e95cda02f916
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) 782 bytes
SHA-256: bdcb8ac9015d83b30d1d5c617fdc4d5552289419f6710aedaf3afce3b89e6858
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 = "AMSI Test Sample: 7e72c3ce-861b-4339-8740-0ac1484c1386"
    
    ' 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