
Penetration Testing mailing list archives
Re: priviledge escalation techniques
From: Pieter Danhieux <pdanhieux () easynet be>
Date: Sat, 22 Jan 2005 20:36:13 +0100
On 22 Jan 2005, at 09:20, Eyal Udassin wrote:
Hi, The easiest way to perform privilege escalation on windows, whatever version, is to list the executables in theHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run registrykey. All of these executables are run under SYSTEM.Once you get hold of that list, see if you have write permissions to replace the original executable with your own. Don't forget to execute the original from your code, or otherwise you may cause the system to become unstable.I had a client which had such a key pointing to an old printer installationutility which no longer existed, in an unprotected directory outside of "program files". That was the beginning of the end of the pentest :-)If all the files can't be overridden, try to boot with command line only and replace them. Another approach is to remove the hard drive and perform theswitch on another computer, with the victim HD as a secondary drive. Eyal Udassin - Swift Coders POB 1596 Ramat Hasharon, 47114 972+547-684989 eyal () swiftcoders com - www.swiftcoders.com
Or you can use a linux live cd that supports NTFS read/write operations. If have already tested KANOTIX and the captive-ntfs filesystem (which used the windows drivers to read/write on ntfs)
regards -- Pieter Danhieux, CISSP, GSEC
Current thread:
- Re: priviledge escalation techniques, (continued)
- Re: priviledge escalation techniques miguel . dilaj (Jan 20)
- Re: priviledge escalation techniques jnf (Jan 20)
- Re: priviledge escalation techniques miguel . dilaj (Jan 20)
- RE: priviledge escalation techniques Marc Maiffret (Jan 20)
- Re: priviledge escalation techniques BSK (Jan 20)
- RE: priviledge escalation techniques Dave Wells (Jan 20)
- RE: priviledge escalation techniques Michael Howard (Jan 20)
- Re: priviledge escalation techniques BSK (Jan 20)
- RE: priviledge escalation techniques Roy Stapleton (Jan 21)
- RE: priviledge escalation techniques Eyal Udassin (Jan 22)
- Re: priviledge escalation techniques Pieter Danhieux (Jan 23)
- Re: priviledge escalation techniques Thor (Jan 23)
- RE: priviledge escalation techniques Eyal Udassin (Jan 23)
- Re: priviledge escalation techniques Thor (Jan 23)
- RE: priviledge escalation techniques Eyal Udassin (Jan 22)
- Re: priviledge escalation techniques miguel . dilaj (Jan 20)
- RE: priviledge escalation techniques BSK (Jan 24)
- Re: priviledge escalation techniques Nicolas RUFF (lists) (Jan 27)