Network Security Basics

Learn how attackers target business networks and how to stop them. Recognize denial-of-service, spoofing, rogue-device, phishing and password attacks; split a network into segments with hardened VLANs; and filter traffic with access control lists, firewalls, security zones and intrusion prevention. Then lock down switch ports with port security, DHCP snooping and 802.1X, harden routers and switches, control administrator access with AAA and multifactor authentication, and connect branch offices and remote workers with site-to-site and remote-access VPNs.

BeginnerLesson 8 of 9 in Networking Fundamentals Course

What you will learn

  1. Name the main kinds of attack on business networks, explain the weakness each one uses, and connect each attack to the defense that stops it.
    • Explain threats, vulnerabilities and denial-of-service attacks
      Use the basic vocabulary of network attacks and explain how DoS, DDoS, SYN floods and amplification attacks make services unavailable.
    • Identify attacks on switching, addressing and wireless access
      Explain how MAC flooding, ARP and DNS spoofing, rogue DHCP servers, rogue access points, evil twins and VLAN hopping let an attacker intercept or redirect traffic inside a network.
    • Recognize social engineering, malware and password attacks
      Spot attacks that target people, credentials and physical access, describe the main kinds of malware and how they spread across a network, and name the defenses that limit the damage.
  2. Divide a network into segments of different trust, decide which traffic may pass between them, and configure switches so that VLAN boundaries cannot be bypassed.
    • Plan network segments and the traffic allowed between them
      Explain why a flat network is risky, use VLANs and subnets to separate groups of devices, and write a simple policy for the traffic between segments.
    • Harden VLANs and trunks against VLAN hopping
      Explain how switch spoofing and double tagging work, and configure access ports, trunks, the native VLAN and unused ports so that these attacks fail.
  3. Write and place ACLs, choose a suitable kind of firewall, and build zone-based rule sets with a screened subnet and intrusion detection or prevention.
    • Write, place and verify access control lists
      Read and write standard and extended ACLs with wildcard masks, predict which entry matches a packet, and apply a list to the right interface and direction.
    • Compare firewall types and design rule sets
      Distinguish packet-filtering, stateful, application-layer and next-generation firewalls, use URL and content filtering, and build a rule set that allows only the traffic that is needed.
    • Place servers in security zones and detect intrusions
      Group networks into trusted, untrusted and screened zones, decide which traffic may cross between them, and use IDS, IPS and honeypots to detect and stop attacks.
  4. Protect switch ports and wireless access so that only known and approved devices join the network, and each one lands in the right segment.
    • Protect switch ports with port security, DHCP snooping and ARP inspection
      Configure port security and its violation modes, and use DHCP snooping, Dynamic ARP Inspection, storm control and related Layer 2 features to stop attacks from inside the LAN.
    • Admit devices with 802.1X and network access control
      Explain how 802.1X and a RADIUS server authenticate users and devices before they get access, how NAC checks device health, and how wireless networks apply the same ideas.
  5. Reduce the attack surface of switches, routers and firewalls, manage them only over secure channels, and control who may administer them with AAA, strong passwords and multifactor authentication.
    • Harden device configurations and management access
      Change default settings, turn off unused ports and services, manage devices over secure protocols from restricted sources, keep firmware current and make every change traceable.
    • Control administrator access with AAA and strong authentication
      Explain authentication, authorization and accounting on network devices, compare RADIUS and TACACS+, and set password and MFA rules that resist guessing.
  6. Choose the right kind of VPN for a situation and explain how IPsec, TLS and other VPN protocols protect traffic that crosses untrusted networks.
    • Choose between VPN types for sites and remote users
      Compare site-to-site, client-to-site and clientless VPNs and full-tunnel and split-tunnel designs, and choose the right one for a given situation.
    • Explain how IPsec and TLS VPNs protect traffic
      Describe the parts of IPsec, compare it with TLS-based and other VPN protocols, and manage the keys and certificates that VPNs depend on.

Network Security study guide

6 chapters

1

Recognize common network attacks and how they work

Network attacks leave different traces because they target different resources and assumptions. A flood may exhaust a link, a forged ARP message may redirect local traffic, and a convincing message may steal a login. Learn to connect each observed behavior to its mechanism and to a defense placed where it can help. The examples move from service overload to local redirection, then to people, malware and credentials.

1.1 Recognize what an attack exhausts

A network attack exploits a weakness to cause harm. Naming the weakness and the resource under pressure helps you choose a defense that can actually work.

Connect the attack to the weakness

A threat can cause harm: an attacker, an insider or a fire. A vulnerability is a weakness, such as old firmware or a default password. An exploit is the technique or code used against that weakness. A mitigation removes the weakness or reduces its effect. For a vulnerable VPN login service, the flaw is the vulnerability, attack code is the exploit, and installing the vendor's fix is the mitigation. Turning off the exposed service can reduce exposure while the update is arranged.

The attack surface is the collection of places an attacker can try: services, ports, accounts, devices and wireless networks. Disabling an unused management service removes an entry point. Adding another password to that unused service leaves the entry point present.

Separate three kinds of overload

A denial-of-service (DoS) attack makes a service unavailable. A distributed DoS (DDoS) uses many sources, often compromised devices controlled as a botnet. Blocking one address leaves the other sources sending traffic.

Attack typeResource exhaustedUseful evidence
VolumetricCapacity of the incoming linkSustained traffic near link capacity
ProtocolConnection or protocol stateMany incomplete connections
Application-layerWork needed to answer requestsExpensive requests and high server load

In a SYN flood, many TCP handshakes stop after the server sends SYN-ACK. The final ACK never arrives, leaving half-open connections waiting in a queue. SYN cookies let the server defer keeping connection state until the client completes the handshake. Connection-rate limits and shorter time-outs can also reduce the pressure.

Work through reflection and amplification

With reflection, an attacker forges the victim's source address in requests to other servers. Those servers reply to the victim. With amplification, the replies are larger than the requests. UDP-based services are attractive because there is no initial connection handshake to validate the claimed source.

Suppose 500 bots each send 4 Mbit/s of queries. Their combined request rate is 2,000 Mbit/s, or 2 Gbit/s. A 60-byte query producing a 3,000-byte reply gives an amplification factor of 50. Ignoring other overhead, the victim receives about 100 Gbit/s. The large replies come from the reflectors, even though the attacker sent much less traffic.

Put the defense before the bottleneck

If the incoming link is already full, the organization's firewall receives only the traffic that gets through that link. Dropping attack packets there cannot restore the capacity lost upstream. The ISP or a cloud scrubbing service must filter a large volumetric flood before it reaches the business connection. Preventing open DNS resolvers and filtering forged source addresses also reduces a network's usefulness to attackers.

A traffic spike alone is not enough to identify an attack. Compare connection counts, half-open sessions, request patterns and CPU load with the normal baseline. A busy sales event can increase legitimate demand too.

Key Takeaways

  • A threat can use a vulnerability through an exploit; a mitigation removes or limits the weakness.
  • DoS attacks exhaust bandwidth, protocol state or application resources; DDoS uses many sources.
  • SYN cookies reduce state held for incomplete TCP handshakes.
  • Reflection redirects replies; amplification makes those replies larger than the requests.
  • Filter a link-filling flood upstream of the saturated link.

1.2 Spot false identities inside a network

Local networks rely on learned information: which port reaches a MAC address, which MAC address belongs to a gateway, and which server answers a name. Attackers can replace that information and redirect traffic.

Recognize an on-path position

An on-path attack, also called a man-in-the-middle attack, sends communication through the attacker. The attacker can read or change unencrypted traffic, or drop it. HTTPS and SSH protect content even when the path crosses an untrusted device, provided identity checks succeed.

MAC flooding sends many fake source MAC addresses to fill a switch's address table. Frames for unknown destinations may then be flooded within the VLAN, exposing traffic to other ports. Port security limits the addresses learned on a port. The effect of a full table depends on the switch, so check its behavior instead of assuming every frame becomes visible.

Follow a forged ARP mapping

ARP maps a local IPv4 address to a MAC address. In ARP spoofing, an attacker sends false ARP messages. ARP poisoning is the resulting false cache entry.

A PC at 192.168.1.50 expects gateway 192.168.1.1 to have MAC address 00:1A:2B:3C:4D:5E. A forged reply claims that the gateway uses 00:AA:BB:CC:DD:EE. The PC now sends gateway-bound frames to that address. If the attacker forwards them, the connection may still work while the attacker sits on-path. Compare arp -a with the gateway's known address; the attacker's own IP need not appear in the cache. Dynamic ARP Inspection (DAI) rejects mappings that fail its checks.

Distinguish three ways to redirect clients
TechniqueWhat changesResult
Rogue DHCP serverAddress settings given to clientsA false gateway or DNS server
DNS spoofing or cache poisoningAn answer or cached name recordA name resolves to a false address
Hosts-file tamperingA local name-to-address entryThe local entry redirects the name

A false DHCP gateway can put routed traffic through the attacker. A false DNS server can redirect selected names. DHCP snooping blocks server replies from untrusted ports. DNSSEC validates signed DNS data; it does not encrypt DNS traffic. A poisoned DNS cache entry lasts until removal or expiry, while a malicious hosts-file entry stays until removed.

Check wireless and VLAN boundaries

A rogue access point joins the wired network without approval and opens an unwanted wireless route into it. An evil twin copies a legitimate SSID to attract clients. Wireless monitoring, wired 802.1X and correct authentication-server certificate validation help prevent these attacks. A familiar network name alone does not identify a trusted access point.

VLAN hopping bypasses the intended routing boundary. Switch spoofing succeeds when an endpoint negotiates a trunk. Double tagging exploits an access VLAN that is also an untagged trunk native VLAN: one switch removes the outer tag, exposing the inner target tag to the next switch. This path is generally one-way. Fixed access ports, static trunks, disabled negotiation and an unused native VLAN close these paths.

Key Takeaways

  • ARP poisoning changes local IP-to-MAC mappings; DNS poisoning changes name-to-IP mappings.
  • A rogue DHCP gateway redirects routed traffic; a rogue DNS setting redirects selected names.
  • A rogue access point is unauthorized; an evil twin imitates a trusted wireless network.
  • Switch spoofing abuses trunk negotiation, while double tagging abuses the native VLAN.
  • Local switch protections and encrypted protocols protect against threats already inside the LAN.
  • Compare observed mappings with known-good information before deciding what changed.

1.3 Recognize attacks on people and credentials

An attacker can gain network access by persuading a person, stealing a password or connecting a device. A technically sound firewall cannot check whether a caller claiming to be the helpdesk is telling the truth.

Read the request before reacting

Social engineering uses urgency, authority or helpfulness to obtain access. Phishing uses deceptive messages; spear phishing targets a particular person or role. Vishing uses voice calls and smishing uses text messages. An urgent message asking you to sign in at an unfamiliar domain is a reason to stop and verify through a known channel. Report the message and open the service through its known address.

Watching a password being typed is shoulder surfing. Searching discarded documents or equipment is dumpster diving. Following a badge holder through a locked door is tailgating. These methods exploit everyday work habits, so badge procedures, secure disposal and escorted visitors matter alongside software controls.

Tell malware apart by what it does
TypeDistinguishing behavior
VirusAttaches to a file or program and spreads when it is used
WormSpreads across vulnerable network services without user action
TrojanAppears useful while hiding a malicious purpose
RansomwareEncrypts files and demands payment
Spyware or keyloggerCollects private activity or keystrokes
RootkitHides malicious activity deep in the system
BotLets an attacker remotely control the device

