思科防火墙ASA5505 密码破解

思科防火墙ASA5505 密码破解

需要使用的工具:电脑,SecureCRT,console线

  1. Power-cycle your security appliance by removing and re-inserting the power plug at the power strip. 重新插拔电源线
  2. When prompted, press Esc to interrupt the boot process and enter ROM Monitor mode. You should immediately see a rommon prompt (rommon #0>). 按ESC键进入ROM Monitor模式,可以看到提示符rommon #0>
  3. At the rommon prompt, enter the confreg command to view the current configuration register setting: rommon #0>confreg 输入命令confreg回车,查看当前的寄存器的值
  4. The current configuration register should be the default of 0x01 (it will actually display as 0x00000001). The security appliance will ask if you want to make changes to the configuration register. Answer no when prompted. 寄存器的初始值为0x01,ASA会出现询问是否改变寄存器的设置,输入no回车
  5. You must change the configuration register to 0x41, which tells the appliance to ignore its saved (startup) configuration upon boot: 改变寄存器的值为0x41 rommon #1>confreg 0x41
  6. Reset the appliance with the boot command: 重启设备 rommon #2>boot
  7. Notice that the security appliance ignores its startup configuration during the boot process. When it finishes booting, you should see a generic User Mode prompt: 此时,ASA会跳过startup配置,启动完成后直接进入用户模式 ciscoasa>
  8. Enter the enable command to enter Privileged Mode. When the appliance prompts you for a password, simply press (at this point, the password is blank): 进入特权模式,密码为空 ciscoasa>enable Password: ciscoasa#
  9. Copy the startup configuration file into the running configuration with the following command: 将startup配置保存至running配置中 ciscoasa#copy startup-config running-config Destination filename [running-config]?
  10. The previously saved configuration is now the active configuration, but since the security appliance is already in Privileged Mode, privileged access is not disabled. Next, in configuration mode, enter the following command to change the Privileged Mode password to a known value (in this case, we’ll use the password system): 重新设置特权模式的密码为system asa#conf t asa(config)#enable password system
  11. While still in Configuration Mode, reset the configuration register to the default of 0x01 to force the security appliance to read its startup configuration on boot: 改回寄存器的值,强制ASA从startup读取配置启动 asa(config)#config-register 0x01
  12. Use the following commands to view the configuration register setting: 查看当前寄存器的值 asa(config)#exit asa#show version
  13. At bottom of the output of the show version command, you should see the following statement: Configuration register is 0x41 (will be 0x1 at next reload) 在输出的最后会看到寄存器的值会在重启设备后由0x41变成0x1
  14. Save the current configuration with the copy run start command to make the above changes persistent: 保存配置 asa#copy run start Source filename [running-config]
  15. Reload the security appliance: asa# reload System config has been modified. Save? [Y]es/[N]o:yes 输入reload命令重启设备,询问是否保存配置,输入yes回车

Cryptochecksum: e87f1433 54896e6b 4e21d072 d71a9cbf

2149 bytes copied in 1.480 secs (2149 bytes/sec) Proceed with reload? [confirm]

When your security appliance reloads, you should be able to use your newly reset password to enter privileged mode. 设备重启后,你可以使用重置后的密码进入特权模式

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值