MALICIOUS
220
Risk Score
Malware Insights
MITRE ATT&CK
T1059.001 PowerShell
T1566.001 Spearphishing Attachment
T1204.002 Malicious File
This Excel document contains a Workbook_Open VBA macro that executes a PowerShell command. The command attempts to run a script located at 'C:\NothingSusHere\DefinitelyNotVirus.ps1'. This indicates a macro-based downloader designed to execute a secondary payload, likely for further malicious activity.
Heuristics 5
-
VBA project inside OOXML medium 4 related findings OOXML_VBADocument contains a VBA project — VBA macros present
-
Shell() call in VBA critical OLE_VBA_SHELLShell() call in VBA
-
PowerShell reference in VBA critical OLE_VBA_PSPowerShell reference in VBA
-
Workbook_Open macro high OLE_VBA_WBOPENWorkbook_Open macro
-
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.
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) | 1407 bytes |
SHA-256: f1924229145e3f265f6dee27c404eaa7aa5e7f039dc11453616e07bf602038ba |
|||
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
Private Sub Workbook_Open()
Dim x As Variant
x = Shell("POWERSHELL.exe -ExecutionPolicy ByPass -noexit " & _
"""C:\NothingSusHere\DefinitelyNotVirus.ps1""", 1)
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 = "UserForm1"
Attribute VB_Base = "0{EA6C7B6C-E66A-4111-86EF-AF39662DF30E}{2139FFAE-413D-4889-9965-922471BF8CDB}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
Attribute VB_Name = "Module1"
Sub PeaceNotWar()
Attribute PeaceNotWar.VB_ProcData.VB_Invoke_Func = "R\n14"
Dim x As Variant
x = Shell("POWERSHELL.exe -ExecutionPolicy ByPass -noexit " & _
"""C:\NothingSusHere\DefinitelyNotVirus.ps1""", 1)
End Sub
|
|||
vbaProject_00.bin |
vba-project | OOXML VBA project: xl/vbaProject.bin | 19968 bytes |
SHA-256: b3d8bf6b66af040e1e8a5822782856160a830ca1d3e0cbebed35454a69845b7b |
|||
Open this report in the interactive analyzer, or submit your own file for analysis.