Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Cracking the password of PIX506 Firewall

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

In the actual work, we encounter a firewall of PIX 506. because the password has been set for a long time, no one in the customer company already knows the password of the equipment. After consulting the CISCO data and online materials, the password will be cracked and the problem can be solved.

The following is the preparatory work and process for cracking:

Preparation: download the following files according to the version of PIX IOS

The appropriate binary file, depending on the PIX software version you run:

Np70.bin (7.x and 8.0 release)

Np63.bin (6.3 release)

Np62.bin (6.2release)

Np61.bin (6.1 release)

Np60.bin (6.0 release)

Np53.bin (5.3 release)

Np52.bin (5.2 release)

Np51.bin (5.1 release)

Np50.bin (5.0 release)

Np44.bin (4.4 release)

Nppix.bin (4.3 and earlier releases)

Note: You need to determine what .bin file to use, which depends upon the PIX code that your PIX currently runs irrespective of the BIOS version.

Specific steps: (PIX Without a Floppy Drive)

Complete these steps to recover your password:

Install a serial terminal or a PC with terminal emulation software on the PIX console port.

Verify that you have a connection with the PIX, and that characters are going from the terminal to the PIX, and from the PIX to the terminal.

Note: Because you are locked out, you only see a password prompt.

Immediately after you power on the PIX Firewall and the startup messages appear, send a BREAK character or press the ESC key. The monitor > prompt is displayed. If needed, type? (question mark) to list the available commands.

Use the interface command to specify which interface the ping traffic should use. For floppiless PIXes with only two interfaces, the monitor command defaults to the inside interface.

Use the address command to specify the IP address of the PIX Firewall's interface.

Use the server command to specify the IP address of the remote TFTP server containing the PIX password recovery file.

Use the file command to specify the filename of the PIX password recovery file. For example, the 5.1 release uses a file named np51.bin.

If needed, enter the gateway command to specify the IP address of a router gateway through which the server is accessible.

If needed, use the ping command to verify accessibility. If this command fails, fix access to the server before continuing.

Use the tftp command to start the download.

As the password recovery file loads, this message is displayed:

Do you wish to erase the passwords? [yn] y Passwords have been erased.

Note: If there are Telnet or consoleaaa authentication commands in version 6.2, the system also prompts to remove these.

The default Telnet password after this process is "cisco." There is no default enable password. Go into configuration mode and issue the passwd your_password command to change your Telnet password and the enable password your_enable_password command to create an enable password, and then save your configuration.

Monitor > interface 0

0: i8255X @ PCI (bus:0 dev:13 irq:10) 1: i8255X @ PCI (bus:0 dev:14 irq:7) Using 0: i82559 @ PCI (bus:0 dev:13 irq:10), MAC: 0050.54ff.82b9

Monitor > address 10.21.1.99

Address 10.21.1.99

Monitor > server 172.18.125.3

Server 172.18.125.3

Monitor > file np52.bin

File np52.bin

Monitor > gateway 10.21.1.1

Gateway 10.21.1.1

Monitor > ping 172.18.125.3

Sending 5, 100-byte 0xf8d3 ICMP Echoes to 172.18.125.3, timeout is 4 secondsdevise success rate is 100 percent (5Accord 5)

Monitor > tftp

Tftp np52.bin@172.18.125.3 via 10.21.1.1..Received 73728 bytes Cisco Secure PIX Firewall password tool # 0: Tue Aug 22 23:22:19 PDT 2000Flash=i28F640J5 @ 0x300BIOS Flash=AT29C257 @ 0xd8000 Do you wish to erase the passwords? [yn] yPasswords have been erased. Rebooting.... Explanation: when we are directly connected, there is no concept of gateway.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report