Ip Spoofing And Ips Protection With A Cisco Asa 5500 Firewall

co ASA firewall appliance provides great securityBasic IPS Protection
protection out-of-the box with its defaultAlthough the ASA Firewall supports full IPS
configuration. However, to increase the securityfunctionality with an extra IPS hardware module
protection even further, there are several(AIP-SSM), it supports also basic IPS protection
configuration enhancements that can be used towhich is built-in by default without using an extra
implement additional security features. Two ofhardware module. The built-in IPS feature
these features are IP Spoofing protection andsupports a basic list of signatures and you can
basic Intrusion Prevention (IPS) support.configure the security appliance to perform one
IP Spoofing Protectionor more actions on traffic that matches a
IP spoofing attacks are those that change thesignature. The command that implements the
actual source IP address of packets to obscurebasic IPS feature is called "ip audit".
their true origin. This means that packets arrivingThere are two signature groups embedded in the
at a particular interface (e.g inside) must have afirewall software: "Informational" and "Attack"
valid source IP address that matches the correctsignatures. You can define an IP audit policy for
source interface according to the firewall routingeach signature group as following:
table. Normally the firewall only looks at theFor informational signatures:
destination address of a packet in order toCiscoASA5500 (config)# ip audit name "name"
forward it accordingly. If you enable the IPinfo [action [alarm] [drop] [reset]]
Spoofing mechanism, the firewall checks also theFor attack signatures:
source address of the packets.CiscoASA5500 (config)# ip audit name "name"
If for example our inside interface connects toattack [action [alarm] [drop] [reset]]
internal network 192.168.1.0/24, this means thatThe keywords [alarm], [drop], [reset] define the
packets arriving at the inside firewall interfaceactions to perform on a malicious packet that
must have a source address in the rangematches one of the signatures. [alarm] generates
192.168.1.0/24 otherwise they will be dropped (ifa system message showing that a packet
IP Spoofing is configured).matched a signature, [drop] drops the packet, and
The IP Spoofing feature uses the Unicast[reset] drops the packet and closes the
Reverse Path Forwarding (Unicast RPF)connection.
mechanism, which dictates that for any trafficAfter defining an IP audit policy (IPS policy) as
that you want to allow through the securityshown above, we need to attach the policy to a
appliance, the security appliance routing table mustspecific interface:
include a route back to the source address.CiscoASA5500(config)# ip audit interface
To enable IP Spoofing protection, enter the"interface_name" " policy_name"
following command:Let's see an actual example:
CiscoASA5500(config)# ip verify reverse-pathCiscoASA5500 (config)# ip audit name
interface "interface_name"dropattacks attack action drop
For example, to enable IP spoofing on the insideCiscoASA5500 (config)# ip audit interface outside
interface, use the following command:dropattacks
CiscoASA5500(config)# ip verify reverse-pathDownload the best configuration tutorial for any
interface insideCisco ASA 5500 Firewall model Here.