info bizt PT Flashcards
Part 1: Step 1: Configure Basic Settings on the ASA device.
HQ-ASA5506 is already configured with a password: Thecar1Admin.
Note: In order to receive full credit for you configuration, you must save your configuration file after making any changes to the device configuration.
a. Configure the domain name as thecar1.com.
b. Configure the hostname as HQ-ASA5506.
c. Configure the INSIDE, OUTSIDE, and DMZ interfaces with the following:
- IP address 209.165.200.253/28, nameif OUTSIDE, security-level 1, assign to G1/1
- IP address 192.168.10.1/24, nameif INSIDE, security-level 100, assign to G1/2
- IP address 192.168.20.1/24, nameif DMZ, security-level 70, assign to G1/3
HQ-ASA5506
~~~
enable
Thecar1Admin
conf term
domain-name thecar1.com
hostname HQ-ASA5506
interface g1/1
nameif OUTSIDE
security-level 1
ip address 209.165.200.253 255.255.255.240
no shutdown
interface g1/2
nameif INSIDE
security-level 100
ip address 192.168.10.1 255.255.255.0
no shutdown
interface g1/3
nameif DMZ
security-level 70
ip address 192.168.20.1 255.255.255.0
no shutdown
exit
~~~
Part 1: Step 2: Configure the DHCP service on the ASA device for the internal network.
a. The DHCP pool is 192.168.10.25 – 192.168.10.35.
b. The DHCP service should provide DNS server (AAA/NTP/syslog server) information.
c. PC0, PC1, and PC2 should receive their addresses over DHCP.
HQ-ASA5506
~~~
dhcpd address 192.168.10.25-192.168.10.35 INSIDE
dhcpd dns 192.168.10.10 interface INSIDE
dhcpd option 3 ip 192.168.10.1
dhcpd enable INSIDE
~~~
Part 1: Step 2: PC0-PC1-PC2 received their addresses over DHCP
PC 0
PC 1
PC 2
kiválasztani mind a háromnál a DHCP-t a desktop fülön
Part 1: Step 3: Configure routing on the ASA.
Configure a default route that will enable hosts on the HQ INTERNAL and DMZ networks to communicate with outside hosts. Use the IP address of the HQ router interface as the gateway interface.
HQ-ASA5506route OUTSIDE 0.0.0.0 0.0.0.0 209.165.200.254
Part 1: Step 4: Configure Secure Network Management for the ASA Device.
a. Configure the ASA with NTP and AAA:
- The ASA is a NTP client to the AAA/NTP/Syslog server.
- Enable the authentication to the ASA.
- The authentication key is key 1 with the password is corpkey.
b. Configure AAA and SSH.
- Configure the ASA device with AAA authentication using the username of Car1Admin and password of adminpass01.
- Configure AAA to use the local database for SSH connections to the console port.
- Generate a RSA key pair to support with modulus size of 1024 bits.
- Configure HQ-ASA5506 to accept SSH connections only from the Net Admin workstation.
- Configure SSH session timeout to be 20 minutes.
HQ-ASA5506
a.
~~~
ntp authenticate
ntp authentication-key 1 md5 corpkey
ntp server 192.168.10.10
ntp trusted-key 1
~~~
b.
~~~
username Car1Admin password adminpass01
aaa authentication ssh console LOCAL
crypto key generate rsa modulus 1024
yes
ssh 192.168.10.250 255.255.255.255 INSIDE
ssh timeout 20
~~~
Part 1: Step 5: Configure NAT Service for the ASA device for both INSIDE and DMZ networks.
a. Create a network object called INSIDE-nat with subnet 192.168.10.0/24 and enable the IP addresses of the hosts in the internal network to be dynamically translated to access the external network via the outside interface.
b. Create a network object DMZ-web-server to statically translate the DMZ web server internal IP address to the outside public IP address 209.165.200.241.
c. Create a network object DMZ-dns-server to statically translate the DMZ DNS server internal IP address to the outside public IP address 209.165.200.242.
HQ-ASA5506
object network INSIDE-nat subnet 192.168.10.0 255.255.255.0 nat (inside,outside) dynamic interface exit configure terminal object network DMZ-web-server host 192.168.20.2 nat (dmz,outside) static 209.165.200.241 exit configure terminal object network DMZ-dns-server host 192.168.20.5 nat (dmz,outside) static 209.165.200.242 exit
Part 1: Step 6: Configure ACL on the ASA device to implement the Security Policy.
a. Configure a named extended ACL to permit inside hosts to be translated to the pool of outside IP addresses. Name the ACL NAT-IP-ALL.
b. Apply NAT-IP-ALL ACL to the DMZ and OUTSIDE interfaces in the inward direction.
c. Configure an ACL to allow access to the DMZ servers from the internet. Create an extended named ACL (named OUTSIDE-TO-DMZ) to filter incoming traffic to the HQ ASA. The ACL statements should be created in the order specified in the following guidelines:
(Note: The order of ACL statements is significant only because of the scoring requirements for this assessment.)
- The ACL should contain four access control entries (ACEs).
- HTTP traffic is allowed to DMZ Web Svr.
- DNS traffic (both TCP and UDP) is allowed to the DMZ DNS server (two separate ACEs).
- FTP traffic from the Branch administrator workstation is allowed to the DMZ web server.
Note: For the purposes of this assessment, do NOT apply this ACL.
HQ-ASA5506
configure terminal access-list NAT-IP-ALL extended permit ip any any access-group NAT-IP-ALL in interface OUTSIDE access-group NAT-IP-ALL in interface DMZ access-list OUTSIDE-TO-DMZ extended permit tcp any host 209.165.200.241 eq 80 access-list OUTSIDE-TO-DMZ extended permit tcp any host 209.165.200.242 eq 53 access-list OUTSIDE-TO-DMZ extended permit udp any host 209.165.200.242 eq 53 access-list OUTSIDE-TO-DMZ extended permit tcp host 198.133.219.35 host 209.165.200.241 eq ftp end copy running-config startup-config
**Part 2: **
For this part of the assessment, you will be configuring Switch1 in the internal network with Layer 2 attack mitigation measures.
Step 1: Disable Unused Switch Ports
a. Disable all unused switch ports on Switch1.
b. Configure all unused ports in static access mode so that they will not negotiate trunks.
Switch 1
enable conf t interface range f0/2-4, f0/6-9, f0/11-22, g0/2 shutdown switchport mode access switchport nonegotiate
Part 2: Step 2: Implement Port Security
On Switch1, configure port security on all of the switch ports that are connected to hosts according to the following requirements:
- The ports should be configured as static access ports.
- The ports should learn a maximum of two MAC addresses.
- The ports should record the MAC addresses that have been learned in the device running configuration.
- If a violation occurs, the port should drop packets from host MAC addresses that have not been learned, increment the violation counter, and generate a syslog message.
Switch 1
interface range f0/1, f0/5, f0/10 switchport mode access switchport port-security switchport port-security maximum 2 switchport port-security mac-address sticky switchport port-security violation restrict switchport nonegotiate
Part 2: Step 3: Implement STP Security
On Switch1, implement STP security measures on the active ports that are connected to hosts.
a. Configure the switch to disable host ports that receive a BPDU.
b. Configure the ports to quickly go into STP forwarding mode without going through the STP transitional modes. Do this on a port-by-port basis, not on the entire switch.
Switch 1
interface range f0/1, f0/5, f0/10, g0/1 spanning-tree bpduguard enable spanning-tree portfast end copy running-config startup-config
Part 3 (1): Configure a Site-to-Site IPsec VPN between the HQ and the Branch Routers
Note: The Branch and HQ routers have already been configured with a username of CORPADMIN and a password of NetSec-Admin1. The enable secret password is RTR-AdminP@55.
Configure a site-to-site IPsec VPN between the HQ and Branch routers according to the requirements below.
The following tables list the parameters for the ISAKMP phase 1 and phase 2 policies:
ISAKMP Phase 1 Policy Parameters (táblázatok)
HQ Router
Username: CORPADMIN Password: NetSec-Admin1 enable Password: RTR-AdminP@55 conf ter
Part 3 (2)
a.Configure ACL 120 on the HQ router to identify the interesting traffic to be sent across the VPN. The interesting traffic is all IP traffic from the HQ LAN to the Branch LAN.
b.Configure the ISAKMP Phase 1 properties on the HQ router. The crypto ISAKMP policy is 10. Refer to the ISAKMP Phase 1 Policy Parameters Table for the specific details needed.
c.Configure the ISAKMP Phase 2 properties on the HQ router using 10 as the sequence number. Refer to the ISAKMP Phase 2 Policy Parameters Table for the specific details needed.
HQ Router
access-list 120 permit ip 209.165.200.240 0.0.0.15 198.133.219.32 0.0.0.31 crypto isakmp policy 10 encryption aes 256 hash sha authentication pre-share group 2 lifetime 1800 exit
Part 3 (3)
d.Bind the VPN-MAP crypto map to the outgoing interface.
e.Configure IPsec parameters on the Branch router using the same parameters as on the HQ router. Note that interesting traffic is defined as the IP traffic from the Branch LAN to the LAN that is attached to HQ.
f.Save the running-config, then reload both the HQ and Branch routers.
HQ Router
crypto isakmp key Vpnpass101 address 198.133.219.2 crypto ipsec transform-set VPN-SET esp-aes esp-sha-hmac crypto map VPN-MAP 10 ipsec-isakmp match address 120 set transform-set VPN-SET set peer 198.133.219.2 set pfs group2 set security-association lifetime seconds 1800 exit int s0/0/0 crypto map VPN-MAP end copy running-config startup-config