Study guide · Domain 4.0
Network Security
14% of the exam · 3 exam objectives
Domain 4 covers why network security matters and how it is done: encryption for data in transit and at rest, certificates and PKI, identity and access management (MFA, SSO, RADIUS, TACACS+, LDAP, SAML), least privilege, physical security, deception, risk terms, compliance and segmentation (4.1); the attacks a network faces, from DoS and VLAN hopping to ARP and DNS poisoning, rogue devices, evil twins, on-path attacks, social engineering and malware (4.2); and the defences that apply in practice: device hardening, NAC with 802.1X, port security and MAC filtering, key management, ACLs, URL and content filtering, and trust zones with a screened subnet (4.3).
A study feature written by ExamDragon, not part of the real exam. Each heading is one of this domain's 3 exam objectives, as CompTIA states it in the N10-009 objectives.
At a glance
Domain 4.0of the exam, as CompTIA weights it for N10-009
- Weight
- 14%
- Objectives
- 3
- Key terms
- 10
What this guide covers, objective by objective
4.1Explain the importance of basic network security concepts.
- Encryption protects data in transit (moving across a network: TLS, IPsec, VPNs) and data at rest (stored on drives, databases and backups: full-disk and file encryption). Match the control to the state of the data.
- Certificates bind a public key to an identity. A public key infrastructure (PKI) issues and revokes them through a trusted certificate authority; a self-signed certificate is signed by its own key, so clients do not trust it unless it is added by hand.
- Identity and access management (IAM) covers authentication and authorization. MFA combines factors from different categories (know, have, are). SSO lets one sign-in reach many applications; SAML carries XML assertions for web SSO; LDAP queries a directory; time-based authentication uses codes that expire. RADIUS (UDP, password encrypted, authentication and authorization combined) and TACACS+ (TCP, whole payload encrypted, AAA separated) are central AAA protocols.
- Authorization decides what an authenticated identity may do: least privilege grants only what a task needs, role-based access control grants rights through roles, and geofencing allows or blocks access by location.
- Physical security (cameras, locks) protects the equipment; deception technologies (a honeypot is one decoy system, a honeynet a decoy network) lure attackers and reveal their methods.
- Terms: a vulnerability is a weakness, a threat what could use it, an exploit how it is used, and risk the likelihood and impact. The CIA triad is confidentiality, integrity and availability. Audits and compliance include data locality, PCI DSS for card data and GDPR for personal data.
- Network segmentation enforcement puts devices of different trust in separate segments: IoT and IIoT, SCADA, ICS and OT systems, guest devices and BYOD devices.
- The situationA clinic wants staff to reach the scheduling web application from home, and its network switches need administrator sign-in that is logged command by command.
- Step 1Remote staff traffic crosses the internet, so it is data in transit: protect it with TLS on the application.
- Step 2Add MFA, for example a password and a time-based code from an authenticator app, because these are two different factor types.
- Step 3For switch administration, use TACACS+, which separates authorization and accounting so each command can be checked and logged.
- Where questions turnTreating two secrets of the same kind (a password and a PIN) as MFA, or mixing up RADIUS and TACACS+: RADIUS is UDP and encrypts only the password; TACACS+ is TCP and encrypts the whole payload.
- The takeawayFirst ask what state the data is in and what kind of access is being granted, then pick the encryption and the IAM protocol that fit.
4.2Summarize various types of attacks and their impact to the network.
- Denial of service (DoS) floods or crashes a target from one source; distributed denial of service (DDoS) does it from many, often a botnet. Both attack availability.
- VLAN hopping reaches another VLAN by switch spoofing (negotiating a trunk) or double tagging (an outer tag matching the native VLAN). MAC flooding fills the switch's MAC address table so it floods frames out every port in the VLAN, letting an attacker capture traffic.
- ARP poisoning and ARP spoofing send false ARP replies so hosts map a trusted IP, often the gateway, to the attacker's MAC. DNS poisoning places false records in a resolver's cache; DNS spoofing forges DNS answers. Both send users to the wrong address.
- Rogue devices and services are unauthorized: a rogue DHCP server hands out wrong addresses or gateways, a rogue AP opens an unmanaged way into the network, and an evil twin is a rogue AP that copies a real network name.
- An on-path attack places the attacker between two parties to read or change traffic; ARP poisoning, an evil twin and a rogue DHCP server naming itself the gateway can all create one.
- Social engineering targets people: phishing (deceptive messages), dumpster diving (discarded material), shoulder surfing (watching screens and keyboards) and tailgating (following someone through a secured door). Malware is malicious software that can spread across the network.
- The situationUsers on one subnet can reach the internet but their banking site shows a certificate warning, and a capture shows their gateway traffic going to an unfamiliar MAC address.
- Step 1Check the ARP cache on an affected host: the gateway's IP maps to a laptop's MAC, not the router's.
- Step 2Recognise ARP poisoning creating an on-path position; the certificate warning appears because the attacker cannot present the bank's real certificate.
- Step 3Isolate the laptop's switch port and restore correct ARP entries, then look at preventive switch features.
- Where questions turnConfusing MAC flooding (overloading the switch's address table) with ARP poisoning (lying about which MAC owns an IP), or a rogue DHCP server (wrong lease) with DNS poisoning (wrong name answer).
- The takeawayFind where the evidence lands (ARP cache, DHCP lease, DNS cache, switch table) and you have the attack.
4.3Given a scenario, apply network security features, defense techniques, and solutions.
- Device hardening reduces a device's own attack surface: disable unused ports and services and change default passwords before a device goes into service.
- Network access control (NAC) decides which devices join. 802.1X keeps a port closed until a supplicant's credentials are checked by an authentication server, usually RADIUS. Port security limits the MAC addresses a switch port may learn and acts on a violation. MAC filtering allows or blocks listed hardware addresses but is weak because MAC addresses can be spoofed.
- Key management handles cryptographic keys through their life: generating, storing securely, distributing, rotating, revoking and destroying them. A key that may have been exposed is revoked and replaced.
- Security rules control traffic. An access control list (ACL) permits or denies by source, destination, protocol and port, read top to bottom with the first match winning and an implicit deny at the end.
- URL filtering blocks or allows websites by address or category; content filtering inspects what traffic contains, such as file types or kinds of material, whatever the source.
- Zones group systems by trust: the internal network is trusted, the internet and guest networks are untrusted, and a screened subnet holds public-facing servers between them so a compromise there does not reach the inside directly.
- The situationA firewall has rule 1 permit any from inside to any, and rule 2 deny inside to TCP 23, yet Telnet still works.
- Step 1Read the ACL from the top: Telnet traffic matches rule 1 first and is permitted.
- Step 2Move the specific deny above the broad permit so Telnet now matches the deny.
- Step 3Test from an inside host that Telnet fails and that other traffic still passes.
- Where questions turnChoosing MAC filtering when the question asks for the strongest way to control who joins: MAC addresses can be copied, so 802.1X is the better answer.
- The takeawayIn an ACL the first match wins, so specific rules go above general ones.
Key terms
- CIA
- Confidentiality, Integrity, and Availability
- MFA
- Multifactor Authentication
- SSO
- Single Sign-on
- RADIUS
- Remote Authentication Dial-in User Service
- TACACS+
- Terminal Access Controller Access Control System Plus
- SAML
- Security Assertion Markup Language
- PKI
- Public Key Infrastructure
- ARP
- Address Resolution Protocol
- NAC
- Network Access Control
- ACL
- Access Control List
Show the answer
It is ARP poisoning (ARP spoofing), which gives the attacker an on-path position between the users and the gateway. 802.1X port-based authentication, with credentials checked by a RADIUS server, keeps a port closed to any device that cannot authenticate.
Built to CompTIA's Network+ N10-009 exam objectives, version 4.0. The explanations, worked examples and traps are ExamDragon's own. Every source this path is built on.
