Learn how routers, switches, and firewalls shape the network infrastructure attack surface. Use diagrams to spot exposure and decide what to secure first.
👉 Master your Security+ skills with Pluralsight here: Pluralsight
You’ll learn how routers, switches, firewalls, and virtual devices create a network infrastructure attack surface. This beginner-friendly CompTIA Security+ guide shows you how to spot risky exposure on a network diagram and decide what to secure first.
Chapters: 0:00 Intro 0:14 How can a firewall have its own attack surface? 0:55 Where are routers and switches exposed? 1:45 How do virtual devices and session keys change the risk? 2:51 How do defenders reduce the network attack surface? 3:53 Outro
Affiliate notice: Some links may earn a commission. Thanks for your support.
Key Takeaways
An attack surface includes every point where someone can interact with a device, even if that point is secured and has no known flaw.
Review the data, control, and management planes separately: a firewall may need to handle public traffic without exposing its admin dashboard.
Prioritize by reachability and blast radius. Both an unnecessarily public admin interface and an internal controller that can change policy across multiple sites deserve early attention.
Verify actual traffic paths against the diagram. Workloads on the same host may communicate without crossing the physical firewall, and a guest network drawn as separate may not be isolated in practice.
Mark where TLS ends. A load balancer that terminates TLS decrypts traffic there; encryption on the client connection doesn’t guarantee encryption on the backend connection.
Restrict admin access, disable unused services, and patch required ones. Monitor configuration changes as well as outages: a device can keep forwarding traffic while running unauthorized rules.
👉 Try Pluralsight to apply these concepts in guided labs, get feedback, and focus your Security+ prep with assessments and practice exams.
A firewall can protect the servers behind it and still be a target itself. It processes traffic, runs software that needs updates, and gives administrators a way to change its rules. Each of those functions creates a point of exposure. The same principle applies to routers, switches, VPN gateways, load balancers, and their virtual counterparts.
To assess a network infrastructure attack surface, start with three questions: Who can reach the device and its services? Where does encryption end? What else would be affected if the device failed or was compromised? Those questions turn a network diagram into a practical tool for deciding what to secure first.
What is a network infrastructure attack surface?
A device’s is the set of points where someone could interact with it or affect its behavior. An interface doesn’t need to have a known flaw to count. A properly secured VPN listener is still exposed to the clients it serves, and an internal switch dashboard is still exposed to whichever devices can reach it.
FAQ
Quick answers to the questions people usually ask about this topic.
What should a network infrastructure attack surface inventory record for each service?
Record more than the device name and IP address. For each enabled service, note its purpose, who needs to reach it, which networks can reach it, and who owns it. Include virtual interfaces and controller APIs. Tracking exposure by service helps you distinguish a required public VPN listener from an admin dashboard on the same device.
What can I verify about network exposure without actively probing devices?
Start with read-only evidence: approved diagrams, device configurations, firewall rules, and existing traffic logs. Compare what the design intends, what the rules permit, and what the logs show. No traffic in the logs does not prove a path is blocked. If active testing is needed, obtain explicit authorization and agree on the scope first. NIST’s security testing guide explains the distinction.
How can I tell whether a management VLAN actually limits access?
A management VLAN separates traffic at Layer 2, but its name alone doesn’t tell you who can reach it. Review inter-VLAN routing, firewall rules, and access control lists to confirm that only approved administrative paths can reach management services, not ordinary employee or guest networks.
If a load balancer re-encrypts backend traffic, do the application servers still need restricted access?
Yes. Backend TLS protects traffic in transit from the load balancer to the servers; it does not stop clients from connecting directly to those servers. Restrict backend access to the load balancer and any other explicitly approved systems so clients can’t bypass controls enforced at the load balancer.
What should I do about an end-of-life router or switch I can’t replace immediately?
Treat restrictions as temporary safeguards, not a substitute for security updates. Disable unused services, limit management access to approved administrative paths, and monitor configuration changes. Assign an owner and a replacement deadline so the unsupported device doesn’t become a permanent exception.
Where can I get hands-on practice assessing network exposure for Security+?
Once you can identify public services, management paths, and encryption endpoints on a diagram, try Pluralsight as an optional next step. Guided security labs let you apply the concepts and get feedback, while assessments and practice exams help you decide what to review next.
A branch router illustrates four terms that are easy to confuse:
Term
What it means
Branch router example
Attack surface
The points where someone could interact with or affect a system.
The router’s admin page, routing interfaces, forwarding path, and local console.
Attack vector
The route or method used to reach or affect a target.
Signing in to a reachable admin page with a stolen credential.
Vulnerability
A weakness that could be taken advantage of.
An authentication flaw in the router’s management software.
Impact
The consequence if an attack succeeds.
An unauthorized route change takes the branch office offline.
Infrastructure devices matter because many users and services depend on them. A compromised device could expose traffic (confidentiality), change routes or filtering rules (integrity), or interrupt access (availability). The scope of those consequences is the blast radius. An internal switch may be reachable by fewer people than a public VPN gateway but still have a large blast radius if an office depends on it.
Where are routers, switches, and firewalls exposed?
Look at what the device does with traffic: does it pass through the device, go to its routing functions, or reach its administrative functions? Those are the data, control, and management planes. They describe jobs, not necessarily separate physical ports.
Plane
What it does
How exposure shows up
Data plane
Forwards or filters user traffic.
A stateful firewall can run out of capacity to track new connections. Legitimate users lose access even though nobody logged in or changed a rule.
Control plane
Maintains the network information used to make forwarding decisions.
Incorrect or untrusted routing information can send traffic down the wrong path or interrupt access.
Management plane
Lets administrators and software configure and monitor the device.
Web dashboards, SSH, management APIs, and monitoring services may be reachable from networks that don’t need administrative access.
An internet-facing firewall needs to process public traffic for the services it protects. That doesn’t mean its admin dashboard needs to be public. The reverse is also true: an internal-only dashboard is more exposed than it needs to be if every employee laptop can reach it.
Look beyond the three planes, too. A local console, firmware updates, configuration backups, and central controllers all create trust relationships worth reviewing. Patching employee laptops doesn’t update the firmware running on the router.
What risky exposure looks like on a network diagram
Start by marking which networks are meant to reach each interface or service. Then compare the intended design with approved configurations and actual traffic paths. A line on a diagram can show where traffic is supposed to go, but it doesn’t prove a rule or boundary is working as intended.
What you see
What to check
Why it matters
Internet-facing firewall or VPN gateway
Can public clients reach only the required service, or can they also reach an admin interface?
A public VPN listener may be necessary. Public access to its management interface is a separate exposure.
Guest Wi-Fi and an employee network
Do the access point, switches, and firewall rules keep guest traffic separate from employee services?
A guest network shown as separate on paper can still reach internal resources if it’s mapped to the wrong segment or allowed through a broad rule.
A public load balancer in front of application servers
Can clients reach the backend directly? Where does TLS end, and is the backend connection encrypted?
Direct access can bypass controls on the load balancer. Encrypting the client connection doesn’t automatically encrypt the backend connection.
Virtual machines behind a firewall
Does traffic between workloads actually pass through that firewall?
Two virtual machines on the same host can communicate without crossing a physical inspection point.
A controller managing multiple sites
Which accounts can make changes, and how many devices can each account control?
A broadly privileged account can turn a single mistake or compromise into a multi-site incident.
Review configurations and verify reachability only on systems covered by explicit authorization and an agreed scope. A publicly reachable admin page is not permission to test it. NIST’s security testing guide distinguishes examination from active testing that can affect production systems.
How virtual network devices change the attack surface
A virtual switch, router, or firewall performs a networking function in software. It still handles traffic, enforces policies, and needs to be managed. What changes is where the function runs and who can change it.
For example, two virtual machines on the same host can exchange traffic through a virtual switch. That east–west traffic, or traffic between workloads, may never reach the physical firewall or monitoring appliance shown at the network edge. A virtual firewall can also be running without protecting a particular workload if that workload’s traffic doesn’t pass through it.
When reviewing a virtual environment, include the virtual appliance, its host, and any controller or management API that can change its behavior. NIST’s guidance on virtual network security covers these boundaries in more detail.
Why TLS termination and session keys matter
A session key is cryptographic keying material used to protect communications for a connection or security association. A router that merely forwards encrypted packets doesn’t ordinarily hold the keys for that connection. A device that terminates the connection acts as a cryptographic endpoint, so it can decrypt the traffic there.
Consider an HTTPS load balancer that terminates Transport Layer Security (TLS):
The client establishes a TLS connection to the load balancer.
The load balancer decrypts the client’s traffic.
If the load balancer uses TLS to reach the backend, it establishes a second connection with its own keys. If it uses HTTP instead, that leg is unencrypted.
Two encrypted legs are not one end-to-end TLS connection. A VPN gateway creates a similar distinction: the VPN tunnel ends at the gateway, but application traffic inside the tunnel may still have its own encryption, such as HTTPS.
For Security+, don’t confuse a session key with a browser session token. The key protects network communications; the token tells a web application which signed-in session a request belongs to. When reviewing a diagram, mark where encryption ends and identify who can administer those devices or access any retained session secrets.
How to reduce the network infrastructure attack surface
Prioritize devices by reachability and blast radius, not location alone. An unnecessarily public admin interface deserves early attention, but so does an internal controller that can change routing or firewall policy across several sites.
Real incidents reinforce the difference between a device that works and one that can be trusted. A CISA and FBI alert on small office and home office routers highlighted exposed web management and inadequate update capabilities. A later joint advisory on communications network compromises emphasized reviewing unexpected changes to mirroring, tunneling, authentication, and firewall rules. Uptime tells you whether traffic is still moving; it doesn’t tell you whether the device is behaving as authorized.
Practice assessing network exposure for Security+
To apply these concepts, take a network diagram and mark the required public services, the administrative paths, and the points where encryption ends. Then pick one device and explain what would stop working, become visible, or change if it failed or was compromised. If you’re ready for more practice, guided labs and feedback can help you spot gaps, while assessments and practice exams can help you focus your certification study.
👉 Try Pluralsight to practice in guided security labs, get feedback, and see what to study next.
Affiliate notice: Some links may earn a commission. Thanks for your support.
Remote Desktop Security Risks: Why RDP and VNC Can Be Risky (Explained Clearly)Next
Inventory physical and virtual devices. Record owners, software and firmware versions, support status, enabled services, and which networks can reach them. Flag equipment that no longer receives fixes.
Separate administration from ordinary traffic. Restrict management access to dedicated paths and authorized accounts. Use least privilege and multifactor authentication where supported.
Disable what you don’t need and patch what you do. Disabling an unused service removes an exposure point. Patching a required service fixes weaknesses without removing the exposure.
Verify segmentation and limit administrative scope. Check that traffic crosses the intended controls and that accounts or controllers can change only the devices they need to manage.
Monitor configuration changes as well as outages. Compare live settings with approved baselines and collect logs centrally. Look for unexpected administrative access, route changes, firewall rules, or traffic mirroring. A router can keep forwarding ordinary traffic while its configuration no longer matches what was approved.
Protect the places where encryption ends. Restrict access to termination points and any systems that receive or store session secrets. Encryption in transit doesn’t protect data from a compromised device that legitimately decrypts it.
Affiliate link — I may earn a commission at no additional cost to you.
Jay's Recommendation
Turn understanding into hands-on confidence
You've built the foundations. Pluralsight adds opportunities to practice in guided security labs, get feedback, and check your knowledge with assessments and practice exams, so your next step is more than another video.
🛠Put concepts to workBuild practical skills with guided security labs and feedback.
🎯Find your weak spotsUse assessments to focus on what needs more work.
📝Check your understandingUse practice exams to guide your certification preparation.
🧭Give study sessions directionOrganize further learning with curated paths and progress tracking.