Solved

Cisco ASA5510 Enable password doesn't work

Posted on 2011-03-16
20
1,139 Views
Last Modified: 2012-08-13
Experts -

i did some changes on my ASA5510 (i barley remember them, please don't ask) and now my enable password doesn't work anymore. However I am sill able to connect with my Raidus account in read only mode.  Also everything like: Radius for the VPN users, Firewall Rules, etc seems to work with no issues.

I created a backup of the running-config before i did the changed but i assume i wont be able to reload the configuration without full access?

The changes i made i  believe where that i  removed the management interface settings (interface is not connected) and a object group service that what i believe shouldn't impact the enable password?

Another strange thing is i was able to connect to the ASA with only putting in the password, now its asking me also for a username which i don't know.

I attached the running config from before i made the changes. If you could give me any pointer of what i might have deleted that is causing this problem i would be very thankfull. I know for sure i didn't change the password.

Thank you


 EE-Runninig-Config.txt
0
Comment
Question by:Martin Gerlach
  • 10
  • 7
  • 2
  • +1
20 Comments
 
LVL 3

Accepted Solution

by:
pitchford earned 500 total points
Comment Utility
Follow these instructions to recover the password. We won't ask. =)

http://www.cisco.com/en/US/docs/security/asa/asa80/configuration/guide/trouble.html#wp1058131
0
 

Author Comment

by:Martin Gerlach
Comment Utility
I was actually trying to avoid that since i am not at that office for a while and need a solution that can be done remotely. That will be hard if the ASA is down. Any other suggestions?
0
 
LVL 3

Expert Comment

by:pitchford
Comment Utility
Brute force attacks...

Wouldn't be a good security device if you could crack it now would it? I have nothing better to tell you. Maybe someone else can provide further input.
0
 

Author Comment

by:Martin Gerlach
Comment Utility
Is there a default username for the ASA? When i connect over the serial port it wont let me leave it blank? Is there a key i can hit to leave the username blank?

0
 
LVL 3

Expert Comment

by:pitchford
Comment Utility
I think the default is admin/cisco or cisco/cisco... But generally those are reset during normal setup procedures.
0
 

Author Comment

by:Martin Gerlach
Comment Utility
i tried those already. what about using a blank username? How can i leave the username blank using a serial port connection? Does the running config show any local usernames for the device?
0
 
LVL 35

Expert Comment

by:Ernie Beek
Comment Utility
Did you try username: pix and password cisco ?
0
 

Author Comment

by:Martin Gerlach
Comment Utility
If i use the password recovering option, will it keep my current configuration?
0
 
LVL 3

Expert Comment

by:pitchford
Comment Utility
Yes. It will just erase your account username/passwords...

*BUT IF YOU CAN SHOW YOUR CONFIG DO SAVE IT!!!! (just the disclaimer).

I've done this reset a time or two and it saves the config; which from a security standpoint I have an issue with.

I did it for a friend of mine and I was surprise that all I had to do was walk in (unannounced) plug in and reset. I could have taken over his network in a matter of seconds... =)
0
 

Author Comment

by:Martin Gerlach
Comment Utility
I can't do a "show configuration" command, i get a authorization failed. Does the ASA work the same as the Cisco router and switches, if you don't save the configuration after changing it and you power cycle the device the configuration wont be saved?
0
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
LVL 3

Expert Comment

by:pitchford
Comment Utility
You are correct; all configurations are entered into running config until you 'write mem' or 'copy run start'. Running config is in RAM. If you power off without writing then you'll lose everything and at boot you'll be running with whatever is in startup...
0
 

Author Comment

by:Martin Gerlach
Comment Utility
Hmm.. Maybe i didn't save the mess i made, maybe if i power cycle the device i'll have my old configuration back. Or i make it worse anyhow be rebooting it?
0
 
LVL 57

Expert Comment

by:giltjr
Comment Utility
Unless I am really missing something the config you posted seems to use the LOCAL security database for authorization and not radius.

There are two local user-ids jmoore and mgar.

Are you one of these?  Do you know the password?
0
 

Author Comment

by:Martin Gerlach
Comment Utility
Those where the previous administrators, so those are LOCAL accounts? i thought these where AD accounts. Let me see if i can find their old password and check if one of them works.

0
 

Author Comment

by:Martin Gerlach
Comment Utility
Nope, doesn't work either. Well i guess i'll start the procedure to reset the password. Any last advise, if i mess this up probably wont be online for some hours ;)
0
 
LVL 3

Expert Comment

by:pitchford
Comment Utility
It's painfully simple. I always tell everyone to be cautious, but don't worry about screwing something up. You learn by doing. But, this isn't my equipment. =) The first time I did it I shared some of the same concerns, but ultimately I did it anyway and it worked out very well.

Best of luck to you!
0
 

Author Comment

by:Martin Gerlach
Comment Utility
I rebooted that thing and i am able to login now. Either I made a bad change and thank god didn't save it or something else was going on. Thank you guys for all your advise!

One more quick question, what would you recommend to get better security on the ASA. The IPS module or the content filter, anti virus module?
0
 
LVL 3

Expert Comment

by:pitchford
Comment Utility
That's a loaded question. IPS sounds pretty cool, I don't have much experience with IPS. I highly recommend some sort of content filter, I've used both Barracuda and Websense. I personally liked Websense better, but that was almost 10 years ago. I'm of the mindset that most attacks will come from the inside, if you restrict what people access on the Internet you have much better control.... Just in my humble opinion...
0
 

Author Comment

by:Martin Gerlach
Comment Utility
Thanks Pitchford. I was actually referring to the ASA5500 modules you can add on to the device:

AIP SSM: Advanced Inspection and Prevention Security Services Module
CSC SSM: Content Security and Control Security Services Module
SSC: Security Services Card
SSM: Security Services Module

I am not sure which one would be fit best for my purposes, but maybe i should open a new question for this.
0
 
LVL 57

Expert Comment

by:giltjr
Comment Utility
Obviouly you may want to review your config.  I have not reviewed it in detail, but at a minumum you have local userid from prior admins still in there and, again based on my understanding, you are using local security for ssh and telnet:

     aaa authentication ssh console LOCAL
     aaa authentication telnet console LOCAL

You do have radius servers defeind, but you seem to be using these for doing VPN authentication.

aaa-server radius_grp protocol radius
aaa-server radius_grp (inside) host
 key r@d!XXXXXXXX
aaa-server radius_grp (inside) host
 key r@XXXXXXX

tunnel-group softwarevpn general-attributes
 address-pool vpnpool
 authentication-server-group radius_grp
 authorization-server-group radius_grp
 default-group-policy softwarevpn


and, again based on my understaning, you are allpowing ssh in from your outside interface:

ssh  outside
ssh 9 outside
ssh 14 outside

I'm not sure what the second two ssh commands do, but I am fairly sure the 1st one allows any IP address to ssh into the outside interface.

If I am correct, your two old admins could ssh in from the outside and use their old user-ids and passwords to get in and mess within things.
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Watchguard Firewall Setup 3 27
DHCP on ASA 3 20
cisco 2911 8 19
RDP Sonicwall 8 22
This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
I recently attended Cisco Live! in Las Vegas, a conference that boasted over 28,000 techies in attendance, and a week of hands-on learning hosted by a solid partner with which Concerto goes to market.  Every year, Cisco displays cutting-edge technol…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now