Decrypt Type 7 Password using Key-Chain

Most of us know that the type 7 password that is used on Cisco routers / switches isn’t very secure. Just do a google search for “cisco type 7 decrypt” and you will find plenty of websites that decrypt it for you.

What most of us don’t realize, is that you don’t need any external tools…your router can also decrypt it for you. Here’s how to do it:

R1(config)#username RENE password MYPASSWORD
R1(config)#service password-encryption

First I will configure a username with a password and enable password encryption. Let’s see what it looks like in the running config:

R1#show run | include username
username RENE password 7 080C757E282A36203D3928

To decrypt this string, we need to use a key chain:

R1(config)#key chain DECRYPT
R1(config-keychain)#key 1
R1(config-keychain-key)#key-string ?
  0     Specifies an UNENCRYPTED password will follow
  7     Specifies a HIDDEN password will follow
  LINE  The UNENCRYPTED (cleartext) user password

We’ll use “7” and paste the password string here:

R1(config-keychain-key)#key-string 7 080C757E282A36203D3928

Now take a look at the key chain that we just configured:

We're Sorry, Full Content Access is for Members Only...

If you like to keep on reading, Become a Member Now! Here is why:

  • Learn any CCNA, CCNP and CCIE R&S Topic. Explained As Simple As Possible.
  • Try for Just $1. The Best Dollar You've Ever Spent on Your Cisco Career!
  • Full Access to our 654 Lessons. More Lessons Added Every Week!
  • Content created by Rene Molenaar (CCIE #41726)

540 Sign Ups in the last 30 days

satisfaction-guaranteed
100% Satisfaction Guaranteed!
You may cancel your monthly membership at any time.
No Questions Asked!

Tags:


Forum Replies

  1. Nice post Rene. There’s always something new to learn here. Love your work!

  2. Dear Rene
    thanks a lot.It was nice.

Ask a question or join the discussion by visiting our Community Forum