Security Flashcards

Access Control, CoPP, AAA

1
Q

What are the commands to set a password on a router’s console port (two commands)?

A

Router(config)# line console 0
Router(config-line)# password {the-password}

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the commands to set a password on a router’s auxiliary port (two commands)?

A

Router(config)# line aux 0
Router(config-line)# password {the-password}

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the commands to set a password on a router’s ssh/telnet ports (two commands)?

A

Router(config)# line vty 0 4
Router(config-line)# password {the-password}

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the command to create a local username and password on a router?

A

Router(config)# username {user} [privilege {0-15}] password {the-password}

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the command to specific use of the local username and password for logging into a telnet or ssh session?

A

Router(config-line)# login local

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the command to set a session timeout on a telnet/ssh port?

A

Router(config)# line vty 0 4
Router(config-line)# exec-timeout {number in minutes}

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are the commands to setup SSH on a router including local login? (7 commands)

A

Router(config)# username {user} password {password}
Router(config)# ip domain-name {domain.com}
Router(config)# crypto key generate rsa modulus {bits}
Router(config)# ip ssh version 2
Router(config)# line vty 0 4
Router(config-line)# transport input ssh
Router(config-line)# login local

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What does AAA mean?

A

Authentication, Authorization and Accounting:

Authentication - login
Authorization - privilege
Accounting - logging the activity

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is TACACS+?

A

Terminal Access Controller Access Control System: A security protocol developed by Cisc for Authentication and Authorization to a device. TACACS can give a very granular level of authorization specific to what commands a user can enter on a device.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is Radius?

A

An industry standard security protocol for centralized device access authentication.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the biggest difference between TACACS and RADIUS?

A

TACACS provides granular and separate services for authentication, authorization, and accounting. Where RADIUS is basically only used for secure device access.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the Windows Server role that allows a domain controller to be used as a RADIUS server?

A

Network Policy and Access Services

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

When configuring privilege levels for a user account, what do the built-in privilege levels 0, 1, and 15 mean?

A

0 - only allows five commands: logout, enable, disable, help and exit.
1 - read only and “ping”
15 - full access to all commands

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

When configuring privilege levels for a user account, what do levels 2 through 14 do?

A

Privilege 2 through 14 are custom configurable levels. In theory the higher levels would have more access but this depends on what was configured.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What command enables AAA services on a Cisco device?

A

Router1(config)# aaa new-model

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What are the commands to set a TACACS server on a Cisco device?
(3 commands)

A

Router1(config)# tacacs server NAME
Router1(config-server-tacacs)# address ipv4 {ip-address}
Router1(config-server-tacacs)# key {key-string}

17
Q

What are the commands to create a TACACS server group?
(2 commands)

A

Router1(config)# aaa group server tacacs+ GROUP-NAME
Router1(config-sg-tacacs+)# server name SERVER-NAME

18
Q

What is the command to set AAA authentication to look at the TACACS group for all interface types (con, aux, vty)?

A

Router1(config)# aaa authentication login default group GROUP-NAME [local]

19
Q

What is the command to set AAA authorization for exec mode to look at the TACACS group for all interface types (con, aux, vty)?

A

Router1(config)# aaa authorization exec default group TACACS-GRP1 [if-authenticated]

20
Q

What is the command to set AAA authorization for privileged exec mode to look at the TACACS group for all interface types (con, aux, vty)?

A

Router1(config)# aaa authorization enable default group TACACS-GRP1 [local] [enable]

21
Q

What is CoPP?

A

Control Plane Policing - the concept of controlling what and how much traffic is handled by a routing device’s CPU so it does not get overloaded. (and DDoS prevention)

22
Q

What is MQC?

A

Modular Quality of Service Command Line Interface - the basic structure of QoS configuration from the command line. This model fits well for CoPP.

23
Q

What are the 3 main pieces of MQC?

A
  • Class-Map: identify traffic
  • Policy-Map: take action/police traffic
  • Service-Policy: where to apply the policy (for CoPP its the control plane)
24
Q

What are the commands to create a class-map and match on an ACL that was created named ICMP_ACL? (2 commands)

A

Router(config)# class-map match-any CLASS_NAME
Router(config-cmap)# match access-group name ACL_NAME

25
Q

What is the command to create a policy map?

A

R1(config)# policy-map POLICY_NAME

26
Q

What is are the commands to add treatment to a class-map inside a policy map?

A

R1(config-pmap)# class CLASS_NAME
R1(config-pmap-c)# police {target-bps} conform-action {action} exceed-action {action} violate-action {action}

Example:

R1(config-pmap)# class ICMP_CLASS
R1(config-pmap-c)# police 8000 conform-action transmit exceed-action drop violate-action drop

27
Q

What are the commands to apply the policy map to the control plane on a Cisco device? (2 commands)

A

R1(config)# control-plane
R1(config-cp)# service-policy input POLICY_NAME

28
Q

What command can you use to verify the service policy applied to a control plane?

A

R1# show policy-map control-plane input

29
Q

What is 802.1X?

A

An IEEE Standard for authenticating devices that are trying to connect to a network. AAA, Radius, WLCs, and/or Cisco are core components in an 802.1X deployment.

30
Q

In 802.1X, what is MAB?

A

MAC Address Bypass - when 802.1X authentication is unavailable, check to see if the MAC address is on the preconfigured whitelist to bypass the 802.1X authentication.

31
Q

What is the Cisco solution for endpoint protection?

A

AMP Advanced Malware Protection - Not only endpoint protection but also integrates with web proxy servers, firewalls, email proxy servers, and other security devices to block and contain malware across the network.

32
Q

What are the key features of a Next Generation Firewall (NGFW) besides legacy features such as stateful inspection and access control?

A
  • Web/URL filtering
  • Application layer packet inspection
33
Q

What is TrustSec?

A

Policy based treatment of a device based on a device’s MAC address, the group the MAC address belongs to, and the policies applied to the group. This is one of the key components to Cisco ISE.

34
Q

In TrustSec, what is SGA?

A

Security Group Access - applying security tags to traffic (SGT Security Group Tags) so that it can be handled with policies and encryption.

35
Q

What is MACsec?

A

Encrypting Layer 2 traffic from one node to the next. This is typically used in conjunction with TrustSec and SGA.

36
Q

What are the two types of MACsec?

A

Downlink MACsec - encryption from a host device to a switch.

Uplink MACsec - encryption between two switches.