These labels can overlap. WannaCry was ransomware that also spread as a worm through vulnerable SMBv1 services on TCP 445 in May 2017. Patching, disabling SMBv1, filtering that service and separating network segments limited its spread. Endpoint protection helps detect malware, but new threats and password theft still require other controls. Backups kept beyond ransomware's reach support recovery.

Identify what the password attacker tries

Brute force tries combinations. A dictionary attack tries likely words, leaked passwords and variations. Password spraying tries a small number of common passwords across many accounts. Credential stuffing tests username-password pairs stolen from other services. Spraying spreads guesses across users; stuffing exploits password reuse.

An online attacker meets the live service's delays and lockouts. An offline attacker tests stolen password hashes without contacting the login service, so that service's lockout cannot slow the guesses. Long, unique passwords, a password manager, leaked-password checks and slow salted password hashing address different parts of the problem.

Protect the remaining routes in

Multifactor authentication (MFA) requires different factor types, so a password alone is insufficient. Hardware security keys can resist phishing that captures passwords and one-time codes. Ordinary code-based MFA can still be phished, so users must check where they sign in.

Lock network rooms and racks. Console access combined with a restart may let an intruder use a device's password-recovery procedure. A visitor who can reach an open switch port may connect a rogue device even without knowing a Wi-Fi password.

Key Takeaways

  • Verify unexpected access requests through a known channel.
  • Worms spread through vulnerable services without someone opening an infected file.
  • Password spraying tests a few passwords across many accounts; stuffing reuses leaked account pairs.
  • Offline guessing bypasses live-login lockouts.
  • Use unique passwords and MFA, and secure physical access to network equipment.
2

Separate the network into segments and secure VLANs

Good segmentation starts with a clear description of who needs to reach what. Work from those needs to separate staff, servers, guests and management, then enforce the permitted flows where traffic crosses between them. Switch settings also matter: endpoints must stay on access ports, trunks must carry only needed VLANs, and native-VLAN handling must agree at both ends. Tests check that the intended boundaries actually hold.

2.1 Turn segmentation into permitted traffic flows

Segmentation separates device groups and controls communication between them. It limits lateral movement, an attacker's progress from a compromised device to other reachable systems.

Separate groups and enforce crossings

Physical segmentation uses separate equipment; an air gap has no connection to other networks. VLANs provide logical segmentation on shared switches. Each is a Layer 2 broadcast domain, normally with its own subnet.

A router, Layer 3 switch or firewall connects VLANs. Apply ACLs or firewall rules there. Creating VLANs without filtering leaves routed communication open: broadcast separation alone is not an access policy.

Group devices by their needs

Separate staff, servers, voice, guests, management and IoT devices. Personal BYOD devices usually receive limited access. OT, or operational technology, controls physical processes and needs strict isolation because outages have physical effects and patching can be difficult.

Management interfaces should accept connections only from approved administrator sources. Guests need internet access without internal access; cameras need their recorder. Effective isolation can also reduce the systems included in a payment-card security assessment. Demonstrate that isolation through the actual permitted paths.

Turn needs into rules

Use VLAN 10 Staff on 10.10.10.0/24, VLAN 20 Servers on 10.10.20.0/24, VLAN 30 Guest on 10.10.30.0/24, VLAN 40 Cameras on 10.10.40.0/24 and VLAN 99 Management on 10.10.99.0/24.

SourceDestinationRequired service
StaffNamed application and file serversTCP 443 and TCP 445 as needed
GuestInternetApproved internet services
CamerasRecorder 10.10.20.30Required video service
Admin PCs 10.10.10.5 and .6Management devicesApproved management services

Deny other inter-segment flows. This is default deny: identify the required source, destination, protocol and service, then block the rest. A camera-to-recorder rule should not also open every server to the camera subnet.

Test the actual service

From each segment, test a required connection and a forbidden connection. A guest should load an approved public site but fail to open the internal printer's HTTPS interface. A camera should reach its recorder but fail to reach staff PCs. Confirm the expected rule's counter or log changes.

Ping tests ICMP only. A failed ping does not show whether TCP 443 is reachable. Repeat service tests after routing, VLAN or firewall changes.

Key Takeaways

  • A VLAN separates broadcasts; an ACL or firewall controls traffic at the routing boundary.
  • Group devices by their access needs, including separate guest, management and IoT segments.
  • Describe each permitted flow by source, destination, protocol and service.
  • Test both required and forbidden services after changes.

2.2 Keep endpoints off trunks and native VLANs

VLAN security depends on keeping endpoints on access ports and controlling what trunks carry. VLAN tags identify traffic; they do not encrypt it or authenticate its sender.

Stop endpoints from becoming trunks

An access port serves one endpoint VLAN. A trunk carries several VLANs using 802.1Q tags. Its native VLAN carries untagged traffic unless native tagging is enabled.

In switch spoofing, an endpoint impersonates a switch and negotiates a trunk through Cisco DTP. Set endpoint ports to static access mode, real trunks to static trunk mode, and disable negotiation.

Remove the double-tagging path

Double tagging needs the attacker's access VLAN to match an untagged trunk native VLAN. The attacker adds an outer native-VLAN tag and an inner target-VLAN tag. Removal of the outer tag exposes the target tag to the next switch. The usual path is one-way, but can still inject harmful traffic.

Use an unused native VLAN with no endpoints, or enable native-VLAN tagging. Match the native VLAN at both ends: otherwise untagged frames can enter different VLANs at opposite ends. Keep users, servers and management off VLAN 1 and the native VLAN.

Configure and verify the roles

This Cisco IOS example assigns a staff endpoint and an uplink. VLAN 999 is unused; only the listed active VLANs need the trunk.

interface GigabitEthernet1/0/5
 switchport mode access
 switchport access vlan 10
 switchport nonegotiate
!
interface GigabitEthernet1/0/48
 switchport mode trunk
 switchport nonegotiate
 switchport trunk native vlan 999
 switchport trunk allowed vlan 10,20,30,99

Older switches supporting ISL may first need switchport trunk encapsulation dot1q. Limit the allowed list to the far end's actual needs. Check show interfaces trunk for operational trunks, native VLANs and allowed lists, and show interfaces GigabitEthernet1/0/5 switchport for static access operation.

Close unused ports and isolate peers

Shut down unused ports and assign them to an unrouted parking VLAN, such as VLAN 998. A live spare socket still provides a connection; the parking VLAN limits reach if a port is accidentally enabled.

Private VLAN isolated ports reach the promiscuous port, normally toward a gateway, but not each other. Community ports also reach their own community. Wireless client isolation offers comparable peer separation. Routing-boundary rules still control traffic leaving these groups.

Key Takeaways

  • Static access ports stop endpoints from negotiating trunks.
  • Use static trunks with negotiation disabled and only the needed VLANs allowed.
  • Keep endpoints off the native VLAN and match native-VLAN settings at both ends.
  • Shut down unused ports and place them in an unrouted parking VLAN.
  • Private VLAN isolated ports reach the promiscuous port but not each other.
  • Check operational port modes and trunk lists after configuration.
3

Filter traffic with access control lists and firewalls

Traffic filtering turns a network policy into individual decisions. Read an ACL from top to bottom, match addresses and services, and follow replies as well as requests. Then compare firewall inspection methods and place public services in a screened subnet with narrow access to internal systems. Detection and prevention add visibility, but their position and ability to read encrypted content determine what they can see.

3.1 Trace packets through an ACL

An access control list (ACL) checks packets against ordered permit and deny entries. The first matching entry decides the result. If no entry matches, an implicit deny drops the packet.

Choose the fields you need

A standard IPv4 ACL matches only the source address. An extended ACL can match protocol, source, destination and TCP or UDP ports. Cisco numbered standard lists use 1–99 or 1300–1999; extended lists use 100–199 or 2000–2699. Named lists make their purpose easier to recognize and use sequence numbers for editing.

Cisco ACL address ranges use wildcard masks. A zero bit must match; a one bit is ignored. For a subnet, subtract its subnet mask from 255.255.255.255. A /24 uses 0.0.0.255. The range 192.168.10.64/26 uses 0.0.0.63 and covers .64 through .127. host 10.10.20.10 matches one address; any matches every address. Entering 255.255.255.0 as a wildcard would ignore the first three octets and match a last octet of zero, not the intended /24.

Read a complete policy

This named list filters traffic arriving at the router from staff:

ip access-list extended STAFF-IN
 10 permit tcp 10.10.10.0 0.0.0.255 host 10.10.20.10 eq 443
 15 permit udp 10.10.10.0 0.0.0.255 host 10.10.20.53 eq 53
 16 permit tcp 10.10.10.0 0.0.0.255 host 10.10.20.53 eq 53
 20 deny ip 10.10.10.0 0.0.0.255 10.10.20.0 0.0.0.255
 30 permit ip 10.10.10.0 0.0.0.255 any

Trace one packet at a time:

  1. Staff PC 10.10.10.25 sends TCP 443 to 10.10.20.10. Entry 10 matches, so it is permitted.
  2. The same PC sends TCP 3389 to that server. Entries 10, 15 and 16 fail; entry 20 matches and denies it.
  3. The PC sends TCP 443 to public server 203.0.113.80. Entry 20 does not match that destination; entry 30 permits it.
  4. A packet with guest source 10.10.30.7 matches none of these staff-source entries. The implicit deny drops it.

DNS needs both UDP 53 and TCP 53, including TCP for responses that cannot be completed over UDP. Moving entry 30 above entry 20 would permit staff traffic to every server and make the deny unreachable. Removing entry 30 would block the remaining staff traffic, including internet access.

Apply the list where packets cross

On the staff VLAN interface, ip access-group STAFF-IN in filters packets entering the router from staff. Direction is relative to the router interface, not the user. out checks packets leaving that interface. An interface takes one list per protocol per direction.

Extended ACLs usually go near the source to drop unwanted traffic early. Standard ACLs usually go near the destination: because they cannot distinguish destinations, an early source-only deny could block other required paths.

Verify replies as well as requests

These router ACLs are stateless. A reply checked by another ACL needs its own permission. The Cisco established keyword checks TCP ACK or RST flags; it is not a state table and does not help UDP.

Use show access-lists to inspect match counters and show ip interface to confirm attachment and direction. Zero matches can indicate an entry shadowed by an earlier rule. A final explicit deny ip any any log makes denied traffic visible. For Cisco IPv6 ACLs, preserve the required neighbor discovery permissions: an explicit blanket deny before those permissions can break the local link.

Key Takeaways

  • An ACL stops at the first match and drops unmatched packets.
  • A wildcard zero means match; a one means ignore.
  • Put specific permissions before broader denies or permits.
  • Inbound and outbound refer to movement through the device interface.
  • Stateless filtering needs suitable permissions on the reply path.
  • Use match counters and interface bindings to verify the intended policy.
  • DNS requires TCP 53 as well as UDP 53.

3.2 Choose a firewall and build a clear rule set

A firewall applies traffic policy between networks or on an individual host. Choose its inspection method according to the decision it needs to make.

Compare inspection methods
TypeEvidence inspectedResult
Packet filterHeadersIndependent packet decisions
Stateful firewallHeaders and connection stateMatching replies can pass
Application proxyApplication requestsCommands or content can be checked
NGFWState, applications, identities and threatsPolicy beyond port numbers

A stateful firewall recording TCP 10.10.10.25:51514 to 203.0.113.80:443 can recognize the reversed reply. An unrelated incoming connection does not gain permission merely by using source port 443. A stateless filter instead needs appropriate rules for replies.

An application proxy terminates the client's connection and opens another to the server. A WAF specializes in web requests, including attacks such as SQL injection. A next-generation firewall (NGFW) adds application identification, user policy and functions such as IPS or URL filtering. A UTM appliance bundles security functions for smaller organizations.

Check addresses and transferred content

