Root Priviledge Escalation in Windows

September 29th, 2008 by Xerxes Leave a reply »

I have just uncovered a way to perform root priviledge escalation under Windows (tested using Server 2003 SP2)…so easy, with no addons or anything – all you need is a console.

  1. Open up a command prompt (cmd.exe)
  2. Type whoami. This should return your username – lowly peon user.
  3. In the command prompt, enter the following: at <current time + 1 min> /interactive “cmd.exe”
    The point of this step is to set up a scheduled task to execute in one minute of the current time. This scheduled task will launch a command prompt under the credentials of Local System.
    For example: at 11:05 /interactive “cmd.exe” will launch the cmd window at 11:05am.
  4. Type whoami into the new cmd window…..Voila!

Once escalated, you can use taskmgr to kill explorer and then re-run it from the new command prompt with the escalated priviledge.

Bookmark this post:
  • DotNetKicks
  • DZone
  • TwitThis
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • Live
  • MySpace
  • Slashdot
  • StumbleUpon
  • Technorati

Related posts:

  1. Run a command as Administrator under Windows To run any command under the credentials of a different...
  2. Relocating Your Windows Profile To A Different Location In the last few OS rebuilds of my machine, i’ve...
  3. Mount a VHD in Windows 7 Windows 7 (and possibly even Vista) has the ability to...
  4. How to Create The Ultimate Windows XP Installation CD/DVD http://www.anewmorning.com/2008/01/30/how-to-create-the-ultimate-windows-xp-installation-cddvd/ My laptop is in the perfect condition to try...
  5. Hiding Items From Windows Update having freshly reinstalled Vista Ultimate on my work laptop, Windows...

Comments are closed.