Privilege Escalation For Launching CMD Prompt In System Account Context Allows Interactive Debugging Of Windows and XP OS
Command below create a new service you can call to launch a System Account level cmd prompt. Think of this like root on Linux or other *nixes... Put a shortcut on your desktop with shortcut keys like CTRL-ALT-S and you can spawn this window with some hotkeys.
sc delete testsvc
sc create testsvc binpath= "cmd /K start" type= own type= interact
sc start testsvc
echo sc start testsvc > c:\testsvc.cmd
Note that interact above is part of the second line of the command window...
Antimail : Running CMD.EXE as Local System
Many times in the past I had to run an interactive command-line shell under the Local SYSTEM account. That is, a CMD window on your desktop running under the system account. This technique is extremely useful in many cases, for example to debug ERROR_ACCESS_DENIED type errors that are coming from a system service.
0 TrackBacks
Listed below are links to blogs that reference this entry: Privilege Escalation For Launching CMD Prompt In System Account Context Allows Interactive Debugging Of Windows and XP OS.
TrackBack URL for this entry: http://kennethhunt.com/mt/mt-tb.cgi/1767