XP – Get System User

Posted on March 4, 2007. Filed under: Microsoft, computer science |

In Windows XP, the system run level is higher than administrator, and has full control of the operating system and it’s kernel. When you hit Ctrl+Alt+Tab and get to the task manager process list, you will see that the System User controls several processes

Most System processes are required by the operating system, and cannot be closed, even by an Administrator account. Attempting to close them will result in a error message.Under normal circumstances, a user cannot run code as System, only the operating system itself has this ability, but by using the command line, we will trick Windows into running our desktop as System, along with all applications that are started from within.

Changing your administrator password on Windows XP, may be necessary at times depending on the scenario. One such technique, with a full desktop available to you is also possible.

Lets get rolling:

1. open up command prompt and type:

at

If it responds with an “access denied” error, then we are out of luck, and you’ll have to try another method of privilege escalation; if it responds with “There are no entries in the list” (or sometimes with multiple entries already in the list) then we are good. Access to the at command varies, on some installations of Windows, even the Guest account can access it, on others it’s limited to Administrator accounts.

2. if you can use the at command, which is basically a task scheduler, then enter a command similar to something like mine

at 23:27 /interactive "cmd.exe"

the time is usually a minute (or two) ahead of your present time in the 24 hours format

3. When the system clock reaches the time you set, then a new command prompt will magically run. The difference is that this one is running with system privileges (because it was started by the task scheduler service, which runs under the Local System account). It should look like this:

You’ll notice that the title bar has changed from cmd.exe to svchost.exe (which is short for Service Host).

4. End the current Explorer.exe. [hit ctrl+alt+del->task manager->processes]

5. At the system command prompt, enter in the following:

explorer.exe

6. Voila! …user System logged in!

7. Stuff you can do!

8. Log out to get back to your normal user

FIX: Open the services control panel (Start > Run > services.msc) and disable the Task Scheduler service.

Make a Comment

Make a Comment: ( 34 so far )

blockquote and a tags work here.

34 Responses to “XP – Get System User”

RSS Feed for Nirmal Thacker Comments RSS Feed

whoooooooaaaaaaaaa!

Btw, nice theme bob!

In a updated system it doesn’t work.
This isn’t such a new hack!

@wisher- the screenshots are from a PC running a licensed copy of XP with SP2 and all the security patches thereon. is your task scheduler service enabled?

My account is under administrative and I can’t even look into my account under the control panel. I don’t have an administrative password for this computer. The person I bought the computer from was moving out of town and I have no way of contacting him. How can I go about getting into my administrator account to find the password? Please help.

hallo its me riaz and i am unable to get the rights.its not working in my lab,dont know why….plz give me some alternative

system pwns!

@Riaz- could you tell me specifically where you get stuck?

How can you do this if you are not an administrator?

Thanks

Jake, yes it should work if the task scheduler is enabled

[...] Check it out! While looking through the blogosphere we stumbled on an interesting post today.Here’s a quick excerpt [...]

I have a problem. I deleted the system as a user ! I lost boot on my computer. Can anyone Help ? I tried all the usual recovery methods. I need to reinstate the system user somehow ?

whoops- i dont think its possible for you to create system user. how did you delete it btw

How can you add System User to the Welcome Screen?

hi in the i do the first step in CMD i get this error saying
“the service has not being started”
can you please help me

did everything right up to and including explorer.exe but still didnt get system rights still comes up user1 i have administor rights in system promt still say svchost.exe but cant download another anti virus or use systems tools any ideas cheers

“In a updated system it doesn’t work.
This isn’t such a new hack!”

if its updated, how can we acess to it

Access denied. The more I look around, after logon trojan, the less can do. services.msc task scheduler is enabled. I don’t want to use 3rd party stuff. Like learning security/OS this way like you. Rtvscan.exe process running. Please email. Thanx.

charlie I have still not understood the problem – could you tell me where you get stuck

Could you e-mail instead? I cannot do admin stuff even though “generically” logged on. at doesn’t work and cannot get into user accounts. I can do services.msc. I guess spybot and Symtc antivirus rtvscan saveroam running from taskmgr. I have physical access and am working on clone so don’t mess up original. I can try anything you want. charlie.

It doesn’t work for me.
I type in the command and it schedules it and when i look on the task manager i see cmd.exe under System but i never get the command prompt to come up.

I have Windows Xp Media Center Edition SP2

I am not sure what the problems are- I wrote this post a while back (almost a year)- and Im not in sync if any patches have covered this issue or it is still vulnerable. I assume the readers will experiment various configurations and try them out – i’ll be glad to help if i can.
@vader- i wouldnt know if this would work on the media centre- i think it should. you say that the cmd.exe is scheduled – then you should get another command prompt. Have you tried steps 4 and 5- what happens there?

Great.Thank you

when i tried to add the job to schedlu it shows access denied in cmd prompt!!

any other way!!

this was a really long time back people- Im afraid I dont run XP anymore so I will not be able to try and solve any issues here. Besides Im sure MS would have patched this up.
You could go ahead and use the thread to keep discussions on if any of you are still trying this out

it says that the service has not been started

afaik, people are requested to use schtasks instead of at.
If my memory serves me right, schtasks /ru “SYSTEM” /sc minute /mo once /tn systemcmd /tr cmd.exe

When I type the at (insert time here)/interactive “cmd.exe” it just says “The service has not been started”. What does that mean? By the way, I am doing this on the “computer” Administrator acount, not my regular limited acount. Will it work on a limited acount???? limited acount.

very very good hack

million thanks, I’m using Hudson and it’s using System User to log into the slave. This article helped me out.
Thanks once again

I’m able to schedule cmd.exe and see the process appear in the Task Manager (owned by SYSTEM, alongside the existing one run from my account), however no window shows up – it appears to be running but I can’t see or touch it. Any ideas?


Where's The Comment Form?

  •  

    March 2007
    M T W T F S S
    « Feb   Apr »
     1234
    567891011
    12131415161718
    19202122232425
    262728293031  
  • a

  • Archives

  • Blog Stats

    • 52,530 hits
  •       

    This work is licensed under a Creative Commons Attribution-No Derivative Works 3.0 Unported

    Beware however that this refers only to parts which are obviously written by me and do not have any other information about licencing. Quoted text, pictures and other content created by others is copyrighted by the corresponding authors. If you are in doubt, ask before republishing any content.

Liked it here?
Why not try sites on the blogroll...