It ne 2005 pratical assessment - secure against login


Objective: Securing Company Network

Network Topology

Note: ISR G1 devices have Fast Ethernet interfaces instead of Gigabit Ethernet Interfaces.

In this lab, you will perform the following tasks:

Part 2: Configure Basic Device Settings

Part 3: Configure Secure Router Administrative Access

- Configure encrypted passwords and a login banner.

- Configure the EXEC timeout value on console and VTY lines.

- Configure login failure rates and VTY login enhancements.

- Configure Secure Shell (SSH) access and disable Telnet.
- Configure local authentication, authorization, and accounting (AAA) user authentication.

- Secure the router against login attacks, and secure the IOS image and the configuration file.

- Configure a router NTP server and router NTP clients.

- Configure router syslog reporting and a syslog server on a local host.

Part 4: Configure a Zone-Based Policy Firewall and Intrusion Prevention System

- Configure a Zone-Based Policy Firewall (ZPF) on an ISR using the CLI.

- Configure an intrusion prevention system (IPS) on an ISR using the CLI.

Part 5: Secure Network Switches

- Configure passwords and a login banner.

- Configure management VLAN access.

- Secure access ports.

- Protect against Spanning Tree Protocol (STP) attacks.

- Configure port security and disable unused ports.

Part 6: Configure ASA Basic Settings and Firewall

- Configure basic settings, passwords, date, and time.

- Configure the inside and outside VLAN interfaces.

- Configure port address translation (PAT) for the inside network.

- Configure a Dynamic Host Configuration Protocol (DHCP) server for the inside network.

- Configure administrative access via Telnet and SSH.

- Configure a static default route for the Adaptive Security Appliance (ASA).

- Configure Local AAA user authentication.

- Configure a DMZ with a static NAT and ACL.

- Verify address translation and firewall functionality.

Part 7 Configure a DMZ, Static NAT, and ACLs on an ASA

Part 8: Configure ASA Clientless SSL VPN Remote Access Using ASDM

- Configure a remote access SSL VPN using the Cisco Adaptive Security Device Manager (ASDM).

- Verify SSL VPN access to the portal.

Part 9: Configure a Site-to-Site VPN between the ASA and ISR

- Configure an IPsec site-to-site VPN between the ASA and R3-S0000 using ASDM and the CLI.

- Activate and verify the IPsec site-to-site VPN tunnel between the ASA and R3.

Task 1: Configure Basic Device Settings
The desktop system assigned to you serves as an end-user terminal. You access and manage the lab environment from the student desktop system using GNS3 Software.

Students should perform the steps in this task individually.

In Part 1 of this lab, you set up the network topology and configure basic settings, such as the interface IP addresses, static routing, device access, and passwords.

Instructions for initializing the ASA, switches, and routers and basic configuration are provided in pratical labs.

Step 1: Deploy router in GNS3 network.

Attach the devices, as shown in the topology diagram, and connection as necessary.

Step 2: Configure basic settings for each router.

a. Configure host names as shown in the topology plus your student ID.

b. Configure interface IP addresses as shown in the IP Addressing Table.
c. Configure a clock rate of 128000 for routers with a DCE serial cable attached to their serial interface.
d. To prevent the router from attempting to translate incorrectly entered commands as though they were host names, disable DNS lookup on each router.
Step 3: Configure static routing on the R1-S0000 and R3-S0000.

a. Configure a static default route from R1-S0000 to R2-S0000 and from R3-S0000 to R2.

b. Configure static routes from R2-S0000 to the R1-S0000 simulated LAN (Loopback 1), the R1-S0000 Fa0/0-to-ASA subnet, and the R3-S0000 LAN.
Step 4: Configure basic settings for each switch.

a. Configure hostnames, as shown in the topology.

b. Configure the VLAN 1 management address on each switch, as shown in the IP Addressing table.

c. Configure the IP default gateway for each of the three switches.

Step 5: Configure PC host IP settings.

Configure a static IP address, subnet mask, and default gateway for each PC, as shown in the IP addressing table.

Step 6: Verify connectivity between PC-C and R1-S0000 F0/0. Step 7: Save the basic running configuration for each router.

Part 2: Configure Secure Router Administrative Access (Chapters 2 and 3)

You will use the CLI to configure passwords and device access restrictions.

Task 1: Configure Settings for R1-S0000 and R3

Step 1: Configure a minimum password length of 10 characters. Step 2: Encrypt plaintext passwords.
Step 3: Configure a login warning banner.

