🌍 Ethical Hacking · subject

Ethical Hacking Networking Fundamentals Syllabus

The Networking Fundamentals syllabus for Ethical Hacking in full: 3 chapters and 12 topics, every one listed below, plus 50 Networking Fundamentals flashcards with answers.

3Chapters
12Topics
50Flashcards

Networking Fundamentals syllabus: all 3 chapters

Expand any chapter to see its topics and sub-topics.

  1. Basic Networking Concepts

    4 topics
    • OSI Model
    • TCP/IP Model
    • IP Addressing and Subnetting
    • Ports and Protocols
  2. Network Devices

    4 topics
    • Routers and Switches
    • Firewalls
    • Wireless Access Points
    • Intrusion Detection and Prevention Systems
  3. Network Security

    4 topics
    • Network Segmentation
    • Virtual Private Networks (VPNs)
    • Network Monitoring and Analysis
    • Secure Network Design

Ethical Hacking Networking Fundamentals flashcards — 50 questions with answers

  1. What are the seven layers of the OSI model, in order from Layer 1 to Layer 7?

    Physical, Data Link, Network, Transport, Session, Presentation, Application. A common mnemonic is 'Please Do Not Throw Sausage Pizza Away.'

  2. At which OSI layer do switches primarily operate, and what address do they use to forward frames?

    Switches operate at Layer 2 (Data Link) and forward frames using MAC addresses.

  3. At which OSI layer do routers operate, and what address do they use?

    Routers operate at Layer 3 (Network) and forward packets using IP addresses.

  4. Which OSI layer is responsible for reliable, connection-oriented delivery and segmentation, and which protocol exemplifies it?

    Layer 4 (Transport); TCP provides reliable, connection-oriented delivery with sequencing and acknowledgments.

  5. What is the Protocol Data Unit (PDU) name at OSI Layers 4, 3, 2, and 1 respectively?

    Layer 4 = Segment (TCP) / Datagram (UDP), Layer 3 = Packet, Layer 2 = Frame, Layer 1 = Bits.

  6. What are the four layers of the TCP/IP model?

    Link (Network Access), Internet, Transport, and Application.

  7. How do the TCP/IP model layers map to the OSI model?

    TCP/IP Application = OSI Layers 5-7; TCP/IP Transport = OSI Layer 4; TCP/IP Internet = OSI Layer 3; TCP/IP Link = OSI Layers 1-2.

  8. Describe the three-step TCP three-way handshake.

    1) Client sends SYN; 2) Server replies SYN-ACK; 3) Client sends ACK. The connection is then established.

  9. What are the key differences between TCP and UDP?

    TCP is connection-oriented, reliable, ordered, with flow/congestion control and higher overhead. UDP is connectionless, unreliable, unordered, low-overhead, and faster—used for streaming, DNS, and VoIP.

  10. How many bits are in an IPv4 address and an IPv6 address?

    IPv4 uses $32$ bits; IPv6 uses $128$ bits.

  11. What are the default (classful) subnet masks for Class A, B, and C networks?

    Class A: $255.0.0.0$ (/8), Class B: $255.255.0.0$ (/16), Class C: $255.255.255.0$ (/24).

  12. What formula gives the number of usable hosts in an IPv4 subnet with $h$ host bits?

    $$\text{Usable hosts} = 2^{h} - 2$$ subtracting the network and broadcast addresses.

  13. How many usable host addresses does a /24 subnet provide?

    With $8$ host bits: $2^{8} - 2 = 254$ usable hosts.

  14. What formula gives the number of subnets created when borrowing $n$ bits from the host portion?

    $$\text{Subnets} = 2^{n}$$

  15. List the three private IPv4 address ranges defined by RFC 1918.

    $10.0.0.0/8$, $172.16.0.0/12$, and $192.168.0.0/16$.

  16. What is the IPv4 loopback address and what is it used for?

    $127.0.0.1$ (the $127.0.0.0/8$ block); it refers to the local host itself for testing the local TCP/IP stack.

  17. What is the CIDR notation for a subnet mask of $255.255.255.192$, and how many usable hosts does it give?

    /26 (26 network bits, 6 host bits); $2^{6} - 2 = 62$ usable hosts.

  18. What is the APIPA range, and when is it assigned?

    $169.254.0.0/16$; automatically self-assigned when a host cannot reach a DHCP server.

  19. What port and protocol do HTTP and HTTPS use?

    HTTP uses TCP port $80$; HTTPS uses TCP port $443$.

  20. What ports do FTP use for control and data channels?

    FTP uses TCP port $21$ for control and TCP port $20$ for active-mode data transfer.

