
Detector de CVE-2026-21533: escalada de privilegios a SYSTEM en Servicios de Escritorio Remoto (RDS) de Windows.
This repository contains a detection tool for the CVE-2026-21533 vulnerability, a privilege management flaw in Windows Remote Desktop Services (RDS) that could allow a local attacker to elevate their privileges to SYSTEM.
IMPORTANT: This script is an educational and detection Proof of Concept (PoC). Its purpose is to help system administrators and security teams (blue team) quickly identify potentially vulnerable systems on their network. It is NOT an exploit and does not contain code that performs privilege escalation.
NT AUTHORITY\SYSTEM).AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HThe CVE-2026-21533_Scanner.py script performs two main checks on the local system to assess risk:
KB...): Verifies whether the security update that mitigates CVE-2026-21533 is installed on the system.HKLM\SYSTEM\CurrentControlSet\Services\TermService). If the operation succeeds with limited user permissions, it indicates that the permission configuration is weak and the system could be vulnerable to the vector described in the CVE.Clone this repository or download the CVE-2026-21533_Scanner.py file.
Open a terminal (CMD or PowerShell) in the folder where the script is located.
Run the script with Python 3:
python CVE-2026-21533_Scanner.py