3.4.2 Attacking the Foundation Quiz

3.4.2 Attacking the Foundation Quiz Answers

1. Which field in an IPv6 packet is used by the router to determine if a packet has expired and should be dropped?

  • TTL
  • Hop Limit
  • Address Unreachable
  • No Route to Destination

Explanation: ICMPv6, like IPv4, sends a Time Exceeded message if the router cannot forward an IPv6 packet because the packet has expired. However, the IPv6 packet does not have a TTL field. Instead, it uses the Hop Limit field to determine if the packet has expired.

2. An attacker is using a laptop as a rogue access point to capture all network traffic from a targeted user. Which type of attack is this?

  • trust exploitation
  • buffer overflow
  • man in the middle
  • port redirection

Explanation: An access attack tries to gain access to a resource using a hijacked account or other means. The five types of access attacks include the following:

  • password – a dictionary is used for repeated login attempts
  • trust exploitation – uses granted privileges to access unauthorized material
  • port redirection – uses a compromised internal host to pass traffic through a firewall
  • man-in-the-middle – an unauthorized device positioned between two legitimate devices in order to redirect or capture traffic
  • buffer overflow – too much data sent to a memory location that already contains data

3. Which field in the IPv4 header is used to prevent a packet from traversing a network endlessly?

  • Time-to-Live
  • Sequence Number
  • Acknowledgment Number
  • Differentiated Services

Explanation: The value of the Time-to-Live (TTL) field in the IPv4 header is used to limit the lifetime of a packet. The sending host sets the initial TTL value; which is decreased by one each time the packet is processed by a router. If the TTL field decrements to zero, the router discards the packet and sends an Internet Control Message Protocol (ICMP) Time Exceeded message to the source IP address. The Differentiated Services (DS) field is used to determine the priority of each packet. Sequence Number and Acknowledgment Number are two fields in the TCP header.

4. What is involved in an IP address spoofing attack?

  • A legitimate network IP address is hijacked by a rogue node.
  • A rogue node replies to an ARP request with its own MAC address indicated for the target IP address.
  • A rogue DHCP server provides false IP configuration parameters to legitimate DHCP clients.
  • Bogus DHCPDISCOVER messages are sent to consume all the available IP addresses on a DHCP server.

Explanation: In an IP address spoofing attack, the IP address of a legitimate network host is hijacked and used by a rogue node. This allows the rogue node to pose as a valid node on the network.

5. Which type of attack involves the unauthorized discovery and mapping of network systems and services?

  • reconnaissance
  • DoS
  • access
  • trust exploitation

Explanation: Network reconnaissance attacks involve the unauthorized discovery and mapping of the network and network systems. Access attacks and trust exploitation involve unauthorized manipulation of data, access to systems or user privileges. DoS, or Denial of Service attacks, are intended to prevent legitimate users and devices from accessing network resources.

6. In which TCP attack is the cybercriminal attempting to overwhelm a target host with half-open TCP connections?

  • reset attack
  • port scan attack
  • SYN flood attack
  • session hijacking attack

Explanation: In a TCP SYN flood attack, the attacker sends to the target host a continuous flood of TCP SYN session requests with a spoofed source IP address. The target host responds with a TCP-SYN-ACK to each of the SYN session requests and waits for a TCP ACK that will never arrive. Eventually the target is overwhelmed with half-open TCP connections.

7. How is optional network layer information carried by IPv6 packets?

  • inside an options field that is part of the IPv6 packet header
  • inside the Flow Label field
  • inside an extension header attached to the main IPv6 packet header
  • inside the payload carried by the IPv6 packet

Explanation: IPv6 uses extension headers to carry optional network layer information. Extension headers are not part of the main IPv6 header but are separate headers placed between the IPv6 header and the payload.

8. A threat actor wants to interrupt a normal TCP communication between two hosts by sending a spoofed packet to both endpoints. Which TCP option bit would the threat actor set in the spoofed packet?

  • ACK
  • FIN
  • RST
  • SYN

Explanation: A TCP reset attack can be used to terminate TCP communications between two hosts by sending a spoofed TCP RST packet. A TCP connection is torn down when it receives an RST bit.

9. A threat actor uses a program to launch an attack by sending a flood of UDP packets to a server on the network. The program sweeps through all of the known ports trying to find closed ports. It causes the server to reply with an ICMP port unreachable message and is similar to a DoS attack. Which two programs could be used by the threat actor to launch the attack? (Choose two.)

  • ping
  • Smurf
  • WireShark
  • UDP Unicorn
  • Low Orbit Ion Cannon

Explanation: A threat actor can use a tool like UDP Unicorn or Low Orbit Ion Cannon to send a flood of UDP packets to launch a UDP flood attack that causes all the resources on a network to become consumed. These types of programs will sweep through all the known ports trying to find closed ports. This causes the server to reply with an ICMP port unreachable message. Because of the many closed ports on the server, there is so much traffic on the segment that almost all the bandwidth gets used. The end result is very similar to a DoS attack.

10. Which term describes a field in the IPv4 packet header used to detect corruption in the IPv4 header?

  • header checksum
  • source IPv4 address
  • protocol
  • TTL

Explanation: The header checksum field is used to detect corruption in the IPv4 header.

11. What kind of ICMP message can be used by threat actors to map an internal IP network?

  • ICMP echo request
  • ICMP router discovery
  • ICMP mask reply
  • ICMP redirects

Explanation: Common ICMP messages of interest to threat actors include these:

  • ICMP echo request and echo reply: used to perform host verification and DoS attacks
  • ICMP unreachable: used to perform network reconnaissance and scanning attacks
  • ICMP mask reply: used to map an internal IP network
  • ICMP redirects: used to lure a target host into sending all traffic through a compromised device and create a man-in-the-middle attack
  • ICMP router discovery: used to inject bogus route entries into the routing table of a target host

12. Users in a company have complained about network performance. After investigation, the IT staff has determined that an attacker has used a specific technique that affects the TCP three-way handshake. Wha is the name of this type of network attack?

  • SYN flood
  • DDoS
  • DNS poisoning
  • session hijacking

Explanation: The TCP SYN flood attack exploits the TCP three-way handshake. The threat actor continually sends TCP SYN session request packets with a randomly spoofed source IP address to an intended target.

Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x