Raymond.CC Blog
  • Home
  • Forum
  • Giveaway
  • X-Ray 2.0
  • Contact
  • About
  • I’m Feeling Lucky
Search the site...
You are here: Home » Computer » Backdoor to Reset Administrator Password or Add New User in Windows 7

Backdoor to Reset Administrator Password or Add New User in Windows 7

Updated by Raymond - 11 months ago - Computer
12
  • Like
  • +1
  • Tweet
  • Printer Friendly and PDF

As long as there is physical access to a computer, it is always possible to gain access to the operating system even if it is password protected. For example, you can use Kon-Boot to login to any user account in Windows with any password by booting up the computer with the CD or USB. If BIOS is secured with a password to prevent changing of boot order, you can change the jumpers or remove the battery from the motherboard to clear the CMOS settings. As long as you can boot up the computer with CD or USB, there are quite a lot of tools that allows you to reset the user account password even if you don’t know the original password.

Here is an interesting method which I recently discovered that allows you to plant a backdoor to your Windows 7 operating system so that you can always reset or even add a new user account without even first logging in to Windows. This method is a bit restrictive because it requires an administrator privilege to the computer in order to make changes to the system but it does not involve installing any third party software or changing any system files like the old DreamPackPL.

This backdoor allows you to run command prompt (cmd.exe) with system privilege from the Windows 7 login screen. So with a system privilege command prompt in your hands, you can actually do a lot of stuff including creating new accounts to resetting administrator password to gain access to the password protected Windows. Check out the step-by-step instructions:

1. First, make sure you are logged in as an administrator. Click on the start button, type cmd in the Search programs and files bar, right click on the cmd.exe that is displayed on the list and select “Run as administrator”.

2. Copy the command below and paste it to the command prompt.

REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\sethc.exe" /v Debugger /t REG_SZ /d "C:\windows\system32\cmd.exe"

If you see the message that says “The operation completed successfully”, that means you have installed the backdoor. If not, make sure you are logged in to a user account with administrator privilege and also run the cmd as administrator.

Image File Execution Options

3. When you are at the login screen, you can either press the SHIFT key continuously for 5 times or Alt+Shift+PrintScreen which will open a command prompt with system privilege. You can now do whatever you want with it such as typing:

explorer – To launch explorer and give you access to Start menu and taskbar. Any attempt to run Windows Explorer will prompt an error saying “The server process could not be started because the configured identity is incorrect. Check the username and password”. If you need to check the files and folders on the sytem, use the dir command instead in cmd.

Launch Command Prompt CMD before login

net user user_name new_password – This command allows you to set a new password to any username without knowing the current password.

net user user_name password /add – This command allows you to add a new user to the system so you can login to Windows without touching the existing user accounts.

This proof of concept has been around for a very long time and is not really an exploit which is why Microsoft does not intend to patch and block it. To remove or uninstall the backdoor, simply delete the registry value that you have added or paste the command below to an elevated command prompt followed by pressing the Y key to confirm the deletion.

REG DELETE "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\sethc.exe"

Here is a simple explanation on how this backdoor works. In the Windows login screen, you are allowed to turn on sticky keys or high contrast using the hotkeys (Shift x 5 OR Alt+Shift+PrintScreen). Attempting to turn on either one with launch the sethc.exe file. Adding the provided registry will tell Windows that you want to run cmd.exe as a debugger for sethc.exe but the problem is Windows does not check if it is a valid debugger. So whenever you try to launch sticky keys or high contrast in the Windows 7 login screen, you will run the command prompt instead.

Below is a video demo to show how the whole thing works.


Didn't find what you want? The links below could help:

How to Hack Into a Windows XP Computer Without Changing PasswordHow to Hack Into a Windows XP Computer Without Changing PasswordEasily Reset Windows Settings to Default State with RefreshPCEasily Reset Windows Settings to Default State with RefreshPCDisplay Administrator Account on Windows Login ScreenDisplay Administrator Account on Windows Login ScreenKon Boot v1.1 with 32/64Bit and USB Support + 30 License GiveawayKon Boot v1.1 with 32/64Bit and USB Support + 30 License Giveaway

