Feeds

Win-NT, 2K debug process gives up control

Got root?

  • alert
  • submit to reddit

5 things you didn’t know about cloud backup

A security hole in Win-NT and 2K could enable an attacker to take control by exploiting a flaw in the debugging subsystem (SMSS). Radim "EliCZ" Picha has demonstrated that it's possible for an unprivileged user to execute debug processes in the System context.

At issue is an exploitable LPC (Local Procedure Call) port, to which any user or process has access. By exploiting the LPC flaw, an attacker can bypass the CSRSS (Client Server Runtime Subsystem) and avoid the normal privilege restrictions for debug commands.

According to a recent posting to the BugTraq mailing list, an attacker would cause SMSS.exe to duplicate a handle to the target, which can be any running process. He connects to the debug LPC, requests CreateProcess SsApi with the target's client ID, receives the duplicated handle, and owns the box. At this point the attacker can execute external programs in the System account.

A working exploit called DebPloit with source code is located here, so you can verify the vulnerability.

MS hasn't managed to patch it yet, but has managed to complain that the exploit was released without its approval. In the mean time, the author of the BugTraq post also provides a hotfix which he says will make the LPC port available only to processes running in the System account. Both items are mirrored here as well.

We haven't verified either of these files, so check them out thoroughly before mucking about with critical systems. ®

Build a business case: developing custom apps

More from The Register

next story
The Return of BSOD: Does ANYONE trust Microsoft patches?
Sysadmins, you're either fighting fires or seen as incompetents now
Linux turns 23 and Linus Torvalds celebrates as only he can
No, not with swearing, but by controlling the release cycle
China hopes home-grown OS will oust Microsoft
Doesn't much like Apple or Google, either
Sin COS to tan Windows? Chinese operating system to debut in autumn – report
Development alliance working on desktop, mobe software
Eat up Martha! Microsoft slings handwriting recog into OneNote on Android
Freehand input on non-Windows kit for the first time
Linux kernel devs made to finger their dongles before contributing code
Two-factor auth enabled for Kernel.org repositories
This is how I set about making a fortune with my own startup
Would you leave your well-paid job to chase your dream?
prev story

Whitepapers

Implementing global e-invoicing with guaranteed legal certainty
Explaining the role local tax compliance plays in successful supply chain management and e-business and how leading global brands are addressing this.
Endpoint data privacy in the cloud is easier than you think
Innovations in encryption and storage resolve issues of data privacy and key requirements for companies to look for in a solution.
Scale data protection with your virtual environment
To scale at the rate of virtualization growth, data protection solutions need to adopt new capabilities and simplify current features.
Boost IT visibility and business value
How building a great service catalog relieves pressure points and demonstrates the value of IT service management.
High Performance for All
While HPC is not new, it has traditionally been seen as a specialist area – is it now geared up to meet more mainstream requirements?