Configure a warning to unauthorized users with a message-of-the-day (MOTD) banner that says: Unauthorized access strictly prohibited and prosecuted to the full extent of the law!.
Step 4: Configure the enable secret password.

Use cisco12345 as the enable secret password. Use the strongest encryption type available.

Step 5: Configure the local user database.

Create a local user account of Admin01 with a secret password of Admin01pa55 and a privilege level of 15. Use the strongest encryption type available.

Step 6: Enable AAA services.

Step 7: Implement AAA services using the local database.

Create the default login authentication method list. Use case-sensitive local authentication as the first option and the enable password as the backup option to be used if an error occurs in relation to local authentication.
Step 8: Configure the console line.

Configure the console line for privilege level 15 access on login. Set the exec-timeout value to log out after 15 minutes of inactivity. Prevent console messages from interrupting command entry.
Step 9: Configure the VTY lines.

Configure the VTY lines for privilege level 15 access on login. Set the exec-timeout value to log out a session after 15 minutes of inactivity. Allow for remote access using SSH only.
Step 10: Configure the router to log login activity.
a. Configure the router to generate system logging messages for successful and failed login attempts. Configure the router to log every successful login. Configure the router to log every second failed login attempt.
b. Issue the show login command. What additional information is displayed?

Step 11: Enable HTTP access.

a. Enable the HTTP server on R1-S0000 to simulate an Internet target for later testing.

b. Configure HTTP authentication to use the local user database on R1.

Task 2: Configure the SSH Server on R1-S0000 and R3

Step 1: Configure the domain name.

Configure a domain name of ccnasecurity.com.

Step 2: Generate the RSA encryption key pair.

Configure the RSA keys with 1024 as the number of modulus bits.

Step 3: Configure the SSH version.

Specify that the router accept only SSH version 2 connections.

Step 4: Configure SSH timeouts and authentication parameters.

The default SSH timeouts and authentication parameters can be altered to be more restrictive. Configure SSH timeout to 90 seconds and the number of authentication attempts to 2.

Step 5: Verify SSH connectivity to R1-S0000 from PC-C.

a. Launch the SSH client on PC-C, enter the R1-S0000 S0/0/0 IP address (10.1.1.1), and log in as Admin01 with the password Admin01pa55. If prompted by the SSH client with a security alert regarding the server's host key, click Yes.

b. Issue the show run command from the SSH session on PC-C. The configuration for R1-S0000 should be displayed.

Task 3: Secure against Login Attacks and Secure the IOS and Configuration File on R1 (Optional)

Step 1: Configure enhanced login security.

If a user experiences two failed login attempts within a 30-second time span, disable logins for 1 minute. Log all failed login attempts.

Step 2: Secure the Cisco IOS image and archive a copy of the running configuration.

Erasing the flash filesystem will remove all files! Continue? [confirm]

Current DOS File System flash card in flash: will be formatted into Low End File System flash card! Continue? [confirm]

a. The secure boot-image command enables Cisco IOS image resilience, which hides the file from the dir and show commands. The file cannot be viewed, copied, modified, or removed using EXEC mode commands. (It can be viewed in ROMMON mode.)

b. The secure boot-config command takes a snapshot of the router running configuration and securely archives it in persistent storage (flash).

Step 3: Verify that your image and configuration are secured.

a. You can use only the show secure bootset command to display the archived filename. Display the status of configuration resilience and the primary bootset filename.

What is the name of the archived running config file and on what is the name based?

b. Save the running configuration to the startup configuration from the privileged EXEC mode prompt.

Task 4: Configure a Synchronized Time Source Using NTP
R2-S0000 will be the master NTP clock source for R1-S0000 and R3.

Step 1: Set up the NTP master using Cisco IOS commands.

R2-S0000 is the master NTP server in this lab. All other routers and switches learn the time from it, either directly or indirectly. For this reason, you must ensure that R2-S0000 has the correct UTC set.

a. Use the show clock command to display the current time set on the router.

b. Use the clock set time command to set the time on the router.

c. Configure NTP authentication by defining the authentication key number 1 with md5 hashing, and a password of NTPpassword. The password is case sensitive.

d. Configure the trusted key that will be used for authentication on R2.

e. Enable the NTP authentication feature on R2.

f. Configure R2-S0000 as the NTP master using the ntp master stratum-number command in global configuration mode. The stratum number indicates the distance from the original source. For this lab, use a stratum number of 3 on R2. When a device learns the time from an NTP source, its stratum number becomes one greater than the stratum number of its source.

