9.1 IP and Protocols Flashcards
What does DHCP stand for and what is it for
The Dynamic Host Configuration Protocol (DHCP) is a
client-server based protocol on your local network
responsible for managing and providing these IPs.
True or False
DHCP is dynamic, because most devices have fixed IP addresses.
DHCP is dynamic, because most devices do not have fixed IP addresses.
True or False
DHCP is a Layer 7: Application protocol that uses two UDP ports:
67
68
True
What is the DHCP Request and Receive Four-Step Process?
Step 1: DHCP Discover - client finds the server.
Step 2: DHCP Offer - The server checks available IPs, selects one, and sends it back over the network.
Step 3: DHCP Request - Client sends a message accepting the IP.
Step 4: mDHCP ACK - Server tells the client the IP is valid for the DHCP lease time, after which it can be sent to another machine.
What does NAT stand for and what is it for?
Network Address Translation (NAT) is a method of mapping a private IP address to a public IP address and vice versa.
NAT
Mapping gets stored in a _____________________
Mapping gets stored in a network address Translation Table
True or False
NAT tables are managed by the router, considered the gateway between private and public networks.
True
True or False
NAT touches several OSI layers, but it’s main task is IP address translation, so it primarily works on Layer 2
False
NAT touches several OSI layers, but it’s main task is IP address translation, so it primarily works on Layer 3: Network.
DHCP Attacks
True or False
DHCP servers only have a limited amount of IP addresses they can distribute to devices on a LAN.
If an attacker is able to access the LAN, they can send a large number of DHCP messages over the network requesting IP addresses from the DHCP server.
If the number of requests is large enough, the DHCP server can run out of IPs, and new, legitimate users won’t be able to receive an IP.
What is DHCP starvation?
If it sounds familiar, this is because it’s a type of denial of service (DoS) attack. This attack impacts the availability concept of the CIA triad.
How do you prevent DHCP Starvation?
One way to prevent DHCP starvation is to set a maximum threshold. This threshold is the number of DHCP requests a server can accept per second.
What is DHCP spoofing?
After a DHCP starvation attack occurs, an attack can potentially set up a fraudulent DHCP server.
The fraudulent server can send spoof messages, assigning clients to a malicious router.
The attacker can use this router to capture sensitive data.
How do you prevent DHCP Spoofing?
DHCP snooping
DHCP snooping is a process implemented on a network switch that inspects packets to confirm that they’re legitimate DHCP offers.
Routing Schemes
What is Unicast?
A single device delivers a message to another single specific device.
Routing Schemes
What is Unicast?
A single device delivers a message to another single specific device.
Ex. A phone call between two people