home Tech Using Task scheduler to get system privileges

Using Task scheduler to get system privileges

>”Privilege escalation” -the term in computer security world is often seen as something like a prisoner who has just got a weapon a.k.a “armed and dangerous”.

It means getting the important super privileges from a normal user account to root in *nix and admin/system account in Windows world.

Command prompt in Windows machines (especially XP) can do a lot of fun stuff if one knows what to do.Just for curiosity,I want to get admin/system privileges while I am logged as a normal user and I don’t want to use the “Run As” option to do that.

Here is how I use task scheduler-the command line version to achieve my goal.
1.Open command prompt.
2.Add a scheduled task by typing the following:

C:AVP>at \BOX 16:00 “cmd”
Added a new job with job ID = 1

What I have done is simply asked task scheduler to launch command prompt at 16:00 hours on my local machine,thats all(even if I dont mention \computername,task scheduler will use the local machine as the target).

However,the command prompt that will be launched will have system privileges 🙂 – this is a very old trick but extremely effective in XP,Vista won’t allow this command to run at all without admin privileges.

Hope this has been an informative post,as the old saying goes “Knowledge is power”.

Peace.

Leave a Reply

Your email address will not be published. Required fields are marked *