KQL Queries for new Chaotic Eclipse Zero day 'Legacy Hive'
Source Reddit Cybersecurity
Discussion
A new zero-day vulnerability named 'Legacy Hive' has been publicly disclosed by the Chaotic Eclipse group. This vulnerability is an arbitrary hive load Elevation of Privilege (EoP) targeting the Windows User Profile Service (ProfSvc). It affects fully patched Windows systems by allowing an attacker to mount targeted user registry hives into the current user's classes root, potentially escalating privileges. Detection queries using KQL have been shared to help identify exploitation attempts by monitoring suspicious registry load actions and anomalous registry mounting events.
r/cybersecurity (opens in a new tab)u/sysinternalssuite0 points0 comments
Literally after July 2026 Patch Tuesday, Chaotic Eclipse dropped a functional zero-day PoC called LegacyHive an arbitrary hive load Elevation of Privilege (EoP) vulnerability targeting the Windows User Profile Service (ProfSvc). Because the exploit works on fully patched systems by mounting targeted user hives into the current user's classes root, I've put together two KQL hunting queries for this exploit. They focus on flagging command-line utility abuse (like suspicious reg.exe load actions targeting usrclass.dat or ntuser.dat) and identifying anomalous, non-system registry mounting events. Take a look and let me know if you run into any false positives or have optimization suggestions.
Legacy Hive POC- https://blog.projectnightcrawler.dev/posts/2026-07-14-legacyhive-public-disclosure/
Link to hunting queries - https://github.com/lukehebe/KQL-Hunting_and_Detection-Queries/blob/main/LegacyHive%20Hunting%20queries.kql
References
- blog.projectnightcrawler.dev/posts/2026-07-14-legacyhive-public-disclosure/ (opens in a new tab)
- reddit.com/r/cybersecurity/comments/1ux652m/kql_queries_for_new_chaotic_eclipse_zero_day/ (opens in a new tab)
- github.com/lukehebe/KQL-Hunting_and_Detection-Queries/blob/main/LegacyHive%20Hunting%20queries.kql (opens in a new tab)