The following section is a summary of the major points you should be aware of in this chapter:
Cisco IOS Security Fundamentals
- The communications architecture of all switches and routers is segmented into 3 planes
- The communications architecture planes of network devices are:
- The Management Plane
- The Control Plane
- The Forwarding Plane
- The management plane is used to manage a device through its connection to the network
- The management plane is responsible for management functions
- The management plane also coordinates functions among all other the planes
- Management protocols are used for device monitoring and CLI access
- Management protocols include SNMP, Telnet, HTTP, HTTPS and SSH, NetFlow, Syslog
- Console access, i.e. via the Console port, is also used to manage devices
- A control plane is a collection of processes that run at the process level on a route processor
- All traffic directly or indirectly destined to a router or switch is handled by the control plane
- Control plane protocols include routing protocols, as well as Layer 2 protocols
- The forwarding or data plane is responsible for the actual forwarding of data
- The data plane is typically populated using information derived from the control plane
Management Plane Security and Troubleshooting
- Management plane troubleshooting involves troubleshooting the management protocols
- SSH provides a more secure method for access and administration than Telnet
- Cisco IOS software requires a VTY password and login enabled for remote management
- SSH is enabled by default; however, the following must be manually configured:
- A valid domain name must be configured on the local device
- Security keys must be generated on the local device
- FTP and SCP require additional configuration to allow file copies and transfers from devices
- AAA provides the framework that controls and also monitors network access
- AAA services can be performed using the local database or an external security server
- Two commonly used AAA security protocols are RADIUS and TACACS+
- RADIUS stands for Remote Authentication Dial-In User Service
- RADIUS is an open-standard protocol that is distributed in C source code format
- RADIUS uses UDP as the Transport layer protocol for client and server communications
- RADIUS uses port 1812 for Authentication and Authorization, and 1813 for Accounting
- Earlier deployments of RADIUS use port 1645 for Authentication and Authorization
- Earlier deployments of RADIUS use port 1646 for Accounting
- TACACS+ stands for Terminal Access Controller Access Control System Plus
- TACACS+ is a Cisco-proprietary protocol that is used in the AAA framework
- TACACS+ uses TCP as a Transport Layer protocol, using TCP port 49
- Unlike RADIUS, TACACS+ separates the three AAA architectures
- TACACS+ encrypts data between the user and server; RADIUS encrypts only the password
- TACACS+ supports multiple protocols; RADIUS had limited protocol support
- AAA services are based on method lists
- In AAA, there are two basic types of method lists: named and default method lists
Control Plane Security and Troubleshooting
- Troubleshooting at the control plane is dependent on the specific protocol or technology
- Troubleshooting for additional control plane features centers on configuration
Forwarding Plane Security and Troubleshooting
- Troubleshooting data plane issues depends on the technology that has been implemented
- Tools that are used to secure the data plane include the following:
- Router and Switch Access Control Lists
- Catalyst Switch Port Security
- Private VLANs
- IEEE 802.1x Port-Based Authentication
- Trunking
- The Cisco IOS Firewall
- Cisco IOS software supports RACLs, PACLs and VACLs on router and switch platforms
- RACLs are applied to routed interfaces or SVIs
- RACLs can be applied in either the inbound or outbound direction
- PACLs are similar to RACLs but are applied to Layer 2 ports
- PACLs do not affect Layer 2 control packets such as Cisco Discovery Protocol
- PACLs can only be applied in the inbound direction
- PACLs can take the form of either IP ACLs or MAC ACLs
- VACLs are similar to RACLs but are applied to VLANs
- VACLs have no sense of direction
- VACLs can filter on both routed and bridged traffic
- Port security mitigates against CAM table overflow or MAC address flooding attacks
- Private VLANs prevent inter-host communication
- The three types of VLANs used in PVLANs are:
- The Primary VLAN
- Isolated VLAN
- Community VLAN
- 802.1x simply mitigates against any rogue devices from gaining unauthorized access
- There are three primary components (or roles) in the 802.1x authentication process:
- Supplicant or Client
- Authenticator
- Authentication Server
- Trunk links are used to carry traffic from multiple VLANs
- The main objective of VLAN hopping is to compromise a device residing on another VLAN
- There are two primary methods used to perform VLAN hopping attacks:
- Switch spoofing
- Double-tagging
Cisco IOS Firewall Fundamentals
- The Cisco IOS Firewall is comprised of the following functions and technologies:
- Cisco IOS Stateful Packet Inspection
- Context-Based Access Control
- Intrusion Prevention System
- Authentication Proxy
- Port-to-Application Mapping
- Network Address Translation
- Zone-Based Policy Firewall
- Cisco IOS SPI maintains state information and counters of connections
- CBAC provides dynamic traffic filtering capabilities
- The main features of Context-Based Access Control (CBAC) are:
- It protects the internal network from external intrusion or other threats
- It provides Denial of Service (DoS) protection
- It provides per-application control mechanisms
- It examines Layer 3 and Layer 4, as well as Application Layer information
- It maintains state information for every connection
- It generates real-time event alert failures and log messages
- It provides enhanced audit trail features
- The Cisco IOS IPS is an inline intrusion detection and prevention sensor
- Some key features of the Cisco IOS Intrusion Prevention System are:
- It protects the network from viruses, worms and a large variety of threats and exploits
- It eliminates the need for a standalone IPS device
- It provides integrated inline deep-packet inspection
- It complements the Cisco IOS Firewall and VPN solutions for superior threat protection
- It supports about 2000 attack signatures
- It uses Cisco IOS routing capabilities to deliver integrated functionality
- It enables distributed network-wide threat mitigation
- It sends a Syslog message or an alarm in SDEE format when a threat is detected
- The Authentication Proxy feature intercepts HTTP or HTTPS sessions
- PAM allows administrators to customize TCP or UDP ports numbers for network services
- NAT is used to hide internal addresses from networks that are external to the firewall
- ZPF allows Stateful inspection to be applied on a zone-based model
- ZPF provides greater granularity, flexibility, and scalability than that of CBAC