URL filtering checks web addresses or categories. Content filtering examines transferred material, such as executable files or confidential documents. TCP 443 permission alone cannot distinguish a business website from malware or a remote-access tool using HTTPS.

TLS inspection decrypts, inspects and re-encrypts traffic. Clients must trust its certificate authority. Apply organizational and privacy requirements, including exclusions for sensitive categories.

Read an ordered policy

Consider these first-match rules:

  1. Allow Inside to Outside on TCP 80/443 and approved DNS, UDP/TCP 53.
  2. Allow Outside to screened-subnet web server 172.16.1.10 on TCP 443.
  3. Allow admin PCs 10.10.10.5 and .6 to that server on TCP 22.
  4. Deny and log Screened subnet to Inside.
  5. Deny and log the rest.

An inside browser matches rule 1. Outside SSH to the web server reaches rule 5 because it is neither published HTTPS nor traffic from a named admin. A compromised public server starting SMB into Inside hits rule 4. Matching replies use the stateful policy.

Use specific sources, destinations and services, with narrow exceptions before broad matches. Record purpose, owner and review date. Review logs and remove obsolete openings or shadowed rules.

A host firewall protects one device, including a traveling laptop. A network firewall protects traffic crossing its boundary. Internal attacks can avoid the internet edge, so keep both.

Key Takeaways

  • Stateful filtering admits matching return traffic using recorded connection state.
  • Port permission identifies a transport service, not necessarily the application using it.
  • URL filtering checks addresses or categories; content filtering examines transferred material.
  • Apply default deny and document specific required flows.
  • Host and network firewalls protect different traffic boundaries.

3.3 Publish a service without opening the inside network

A public server must accept some internet traffic, but that does not mean the server should share unrestricted access to internal systems. Security zones make those different permissions visible.

Put public services in a screened subnet

A security zone groups interfaces or networks with a common policy. Inside is commonly the trusted zone, Outside the internet, and a screened subnet, also called a DMZ, holds public services. "Trusted" describes the policy grouping; infected devices can still exist there.

Allow Outside to the screened subnet only for published services. Deny Outside to Inside, while admitting replies to connections the stateful firewall allowed from Inside. Deny connections initiated from the screened subnet to Inside except narrowly named dependencies. For example, one web server may need one database port to one internal database. Administrative access should come from named admin hosts.

A three-interface firewall can enforce these boundaries. Alternatively, put the screened subnet between outer and inner firewalls. The latter creates separate policy boundaries but needs more equipment and administration. An attacker reaching a public server through an allowed outer rule still faces the inner rules; the allowed dependencies determine the remaining reach.

Combine publication with permission

Publish private web server 172.16.1.10 by translating public 203.0.113.10 TCP 443 to its private TCP 443 service. This is destination NAT, or port forwarding. The firewall needs both the translation and a rule allowing the published connection. The translation changes addressing; the rule decides permission. Products differ in whether a rule names the address before or after translation, so verify the address the rule actually matches.

Choose detection or prevention

An IDS receives copied traffic through a mirror port or TAP and raises alerts. It cannot directly drop the original packets. An IPS sits inline and can block traffic, including legitimate traffic misclassified as malicious. A fail-open IPS passes traffic during failure; a fail-closed IPS blocks it.

Signature detection matches known patterns and needs current signatures. Anomaly detection compares behavior with a normal baseline and can flag a new pattern. It also needs tuning: a large scheduled backup can resemble data theft.

Actual trafficFlagged as attackLeft alone
AttackTrue positiveFalse negative
NormalFalse positiveTrue negative

Only the positive outcomes generate alerts. An alert is a finding to investigate, while a missed attack may leave no alert at all. Lowering sensitivity can reduce false positives and increase false negatives; raising it can have the opposite effect.

Place visibility where the data is available

A network sensor outside an HTTPS or VPN endpoint sees addresses, timing and volume but cannot read encrypted content. Inspect decrypted traffic at the endpoint, behind the VPN gateway or at an approved TLS-inspection point. Host-based detection can see activity on the server after decryption.

A honeypot is an isolated decoy with no legitimate users. Connections to it deserve investigation. A honeynet combines decoys. Keep them isolated so a compromised decoy cannot become a route into real systems.

Key Takeaways

  • A screened subnet separates public services from the inside network.
  • Destination NAT publishes an address; a firewall rule permits the service.
  • An IDS alerts from a traffic copy; an inline IPS can block packets.
  • A false positive flags normal traffic; a false negative misses an attack.
  • Encrypted content is visible only where it is decrypted.
  • Isolate honeypots so they cannot become stepping stones.
4

Control which devices may connect at the network edge

Network admission has several layers of evidence. A MAC limit controls addresses on a switch port, DHCP snooping identifies valid address assignments, and 802.1X checks a user or device identity. Work through these checks in the order they depend on one another, including the exceptions needed for static hosts and devices without supplicants. The result should be approved access to the correct segment, with normal service preserved.

4.1 Check a device before trusting its traffic

Switch protections stop several attacks before packets reach a router or firewall. They check different evidence: a MAC address limit, the origin of a DHCP offer or an IP-to-MAC binding.

Limit addresses on a port

Port security limits the MAC addresses allowed through a port. Cisco switches default to one allowed address when the feature is enabled. Addresses can be entered manually, learned dynamically or learned as sticky addresses. Sticky addresses enter the running configuration and survive restart when that configuration is saved.

Violation modeUnknown-source framesPort and reporting
ShutdownDroppedPort becomes err-disabled
RestrictDroppedPort stays up; events are logged and counted
ProtectDroppedPort stays up; drops are silent

For a desk with one PC, use this Cisco IOS example:

interface GigabitEthernet1/0/5
 switchport mode access
 switchport access vlan 10
 switchport port-security
 switchport port-security maximum 1
 switchport port-security mac-address sticky
 switchport port-security violation restrict

A different laptop cannot send through the port after the PC's address is learned. With restrict mode, the original PC can return without the port being err-disabled. Check show port-security interface GigabitEthernet1/0/5. Shutdown mode needs administrative recovery, such as shutdown followed by no shutdown, or configured automatic recovery. MAC addresses can be copied, so port security is not strong device authentication.

Trust DHCP replies only from the correct direction

DHCP snooping blocks DHCP server messages on untrusted ports and builds a binding table of client IP, MAC address, port and VLAN. Enable it globally and for the needed VLANs with ip dhcp snooping and ip dhcp snooping vlan 10,20. On the verified path toward the authorized server, configure ip dhcp snooping trust. End-device ports stay untrusted. A user-port rate limit such as ip dhcp snooping limit rate 10 helps limit DHCP starvation requests.

If the genuine server's incoming path stays untrusted, legitimate offers are dropped too. Trust is a direction decision, not a statement that every uplink is safe. A link from an unprotected access switch can carry rogue offers.

Reuse bindings to inspect addresses

Dynamic ARP Inspection (DAI) checks ARP messages against valid IP-to-MAC bindings on untrusted ports. IP Source Guard checks source addressing in IP traffic using the bindings. For DHCP clients, establish snooping bindings before enforcing either feature. Static hosts need ARP ACL entries for DAI and manual source bindings for IP Source Guard; they do not acquire a DHCP binding simply by sending traffic.

Add protections for other control traffic

Storm control limits broadcast, multicast or unknown-unicast rates. BPDU guard disables an edge port receiving spanning-tree messages. RA guard blocks unauthorized IPv6 router advertisements on user ports. None performs the same check as DAI.

Test these changes in a lab or maintenance window with a recovery path available: an incorrect trust setting or missing binding can disconnect legitimate devices.

Key Takeaways

  • Port security limits MAC addresses but cannot defeat an attacker who copies an allowed address.
  • Shutdown disables the port; restrict logs and counts drops; protect drops silently.
  • Save the running configuration to retain sticky addresses across a restart.
  • DHCP snooping builds bindings and blocks server messages from untrusted directions.
  • DAI checks ARP; IP Source Guard checks source addressing in IP packets.
  • Provide explicit bindings for static hosts before enforcing address checks.
  • BPDU guard and RA guard protect different network control protocols.

4.2 Use identity and device health to admit endpoints

A cable connection or familiar MAC address does not identify an approved user. Network access control (NAC) decides whether a device may join and which access it receives, using identity, device information and often a health check.

Follow the three 802.1X roles

802.1X provides port-based access control on wired and wireless networks. The endpoint's supplicant requests access. The switch or access point is the authenticator controlling the connection. The authentication server, commonly RADIUS, checks the credentials. Before success, normal data traffic is blocked while EAP over LAN (EAPOL) authentication messages pass.

A laptop connects to port GigabitEthernet1/0/12. Its supplicant exchanges EAP messages with the switch. The switch relays them in RADIUS messages to the server. After validating the laptop's certificate, the server returns Access-Accept with VLAN 10. The switch admits the laptop into Staff. A rejected identity remains blocked or receives restricted access according to policy.

Choose and validate the authentication method

EAP-TLS authenticates client and server with certificates. The client proves possession of its private key without sending that key. PEAP creates a TLS tunnel using the server's certificate and checks a username and password inside it.

Both require the client to validate the authentication server's certificate. A PEAP client accepting an attacker's server can expose its password authentication exchange to cracking. EAP-TLS does not send the private key, but accepting a false server can still lead a device onto an attacker's network. Configure the trusted authority and expected server identity, not just the SSID.

Handle devices with different abilities

A printer without a supplicant may use MAC Authentication Bypass (MAB). The switch submits its MAC address to RADIUS as the identity. Because that address can be copied, put the printer into a restricted segment with only its required paths.

A posture assessment checks health, such as installed updates, active endpoint protection and an enabled firewall. A failing device can enter a quarantine VLAN that permits remediation services. After updates and a fresh check, it may receive normal access. A guest captive portal presents a web page for terms or a code; it serves a different purpose from certificate-based device authentication.

Apply the same ideas to Wi-Fi
ModeCredential modelAdministrative effect
WPA2/WPA3-PersonalShared passphraseChanging access often affects every device
WPA2/WPA3-EnterpriseIndividual credentials or certificates through 802.1XOne identity can be revoked and logged

WPA3-Personal uses SAE and better resists offline guessing than WPA2-Personal. Use Enterprise mode for staff and a separate guest network. Disable WPS and obsolete WEP or TKIP-based WPA.

NAC determines admission and placement. ACLs and firewalls still limit the admitted device's traffic. Introduce enforcement in stages: observe failures, test a small group, then expand. Inventory devices without supplicants and keep a documented administrative recovery route if RADIUS becomes unreachable.

Key Takeaways

  • 802.1X separates supplicant, authenticator and authentication-server roles.
  • Validate the authentication server certificate with EAP-TLS and PEAP.
  • MAB identifies a MAC address and needs restricted access because that address can be copied.
  • Posture checks can send unhealthy devices to a remediation segment.
  • Enterprise Wi-Fi supports individual credentials and individual revocation.
  • NAC admission and firewall traffic policy remain separate decisions.
5

Harden network devices and control administrative access

Routers and switches need protection for their own administrative interfaces as well as the traffic they forward. Remove unnecessary services, use encrypted management protocols, restrict the hosts that can connect and keep a tested update and recovery path. AAA then separates identity, permission and activity records. Personal accounts, strong secrets and MFA make remote administration easier to control and trace.

5.1 Harden management access and keep a reliable baseline

Device hardening removes unnecessary entry points and secures the services that remain. Apply it to switches, routers, firewalls, access points and cameras, then check it again after software or configuration changes.

Remove easy entry points

Change factory credentials during setup. Mirai used common default logins on internet-connected devices in 2016 to build a large botnet. Disable unused switch ports and unnecessary services, including Telnet, plain HTTP management, UPnP and WPS. Disable discovery protocols such as CDP and LLDP on untrusted-facing ports where revealing device information creates exposure.

