I wrote this my freshman year. I thought perhaps someone here will find it useful. I don't know if these techniques work in Vista. If anyone does please drop me a line
For research on your own computer only. This could cause permanent problems with windows.
[It permanently caused the "Bliss" desktop to flash at boot time on my computer]
Think before you hack ...[ Am I sure this Computer/IP doesnt belong to a Hospital!?]
Windows XP local Privilege escalation [using the "at" cmd]
This local exploit uses the "at" command to open an interctive (or root) shell (With or without a root or admin account.)
I then Show how this root shell can be used to open a new explorer process with system level privileges.
The real hack is that the
"at" command can be used to open a "interactive" shell
" at" a given time.
(Think a shell script that defragment's the hard drive
"at' 7;00 pm and you should understand the "at" command quite well.
Keep in mind that the at command is not an exploit itself, I have been told that the ability to open a interactive shell with a non admin account this is a lesser known debugging feature built into X.P. on purpose. (Wouldn't surprise me.)
The "at" command can be disabled by the Admin account. If that's the case this hack won't work.
OK here we go;
(Code samples in Red)
Open a cmd prompt and type:
at (24 time+1min ahead of real time)
/interactive "cmd.exe" .
The Command should look like this:
at 15:25 /interactive "cmd.exe"complete the command.
At the time you specified a second cmd prompt will open this one is svchostcmd32 or a "root shell" leave this open.
Open the task manager. In the task manager kill "EXPLORER.EXE"
The screen will blank except your cmd shell's will still be there.
In the root shell type
explorer.exe
Explorer starts like its the first time you booted this copy of Windows and try's to give you the tour of X.P.
Now look at the start menu, The User name shown at the top should be displayed as "System" [ That's the best part!]
You now have the window manager "Explorer.exe" running with root privileges.
(Don't put "windows" folder in trashcan for god's sake;)
* CODE SAMPLE in red:
at 15:25 /interactive "cmd.exe"
Wait for your "/" shell to open at the given 24 hour time.
(15:25 represents 24 hour time for 1 minuet ahead of YOUR current time.)
kill explorer.exe via task manager.
Then in the new "/" shell type
explorer.exe

2 ways to spawn a command shell when cmd is locked down.
1) Open a text file write "command.com" save it as "CMD.bat" opening this will spawn a shell.
2) In Windows Calculator go to help\help topics\ hit the ? on the top of the window and "jump to url"
* then enter
file:///c:/windows/system32/cmd.exe this will spawn a cmd shell.
You need to be a member of House of Hackers to add comments!
Join this Ning Network