Showing posts with label Windows 7. Show all posts
Showing posts with label Windows 7. Show all posts

Friday, 9 March 2012

Some Interesting Windows Registry Hacks.


Restricting Users from using Log off button

This trick can be used to restrict users from logging off the computer.
Follow the steps described below-
1. Launch Windows Registry Editor (regedit.exe)
2. Search the following key-

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\ CurrentVersion\Policies\Explorer\

3. In the right pane create a new DWORD value named StartMenuLogOff.
4. Change its value to 1 to put restriction on logging off the computer whereas data value 0 can be used to remove the restrictions.




Preventing Users from using Right Click Button on Desktop

This is one of the most frustrating prank for the person on whom you are playing this trick and I mean it because I have been the victim of this trick earlier when I was new to Windows Registry Hacking and didn'tt knew much more about it.
Follow the steps given below to perform the trick-

1. Open Windows Registry Editor (Regedit.exe)
2. Navigate to the following key-

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\ CurrentVersion\Policies\Explorer\

3. Create a new DWORD value named NoWinKeys.
4. Change its data value to 1 to disable right click whereas data value 0 will enable the right click.



Create your own Sleep button in Windows XP.

If you are a lazy kind of a person (just like me) and you think the Sleep button on your Windows XP machine in an inconvenient location for regular use? If you think yes follow the steps below to make your own.
Now a Days, Many computers or keyboards have a  Sleep button, which when pressed puts the computer
into either Stand By or Hibernate mode depending on how Windows XP’s Power Options are
configured. However, the Sleep button might not be in convenient location for regular use. For example, it might be on the front of a mid-tower
case that’s under your desk. You could activate Stand By or Hibernate mode from the Shut Down Windows dialog box. An alternative to this
method is to create your own Sleep button by creating a shortcut on your
desktop. Here’s how.
1. Right-click on the desktop.
2. Select New | Shortcut.
3. Type rundll32.exe powrprof.dll,SetSuspendState in the text box.
4. Click Next.
5. Type Sleep in the text box and click Finish.
Now when you click the Sleep icon, Windows XP will put the computer into either Stand By
or Hibernate mode depending on how the When I Press The Sleep Button On My Computer
setting is configured on the Advanced tab of the Power Options Properties dialog box.




Friday, 2 March 2012

Hacking Windows 7 Logon Password Without any Software.

Lets say that you have just cracked victim's windows password.  or you got access to his windows for some time.Can you make some changes in windows so that you could access the windows again even if victim changes the password ?? or Can you make any changes in your own windows so that you could access it anytime even if anybody sets/changes password ?
Simply Can we set a backdoor in windows ?
Yes we can :) .
Backdoor actually means maintaining access for future use.
Lets Start!!

Open your command prompt (run as administrator in win 7/vista).


Type the following command :
Syntax : net user account.name *
Example: net user administrator *
and hit enter. Set any password for that account.



Hopefully your new password must have been set. did you notice one thing ? It didn't ask you to confirm old password. Now suppose if anyhow we manage to access command prompt at logon screen (without logging in), we can easily change/clear password.  
Okay lets move on.
Now press shift key five times and you must have got a dialog box "sticky keys" on screen.




Sticky keys is a feature that makes it easy for users who have physical  disablilities to press multiple keys at time.   This is the only feature which can be used before logging in at logon screen ( as per my knowledge). I repeat this feature can be used at  logon screen by pressing shift key five times.
Whenevr we start an application like paint, we are actually running mspaint.exe placed inC:\windows\system32. or command prompt, we are running cmd.exe placed in system32 directory, similary
When we press shift key 5 times or use sticky keys feature, system actually starts the executable file

sethc.exe placed in system32 directory. This means if we rename cmd.exe to sethc.exe and press shift 5 times, system would again start sethc.exe but instead of sticky keys the command prompt will be opened.

But you just cant simply rename it or change system32 files. Follow the tutorial for that.


 Tutorial :


* Go to C:\windows\system32
* Copy cmd.exe on your desktop and rename it to sethc.exe .
*Now copy that file and paste again in system32 directory.



@ Windows XP Users
Hopefully existing orignal sethc.exe must have been replaced and your job is done. Now press shift five times and you would see command prompt on screen.You can access command prompt at windows logon screen and change/clear the password easily using "net user" command.



Note: You can also do these changes while using windows Guest Account. But when you would access command prompt at logon screen, you can change/clear password even of administrator's account. This is exactly how , we can hack into administrator's account through guest account.



@ Windows vista/7 Users
You must have got a pop up box saying "Access Denied".








Actually you can not change system32 directory files until you do not have the permissions. You can not have the permissions until you do not have the ownership. So lets take ownership, change permissions, just follow the steps.

1. Right click on sethc.exe and run as administrator.  Again right click on sethc.exe, open properties.
Click on Advanced tab , then on owner and click edit, change the owner from "trusted installer" to "administrator" and click apply.



2. Then click on 'Edit' in security tab to edit permissions. Click on 'Administrators' , give it full control
and apply changes.


Okay its done now.

Now try replacing the orignal sethc.exe with our sethc.exe (got by renaming cmd.exe).
Press shift key five times and hopefully you would get command prompt on the screen instead of sticky keys.

Enjoy Command prompt at logon screen...

So do not forget to set this backdoor whenever you would get friend's  laptop for a few minutes... :)