Avoid for managementUse instead
Telnet, TCP 23SSH version 2, TCP 22
Plain HTTP, TCP 80HTTPS, TCP 443
SNMPv1 or SNMPv2c community stringsSNMPv3 with authentication and encryption, authPriv
TFTP or FTP configuration transferSFTP or SCP

Encryption protects credentials in transit. Stored credentials need strong hashes too. Cisco type 9 uses scrypt and type 8 uses PBKDF2 with SHA-256. Type 5 is outdated. service password-encryption produces reversible type 7 obfuscation; it is not strong password storage.

Build SSH-only access

This Cisco IOS example assumes a switch supports the commands shown. Create the account interactively with a long, unique secret; do not reuse a password from an example.

hostname SW1
ip domain-name example.com
crypto key generate rsa modulus 2048
ip ssh version 2

Create the named administrator with username netadmin privilege 15 algorithm-type scrypt secret followed by the chosen secret. Then configure the remote-access lines:

line vty 0 15
 login local
 transport input ssh
 exec-timeout 10 0
 access-class MGMT-ONLY in

MGMT-ONLY is a separately defined ACL permitting only authorized administrator sources. login local selects local accounts; transport input ssh excludes Telnet; the idle timeout is 10 minutes. Verify an allowed SSH login and a denied login from an ordinary user segment.

Restrict the management path

Use a management VLAN and narrow source permissions. A jump box is a hardened server administrators enter first, letting devices accept management sessions from that source alone. In-band management uses the production network; out-of-band management uses a separate network or console path that can remain available during a production outage.

Login delays or lockouts reduce online guessing. For example, login block-for 120 attempts 5 within 60 blocks logins for 120 seconds after five failures within 60 seconds. Device settings must support the organization's password policy; a device minimum is not a recommendation to choose the shortest allowed secret.

Update and audit the device

Read the vendor advisory, obtain the official image and verify its hash or signature. Back up the configuration, update one device during the planned window, test the result and keep a rollback image. Replace end-of-life devices that no longer receive fixes.

Send logs to a central syslog service and synchronize clocks with NTP so events can be compared. Syslog commonly uses UDP 514. Keep approved configuration baselines and backups; compare them with running settings to find unexpected changes. A login banner states authorized-use and monitoring rules. Logs and baselines are useful only when access to them is controlled and changes are reviewed.

Key Takeaways

  • Change default credentials and disable unused services and ports.
  • Use SSHv2, HTTPS, SNMPv3 authPriv and secure file transfer for management.
  • Type 7 obfuscation is reversible; use strong password hashes.
  • Restrict management sources and retain an out-of-band recovery path.
  • Verify official updates and keep a rollback plan.
  • Central logs, synchronized clocks and configuration baselines make changes traceable.

5.2 Give each administrator the right access

A successful login answers only one question: who has connected? Network administration also needs a decision about permitted actions and a record of what happened.

Separate the three AAA decisions

Authentication verifies identity. Authorization grants actions. Accounting records activity. Together they form AAA. An engineer can authenticate successfully but lack permission to change a route. Accounting can then record the attempted command.

Local accounts live on each device. Central AAA gives many devices one account directory and a common record. Removing a departing administrator once is safer and easier to check than editing accounts on 40 switches. Use personal accounts and role-based permissions so logs identify a person and a helpdesk role can view status without changing configurations.

ProtocolTransportTypical use and protection
RADIUSUDP 1812 authentication; UDP 1813 accountingNetwork access; classic RADIUS protects the password field, not the entire packet
TACACS+TCP 49Device administration; separates AAA functions and protects the packet body

Classic RADIUS commonly carries 802.1X, enterprise Wi-Fi and VPN authentication. TACACS+ supports detailed command authorization and accounting. Older RADIUS equipment may use UDP 1645 and 1646.

Understand fallback before enabling it

Cisco IOS aaa authentication login default group tacacs+ local tries the server group first. Local authentication is used when no server responds, not when a reachable server rejects the login. An incorrect password rejected by the server does not trigger a second attempt against local accounts.

aaa new-model enables AAA. aaa authorization exec default group tacacs+ local selects authorization methods, and aaa accounting commands 15 default start-stop group tacacs+ records privilege-level-15 commands. The server group, keys and reachability must also be configured. Keep a protected emergency local account and test the recovery route before relying on central service availability.

Choose passwords that resist guessing

Long, unique secrets and leaked-password checks matter more than a predictable mixture of symbols. US NIST guidance from 2025 calls for at least 15 characters for a password used alone and permits a minimum of 8 with another factor. Systems should allow at least 64 characters, avoid mandatory character mixtures and avoid routine forced changes without evidence of compromise.

For truly random lowercase letters, each added character multiplies the keyspace by 26. At 10 billion guesses per second, exhausting eight letters takes about 21 seconds; twelve takes about 110 days; sixteen about 138,000 years. A reused password or predictable phrase does not gain this random-keyspace protection. Slow salted hashing also reduces offline guessing speed.

Add a different factor and protect the records

MFA combines knowledge, possession or inherence: for example, a password and a hardware security key. A password plus a PIN is still knowledge only. Use MFA for remote administration and VPN access.

Accounting records contain personal data, including names, addresses and login times. Limit access and retention according to organizational policy and applicable law. On a customer's network, inspect only the data needed for the authorized job.

Key Takeaways

  • Authentication checks identity; authorization controls actions; accounting records activity.
  • Personal accounts make administrator actions traceable.
  • RADIUS commonly serves network admission; TACACS+ supports device command control.
  • Local fallback follows server unavailability, not an explicit rejection.
  • MFA combines different factor types; two knowledge checks remain one type.
6

Connect remote sites and users securely with VPNs

A remote connection has two decisions: which traffic enters the tunnel, and how that traffic is protected. Choose a VPN for whole sites, an individual client or a small set of browser applications. Follow the original and outer packets, compare full and split tunneling, and separate IKE setup from IPsec data protection. Those distinctions provide a practical order for checking a tunnel that connects but fails to carry useful traffic.

6.1 Choose a tunnel for the connection you need

A VPN protects traffic between endpoints across an untrusted network. Choose the endpoint arrangement first, then decide which traffic uses it.

Match the VPN to the work
TypeEndpoints and use
Site-to-siteGateways connect whole networks, normally continuously
Client-to-siteOne device runs a VPN client for remote access
ClientlessA browser portal publishes selected supported applications

Branch hosts behind a site-to-site gateway need no individual VPN client. A remote-access client authenticates, preferably with MFA, and usually receives an address from an internal pool. A clientless portal suits a contractor who cannot install software, but exposes only the applications it supports and publishes.

Trace the inner and outer packets

The branch uses 10.20.0.0/16 and headquarters 10.10.0.0/16. Their public gateways are 198.51.100.1 and 203.0.113.1. A branch PC at 10.20.5.7 sends to file server 10.10.1.20.

  1. Routing and VPN policy select the packet for the branch tunnel endpoint.
  2. ESP tunnel processing encrypts the original packet and adds an outer header from 198.51.100.1 to 203.0.113.1.
  3. Internet routers use the outer public addresses; the private destination remains protected inside.
  4. Headquarters verifies and decrypts the packet, then forwards it to 10.10.1.20.

Protection ends at those endpoints. The local paths beyond them need suitable application protocols and access controls.

Choose full or split routing

A full tunnel sends all remote-device traffic through the organization, including public browsing. Company filtering can inspect that path, but it uses central bandwidth and may add delay.

A split tunnel sends selected destinations through the VPN. For example, 10.0.0.0/8 enters the tunnel while a public video service uses the worker's direct internet link. That traffic bypasses company gateway filtering; endpoint security remains necessary.

Choose full tunneling when policy requires central handling of all browsing. Choose split tunneling when permitted direct traffic would otherwise consume limited head-office capacity.

Limit admitted devices

VPN encryption does not remove malware. Combine remote access with MFA, posture checks and firewall rules limiting users to required resources. An infected authenticated laptop can attack reachable systems. The gateway operator can see traffic after decryption, so a VPN also does not hide activity from that operator.

Key Takeaways

  • Site-to-site connects networks; client-to-site connects a device; clientless access publishes selected applications.
  • An outer header carries protected private traffic between tunnel endpoints.
  • Full tunneling carries all device traffic through the VPN; split tunneling carries selected traffic.
  • VPN encryption protects transit, while endpoint checks and traffic rules control device risk.

6.2 Follow IPsec setup, protected traffic and troubleshooting

IPsec separates peer setup from protected user traffic. Checking those stages independently helps explain why a VPN can report a connection while applications still fail.

Establish keys and security associations

Internet Key Exchange (IKE), normally IKEv2, starts on UDP 500. Peers authenticate with a pre-shared key or certificates, agree on compatible algorithms and derive keys. A security association (SA) records protection settings and key material. IKE establishes its protected control channel and negotiates IPsec SAs for data.

IPsec data SAs are directional, so two-way traffic needs a pair. Each peer applies its own lifetime policy; either can rekey before expiry. In IKEv2, different configured lifetimes do not by themselves prevent setup.

Distinguish the data protocols and modes
ComponentWhat it provides
ESP, IP protocol 50Encrypted payload protection and integrity in the VPNs described here
AH, IP protocol 51Integrity and authenticity without encryption
NAT-T, UDP 4500ESP carried inside UDP to cross NAT
Tunnel modeWhole original packet behind a new IP header
Transport modeOriginal IP header remains; payload is protected

Gateway-to-gateway VPNs normally use ESP tunnel mode. AH covers address fields that NAT changes, which makes it unsuitable across NAT. ESP is IP protocol 50, not TCP port 50 or UDP port 50. Permit IKE, NAT-T when used, and native ESP when used between the gateway addresses.

GRE encapsulates without encryption. GRE over IPsec combines GRE's carriage of multicast or routing traffic with IPsec protection. The added encapsulation alone supplies no secrecy.

Account for packet size

An ESP tunnel commonly adds roughly 50–80 bytes per packet; NAT-T adds another 8-byte UDP header. A full 1,500-byte original packet plus those headers exceeds a 1,500-byte path MTU. Depending on the protocol and settings, it must be fragmented or is dropped. A smaller tunnel MTU, often about 1,400 bytes, and an adjusted TCP maximum segment size (MSS) help traffic fit. Small requests working while larger transfers stall is a useful sign of an MTU problem.

Compare other VPN choices

TLS VPNs, traditionally called SSL VPNs, commonly use TCP 443 and may also support UDP. They suit remote clients and browser portals. WireGuard uses UDP, often 51820, and a small set of modern algorithms. L2TP/IPsec combines older L2TP tunneling on UDP 1701 with IPsec protection. PPTP is obsolete and insecure.

Long random pre-shared keys are manageable for a few peers but awkward at scale. Certificates issued through a certificate authority (CA) and public key infrastructure (PKI) support individual renewal and revocation. Keep private keys secret, check expiry and trust, and revoke credentials that should no longer work. A self-signed certificate needs an explicitly established trust arrangement.

Locate the failing stage

Check gateway reachability, IKE version, algorithms and peer credentials first. Next inspect IKE and IPsec SAs separately. Confirm mirrored protected-network selectors, the required firewall permissions and routes into the tunnel. Finally test small and large application transfers. An IKE SA proves control-channel setup; it does not establish that the selected data path, firewall rules and packet sizes are correct.

Key Takeaways

  • IKEv2 authenticates peers and negotiates keys; directional IPsec SAs protect data.
  • ESP is IP protocol 50; AH authenticates without encrypting.
  • NAT-T wraps ESP in UDP 4500.
  • Tunnel mode wraps the whole packet; transport mode leaves the original IP header.
  • Encapsulation overhead can require a smaller MTU or TCP MSS.
  • Check credentials, SAs, selectors, permissions and routes at their own stages.
  • Manage certificate trust, expiry and revocation as part of VPN operation.

