Courseiva
Malware, Social Engineering and Network AttacksmediumMultiple ChoiceObjective-mapped

CEH Practice Question: Malware, Social Engineering and Network Attacks

Which of the following tools is specifically designed to perform MAC flooding to force a switch into fail-open mode, allowing packet sniffing?

⚠ Common exam trap

Many exam-takers confuse MAC flooding with ARP poisoning, and mistakenly choose Ettercap (which is famous for ARP spoofing) instead of recognizing that macof is the dedicated tool for CAM table overflow attacks.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

macof

The macof tool (part of the dsniff suite) is specifically designed to perform MAC flooding attacks. It floods a switch with thousands of random MAC addresses, exhausting the Content Addressable Memory (CAM) table. When the CAM table is full, the switch enters fail-open mode and begins flooding all frames out all ports, effectively turning it into a hub and allowing an attacker to sniff traffic that was not originally destined for their port.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Ettercap

    Why it's wrong here

    Ettercap is primarily a comprehensive suite for man-in-the-middle (MITM) attacks, specializing in ARP spoofing or ARP poisoning. It manipulates the Address Resolution Protocol cache on target hosts to redirect network traffic through the attacker's machine, enabling passive sniffing, active content filtering, and session hijacking. While powerful for traffic interception and manipulation, Ettercap's design does not include functionality for generating a high volume of random MAC addresses to overwhelm a switch's CAM table, which is the mechanism of MAC flooding.

  • Wireshark

    Why it's wrong here

    Wireshark is a widely used, open-source network protocol analyzer designed for passive network monitoring and troubleshooting. Its core function involves capturing live network traffic and displaying detailed packet data, allowing users to inspect protocols, analyze network performance, and diagnose communication issues. Wireshark is a forensic and diagnostic tool that observes and interprets existing network activity; it does not actively generate or inject malicious traffic, nor does it possess capabilities to launch denial-of-service attacks like MAC flooding.

  • Nmap

    Why it's wrong here

    Nmap, or Network Mapper, is a robust utility primarily used for network discovery and security auditing. Its capabilities include identifying active hosts on a network, detecting open ports, determining operating systems, and identifying service versions running on target machines. Nmap achieves this through various scanning techniques that send crafted packets and analyze responses. While it can generate network traffic for reconnaissance, Nmap is not designed to perform MAC flooding by overwhelming a switch's CAM table with a deluge of spoofed MAC addresses; its focus is on mapping and enumeration, not denial-of-service.

  • macof

    Why this is correct

    macof, a tool within the dsniff suite, is specifically engineered to execute MAC flooding attacks against network switches. It operates by rapidly generating and transmitting a massive number of Ethernet frames, each containing a unique, randomly generated source MAC address. This malicious activity aims to exhaust the switch's Content Addressable Memory (CAM) table, forcing the switch to enter a "fail-open" or "hub mode" state. In this state, the switch broadcasts all incoming traffic to every connected port, thereby allowing an attacker to passively sniff all network communications.

Quick reference

Access Control Model Comparison

ModelAcronymWho Controls Access?Best For
Discretionary Access ControlDACResource ownerSmall teams, file shares
Mandatory Access ControlMACSystem / security labelsClassified govt / military
Role-Based Access ControlRBACAdministrator (via roles)Enterprise environments
Attribute-Based Access ControlABACPolicy engine (user + resource attributes)Fine-grained, dynamic policies
Rule-Based Access ControlRuBACSystem rules / ACLsFirewall rules, network ACLs

About these practice questions

This CEH question is part of Courseiva's 870-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This CEH practice question is part of Courseiva's free EC-Council certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the CEH exam.