Penetration Testing mailing list archives
Re: Windows Administrator access
From: Neil <neil () voidfx net>
Date: Sat, 25 Feb 2006 23:00:25 +0530
Dillama wrote:
After gaining shell access to a Windows box, is there any way to show administrator privilege without changing the config or uploading new files? I have to demo the ability to gain administrator access to a Win 2000 box, the catch is no changes on the box so adding a user or loading whoami.exe from resource kit would not be options. Any suggestion here would be appreciated. Thanks --- Dillama
Well, personally I would just remove the admin privs from all the other users as proof, or drill it home with "netsh firewall set opmode disable" (disables the firewall); but I suspect whoever asked you to demo wouldn't be too thrilled with you doing things my style.
So for you, I would drag them over to the workstation and run "echo %username%", which would show what user your shell is running as, and then follow it with "net localgroup administrators", which will list all administrators (I assume your running a local admin account, not as System or Local Service).
Hope it helps. -Neil ------------------------------------------------------------------------------Audit your website security with Acunetix Web Vulnerability Scanner: Hackers are concentrating their efforts on attacking applications on your website. Up to 75% of cyber attacks are launched on shopping carts, forms, login pages, dynamic content etc. Firewalls, SSL and locked-down servers are futile against web application hacking. Check your website for vulnerabilities to SQL injection, Cross site scripting and other web attacks before hackers do! Download Trial at:
http://www.securityfocus.com/sponsor/pen-test_050831 -------------------------------------------------------------------------------
Current thread:
- Windows Administrator access Dillama (Feb 25)
- Re: Windows Administrator access Neil (Feb 26)
- Re: Windows Administrator access Thor (Hammer of God) (Feb 27)
- RE: Windows Administrator access Travis Potter (Feb 26)
- Re: Windows Administrator access Martin Mačok (Feb 26)
- Re: Windows Administrator access Isaac Perez (Feb 26)
- Re: Windows Administrator access AdamT (Feb 26)
- RE: Windows Administrator access Sahir Hidayatullah (Feb 26)
- RE: Windows Administrator access security (Feb 26)
- Re: Windows Administrator access Marco Monicelli (Feb 27)
- <Possible follow-ups>
- RE: Windows Administrator access Shenk, Jerry A (Feb 26)
- Re: Windows Administrator access shiri_yacov (Feb 26)
(Thread continues...)
- Re: Windows Administrator access Neil (Feb 26)