I have a few computers at home on which i hack for fun. Until now google has been able to answer my questions. But now I need your help. What ways are there to elevate from a non-admin user to NT system? Source code, how to's and explenation on how they operate would be awesome!
|
|
Firstly, there's the Secondly, there's the WindowsIdentity class for .NET which allows you to impersonate users if you have sufficient rights. WinAPI also features some functions to create processes for a user different than the one executing the current process, see the CreateProcessAsUser function for further details. |
||||
|
|
|
One of the more common ways that a security tester would use to try and escalate privileges using something like Metasploit. Using Metasploit you can deploy a meterpreter payload to the target system and then use the getsystem command to attempt to escalate to administrator. This command uses a number of techniques under the hood, but as it's all open source you can read the relevant Metasploit files to get the details. |
|||
|
|
nmap your 3rd party apps for versions and look at sites such as securityfocus and exploit-db or even pre-built metasploit exploits for escalations. 3rd party apps that run under higher privs can be a goldmine There's a million ways to find privilege escalations .. you just need to look around .. run a nessus scan to look for weaknesses You should do the offensive-security pen testing course .. it will answer all your questions :) |
|||
|
|