Network Security examples

6 Walkthroughs

1

Read the evidence before choosing a defense

14 steps
Follow overload, address redirection and stolen credentials through a small network investigation.
  1. 1
    IntroductionStart with what changed

    A slow service, an unfamiliar gateway mapping and suspicious login messages need different checks. Identify what is under attack: capacity, learned network information or trust.

    Choose a control that acts on that mechanism. A password change cannot restore bandwidth to a saturated link.

  2. 2
    ExplanationName the weakness and the technique

    An unpatched VPN login flaw is a vulnerability. Code using it is an exploit; the attacker is a threat; applying the update is a mitigation.

    The exposed login service is part of the attack surface. Disable it if unnecessary; otherwise keep it protected and maintained.

  3. 3
    ExampleFind the resource under pressure

    An internet link holds at its full capacity while servers have spare CPU. That points toward a bandwidth bottleneck. If link traffic were modest but a server had thousands of half-open TCP handshakes, connection state would be a better lead.

    Application overload can look different again: repeated expensive requests drive server work upward. Compare these observations with the normal baseline before classifying a surge as malicious.

  4. 4
    ExplanationFollow an incomplete handshake

    TCP normally exchanges SYN, SYN-ACK and ACK. A SYN flood starts many handshakes but omits the final ACK, leaving the server holding half-open connections.

    SYN cookies reduce state kept before completion. They address queue pressure, not a shortage of incoming bandwidth.

  5. 5
    ChallengeChoose where a flood must be filtered

    An incoming 1 Gbit/s link is continuously full during a distributed flood. The firewall sits after that link and is operating normally. Why will dropping packets only there fail to restore normal service?

    ---reveal---

    The packets have already used the incoming link’s capacity before reaching the firewall. Filtering must act upstream, at the ISP or a scrubbing service, so legitimate packets have capacity available on the circuit.

  6. 6
    ExampleRead the original gateway entry

    Workstation gateway 172.24.8.1 has documented MAC 02:10:20:30:40:50. Its arp -a entry initially matches that address.

    For an off-subnet destination, the PC addresses the local Ethernet frame to the gateway MAC. The enclosed IP packet still names the remote destination.

  7. 7
    ExampleFollow the changed frame destination

    The same gateway IP now maps to 02:AA:BB:CC:DD:10. The PC sends its gateway-bound frames to the new MAC, even though its IP route has not changed.

    If the attacker owns that MAC and forwards the traffic onward, sessions may continue to work. The mapping can put the attacker on-path without producing an obvious outage. DAI checks ARP evidence so forged mappings can be rejected at the switch.

  8. 8
    ChallengeSeparate a DNS change from an ARP change

    A second workstation has the correct gateway MAC but resolves "files.example.com" to an attacker’s address. Which mapping should you investigate, and why is the correct gateway entry not enough?

    ---reveal---

    Investigate name-to-IP information: its DNS answers, resolver cache and local hosts file. Correct ARP information only identifies the local next hop. It does not establish that a website name resolved to the intended remote address.

  9. 9
    ConnectionCheck how the attacker reached the LAN

    A rogue access point opens an unauthorized wireless path into a wired network. An evil twin imitates a trusted SSID to attract clients. Both show why a familiar network name is weak identity evidence.

    Trunk negotiation is another local entry path: an endpoint that becomes a trunk can reach its allowed VLANs. Wired admission, fixed access roles and wireless server-certificate validation act on these different weaknesses.

  10. 10
    ExampleInspect a believable access request

    A message says, "Confirm your administrator account before your shift ends," and links to "helpdesk.example.net" while the organization’s known service is under "example.com." Urgency and a different domain justify independent verification.

    Open the known service address or contact the helpdesk through its usual channel. A message need not contain malware to be dangerous: a fake login page can steal a usable password directly.

  11. 11
    ExplanationIdentify the password-guessing pattern

    One password tested against many users is spraying. Many guesses against one account may be brute force or a dictionary attack. Leaked username-password pairs reused at another service are credential stuffing.

    The online/offline distinction is separate. A stolen hash file lets an attacker test guesses without triggering the live service’s lockout. Unique secrets, slow salted hashing and MFA address different parts of this risk.

  12. 12
    ChallengeProtect against a reused password

    A staff password has appeared in another service’s breach. The staff member reused it for remote access. Why do both a password change and MFA help?

    ---reveal---

    Changing to a unique secret removes the leaked pair’s usefulness for credential stuffing. MFA adds evidence from a different factor type, so the old password alone is insufficient. Ordinary code-based MFA can still be phished; hardware keys offer phishing-resistant authentication.

  13. 13
    ChallengeCombine the clues without merging the causes

    A worm reaches multiple staff PCs through an exposed file-sharing service while users also report phishing calls. Would installing endpoint protection alone address both routes in? Explain the additional controls needed.

    ---reveal---

    Patching and filtering the vulnerable service, plus segmentation, limit worm spread. Verified helpdesk procedures and user awareness address the deceptive calls. Endpoint protection may detect malware, but a caller can steal a password without installing software.

  14. 14
    RecapMatch the control to the mechanism

    Identify the exhausted resource, false mapping or stolen identity. Filter before a saturated link, inspect forged ARP at the switch, and protect logins against stolen credentials.

    Check causes against evidence: a session can still work through an attacker, and a busy service can still be serving legitimate demand.

2

Build and verify a segmented office

10 steps
Turn device roles into a flow policy, then check access ports, trunks and service tests.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionStart from the work devices need to do
  2. 2
    ExampleAssign groups to VLANs and subnets
  3. 3
    ExampleName the camera’s one destination
  4. 4
    ChallengeCheck the guest requirement
  5. 5
    ExplanationFix roles before trusting VLAN tags
  6. 6
    ExampleConfigure the trunk’s actual needs
  7. 7
    ChallengeDistinguish the spare port from the native VLAN
  8. 8
    TipInspect what the switch is doing
  9. 9
    ChallengeTest the boundary and its permitted work
  10. 10
    RecapReview three kinds of evidence
3

Trace a published web service and its boundaries

16 steps
Work through wildcard matching, first-match policy, stateful replies, publication and intrusion alerts.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionFollow one request across the boundary
  2. 2
    ExplanationRead wildcard bits in the correct direction
  3. 3
    ExampleWrite the narrow exception first
  4. 4
    ExampleTrace a packet that misses the exception
  5. 5
    ChallengePlace the list in the right direction
  6. 6
    TipConfirm attachment and matches
  7. 7
    ExplanationRecognize the reply using state
  8. 8
    ConnectionSeparate a port from an application
  9. 9
    ChallengeChoose what a web rule can decide
  10. 10
    ExampleGive the public server its own zone
  11. 11
    ExampleTranslate the destination and permit the flow
  12. 12
    ExplanationDecide whether the sensor can block
  13. 13
    ChallengeClassify an alert against the actual event
  14. 14
    Key InsightPut content visibility after decryption
  15. 15
    ChallengeCombine a narrow exception with state
  16. 16
    RecapKeep each boundary decision visible
4

Admit a laptop and protect a static printer

12 steps
Follow port security, DHCP bindings, ARP validation and identity-based admission in a controlled rollout.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionUse the right evidence for each check
  2. 2
    ExampleLearn and retain the desk PC’s address
  3. 3
    ChallengeExplain why a copied MAC can pass
  4. 4
    ExampleBuild a legitimate DHCP binding
  5. 5
    ExampleGive the static printer explicit evidence
  6. 6
    ChallengePick the protection for IPv6 gateway claims
  7. 7
    ExplanationPlace the 802.1X roles
  8. 8
    ExampleValidate both sides of certificate authentication
  9. 9
    ChallengeKeep an unhealthy laptop useful for repair
  10. 10
    TipPlan the printer’s limited exception
  11. 11
    ChallengeConnect admission with traffic policy
  12. 12
    RecapKeep identities, bindings and permissions distinct
5

Secure an administrator’s route into a switch

11 steps
Build a protected management path, test AAA decisions and retain useful change records.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionProtect the device that controls the network
  2. 2
    ExplanationRemove unused management services
  3. 3
    ExampleRestrict the remote access path
  4. 4
    ChallengePreserve access during a routing fault
  5. 5
    TipMake an update reversible and traceable
  6. 6
    ExplanationSeparate identity, commands and records
  7. 7
    ExampleRead the server-first fallback decision
  8. 8
    ChallengeDistinguish rejection from an outage
  9. 9
    ConnectionChoose an independent second factor
  10. 10
    ChallengeMake a configuration change attributable
  11. 11
    RecapVerify the complete administrative route
6

Choose and troubleshoot a remote connection

13 steps
Trace a protected packet, compare tunnel routing and isolate control-channel, data and MTU failures.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionSeparate access choice from tunnel operation
  2. 2
    ExplanationChoose the endpoint arrangement
  3. 3
    ExampleRead the inner packet first
  4. 4
    ExampleFollow the outer packet across the internet
  5. 5
    ChallengeChoose the path for public browsing
  6. 6
    ExplanationEstablish the control channel and data keys
  7. 7
    ExplanationAllow the protocol that carries the data
  8. 8
    ChallengeRepair the native ESP permission
  9. 9
    ExampleCompute the room left for an inner packet
  10. 10
    ChallengeDistinguish a size fault from setup failure
  11. 11
    TipCheck trust before replacing protocols
  12. 12
    ChallengeLimit an authenticated remote client
  13. 13
    RecapCheck each stage with its own evidence

Network Security practice questions

50 Practice Questions in 5 sets

Set 1: Recognize attacks and choose the first control10 Practice Questions

Question 1 of 10

A router still uses its published factory password. What kind of security problem is the unchanged password?
  1. An active exploit
  2. A mitigation rule
  3. An attack signature
  4. A vulnerability
Show answerHide answer
Answer: D
The unchanged password is a vulnerability: a weakness an attacker can use. An exploit is the technique that uses the weakness, such as logging in with the known credentials; changing it is the mitigation.

Question 2 of 10

A laptop now associates its gateway IP with an unfamiliar MAC address. The gateway itself has not changed. What attack does this mapping suggest?
  1. ARP poisoning
  2. DNS cache poisoning
  3. DHCP starvation
  4. Switch spoofing
Show answerHide answer
Answer: A
The false gateway IP-to-MAC entry points to ARP poisoning. DNS cache poisoning changes a name-to-IP record instead; compare this ARP entry with the gateway’s known MAC to confirm the mismatch.

Question 3 of 10

An attacker tries the password "Autumn2026!" once against each of 900 employee accounts. What technique is being used?
  1. Credential stuffing
  2. Password spraying
  3. Offline brute force
  4. A dictionary attack on one account
Show answerHide answer
Answer: B
Trying one common password across many users is password spraying. Credential stuffing instead reuses stolen username-password pairs; the scenario provides guesses across users, not leaked account pairs.

Question 4 of 10

Guest and payroll devices occupy different VLANs. A router forwards freely between both subnets. What change will restrict guest access to payroll?
  1. Give the guest VLAN a different unused VLAN number.
  2. Move both subnets onto the same Layer 3 switch.
  3. Reduce the DHCP lease duration on guest devices.
  4. Filter the routed crossing with an ACL or firewall.
Show answerHide answer
Answer: D
Separate VLANs create separate broadcast domains, but the router is still forwarding traffic between them. An ACL or firewall at that crossing must enforce the intended permission. Renumbering the guest VLAN changes its label without changing the unrestricted routing policy.

