CPSA ยท Windows passwords, vulnerabilities and hardening
Remote vs local Windows vulnerabilities
Classes of remote and local privilege escalation flaws with public exploit code and why patching matters.
Key points
- Remote flaws: network-facing services (file sharing, RPC, web, mail); may give code execution without login.
- Local flaws: need a foothold; raise a low-privilege user to administrator or SYSTEM via kernel or driver bugs, weak service permissions, unquoted service paths.
- Public exploits lower the skill bar: missing patch plus reachable service is high risk.
- Confirm patch levels; agree with the client before anything that may crash a host.
Practice questions
Why does public exploit code make a missing patch more urgent?
- It lets many attackers use the flaw with little skill, quickly
- It makes the flaw technically more severe than before
- It disables the vendor's patch for that flaw
- It only affects systems with weak passwords
Show answer
Answer: A. It lets many attackers use the flaw with little skill, quickly
Public code lets less skilled attackers use the flaw quickly and at scale. It does not make the flaw worse technically, and it does not depend on password strength.
Which of these are typical routes to local privilege escalation on Windows?
- A service running as SYSTEM whose executable a normal user can overwrite
- An unquoted service path with spaces in a writable folder
- An unpatched kernel or driver flaw
- A web server listening on port 80
- A 20-character password on the administrator account
Show answer
Answer: A. A service running as SYSTEM whose executable a normal user can overwrite, B. An unquoted service path with spaces in a writable folder, C. An unpatched kernel or driver flaw
Writable service binaries, unquoted service paths and unpatched kernel or driver flaws all let a low-privilege user run code as a higher-privileged account. An open web port or a long password are not local escalation routes.
True or false: a tester can only report a missing Windows patch after successfully exploiting the flaw it fixes.
Show answer
Answer: False
False. Patch level can be established from version and update inventories, and a missing security update is a valid finding without exploitation, which also avoids the risk of crashing the host.
Practice 8 questions on this topic in Bitzu
Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.