Show the other 30 Networking Fundamentals flashcards
  1. What port does SSH use, and what does it provide?

    TCP port $22$; SSH provides encrypted remote shell access and secure tunneling/file transfer (SCP/SFTP).

  2. What ports and protocols does DNS use?

    DNS uses UDP port $53$ for standard queries and TCP port $53$ for zone transfers and large responses.

  3. What ports do SMTP, POP3, and IMAP use?

    SMTP = TCP $25$ (submission $587$), POP3 = TCP $110$, IMAP = TCP $143$ (secure IMAPS = $993$).

  4. What ports do Telnet and RDP use?

    Telnet uses TCP port $23$ (unencrypted); RDP uses TCP port $3389$.

  5. What ports does DHCP use?

    DHCP uses UDP port $67$ (server) and UDP port $68$ (client).

  6. What is the well-known port number range, and what is the total number of TCP/UDP ports?

    Well-known ports are $0$–$1023$; total ports range $0$–$65535$, i.e. $2^{16} = 65536$ ports.

  7. What is the primary functional difference between a hub and a switch?

    A hub is a Layer 1 device that repeats signals to all ports (one collision domain); a switch is a Layer 2 device that forwards frames only to the destination port using a MAC table, giving each port its own collision domain.

  8. What is a VLAN and what security benefit does it provide?

    A Virtual LAN logically segments a switch into separate broadcast domains. It isolates traffic, limiting broadcast scope and reducing the attack surface between groups of hosts.

  9. What is the difference between a collision domain and a broadcast domain?

    A collision domain is a segment where packet collisions can occur (bounded by switches/routers); a broadcast domain is the set of devices that receive a broadcast frame (bounded by routers/VLANs).

  10. What Layer 2 protocol prevents switching loops, and how?

    Spanning Tree Protocol (STP); it blocks redundant paths to build a loop-free logical topology while keeping backup links available.

  11. What is the difference between a stateless (packet-filtering) firewall and a stateful firewall?

    A stateless firewall inspects each packet independently against rules (IP/port/protocol). A stateful firewall tracks connection state in a state table and allows return traffic for established sessions.

  12. What is a next-generation firewall (NGFW) and how does it differ from a traditional firewall?

    An NGFW adds deep packet inspection, application awareness (Layer 7), integrated IPS, and user identity/threat intelligence beyond simple port/IP filtering.

  13. What is the difference between a firewall's default-deny (whitelist) and default-allow (blacklist) policy?

    Default-deny blocks all traffic except explicitly permitted flows (more secure); default-allow permits everything except explicitly blocked flows (less secure).

  14. What is a DMZ in network design?

    A demilitarized zone is a perimeter subnet that hosts public-facing services (web, mail, DNS) between the untrusted internet and the trusted internal network, isolating them so a breach doesn't directly expose the LAN.

  15. What is the difference between the 2.4 GHz and 5 GHz Wi-Fi bands?

    $2.4\,\text{GHz}$ offers longer range and better wall penetration but fewer non-overlapping channels and more interference; $5\,\text{GHz}$ offers higher throughput and more channels but shorter range.

  16. Rank the Wi-Fi security protocols WEP, WPA, WPA2, and WPA3 from weakest to strongest, noting their encryption.

    WEP (weakest, RC4, broken) < WPA (TKIP) < WPA2 (AES-CCMP) < WPA3 (strongest, AES + SAE/forward secrecy).

  17. What is an 'evil twin' attack on a wireless network?

    An attacker sets up a rogue access point mimicking a legitimate SSID to trick users into connecting, enabling interception of their traffic and credentials.

  18. What is the difference between an SSID and a BSSID?

    The SSID is the human-readable network name; the BSSID is the MAC address of the specific access point's radio.

  19. What is the core difference between an IDS and an IPS?

    An IDS (Intrusion Detection System) passively monitors and alerts on suspicious traffic; an IPS (Intrusion Prevention System) sits inline and can actively block or drop malicious traffic in real time.

  20. Compare signature-based and anomaly-based detection in IDS/IPS.

    Signature-based detection matches traffic against known attack patterns (low false positives, misses zero-days). Anomaly-based detection flags deviations from a learned baseline (can catch novel attacks but has more false positives).

  21. What is the difference between a NIDS and a HIDS?

    A Network IDS (NIDS) monitors traffic across a network segment; a Host IDS (HIDS) monitors activity, logs, and files on a single host.

  22. Define true positive, false positive, false negative, and true negative for an IDS.

    True positive = attack correctly alerted; false positive = benign traffic wrongly alerted; false negative = attack missed (no alert); true negative = benign traffic correctly ignored.

  23. What is network segmentation and why is it a security best practice?

    Dividing a network into isolated segments/zones so that traffic between them is controlled. It limits lateral movement, contains breaches, and reduces the attack surface (enforcing least privilege at the network level).

  24. What is microsegmentation?

    A fine-grained segmentation approach that isolates individual workloads or hosts (often down to the VM/container level) with per-workload policies, typically enforced in software to stop east-west lateral movement.

  25. What is the primary purpose of a VPN?

    To create an encrypted tunnel over an untrusted network (like the internet), providing confidentiality, integrity, and authentication for data in transit between endpoints.

  26. Compare IPsec and SSL/TLS VPNs.

    IPsec operates at Layer 3, securing all IP traffic (often site-to-site), needing a client. SSL/TLS VPNs operate at Layers 4-7, are typically clientless via a browser, and are used for remote-access to specific applications.

  27. What are the two IPsec modes, and how do they differ?

    Transport mode encrypts only the packet payload (host-to-host). Tunnel mode encrypts the entire original IP packet and adds a new header (used for site-to-site gateways).

  28. What is the difference between IPsec's AH and ESP protocols?

    AH (Authentication Header) provides integrity and authentication but no encryption. ESP (Encapsulating Security Payload) provides confidentiality (encryption) plus integrity and authentication.

  29. What is a packet sniffer, and name a common tool used for network monitoring and analysis.

    A packet sniffer captures and inspects network traffic for analysis. Wireshark is the most common tool; tcpdump is a common CLI alternative.

  30. What is the difference between a SPAN/port-mirror and a network TAP for monitoring?

    A SPAN port copies traffic in software on a switch (can drop packets under load); a network TAP is a passive hardware device inserted inline that copies traffic without loss and is invisible to attackers.

Ethical Hacking Networking Fundamentals FAQ

What is in the Ethical Hacking Networking Fundamentals syllabus?

Ethical Hacking Networking Fundamentals is split into 3 chapters: Basic Networking Concepts, Network Devices and Network Security. Together they contain 12 topics.

How many chapters are in Ethical Hacking Networking Fundamentals?

3 chapters, containing 12 topics. The largest chapter is Basic Networking Concepts, with 4 topics.

Are there flashcards for Ethical Hacking Networking Fundamentals?

Yes — a 50-card Networking Fundamentals deck, printed in full in the flashcards section of this page and available in the Examius app with spaced repetition. The free plan covers one exam of your choice, including its flashcards; Examius Pro, a one-time purchase, unlocks every other exam and deck.