Question 5 of 10

A user socket is configured to negotiate its switch-port role dynamically. What configuration directly closes the switch-spoofing path?
  1. Keep dynamic negotiation and change the native VLAN.
  2. Keep dynamic negotiation and limit DHCP lease time.
  3. Set a fixed access role and disable negotiation.
  4. Set a fixed trunk role and permit the staff VLAN.
Show answerHide answer
Answer: C
Switch spoofing relies on the endpoint persuading the switch to create a trunk. Static access mode with negotiation disabled prevents that role change. Changing the native VLAN addresses double-tagging exposure, but leaves automatic trunk negotiation available on the user port.

Question 6 of 10

An ACL first denies all traffic from 10.42.6.0/24 to 10.42.9.0/24, then permits that source to 10.42.9.18 on TCP 443. What happens to an HTTPS packet from 10.42.6.27 to 10.42.9.18?
  1. It is allowed by the specific entry.
  2. It is denied by the first entry.
  3. It is allowed as encrypted HTTPS.
  4. It is allowed by the last match.
Show answerHide answer
Answer: B
ACL evaluation stops at the first matching entry, and the subnet-wide deny matches this packet. The later host-specific permission is never reached. Greater specificity does not override earlier order in a first-match ACL; the HTTPS exception must be placed before the broader deny.

Question 7 of 10

A desk port must drop unfamiliar MAC addresses, record violations and keep serving its learned PC. What Cisco port-security mode meets all three needs?
  1. Restrict
  2. Shutdown
  3. Protect
  4. Sticky learning
Show answerHide answer
Answer: A
Restrict drops unauthorized-source frames, logs and counts violations, and keeps the port active. Protect also leaves it active but drops silently, so it fails the recording requirement.

Question 8 of 10

Two branch LANs need continuous access to each other. No VPN client should be installed on individual workstations. What VPN type fits?
  1. Client-to-site
  2. Clientless VPN
  3. Site-to-site
  4. Full tunnel
Show answerHide answer
Answer: C
Site-to-site gateways connect whole networks without VPN clients on each workstation. A client-to-site VPN joins an individual device; full tunneling describes its traffic selection, not the endpoint arrangement.

Question 9 of 10

A flood fills a company’s 2 Gbit/s incoming circuit before packets reach its firewall. The firewall has spare CPU capacity. Where should filtering act to restore capacity for legitimate users?
  1. At the ISP or an upstream scrubbing service.
  2. On the company firewall’s incoming rule set.
  3. On an internal router beyond the firewall.
  4. On the application server’s host firewall.
Show answerHide answer
Answer: A
The bottleneck is the incoming circuit, so filtering must remove attack traffic before it traverses that circuit. A local firewall rule can discard packets only after they have consumed the scarce capacity. Spare firewall CPU does not increase the upstream link’s capacity or recover traffic already dropped there.

Question 10 of 10

A newly attached home router sends DHCP offers from a meeting-room socket. What switch feature can block those offers while allowing clients to request leases?
  1. Dynamic ARP Inspection
  2. IP Source Guard
  3. DHCP snooping
  4. Port-based storm control
Show answerHide answer
Answer: C
DHCP snooping distinguishes client messages from server messages and drops server replies arriving on untrusted user ports. DAI instead validates ARP mappings; it is not the check that rejects DHCP offers. The authorized DHCP server’s incoming path must be trusted so legitimate lease replies remain available.
Set 2: Read filtering and access policies10 Practice Questions

Save this lesson to see every answer and practice every set.

Question 1 of 10

What Cisco wildcard mask matches the complete subnet 172.22.8.0/24?
  1. 255.255.255.0
  2. 0.0.0.255
  3. 0.0.0.0
  4. 0.0.0.127
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

An extended ACL should filter packets from clients as they enter the router through its VLAN 26 interface. How should the list be attached?
  1. Outbound on the VLAN 26 interface.
  2. Inbound on the destination interface.
  3. Outbound on the internet interface.
  4. Inbound on the VLAN 26 interface.
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

A client-to-resolver policy allows UDP 53 but denies TCP 53. Small DNS replies work; a response requiring TCP fails. What is the narrowest useful correction?
  1. Permit TCP 53 to the approved resolver.
  2. Permit every TCP port to the resolver.
  3. Permit UDP 443 to the approved resolver.
  4. Permit TCP 53 from any host to any host.
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

A firewall records an allowed outgoing TCP connection and admits its matching replies automatically. What capability is this?
  1. Stateless filtering
  2. Destination translation
  3. Stateful inspection
  4. URL categorization
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

An organization permits TCP 443 to the internet, but an unwanted remote-access application also uses that port. What added capability best distinguishes the application?
  1. A source-port 443 allow rule
  2. Application identification
  3. A longer TCP state timeout
  4. A new internal subnet mask
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

A public address is translated to a private web server, but the default-deny firewall has no matching allow rule. What else is required for publication?
  1. A permission for the published HTTPS flow.
  2. A permission for all inbound TCP traffic.
  3. A rule allowing the server into every inside subnet.
  4. A rule disabling state tracking for the server.
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

In wired 802.1X, what role does the access switch perform?
  1. Supplicant
  2. Authentication server
  3. Certificate authority
  4. Authenticator
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

An administrator enables service password-encryption and concludes that all stored device passwords now resist recovery. What is wrong with that conclusion?
  1. Type 7 uses a slow hash with no salt.
  2. The command encrypts only SSH network traffic.
  3. Type 7 encoding is reversible obfuscation.
  4. The command removes the local account database.
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

A switch uses group tacacs+ local. Its reachable TACACS+ server rejects a login; a local account has the same username and submitted password. What happens next?
  1. The local account is tried because its password matches.
  2. The rejection stands; local fallback is not tried.
  3. The switch retries locally after any authentication failure.
  4. The switch accepts locally but skips command accounting.
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

Two gateways use native ESP with no NAT in the path. IKE succeeds, but an intermediate filter permits only TCP and UDP traffic. What missing permission explains the blocked data?
  1. TCP port 50 between the gateways.
  2. UDP port 50 between the gateways.
  3. IP protocol 51 between the gateways.
  4. IP protocol 50 between the gateways.
Show answerHide answer

Save this lesson to see this answer.

Set 3: Diagnose failures from network evidence10 Practice Questions

Save this lesson to see every answer and practice every set.

Question 1 of 10

A reflection attack generates a 2,400-byte reply for every 80-byte request. Ignoring other overhead, what amplification factor results?
  1. 2,320
  2. 0.033
  3. 30
  4. 192,000
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

A device redirects only selected website names by supplying forged DNS answers. It has not become the client’s gateway. What can you conclude about the described mechanism?
  1. It redirects name lookups to chosen addresses.
  2. It receives every routed packet from the client.
  3. It changes the switch’s native VLAN selection.
  4. It poisons every client’s local ARP cache.
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

A technician enters a password and then a separate PIN to log in. How many authentication factor types are represented?
  1. Two: each secret counts separately.
  2. Two: the PIN is a possession factor.
  3. Three: typing is also biometric.
  4. One: both are knowledge factors.
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

An office separates guest and staff VLANs. Its firewall denies guest ICMP to staff but permits guest TCP 443 to all staff hosts. Guests cannot ping a staff printer but can open its HTTPS page. What policy repair meets an internet-only guest requirement?
  1. Deny guest ICMP and leave the HTTPS permission unchanged.
  2. Deny guest access to staff destinations across services.
  3. Deny guest HTTPS to the internet but retain staff HTTPS.
  4. Permit guest ICMP so the two tests give the same result.
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

Both ends of a trunk use untagged native VLAN 70, which also contains user access ports. The trunk allows VLAN 80. User ports cannot negotiate trunks. What remaining change addresses double tagging into VLAN 80?
  1. Move native traffic to an unused VLAN with no endpoints.
  2. Disable DTP again on the already fixed access ports.
  3. Increase the access-port MAC limit for VLAN 70 users.
  4. Move VLAN 80’s gateway address to another subnet.
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

A Cisco ACL contains permit 192.168.44.0 255.255.255.0. What address behavior does that wildcard specify?
  1. Require the first three octets; ignore the last octet.
  2. Require every octet to equal 192.168.44.0 exactly.
  3. Ignore the first three octets; require a final zero.
  4. Ignore every octet except the first octet, 192.
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

An inline IPS blocks a legitimate scheduled backup after classifying it as data theft. What detection outcome occurred?
  1. False negative
  2. True positive
  3. False positive
  4. True negative
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

DHCP clients keep working after DAI is enabled, but a static-address printer on an untrusted port loses ARP connectivity. No entry exists for it in an applied ARP ACL. How should its mapping be supported?
  1. Add its MAC to port security and leave DAI unchanged.
  2. Trust all user ports so every ARP packet bypasses checks.
  3. Add an IP route to the printer on the DHCP server.
  4. Add its verified IP-to-MAC mapping to an ARP ACL.
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

Staff laptops use PEAP but accept any authentication-server certificate. An evil twin copies the staff SSID. What correction targets the credential risk?
  1. Accept any current certificate from an unfamiliar issuer.
  2. Require trusted server certificates and expected identity.
  3. Trust a client certificate but accept any server identity.
  4. Trust every system CA without checking the server name.
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

An IPsec path crosses NAT and carries ESP inside UDP. What destination port identifies that encapsulated data traffic?
  1. UDP 4500
  2. UDP 500
  3. TCP 443
  4. UDP 1701
Show answerHide answer

Save this lesson to see this answer.

Set 4: Repair policies without opening extra access10 Practice Questions

Save this lesson to see every answer and practice every set.

Question 1 of 10

A login service locks an account after repeated failures. An attacker has already stolen its password-hash file and is testing guesses locally. How does that lockout affect these guesses?
  1. It does not slow the offline hash tests.
  2. It stops the tests at the next failure.
  3. It limits the tests to one guess per account.
  4. It sends each guess to the login server.
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

Cameras should send video only to recorder 10.66.12.24. What permission best implements that need?
  1. Camera subnet to the entire server subnet on all services.
  2. All internal subnets to 10.66.12.24 on all TCP services.
  3. Camera subnet to 10.66.12.24 on the required video service.
  4. Camera subnet to every destination on the video service.
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

An ACL on a server-facing interface permits client requests leaving the router. A separate inbound ACL on that interface drops all server replies. What explains the failed client session?
  1. The request permission creates state that should admit replies.
  2. The reply enters that interface and needs its own permission.
  3. The reply should be evaluated outbound toward the clients.
  4. The source-only rule always takes priority over extended rules.
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

A stateful firewall records TCP 10.77.4.18:53120 to 198.51.100.70:443. What packet matches the direct return flow?
  1. TCP 198.51.100.70:443 to 10.77.4.18:443
  2. TCP 198.51.100.71:443 to 10.77.4.18:53120
  3. UDP 198.51.100.70:443 to 10.77.4.18:53120
  4. TCP 198.51.100.70:443 to 10.77.4.18:53120
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

An outer firewall permits HTTPS to a screened-subnet server. An inner firewall permits that server to contact only one internal database port. The web server is compromised through HTTPS. What still limits its onward access?
  1. The outer firewall’s already-permitted HTTPS path.
  2. The public-to-private destination translation alone.
  3. The inner firewall’s narrow database permission.
  4. The server’s placement between two physical devices alone.
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

What Cisco port-security violation mode puts the interface into an err-disabled state?
  1. Shutdown
  2. Restrict
  3. Protect
  4. Dynamic learning
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

An engineer must manage switches even when production routing fails. What access arrangement addresses this requirement?
  1. A management VLAN reached via production routing.
  2. A separate out-of-band console-management path.
  3. An HTTPS service on the production interface.
  4. An extra admin account on the same in-band path.
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

