Thursday, February 5th, 2009 at
3:42 am
If for any reason the software image on your Cisco ASA appliance is corrupted and the device does not boot to normal operating mode, then you can load a new image using ROMMON (ROM monitor mode) and TFTP. Follow the steps below to get into ROMMON mode and then assign all necessary settings for uploading the new image file:
Step1: Connect to the ASA firewall using a console cable.
Step2: Power off the appliance and then power it on.
Step3: When the appliance starts, press the Escape key on your keyboard to force the appliance to enter ROMMON mode.
Step4: In ROMMON mode, configure all necessary settings for connecting to the TFTP server to load the new image. You need to connect a PC with TFTP server on a firewall port (e.g Ethernet0/0). Then enter the following commands on the ASA.
rommon #1> ADDRESS=192.168.1.10
rommon #2> SERVER=192.168.1.1
rommon #3> GATEWAY=192.168.1.1
rommon #4> IMAGE=asa800-232-k8.bin
rommon #5> PORT=Ethernet0/0
The above configuration will assign an IP address of 192.168.1.10 to interface Ethernet0/0 of the firewall appliance. It will also tell the firewall that the TFTP SERVER is at address 192.168.1.1 and the image to load is asa800-232-k8.bin
Step5: Execute the TFTP upload from the ASA using:
rommon #6> tftp
The above instructs the firewall to start uploading the image file from TFTP.
After the firewall reboots, login and check that the new image has been installed (show version)
Tuesday, January 27th, 2009 at
3:17 am
An Intrusion Detection system as we know can either work in Inline Mode (IPS) or in promiscuous mode (IDS). In inline mode, the IPS sensor can detect and block attacks by itself since all traffic passes through the sensor. However, in promiscuous mode, the IDS sensor can not block attacks by itself, but has to instruct the firewall to block the attack. This is depicted in the diagram below.

The IDS sensor in our example is connected in “parallel” (not inline) with the ASA firewall. The “Sensing Interface” of the IDS appliance is connected on the outside (Internet) network zone and is continuously monitoring traffic to detect attacks. The “Control Interface” of the IDS appliance is connected on the inside network zone and is used to communicate with the ASA firewall. If an attack is detected (e.g Attacker at address 100.100.100.1 is sending malicious traffic to Victim address 200.200.200.1), the IDS sensor instructs the ASA firewall (using the “Control Interface”) to block the attacking connection. This is done by the IDS sensor by asking the firewall to use the “shun” command to block the connection.
What is a “shun” command:
The shun command on the ASA Firewall appliance is used to block connections from an attacking host. Packets matching the values in the command are dropped and logged until the blocking function is removed manually or by the Cisco IDS sensor.
The format of the command is as following:
ASA# shun [source IP] [destination IP]
In our example scenario above, the IDS sensor will instruct the firewall to apply the following shun command:
shun 100.100.100.1 200.200.200.1
The above will block all communication from the attacker to the victim. Cisco IPS/IDS sensors have a timer with which you define how long the command will be active. After that time, the command is removed.
Thursday, December 18th, 2008 at
9:55 am
 |
 |
| CISCO ASA 5505 |
CISCO ASA 5510 |
The two smallest ASA Firewall models, the 5505 and the 5510, are the only ones that have two types of licenses. They can be ordered either with a Base License or a Security Plus License. Many customers of mine are always asking me what the difference is between the two licenses (except from the price of course), so I thought it would be useful to summarize below the differences between the two license types:
|
Cisco ASA 5505
|
|
Base License
|
Security Plus License
|
| 10,000 Maximum Firewall Connections |
25,000 Maximum Firewall Connections |
| 10 Maximum VPN Sessions (site-to-site and remote access) |
25 Maximum VPN Sessions (site-to-site and remote access) |
| 3 Maximum VLANs (Trunking Disabled)(2 regular zones and 1 restricted zone that can only communicate with 1 other zone) |
20 Maximum VLANs (Trunking enabled)(No restrictions of traffic flow between zones) |
| No High Availability (failover) supported |
Supports Stateless Active/Standby failover |
|
Cisco ASA 5510
|
|
Base License
|
Security Plus License
|
| 50,000 Maximum Firewall Connections |
130,000 Maximum Firewall Connections |
| 5×10/100Integrated Network Interfaces |
2×10/100/1000 and3×10/100
Integrated Network Interfaces |
| 50 Maximum VLANs |
100 Maximum VLANs |
| No High Availability (failover) supported |
Supports Active/Active andActive/Standby failover |
| No Security Contexts (Virtual Firewalls) |
Supports 2 Virtual Firewalls (included) and 5 maximum. |
| No Support for VPN Clustering and VPN Load Balancing |
Supports VPN Clustering and VPN Load Balancing |