{"id":13440896,"url":"https://github.com/GossiTheDog/HiveNightmare","last_synced_at":"2025-03-20T10:33:03.030Z","repository":{"id":48011850,"uuid":"387771154","full_name":"GossiTheDog/HiveNightmare","owner":"GossiTheDog","description":"Exploit allowing you to read registry hives as non-admin on Windows 10 and 11","archived":false,"fork":false,"pushed_at":"2021-07-26T14:17:54.000Z","size":397,"stargazers_count":713,"open_issues_count":2,"forks_count":166,"subscribers_count":18,"default_branch":"master","last_synced_at":"2024-10-28T03:44:54.412Z","etag":null,"topics":["cybersecurity","exploits","security"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GossiTheDog.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-07-20T11:35:43.000Z","updated_at":"2024-10-25T13:13:45.000Z","dependencies_parsed_at":"2022-08-12T16:40:24.659Z","dependency_job_id":null,"html_url":"https://github.com/GossiTheDog/HiveNightmare","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GossiTheDog%2FHiveNightmare","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GossiTheDog%2FHiveNightmare/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GossiTheDog%2FHiveNightmare/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GossiTheDog%2FHiveNightmare/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GossiTheDog","download_url":"https://codeload.github.com/GossiTheDog/HiveNightmare/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244595598,"owners_count":20478502,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cybersecurity","exploits","security"],"created_at":"2024-07-31T03:01:27.632Z","updated_at":"2025-03-20T10:33:03.025Z","avatar_url":"https://github.com/GossiTheDog.png","language":"C++","funding_links":[],"categories":["C++"],"sub_categories":[],"readme":"# HiveNightmare\naka SeriousSam, or now CVE-2021–36934.  Exploit allowing you to read any registry hives as non-admin.\n\n# What is this?\nAn zero day exploit for HiveNightmare, which allows you to retrieve all registry hives in Windows 10 as a non-administrator user.  For example, this includes hashes in SAM, which can be used to execute code as SYSTEM.\n\n# Download\nThis is the direct download link for most recent version: https://github.com/GossiTheDog/HiveNightmare/raw/master/Release/HiveNightmare.exe\n\n# Authors \n- Discovered by @jonasLyk.\n- PoC by @GossiTheDog, powered by Porgs.\n- Additions by @0xblacklight, @DHerls, @HynekPetrak\n\n# Scope\nWorks on all supported versions of Windows 10, where System Protection is enabled (should be enabled by default in most configurations). \n\n# How does this work?\nThe permissions on key registry hives are set to allow all non-admin users to read the files by default, in most Windows 10 configurations.  This is an error.\n\n# What does the exploit do?\nAllows you to read SAM data (sensitive) in Windows 10, as well as the SYSTEM and SECURITY hives.\n\nThis exploit uses VSC to extract the SAM, SYSTEM, and SECURITY hives even when in use, and saves them in current directory as HIVENAME-haxx, for use with whatever cracking tools, or whatever, you want.\n\n# Pulling Credentials out\n```\npython3 secretsdump.py -sam SAM-haxx -system SYSTEM-haxx -security SECURITY-haxx LOCAL\n```\n\n# More info?\nI wrote a blog: https://doublepulsar.com/hivenightmare-aka-serioussam-anybody-can-read-the-registry-in-windows-10-7a871c465fa5\n\n![Alt Image text](screenshot.PNG?raw=true \"PoC on Windows 10 21H1 as non-admin\")\n\nVideo of exploit:\nhttps://www.youtube.com/watch?v=5zdIq6t3DOw\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGossiTheDog%2FHiveNightmare","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FGossiTheDog%2FHiveNightmare","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGossiTheDog%2FHiveNightmare/lists"}