
- •Using Your Sybex Electronic Book
- •Acknowledgments
- •Introduction
- •Assessment Test
- •Answers to Assessment Test
- •Types of Network Security Threats
- •Types of Security Weaknesses
- •Technology Weaknesses
- •Configuration Weaknesses
- •Policy Weaknesses
- •Types of Network Attacks
- •Eavesdropping
- •Denial-of-Service Attacks
- •Unauthorized Access
- •WareZ
- •Masquerade Attack (IP Spoofing)
- •Session Hijacking or Replaying
- •Rerouting
- •Repudiation
- •Smurfing
- •Password Attacks
- •Man-in-the-Middle Attacks
- •Application-Layer Attacks
- •Trojan Horse Programs, Viruses, and Worms
- •HTML Attacks
- •The Corporate Security Policy
- •Summary
- •Exam Essentials
- •Key Terms
- •Written Lab
- •Review Questions
- •Answers to Written Lab
- •Answers to Review Questions
- •Authentication Methods
- •Windows Authentication
- •Security Server Authentication
- •PAP and CHAP Authentication
- •PPP Callback
- •Configuring the NAS for AAA
- •Securing Access to the Exec Mode
- •Enable AAA Locally on the NAS
- •Authentication Configuration on the NAS
- •Authorization Configuration on the NAS
- •Accounting Configuration on the NAS
- •Verifying the NAS Configuration
- •Troubleshooting AAA on the Cisco NAS
- •Summary
- •Exam Essentials
- •Key Terms
- •Commands Used in This Chapter
- •Written Lab
- •Review Questions
- •Hands-On Labs
- •Lab 2.1: Setting the Line Passwords
- •Lab 2.2: Setting the Enable Passwords
- •Lab 2.3: Encrypting your Passwords
- •Lab 2.4: Creating Usernames and Logging In
- •Lab 2.5: Configuring AAA Authentication on the NAS
- •Answers to Written Lab
- •Answers to Review Questions
- •Introduction to the CiscoSecure ACS
- •Using User Databases for Authentication
- •Populating the User Database Population
- •New ACS Features
- •Installing CiscoSecure ACS 3.0
- •Administering CiscoSecure ACS
- •TACACS+ Overview
- •Configuring TACACS+
- •Using RADIUS
- •CiscoSecure User Database NAS Configuration for RADIUS
- •Verifying TACACS+
- •Summary
- •Exam Essentials
- •Key Terms
- •Commands Used in This Chapter
- •Written Lab
- •Review Questions
- •Answers to Written Lab
- •Answers to Review Questions
- •Solving Eavesdropping and Session Replay Problems
- •Fighting Rerouting Attacks
- •Fighting Denial-of-Service Attacks
- •Turning Off and Configuring Network Services
- •Blocking SNMP Packets
- •Disabling Echo
- •Turning Off BOOTP and Auto-Config
- •Disabling the HTTP Interface
- •Disabling IP Source Routing
- •Disabling Proxy ARP
- •Disabling Redirect Messages
- •Disabling the Generation of ICMP Unreachable Messages
- •Disabling Multicast Route Caching
- •Disabling the Maintenance Operation Protocol (MOP)
- •Turning Off the X.25 PAD Service
- •Enabling the Nagle TCP Congestion Algorithm
- •Logging Every Event
- •Disabling Cisco Discovery Protocol
- •Disabling the Default Forwarded UDP Protocols
- •Summary
- •Exam Essentials
- •Key Terms
- •Commands Used in This Chapter
- •Written Lab
- •Review Questions
- •Hands-On Lab
- •Lab 4.1: Controlling TCP/IP Services
- •Answers to Written Lab
- •Answers to Review Questions
- •Understanding the Cisco IOS Firewall
- •Authentication Proxy and IDS
- •Context-Based Access Control
- •CBAC Compared to ACLs
- •CBAC-Supported Protocols
- •Introduction to CBAC Configuration
- •Using Audit Trails and Alerts
- •Configuring Global Timeouts and Thresholds
- •Configuring PAM
- •Defining Inspection Rules
- •Applying Inspection Rules and ACLs to Router Interfaces
- •Configuring IP ACLs at the Interface
- •Testing and Verifying CBAC
- •Summary
- •Exam Essentials
- •Key Terms
- •Commands Used in This Chapter
- •Written Lab
- •Review Questions
- •Hands-On Labs
- •Lab 5.1: Configure Logging and Audit Trails
- •Lab 5.2: Define and Apply Inspection Rules and ACLs
- •Lab 5.3: Test and Verify CBAC
- •Answers to Written Lab
- •Answers to Review Questions
- •Introduction to the Cisco IOS Firewall Authentication Proxy
- •Configuring the AAA Server
- •Configuring AAA
- •Configuring the Authentication Proxy
- •Testing and Verifying Your Configuration
- •show Commands
- •Clearing the Cache
- •Introduction to the Cisco IOS Firewall IDS
- •Initializing Cisco IOS Firewall IDS
- •Configuring, Disabling, and Excluding Signatures
- •Creating and Applying Audit Rules
- •Setting Default Actions
- •Creating an Audit Rule
- •Applying the Audit Rule
- •Verifying the Configuration
- •Stopping the IOS Firewall IDS
- •Summary
- •Exam Essentials
- •Key Terms
- •Commands Used in This Chapter
- •Written Lab
- •Review Questions
- •Hands-On Labs
- •Lab 6.1: Enabling the IOS Firewall Authentication Proxy
- •Lab 6.2: Enabling the IOS Firewall IDS
- •Answers to Written Lab
- •Answers to Review Questions
- •What is a Virtual Private Network?
- •Introduction to Cisco IOS IPSec
- •IPSec Transforms
- •IPSec Operation
- •The Components of IPSec
- •IPSec Encapsulation
- •Internet Key Exchange (IKE)
- •Summary
- •Exam Essentials
- •Key Terms
- •Written Lab
- •Review Questions
- •Answers to Written Lab
- •Answers to Review Questions
- •Configuring Cisco IOS IPSec for Pre-Shared Keys Site-to-Site
- •Preparing for IKE and IPSec
- •Configuring IKE
- •Configuring IPSec
- •Testing and Verifying IPSec
- •Configuring IPSec Manually
- •Configuring IPSec for RSA-Encrypted Nonces
- •Configuring Cisco IOS IPSec Certificate Authority Support Site-to-Site
- •Configuring CA Support Tasks
- •Preparing for IKE and IPSec
- •Configuring CA Support
- •Configuring IKE Using CA
- •Configuring IPSec for CA
- •Testing and Verifying IPSec for CA
- •Summary
- •Exam Essentials
- •Key Terms
- •Commands Used in This Chapter
- •Written Lab
- •Review Questions
- •Hands-On Labs
- •Lab 8.1: Configure IKE on Lab_A and Lab_B
- •Lab 8.2: Configure IPSec on Lab_A and Lab_B
- •Answers to Written Lab
- •Answers to Review Questions
- •Answers to Hands-On Labs
- •Answer to Lab 8.1
- •Answer to Lab 8.2
- •Introduction to Cisco Easy VPN
- •The Easy VPN Server
- •Introduction to the Cisco VPN 3.5 Client
- •Easy VPN Server Configuration Tasks
- •Pre-Configuring the Cisco VPN 3.5 Client
- •Summary
- •Exam Essentials
- •Key Terms
- •Written Lab
- •Review Questions
- •Hands-On Lab
- •Lab 9.1: Installing the Cisco VPN 3.5 Client Software on Windows
- •Answers to Written Lab
- •Answers to Review Questions
- •Network Separation
- •Three Ways through a PIX Firewall
- •PIX Firewall Configuration Basics
- •Configuring Interfaces
- •Saving Your Configuration
- •Configuring Access through the PIX Firewall
- •Configuring Outbound Access
- •Configuring Inbound Access
- •Configuring Multiple Interfaces and AAA on the PIX Firewall
- •Configuring Multiple Interfaces
- •Implementing AAA on the PIX Firewall
- •Configuring Advanced PIX Firewall Features
- •Failover
- •Outbound Access Control
- •Logging
- •SNMP Support
- •Java Applet Blocking
- •URL Filtering
- •Password Recovery
- •Glossary