A helpdesk user signs in successfully but cannot change interface settings. The system records the rejected command under that user’s name. What AAA functions explain the restriction and record?
  1. Authentication restricts; authorization records.
  2. Accounting restricts; authentication records.
  3. Authentication restricts; accounting grants access.
  4. Authorization restricts; accounting records.
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

Policy requires every remote laptop’s public browsing to pass company web filtering. Current routes send only corporate subnets into the VPN. What change satisfies the routing requirement?
  1. Add corporate subnets to the split tunnel.
  2. Use site-to-site gateways at the offices.
  3. Use a clientless portal for the application.
  4. Use a full tunnel for the remote laptop.
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

An ESP tunnel adds 68 bytes to each original packet, plus 8 bytes for NAT-T. The path MTU is 1,500 bytes. Ignoring all other overhead, what is the largest original IP packet that fits without fragmentation?
  1. 1,432 bytes
  2. 1,424 bytes
  3. 1,500 bytes
  4. 1,576 bytes
Show answerHide answer

Save this lesson to see this answer.

Set 5: Combine identity, filtering and tunnel evidence10 Practice Questions

Save this lesson to see every answer and practice every set.

Question 1 of 10

A technician’s account should be removed from 32 switches after departure. What account arrangement makes one central revocation possible?
  1. Centralized AAA
  2. Local accounts
  3. A shared password
  4. A larger keyspace
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

Clients obtain the expected gateway but a new unauthorized DNS server. Only selected names resolve to the attacker’s host. What is the narrowest conclusion supported by those facts?
  1. All routed traffic now passes through the attacker’s host.
  2. The gateway’s MAC address must have been overwritten.
  3. A trunk must have formed on the client’s access port.
  4. Selected name lookups are redirected through false answers.
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

Two devices share a private VLAN as isolated ports. Each must communicate with a gateway but not with the other device. What port role should face the gateway?
  1. Community
  2. Promiscuous
  3. Isolated
  4. Dynamic access
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

An ACL must match source 10.93.18.128/26 and allow HTTPS to only 10.93.22.40. What entry expresses both restrictions?
  1. permit tcp 10.93.18.128 0.0.0.127 host 10.93.22.40 eq 443
  2. permit tcp 10.93.18.128 255.255.255.192 host 10.93.22.40 eq 443
  3. permit tcp 10.93.18.128 0.0.0.63 host 10.93.22.40 eq 443
  4. permit tcp 10.93.18.128 0.0.0.63 host 10.93.22.40 eq 22
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

A laptop moves from the office to public Wi-Fi. What firewall continues to filter traffic directly into that laptop regardless of the local network’s equipment?
  1. Its host-based firewall
  2. The office edge firewall
  3. A screened-subnet firewall
  4. A WAF for the web server
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

A printer has no 802.1X supplicant and is admitted by MAB. Policy allows it only to the print server. What remaining threat explains retaining that traffic restriction?
  1. Admission verifies a device certificate that permits staff trust.
  2. Admission checks a MAC identity that an attacker can copy.
  3. Admission verifies a physical port that prevents identity reuse.
  4. Admission checks a health state that prevents MAC impersonation.
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

Logs from two switches differ by 11 minutes, making a shared fault hard to reconstruct. What device-hardening task addresses the comparison problem?
  1. Raise the syslog severity threshold.
  2. Increase the minimum password length.
  3. Move both switches into one user VLAN.
  4. Synchronize device clocks with NTP.
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

A contractor uses a personal device on which no client may be installed. The job needs only one supported internal web application, with no access to other internal systems. What access type best fits?
  1. A full-tunnel client for every internal subnet.
  2. A split-tunnel client routed to all internal subnets.
  3. A clientless portal publishing that application.
  4. A site-to-site tunnel from the contractor’s router.
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

An IKEv2 tunnel has worked for weeks with local SA lifetimes of 45 and 60 minutes. Today a gateway certificate expires and peer authentication fails. What correction addresses that evidence without an unnecessary lifetime change?
  1. Renew the gateway certificate and retain compatible IKEv2 settings.
  2. Match both lifetimes at 45 minutes and keep the expired certificate.
  3. Match both lifetimes at 60 minutes and stop rekeying existing SAs.
  4. Restart peer negotiation with the same expired gateway certificate.
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

A tunnel reports an IKE SA. No IPsec data SA appears, and application traffic fails. What is the best next focus?
  1. Check the tunnel MTU before inspecting data-SA proposals.
  2. Check every internal route before inspecting data-SA proposals.
  3. Check data-SA negotiation and protected-network selectors.
  4. Check application-server permissions before data-SA proposals.
Show answerHide answer

Save this lesson to see this answer.

Stuck on your own question? Homework Help

Key Terms

97 Key Terms, each with its definition

A

Access port
An access port carries an endpoint’s assigned VLAN, normally using untagged frames.
The office PC uses a fixed access port so it cannot negotiate a trunk and choose other VLANs.
Accounting
Accounting records access and activity, such as usernames, login times and commands, to support tracing and review of administration.
Personal administrator identities make accounting records useful when a configuration change needs review.
ACL
An access control list, or ACL, is an ordered set of permit and deny entries that filters packets according to specified header fields.
An ACL for staff traffic permits one application before a broader rule denies other access to a server subnet.
AH
Authentication Header, or AH, is IP protocol 51 and protects integrity and authenticity without encrypting the protected packet data.
AH does not hide application content, and NAT address changes conflict with the header information it protects.
Air gap
An air gap physically separates a network by leaving it with no network connection to other networks, including the internet.
An industrial control network with an air gap has no routed connection into the office network.
Amplification
Amplification multiplies attack traffic when small requests cause larger replies to a victim.
A 50-byte request causing a 2,000-byte reply gives an amplification factor of 40 before other overhead.
Application proxy
An application proxy ends a client connection, examines application requests and makes a separate connection to the destination server.
An application proxy can reject a disallowed application command even when the transport connection is permitted.
ARP poisoning
ARP poisoning is the replacement of a legitimate local IPv4-to-MAC cache mapping with false information supplied through ARP messages.
The gateway IP appearing beside an unfamiliar MAC address leads the technician to check for ARP poisoning.
Attack surface
An attack surface is the collection of exposed points where an attacker can attempt access.
Turning off an unused web-management service reduces a switch’s attack surface without affecting forwarding.
Authentication
Authentication checks an asserted identity using evidence such as a secret, certificate or hardware authenticator before granting a session.
A successful authentication establishes the engineer’s identity but does not grant permission for every command.
Authenticator
An authenticator is the switch or wireless access point that controls admission and relays 802.1X authentication toward the server.
The access switch acts as authenticator while the RADIUS server validates the laptop’s credentials.
Authorization
Authorization determines the actions an authenticated identity is permitted to perform, including allowed configuration commands or roles.
Authorization lets the helpdesk view interface status while preventing it from changing the switch configuration.

B

BPDU guard
BPDU guard disables a protected edge port when it receives spanning-tree BPDUs, stopping unexpected switches from changing the topology.
A desk port receiving a stray switch’s spanning-tree messages is disabled by BPDU guard.

C

Clientless VPN
A clientless VPN provides browser-based access to selected supported applications through an HTTPS portal without a network VPN client.
The contractor uses a clientless VPN portal for one approved web application on a personal device.
Configuration baseline
A configuration baseline is an approved reference configuration used to detect unexpected changes in a device’s running settings.
A comparison with the configuration baseline reveals that a software change re-enabled an unused service.
Content filtering
Content filtering examines transferred material to apply policy, such as blocking executable files or detecting confidential documents.
Content filtering checks the file itself, while an address-category rule may allow the website hosting it.
Credential stuffing
Credential stuffing tests stolen username-password pairs against services where they may be reused.
Unique passwords stop one breached site’s login pair from succeeding elsewhere through credential stuffing.

D

DAI
Dynamic ARP Inspection, or DAI, checks ARP mappings on untrusted ports against permitted bindings and drops invalid ARP traffic.
DAI needs a static printer’s verified mapping in an applied ARP ACL because the printer has no DHCP binding.
DDoS
A distributed denial-of-service (DDoS) attack disrupts a service using many traffic sources.
During a DDoS flood, blocking one sending address leaves many other sources still targeting the service.
Default deny
Default deny is a policy that blocks traffic unless a specific permission allows it, making required business flows explicit.
Under default deny, adding a camera does not give it access to every server; its recorder flow needs permission.
Destination NAT
Destination NAT rewrites a packet’s destination address, often publishing a private server through a public address and service port.
Destination NAT maps the public HTTPS endpoint to a private web server, with a separate firewall allow rule.
Device hardening
Device hardening reduces exposure by disabling unnecessary functions, securing required services and maintaining a protected configuration.
Device hardening includes changing default credentials and closing management services nobody needs.
DHCP snooping
DHCP snooping blocks server messages from untrusted ports and learns valid client address bindings from legitimate lease exchanges.
DHCP snooping rejects an unauthorized offer on a user port while accepting the trusted server’s replies.
DNS cache poisoning
DNS cache poisoning places a false name-to-address record in a resolver’s cache, redirecting clients until removal or expiry.
Several clients reach the wrong portal because DNS cache poisoning affected the resolver they share.
Double tagging
Double tagging exploits native-VLAN handling to expose an inner target tag at the next switch.
An unused native VLAN with no endpoint ports removes the normal condition needed for double tagging.

E

EAP-TLS
EAP-TLS is a certificate-based authentication method in which client and server prove their identities without sending private keys.
The managed laptop uses EAP-TLS and validates the expected authentication server before joining staff Wi-Fi.
ESP
Encapsulating Security Payload, or ESP, is IP protocol 50 and provides the encrypted data protection commonly used by IPsec VPNs.
A native ESP permission matches IP protocol 50, while opening TCP port 50 would match different traffic.
Evil twin
An evil twin is an attacker’s wireless access point that imitates a legitimate network’s name to attract clients and their traffic.
A familiar staff SSID can still belong to an evil twin, so the laptop must validate the authentication server.
Exploit
An exploit is a technique or code that uses a vulnerability to achieve an attacker’s aim.
Code that abuses a VPN login flaw to run commands is an exploit for that particular weakness.
Extended ACL
An extended IPv4 ACL can filter by protocol, source and destination addresses, and transport ports when the protocol has ports.
An extended ACL can allow staff HTTPS to one server while denying staff SSH to that same server.

F

False negative
A false negative occurs when a real attack is not detected.
A malicious connection missed by the sensor is a false negative even if no alert appears on its dashboard.
False positive
A false positive flags legitimate traffic or activity as an attack.
A scheduled backup mistakenly reported as data theft is a false positive that needs investigation and tuning.
Full tunnel
A full tunnel sends all traffic from a remote device through the VPN, including ordinary internet traffic, for central handling.
The full tunnel carries a remote worker’s public browsing through the company’s web-filtering gateway.

H

Honeypot
A honeypot is an isolated decoy with no legitimate users, making unexpected contact suspicious.
A connection to the fake file server prompts investigation because the honeypot has no normal business users.

I

IDS
An intrusion detection system (IDS) observes activity and alerts without directly blocking it.
A network IDS watches copied packets from a mirror port and reports a suspicious connection pattern.
IKEv2
Internet Key Exchange version 2, or IKEv2, authenticates peers and negotiates protection settings and keys for IPsec security associations.
An IKEv2 SA can be established even while a later problem prevents creation of a usable IPsec data SA.
Implicit deny
An implicit deny is the final default rejection applied when a packet matches none of an ACL’s explicitly written entries.
Removing an ACL’s last permit for staff-to-internet traffic causes that staff traffic to reach the implicit deny.
IP Source Guard
IP Source Guard checks source addressing in IP packets against valid binding information, helping block forged endpoint addresses.
A manual source binding lets IP Source Guard validate traffic from a device configured with a static address.
IPS
An intrusion prevention system (IPS) can block attacks; a network IPS sits inline to drop packets.
An inline IPS drops a malicious request, but a false alarm could also interrupt a legitimate application.
IPsec
IPsec is a suite of network-layer protocols for protecting IP traffic, including peer authentication, integrity and commonly encryption.
The branch gateways use IPsec with ESP tunnel protection to carry private packets across the internet.