Step 2: Configure R1-S0000 and R3-S0000 as NTP clients using the CLI.

a. Configure NTP authentication by defining the authentication key number 1 with md5 hashing, and a password of NTPpassword.

b. Configure the trusted key that will be used for authentication. This command provides protection against accidentally synchronizing the device with a time source that is not trusted.

c. Enable the NTP authentication feature.

d. R1-S0000 and R3-S0000 will become NTP clients of R2. Use the ntp server hostname global configuration mode command. Use R2's serial IP address for the hostname. Issue the ntp update-calendar (optional) command on R1- S0000 and R3-S0000 to periodically update the calendar with the NTP time.

e. Use the show ntp associations command to verify that R1-S0000 has made an association with R2. You can also use the more verbose version of the command by adding the detail argument. It might take some time for the NTP association to form.

f. Verify the time on R1-S0000 and R3-S0000 after they have made NTP associations with R2.

Optional: Task 5: Configure Syslog Support on R3-S0000 and PC-C

Step 1: Install the syslog server on PC-C. (Optional)

a. The Tftpd32 software from jounin.net is free to download and install, and it includes a TFTP server, TFTP client, and a syslog server and viewer. If not already installed, download Tftpd32 at https://tftpd32.jounin.net and install it on PC-C.

b. Run the Tftpd32.exe file, click Settings, and ensure that the syslog server check box is checked. In the SYSLOG tab, you can configure a file for saving syslog messages. Close the settings and in the main Tftpd32 interface window, note the server interface IP address and select the Syslog server tab to bring it to the foreground.

Step 2: Configure R3-S0000 to log messages to the syslog server using the CLI.

a. Verify that you have connectivity between R3-S0000 and PC-C by pinging the R3-S0000 G0/1 interface IP address 172.16.3.1. If it is unsuccessful, troubleshoot as necessary before continuing.

b. NTP was configured in Task 2 to synchronize the time on the network. Displaying the correct time and date in syslog messages is vital when using syslog to monitor a network. If the correct time and date of a message is not known, it can be difficult to determine what network event caused the message.

Verify that the timestamp service for logging is enabled on the router by using the show run command. Use the service timestamps log datetime msec command if the timestamp service is not enabled.

c. Configure the syslog service on the router to send syslog messages to the syslog server.

Step 3: Configure the logging severity level on R3.

Logging traps can be set to support the logging function. A trap is a threshold that triggers a log message. The level of logging messages can be adjusted to allow the administrator to determine what kinds of messages are sent to the syslog server. Routers support different levels of logging. The eight levels range from 0 (emergencies), which indicates that the system is unstable, to 7 (debugging), which sends messages that include router information.

Note: The default level for syslog is 6 (informational logging). The default for console and monitor logging is 7 (debugging).

a. Use the logging trap command to set the severity level for R3-S0000 to level 4 (warnings).

b. Use the show logging command to see the type and level of logging enabled.

Part 4: Configure a Zone-Based Policy Firewall and Intrusion Prevention System (Chapters 4 and 5)
In Part 4, you will configure a ZPF and IPS on R3-S0000 using the CLI.

Task 1: Configure a ZPF on R3-S0000 using the CLI

Step 1: Creating the security zones.

a. Create the INSIDE and OUTSIDE security zones.

b. Create an inspect class-map to match the traffic to be allowed from the INSIDE zone to the OUTSIDE zone. Because we trust the INSIDE zone, we allow all the main protocols. Use the match-any keyword to instruct the router that the following match protocol statements will qualify as a successful match. This results in a policy being applied. Match for TCP, UDP, or ICMP packets.

c. Create an inspect policy-map named INSIDE-TO-OUTSIDE. Bind the INSIDE-PROTOCOLS class-map to the policy- map. All packets matched by the INSIDE-PROTOCOLS class-map will be inspected.

d. Create a zone-pair called INSIDE-TO-OUTSIDE that allows traffic initiated from the internal network to the external network but does not allow traffic originating from the external network to reach the internal network.

e. Apply the policy-map to the zone-pair.

f. Assign R3's F0/1 interface to the INSIDE security zone and the S0/1 interface to the OUTSIDE security zone.

g. Verify your ZPF configuration by using the show zone-pair security, show policy-map type inspect zone-pair, and show zone security commands.

Task 2: Configure IPS on R3-S0000 using the CLI.