Answers to Written Lab |
295 |
Answers to Written Lab
1.The four tasks required for IPSec using pre-shared keys are prepare for IKE and IPSec, configure IKE, configure IPSec, and test and verify IPSec.
2.The five tasks required for IPSec using CA are prepare for IKE and IPSec, configure CA support, configure IKE, configure IPSec, and test and verify IPSec.
3.Use the IKE authentication method rsa-encr for RSA-encrypted nonces.
4.You type the command key-string before manually entering the public key of a remote device into your local device.
5.You must first configure a hostname and a domain name when configuring IPSec with CA.
6.Use the command crypto isakmp key keystring {address peer-address | hostname peer-hostname} to configure a pre-shared key on a device.
7.To show the configuration of all crypto maps currently configured on a device, use the command show crypto map.
8.DES is the default message-encryption algorithm used by IKE.
9.Use the command crypto map map-name seq-num ipsec-manual to create a crypto map sequence that doesn’t use IKE.
10.The IKE authentication method rsa-sig is used for CA.
Copyright ©2003 SYBEX Inc., 1151 Marina Village Parkway, Alameda, CA 94501. |
www.sybex.com |

296 Chapter 8 Cisco IOS IPSec Pre-Shared Keys and Certificate Authority Support
Answers to Review Questions
1.A, B, D. The crypto ipsec security-association lifetime command defines the global IPSec SA lifetime based on kilobytes and seconds. This is the amount of time and the number of kilobytes that will pass before an SA needs to be renegotiated. These values can be overridden at the crypto map level.
2.C. To set the Diffie-Hellman group to use for a crypto map, enter the command set pfs {1 | 2} in crypto map configuration mode.
3.C. To reset all active IKE SAs on a device, use the * keyword with the clear crypto isakmp command. If you just want to reset a particular IKE SA, use the clear crypto isakmp connid command.
4.C. When configuring pre-shared keys, each pair of peers must have the same key configured. However, for security you should assign a different key for each pair of peers.
5.D. When you need to know the errors that occur for IKE events, use the debug crypto isakmp command. When you need to view this information for IPSec events, use the debug crypto ipsec command.
6.B. The sequence number of a crypto map sequence represents the priority of the sequence: the lower the sequence number, the higher the priority.
7.B. When manually entering peer RSA public keys, you must pay attention. If a key is entered improperly, it can cause IPSec peers to never form.
8.B, C. When using the RSA-encrypted nonces or the RSA signatures authentication method for IKE, you must manually generate the RSA public/private key pair.
9.A, B, D. When configuring RSA keys, you must plan for RSA, configure the device’s hostname and domain name, generate the keys, manually enter the public keys, and manage the keys.
10.D. When you need to verify the configuration of IKE policies on a device, use the show crypto isakmp policy command. So the only correct answer is D.
11.B. When you need to verify basic network connectivity, use the ping command.
12.D. To enable IKE, which is the first step in creating and configuring IKE policies, use the crypto isakmp enable command.
13.A. To display information about a device’s certificate, the CA server certificate, and any registration authority certificates, use the show crypto ca certificates command.
14.B, C, D. To support IPSec with CA, you must prepare for IKE and IPSec, configure CA support, configure IKE, configure IPSec, and test and verify IPSec.
15.A. To configure a static IP address-to-hostname mapping, use the ip host command.
Copyright ©2003 SYBEX Inc., 1151 Marina Village Parkway, Alameda, CA 94501. |
www.sybex.com |

Answers to Review Questions |
297 |
16.A, C, D. You must configure a hostname and a domain name whenever you configure IPSec using RSA-encrypted nonces or CA. The reason for this is that RSA uses the hostname and the domain name in the identification of a device.
17.C. When the IKE identity of a peer is set to a hostname, you do not need to specify the IP address unless DNS is working for name resolution. You would then need to create a hostname-to-IP address mapping on the device for the remote peer.
18.C. A transform set must have at least one transform associated with it, but can have up to three.
19.A, B, D. When configuring IPSec, you must create the transform set, set the IPSec SA lifetime, create the access list that will specify the traffic to encrypt, create the crypto map, and apply the crypto map to an interface.
20.A, C. IPSec uses extended named or numbered IP access lists for defining the traffic to encrypt.
Copyright ©2003 SYBEX Inc., 1151 Marina Village Parkway, Alameda, CA 94501. |
www.sybex.com |