12 comments on “Backdoor to Reset Administrator Password or Add New User in Windows 7”

  1. Rajesh says:
    7 months ago

    I used this when my boss forgot his password in one of his laptiops.. I used the Win7 Installation CD to boot into command prompt, and copied cmd.exe to sethc.exe (after backing the original one up), and then rebooted, used the shift x 5 to get into command prompt and changed his password. Scored a point. :-)

    Reply
  2. kevin says:
    11 months ago

    This is very good but there’s a similar old trick where you boot into an externalOS such as windows PE (ie: win7 setup cd) and using the command prompt (Shift F10) , directly replacing sethc.exe with a copy of cmd.exe This way, you don’t need administrative privillages like your method. Much easier to remember to do than a registry key. You cant do this in the local windows installation itself because system files are write protected when in use

    Reply
  3. mohamed says:
    11 months ago

    Modified Utilman Hack :)
    this hack uses windows dvd and works vista, windows 7, Server 2008, 2008 R2…
    youtube.com/watch?v=Ar-VoO9ogHc

    Reply
  4. Murphy says:
    11 months ago

    Hi,
    Thanks for this info .
    Best regards !
    PS. Please check the Forum Mr. Raymond . Thank you .

    Reply
  5. Lateralus says:
    11 months ago

    @Ublaze You only need to log in as admin in the prompt when you’re adding the initial registry values, not when you access the backdoor. If you don’t have admin rights in the first place then you should not have access to getting into the computer and should go get an admin.

    @Raymond thanx for this. I have created a batch file to run form the prompt and called it backdoor.bat to help automate the preocess. Here’s the code:

    @echo off
    set name=
    set pass=
    set /P name=”Enter Username:”
    set /P pass=”Enter Password:”
    net user %name% %pass%
    pause

    Of course, you can take the pause out if you like.

    Reply
  6. Raymond says:
    11 months ago

    @Hector Osorio: It should work on Vista but not sure if it will work on XP.

    ublze: This is a proof of concept on how you can “plant a backdoor” to run command prompt in windows login screen.

    Reply
  7. Mann says:
    11 months ago

    Good Work

    Reply
  8. Hector Osorio says:
    11 months ago

    Does it works just in windows 7? Will it work in Vista or XP?

    Reply
  9. ublaze says:
    11 months ago

    I dont get it ,with this method still u need to have an admin login to add the registry ryt so its worthless in my point of view .

    Reply
  10. AMIT CHANDRA says:
    11 months ago

    thank u, very much ray…this is the useful information u have given.. of course i haven’t use it till now,but i think this is goona work….thanx again..i was waiting for this from a long time…

    Reply
  11. kiya says:
    11 months ago

    thanks ray
    useful

    Reply
  12. TheBest says:
    11 months ago

    V. Nice Thanks…

    Reply

Leave a Reply Cancel reply

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

Recently Updated

  • safemode uninstall icon

    Uninstall Programs Packaged with Windows Installer (MSI) in Safe Mode

  • packet error icon

    Detect Packet Errors in Your Network LAN Connection Status

  • hex to text icon

    4 Tools to Decode and Convert Windows Registry Hex Values to Text

New Articles

  • task manager replacement icon

    Memory Usage Test to See Which is the Lightest Antivirus Software

  • kaspersky antivirus 2013 icon

    Activate Free Kaspersky Anti-Virus 2013 ROG with 1 Year License

  • remote access software

    Top 8 Remote Access Software for Providing Online Support

Popular Posts

  • Top 10 FREE Data Recovery Software

    Top 10 FREE Data Recovery Software

  • How to Hack Into a Windows XP Computer Without Changing Password

    How to Hack Into a Windows XP Computer Without Changing Password

  • 10 Free Software to Mount CD or DVD ISO Image File as Virtual Drives

    10 Free Software to Mount CD or DVD ISO Image File as Virtual Drives

Recommend on Google
Follow @raymond_cc
Subscribe Youtube »
(c) 2013 Raymond.CC Blog
  • Contact
  • Disclaimer
  • Disclosure
  • Privacy Policy
  • Terms of Use
  • Sitemap