Copy files from \\10.1.2.78\student$ GNS3 and IOS-Sxxx-CLI.pkg, To configure Cisco IOS IPS 5.x, the IOS IPS signature package file and public crypto key files must be available on the PC with the TFTP server installed. R3- S0000 uses PC-C as the TFTP server.

a. Verify that the IOS-Sxxx-CLI.pkg signature package file is in the default TFTP folder. The xxx is the version number and varies depending on which file was downloaded from Cisco.com.

b. Verify that the realm-cisco.pub.key.txt file is available and note its location on PC-C. This is the public crypto key used by Cisco IOS IPS.

c. Verify or create the IPS directory (ipsdir) in router flash on R3. From the R3-S0000 CLI, display the content of flash memory and check to see if the ipsdir directory exists.

d. If the ipsdir directory is not listed, create it in privileged EXEC mode, using the mkdir command.

Note: If the IPSDIR directory is listed and there are files in it, contact your instructor. This directory must be empty before configuring IPS. If there are no files in it, you may proceed to configure IPS.

Step 2: Verify the IOS IPS signature package location and TFTP server setup.

a. Use the ping command to verify connectivity between R3, PC-C, and the TFTP server.

b. Start Tftpd32 (or another TFTP server) and set the default directory to the one with the IPS signature package in it. Note the filename for use in the next step.

Step 3: Copy and paste the crypto key file into R3's configuration.

In global configuration mode, select and copy the crypto key file named realm-cisco.pub.key.txt. Paste the copied crypto key content at the global configuration mode prompt.

Note: The contents of the realm-cisco.pub.key.txt file have been provided below: crypto key pubkey-chain rsa
named-key realm-cisco.pub signature key-string
30820122 300D0609 2A864886 F70D0101 01050003 82010F00 3082010A 02820101

00C19E93 A8AF124A D6CC7A24 5097A975 206BE3A2 06FBA13F 6F12CB5B 4E441F16

17E630D5 C02AC252 912BE27F 37FDD9C8 11FC7AF7 DCDD81D9 43CDABC3 6007D128 B199ABCB D34ED0F9 085FADC1 359C189E F30AF10A C0EFB624 7E0764BF 3E53053E 5B2146A9 D7A5EDE3 0298AF03 DED7A5B8 9479039D 20F30663 9AC64B93 C0112A35 FE3F0C87 89BCB7BB 994AE74C FA9E481D F65875D6 85EAF974 6D9CC8E3 F0B08B85 50437722 FFBE85B9 5E4189FF CC189CB9 69C46F9C A84DFBA5 7A0AF99E AD768C36
006CF498 079F88F8 A3B3FB1F 9FB7B3CB 5539E1D1 9693CCBB 551F78D2 892356AE

2F56D826 8918EF3C 80CA4F4D 87BFCA3B BFF668E9 689782A5 CF31CB6E B4B094D3 F3020301 0001
quit

Step 4: Configure the IPS settings on R3-S0000 from the CLI.

a. Create an IPS rule, and name the rule IOSIPS.

b. Set the IPS Signature storage location to the IPSDIR directory you created in flash in step 1d.

c. Enable HTTP server and IPS SDEE event notification.

d. Configure IOS IPS to use one of the pre-defined signature categories.

Note: When configuring IOS IPS, it is required to first retire all the signatures in the "all" category and then unretire selected signature categories.

After you have retired all signatures in the all category, unretire the ios_ips basic category.

e. Apply the IPS rule to inbound traffic to R3's 0/1 interface.

Step 5: Start the TFTP server on PC-C and verify the IPS file directory. (Optional)

Verify that PC-C has the IPS Signature package file in a directory on the TFTP server. This file is typically named IOS- Sxxx-CLI.pkg. The xxx is the signature file version.

Note: If this file is not present, contact your instructor before continuing.

Step 6: Copy the signature package from the TFTP server to R3. (Optional)

a. Use the copy tftp command to retrieve the signature file and load it into the Intrusion Detection Configuration. Use the idconf keyword at the end of the copy command.

Note: Signature compiling begins immediately after the signature package is loaded to the router. You can see the messages on the router with logging level 6 or above enabled.

b. Use the dir flash command to see the contents of the IPSDIR directory you created earlier in this lab. There should be six files

c. Use the show ip ips signature count command to see the counts for the compiled signature package.

R3# show ip ips signature count.

b. Use the dir flash command to see the contents of the IPSDIR directory you created earlier in this lab. There should be six files, as shown here.