J

Jump box
A jump box is a hardened, closely monitored host that administrators enter before connecting to restricted device-management interfaces.
Switch management ACLs permit SSH from the jump box while denying ordinary workstation sources.

L

Lateral movement
Lateral movement is an attacker’s progress from one compromised system to other systems within a network through available connections.
A camera-to-recorder-only policy reduces the paths available for lateral movement from an infected camera.

M

MAB
MAC Authentication Bypass, or MAB, submits a device’s MAC address as its identity when it cannot participate in 802.1X authentication.
An older printer uses MAB but receives only restricted print-service access because its identity can be copied.
MAC flooding
MAC flooding sends many fake source addresses to fill switch learning capacity and expose traffic flooded to unknown destinations.
Port-security address limits reduce the number of fake entries a desk port can introduce through MAC flooding.
Management VLAN
A management VLAN separates administrative device interfaces from ordinary user traffic so access can be limited to approved sources.
The switch’s SSH interface belongs in the management VLAN and accepts sessions from the approved jump host.
MFA
Multifactor authentication, or MFA, combines evidence from different factor types: knowledge, possession or a personal physical characteristic.
A password and a hardware security key provide MFA, while a password and a second PIN are both knowledge checks.
Mitigation
A mitigation removes a weakness or limits the likelihood or damage of an attack.
Installing the vendor’s fix is a mitigation for the published flaw in the firewall’s login service.

N

NAC
Network access control, or NAC, decides whether a device may join and what access it receives, using identity and often device health.
NAC places an unpatched but authenticated laptop into a remediation VLAN instead of normal staff access.
NAT-T
NAT traversal, or NAT-T, carries IPsec ESP inside UDP 4500 so that the protected flow can pass through network address translation.
The gateway uses NAT-T because a translating router sits between the two IPsec endpoints.
Native VLAN
The native VLAN carries untagged traffic on an 802.1Q trunk unless native tagging is enabled.
Both trunk ends use the same unused native VLAN, with no endpoint ports assigned to it.
Network segmentation
Network segmentation divides devices into groups and controls communication between them, limiting unnecessary access and lateral movement.
Network segmentation keeps a guest laptop from directly reaching staff servers or management interfaces.
NGFW
A next-generation firewall, or NGFW, combines stateful filtering with features such as application recognition, user policy and IPS.
An NGFW can identify an unwanted application that uses the same transport port as approved web traffic.

O

On-path attack
An on-path attack puts an attacker between communicating devices, allowing traffic to be observed, altered or dropped along the route.
A forged gateway mapping can create an on-path attack while the victim’s web sessions continue to work.
OT
Operational technology, or OT, comprises systems that monitor or control physical processes, often requiring strict network isolation.
An OT controller controlling production equipment needs access rules that account for its operational role.
Out-of-band management
Out-of-band management uses a separate management or console path that can remain available when the production network is unavailable.
The engineer repairs a failed production route through an out-of-band management console server.

P

Password spraying
Password spraying tries a few common passwords across many accounts to avoid lockout limits.
One guessed password tried once against hundreds of users is a password spraying pattern.
PEAP
PEAP is an authentication method that uses a server-certificate TLS tunnel to protect a username-and-password authentication exchange.
A PEAP client must validate the server certificate so an evil twin cannot collect its password exchange.
Phishing
Phishing uses deceptive messages to steal information or prompt harmful actions.
The worker reports suspected phishing and opens the mail service using its known address instead of the link.
PKI
A public key infrastructure, or PKI, provides processes and authorities for issuing, trusting, renewing and revoking digital certificates.
The organization’s PKI lets a technician revoke one gateway certificate without replacing every peer’s credentials.
Port security
Port security limits the MAC addresses or number of addresses permitted through a switch port, reducing unauthorized source traffic.
The desk port’s port security accepts its learned PC address and drops frames from a second unfamiliar address.
Posture assessment
A posture assessment checks a device’s security health, such as updates, endpoint protection and firewall status, before granting access.
A posture assessment sends a laptop missing required updates to a VLAN that can reach remediation services.
Private VLAN
A private VLAN separates peers sharing a subnet through isolated, community and promiscuous roles.
Private VLAN isolated ports reach the gateway-facing promiscuous port while staying separated from each other.

R

RA guard
RA guard blocks unauthorized IPv6 router advertisements on selected ports, helping prevent endpoints from becoming false default routers.
RA guard on user ports rejects a laptop’s attempt to advertise itself as the IPv6 gateway.
RADIUS
RADIUS is an AAA protocol commonly used for network admission; classic RADIUS uses UDP 1812 for authentication and 1813 for accounting.
The access switch forwards authentication toward RADIUS when admitting an enterprise wireless client.
Ransomware
Ransomware encrypts files and demands payment, potentially affecting other reachable storage.
Backups beyond the ransomware’s reach help restore data after the affected device has been dealt with.
Rogue DHCP server
A rogue DHCP server supplies address settings without the network administrator’s approval, potentially giving false gateway or DNS data.
A home router plugged into a meeting-room socket becomes a rogue DHCP server when it starts offering leases.

S

Screened subnet
A screened subnet, also called a DMZ, holds public-facing services behind policy boundaries that separate them from internal systems.
A public web server sits in a screened subnet whose rules deny arbitrary new connections into the internal network.
Security association
A security association, or SA, records algorithms and key material for protected communication; IPsec data SAs work in one direction.
The engineer checks the incoming and outgoing data security associations separately from the IKE control SA.
Shadowed rule
A shadowed rule is an entry that relevant traffic cannot reach because an earlier, broader matching entry has already decided its result.
A permit-all entry placed above a deny for guest traffic leaves that deny as a shadowed rule that no test traffic matches.
Site-to-site VPN
A site-to-site VPN connects networks through their gateways, allowing hosts behind the gateways to communicate without individual VPN clients.
A site-to-site VPN links the branch LAN with headquarters over their existing internet connections.
SNMPv3 authPriv
SNMPv3 authPriv is the SNMPv3 security level that combines authenticated management messages with encryption of their protected contents.
The monitoring server uses SNMPv3 authPriv instead of an unencrypted SNMP community string.
Social engineering
Social engineering manipulates people into giving away information or granting access.
An unexpected caller demanding a password for an urgent repair is using social engineering.
Split tunnel
A split tunnel sends only selected destinations through the VPN while other traffic follows the remote device’s direct network connection.
A split tunnel sends corporate application traffic to headquarters while a public video call uses the local link.
State table
A state table records active flows so a firewall can recognize matching return traffic using addresses, ports and protocol information.
The server’s reply reverses the recorded client and server endpoints and matches an entry in the state table.
Stateless filtering
Stateless filtering evaluates each packet independently against its rules, without using recorded connection history to admit replies.
With stateless filtering, a permitted outgoing request can still fail if another rule drops the return packets.
Sticky learning
Sticky learning adds learned secure MAC addresses to the running configuration, allowing them to persist when that configuration is saved.
After enabling sticky learning, the engineer saves the configuration before testing a controlled restart.
Storm control
Storm control limits selected broadcast, multicast or unknown-unicast traffic rates on a port to reduce disruption from floods.
Storm control prevents an excessive broadcast stream on one port from consuming the VLAN’s available capacity.
Supplicant
A supplicant is endpoint software that requests network access and takes part in the authentication exchange controlled by 802.1X.
The laptop’s supplicant supplies its certificate-based authentication evidence through the access switch.
Switch spoofing
Switch spoofing impersonates a switch to negotiate a trunk and gain access to its allowed VLANs.
Static access mode and disabled negotiation prevent switch spoofing through a user-facing port.
SYN flood
A SYN flood starts many TCP handshakes without completing them, exhausting connection resources.
A sharp increase in unfinished handshakes prompts the engineer to investigate a possible SYN flood.
Syslog
Syslog carries device event records to a logging service, commonly using UDP 514, so events from multiple devices can be collected.
The switches send syslog to a central server and synchronize clocks so the events can be compared.

T

TACACS+
TACACS+ is an AAA protocol using TCP 49 that separates AAA functions and supports detailed command authorization and accounting.
The router consults TACACS+ to decide whether the signed-in engineer may change an interface setting.
TCP MSS
TCP maximum segment size, or MSS, limits the TCP data carried in a segment and can be adjusted to help traffic fit a VPN path.
Reducing TCP MSS can stop large transfers from exceeding the space left after VPN encapsulation headers.
Threat
A threat is a potential source of harm to a network, such as an attacker, insider or fire.
An attacker scanning exposed VPN gateways is a threat to an organization that has not patched them.
TLS inspection
TLS inspection decrypts traffic at an approved inspection point, examines it and encrypts it again using certificates trusted by clients.
Managed laptops trust the inspection authority, and policy excludes sensitive categories from TLS inspection.
Transport mode
IPsec transport mode protects a packet’s payload while retaining the original IP header, often between hosts or around another tunnel.
A host-to-host design can use transport mode without replacing the original header with gateway addresses.
Trojan
A trojan is malware disguised as useful or legitimate software to encourage its execution.
A supposed network utility that secretly steals credentials is a trojan even if its interface appears useful.
Trunk
A trunk carries multiple VLANs across one link, normally identifying them with 802.1Q tags.
A trunk to an access switch carries staff, guest and management VLANs but leaves out a server VLAN that it does not need.
Tunnel mode
IPsec tunnel mode encapsulates the complete original IP packet behind a new IP header; ESP also encrypts the inner packet.
In tunnel mode, internet routers use the outer gateway addresses while the original private packet is protected.

U

URL filtering
URL filtering allows or blocks web access by requested address or category, such as known malware sites or a restricted content class.
A web policy for guests applies URL filtering to block known malware domains during otherwise permitted browsing.

V

VLAN hopping
VLAN hopping is an attack that sends traffic into another VLAN without passing through the routing boundary intended to filter it.
Hardening access ports and native-VLAN handling closes common VLAN hopping paths through a switch.
VPN
A virtual private network, or VPN, protects traffic between endpoints across an untrusted network using a controlled protected connection.
The VPN carries private branch traffic across the internet between the organization’s two gateways.
Vulnerability
A vulnerability is a weakness that can be used to harm a system or gain unwanted access.
Leaving a router’s factory password unchanged creates a vulnerability even before an attacker logs in.

W

WAF
A web application firewall, or WAF, inspects requests to web applications and filters attacks carried inside those requests.
A WAF can screen requests for SQL injection while a network rule separately controls access to the server.
Wildcard mask
A wildcard mask specifies which address bits an ACL must compare: zero bits must match and one bits are ignored.
The wildcard mask 0.0.0.63 lets the six host bits vary within an aligned IPv4 /26 subnet.
Worm
A worm spreads itself through vulnerable network services without requiring user action.
A worm can move between unpatched hosts, making service filtering and segmentation useful alongside patching.

#

802.1X
IEEE 802.1X is a wired and wireless port-based access-control standard that checks identity before admitting normal network traffic.
The 802.1X exchange completes before the switch admits the managed laptop into its assigned staff VLAN.

About this lesson

By StudeliReport a mistake

Make your own Study Materials

Turn your notes, slides and documents into Study Guides, Practice Questions, Flashcards and 6 more tools.

Get Started