Module 16: Attacking the Foundation Quiz Answers

1. 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. What is the name of this type of network attack?

  • DNS poisoning
  • session hijacking
  • SYN flood
  • DDoS

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.

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

  • DoS
  • reconnaissance
  • trust exploitation
  • access

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.

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

  • SYN flood attack
  • port scan attack
  • session hijacking attack
  • reset 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.

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

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

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

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

  • A legitimate network IP address is hijacked by a rogue node.
  • A rogue DHCP server provides false IP configuration parameters to legitimate DHCP clients.
  • A rogue node replies to an ARP request with its own MAC address indicated for the target IP address.
  • 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.

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

  • inside an extension header attached to the main IPv6 packet header
  • inside an options field that is part of the IPv6 packet header
  • inside the Flow Label field
  • 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.

7. 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?

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

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

8. A disgruntled employee is using some free wireless networking tools to determine information about the enterprise wireless networks. This person is planning on using this information to hack the wireless network. What type of attack is this?

  • Trojan horse
  • access
  • reconnaissance
  • DoS

Explanation: A reconnaissance attack is the unauthorized discovery and documentation of various computing networks, network systems, resources, applications, services, or vulnerabilities.

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

  • TTL
  • source IPv4 address
  • protocol
  • header checksum

Explanation: The header checksum is used to determine if any errors have been introduced during transmission.

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

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

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.

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

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

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.

12. 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.)

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

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.

13. 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?

  • SYN
  • ACK
  • RST
  • FIN

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.

Notify of

Inline Feedbacks
View all comments
Would love your thoughts, please comment.x