c. Use the show ip ips signature count command to see the counts for the compiled signature package.

R3# show ip ips signature count

Note: You may see an error message during signature compilation, such as "%IPS-3- INVALID_DIGITAL_SIGNATURE: Invalid Digital Signature found (key not found)". The message means the public crypto key is invalid. Refer to Task 3, Configure the IPS Crypto Key, to reconfigure the public crypto key.

d. Use the show ip ips all command to view the IPS configuration status summary.

Part 5: Secure Network Switches (Chapter 6)
Note: Not all security features in this part of the lab will be configured on all switches. However, in a production network all security features would be configured on all switches.

Step 1: Configure basic security settings on S1-S0000

a. HTTP access to the switch is enabled by default. Prevent HTTP access by disabling the HTTP server and HTTP secure server.

Use an enable secret password of cisco12345. Use the strongest encryption available.

b. Encrypt plaintext passwords.

c. Configure a warning to unauthorized users with an MOTD banner that says "Unauthorized access strictly prohibited!".

Step 2: Configure SSH server settings on S1-S0000.

a. Configure a domain name S0000.com (your studentid.com)

b. Configure username Admin01 in the local database with a password of Admin01pa55. Configure this user to have the highest possible privilege level. The strongest encryption method available should be used for the password.

c. Configure the RSA keys with 1024 modulus bits.

d. Enable SSH version 2.

e. Set the SSH time-out to 90 seconds and the number of authentication retries to 2.

Step 3: Configure the console and VTY lines.

a. Configure a console to use the local database for login. If the user has the highest privileges, then automatically enable privilege exec mode upon login. Set the exec-timeout value to log out after five minutes of inactivity. Prevent console messages from interrupting command entry.

b. Configure VTY lines to use the local database for login. If the user has the highest privileges, then automatically enable privilege exec mode upon login. Set the exec-timeout value to log out after five minutes of inactivity. Allow remote SSH access to all VTY lines

Step 4: Configure Port Security and Disable Unused Ports

a. Disable trunking on port G0/1.

b. Enable PortFast on G0/1.

c. Enable BPDU guard on G0/1.

d. Apply basic default port security on G0/1. This sets the maximum MAC addresses to 1 and the violation action to shut down. Use the sticky option to allow the secure MAC address that is dynamically learned on a port to the switch running configuration.

e. Disable unused ports on S1-S0000.

Step 5: Set loop guard as the default for all non-designated ports on S1-S0000. Step 6: Save the running configuration to the startup configuration for each switch.
Part 6: Configure ASA Basic Settings and Firewall (Chapter 9) (Optional)
Task 1: Prepare the ASA for ASDM Access

Step 1: Clear the previous ASA configuration settings.

a. Use the write erase command to remove the startup-config file from flash memory.

b. Use the reload command to restart the ASA.

Step 2: Bypass Setup Mode and configure the ASDM VLAN interfaces using the CLI.

a. When prompted to preconfigure the firewall through interactive prompts (Setup mode), respond with no

b. Enter privileged EXEC mode. The password should be blank (no password) at this point.

c. Enter global configuration mode. Respond with no to the prompt to enable anonymous reporting.

Task 2: Configure Basic ASA Settings Using the ASDM Startup Wizard (Optional)

Task 3: Configuring ASA Settings from the ASDM Configuration Menu
Task 4: Modify the Default Modular Policy Framework using ASDM.

Part 8: Configure ASA Clientless SSL VPN Remote Access (Chapter 10)
In Part 8 of this lab, you will use ASDM's Clientless SSL VPN wizard to configure the ASA to support clientless SSL VPN remote access. You will verify your configuration by using a browser from PC-C.

Part 9: Configure a Site-to-Site IPsec VPN between R3-S0000 and the ASA. (Chapters 8 & 10)

In Part 9 of this lab, you will use the CLI to configure an IPsec VPN tunnel on R3-S0000 and use ASDM's Site-to-Site Wizard to configure the other side of the IPsec tunnel on the ASA.

Task 1: Configure the Site -to-Site IPsec VPN Tunnel on R3

Task 2: Configure Site -to-Site VPN on ASA using ASDM

Task 3: Test the Site -to-Site IPsec VPN Connection between the ASA and R3

Attachment:- Assignment.rar

Solution Preview :

Prepared by a verified Expert
Computer Networking: It ne 2005 pratical assessment - secure against login
Reference No:- TGS02944946

Now Priced at $45 (50% Discount)

Recommended (94%)

Rated (4.6/5)