1 / 15

Password Recovery

Password Recovery. By Felicia Nelson ESC Region 13 Austin, TX. “!@#$%&*(*%$@”. Are you tired . . .? frustrated . . .? confused . . .?. ’ Cause your @#$!% PASSWORD won’t work!#&(*!!!. No problem, I’ve got just the key!. Given that you’re already consoled in to the offending router,

desiraer
Download Presentation

Password Recovery

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Password Recovery By Felicia Nelson ESC Region 13 Austin, TX “!@#$%&*(*%$@”

  2. Are you tired . . .? frustrated . . .? confused . . .? ’Cause your @#$!% PASSWORD won’t work!#&(*!!!

  3. No problem, I’ve got just the key!

  4. Given that you’re already consoled in to the offending router, manually flip the router switch off and then on again.

  5. As soon as you turn the router back on, you will see text scrolling by indicating that the router is rebooting. Within 60 seconds of re-powering the router, press Ctrl + Break. Pause Break Ctrl Keyboards will vary.

  6. Upon halting the routing process, you will be given a prompt. At this prompt, you must enter a command that tells the router that at next reboot, it must ignore the contents of NVRAM. That command is o/r 0x2142 and tell the router to reboot Now press Enter and then with the command i press again. Enter

  7. As the router is rebooting, it will discover that it cannot find its configuration files (because you tricked it) and it will ask you if you would like to enter setup mode. Type n for “no” and press n Enter

  8. enable Following reboot, you will see a generic prompt. Type to enter priveleged mode. Notice that you didn’t need a password because the router is not utilizing the contents of NVRAM where that password is stored.

  9. Once you have entered the privileged mode, you have successfully overcome your initial problem -- remember? Your @#$!% PASSWORD wouldn’t work!#&(*!!! work!#&(*!!! Now we must get the router back to the way it was before you broke into it! copy start run At the privileged prompt, type .

  10. copy run start Moves the contents of NVRAM into RAM, your running-configuration.

  11. Now that we’re back where we want to be, let’s change the passwords back to the way they should be. config t Enter global configuration mode: Change your secret password: Enter line configuration mode: Log in to the console: Reconfigure the console password: Return to global configuration mode: enable secret ***** line con 0 login password ***** exit follows each of these commands. Enter

  12. We’re almost done! Now we must go back and undo what we’ve done to the config-register. Right now you have your router set so that it boots to 0x2142. This needs to be changed to 0x2102 so that your router will find its running-config files in NVRAM when it boots. Return to global configuration mode. SuperRouter(config-line)#exit SuperRouter(config)#

  13. config-register 0x2102 Change the config-register back by entering to verify that the change has been made. And then show ver SuperRouter(config)#config-register 0x2102 SuperRouter(config)#show ver Configuration register is 0x2142 (will be 0x2102 at next reboot)

  14. You made it! Now all you need to do is copy your present configuration back into your NVRAM so that when you re-boot your router, you won’t have any more password woes. SuperRouter#copy run start Destination filename [startup-config]? Building configuration... [OK]

  15. That’s all you do! • Within 60 seconds of re-booting the router, <ctrl break>. • Set up a register entry to ignore NVRAM , <o/r 0x2142> • Restart the router, <i> • Bypass the configuration utility, <n> or <Ctrl c> • Enter privileged mode, <enable> • Copy NVRAM to RAM, <copy start run> • Enter global configuration mode, <config t> • Change secret password, <enable secret *****> • Change console password, < line con 0>, <login>, <password *****> • Return to global configuration mode, <exit> or <Ctrl z> • Reset register entry, <config-register 0x2102> • Verify changes, <show ver> • Copy RAM to NVRAM, <copy run start> Happy Routing! By Felicia Nelson

More Related