TechKnowSurge
CompTIA Security+ 2.2 CompTIA Security+ 2.3 CompTIA Security+ 2.4 CompTIA Security+ 4.1 CompTIA Security+ 2.5 CompTIA Network+ 4.3
InteractiveSecurityFree

Harden the New Switch

Read a brand-new switch's status report against the scenario you are given and flag every out-of-the-box setting that leaves it open to attack — a different report every run.

⚑ Complete this interactive to capture a CTF flag worth 5 points.

About this interactive

A new switch does something that surprises most people the first time they rack one: it works. Plug in power, cable a few desks, and traffic flows without a single setting touched. That is deliberate. A vendor whose equipment does nothing out of the box gets support calls, so every device ships tuned for a good first five minutes — logins already set, services already running, every port already live. None of those choices were made for security, and this activity asks you to see them for what they are. You get a short scenario — how your team manages its switches, whether anything monitors them, whether this one stands alone or shares a floor with others — and the switch's status report exactly as it reads on first power-on. Between five and eight problems are planted, and which lines carry them is drawn fresh every run, so the second time through is a different report rather than the same one remembered. Between them the faults cover what the lesson calls the vulnerabilities you add every time you add equipment: default settings, from a factory admin login printed in a manual anyone can download to an SNMP community string of "public" and a management VLAN every port shares; services nobody on your team will use, a web interface or a file-transfer service that asks for no login at all; an old protocol with a problem built in, Telnet or HTTP, sitting beside the encrypted twin that is switched off; a protection the vendor shipped off, a session that never times out or a lockout that never locks; outdated software that nothing on the line says is wrong, except the build date beside the current version; and the lesson's own example, dozens of empty ports all switched on. Some lines are right or wrong only because of the scenario. Spanning tree ON is a control doing its job on a floor where switches are cabled to each other twice, and an unused protocol widening the attack surface on a site with one switch and no loop to stop. A web interface over HTTPS is fine for a team that manages switches that way and a door nobody opens for a team that uses the command line. Reading a report means reading it against the situation, which is what this activity practises. Check your findings and the activity does not take an incomplete answer. If a fault is still unmarked, or one of your marks is on a line that is fine, it explains the kind of thing you have missed — what separates a cleartext protocol from an encrypted one, what makes a factory value a risk, which lines are protections rather than services — without saying which line, and lets you look again. When every fault is marked and nothing else is, every line opens with the step that fixes it: change the default, turn off what you do not use, turn on what protects you, trade the cleartext protocol for its encrypted twin, and update before the device joins the network rather than after. A fault found before its hint is a point, one found after it is half, and each clean line you have marked when you check costs half — so marking everything and letting the hints sort it out scores nothing, and the habit to leave with is the lesson's closing point: a device is insecure by its nature until someone makes it otherwise, and doing nothing is a decision too.

What you'll learn

Aligned to

CompTIA Security+
2.2 Explain common threat vectors and attack surfaces.
2.3 Explain various types of vulnerabilities.
2.4 Explain types of vulnerabilities and attack surfaces.
4.1 Given a scenario, apply mitigating controls, techniques, and solutions to secure the environment.
2.5 Explain the purpose of mitigation techniques used to secure the enterprise.
4.1 Given a scenario, apply common security techniques to computing resources.
CompTIA Network+
4.3 Given a scenario, apply network security features, defense techniques, and solutions.

Key terms

Equipment Hardening
The process of securing a device by reducing its attack surface through disabling unneeded features, updating software, and applying security configurations before deployment on a network.
Default Settings
The factory-configured values on a device, including usernames, passwords, and enabled services, that are set for ease of use rather than security and must be changed before deployment.
Default Credentials
Factory-set usernames and passwords that ship with network devices, applications, and services. Default credentials must be changed immediately upon deployment because they are publicly documented and frequently targeted by automated attackers.
Attack Surface
The total set of points in a system where an unauthorized user can attempt to enter or extract data.
Service
A software process running on a system that provides functionality or resources, which may introduce vulnerabilities if left enabled and unused.
Telnet
Telnet is a legacy remote terminal protocol that transmits all data including credentials in cleartext; it is considered insecure and serves as a security training example of why encrypted alternatives like SSH are required.
Secure Shell
SSH
A cryptographic network protocol that provides secure remote login and command execution over an unsecured network.
Firmware
Permanent software embedded in a device's non-volatile memory that controls its hardware functions and low-level operations; it bridges the hardware and any higher-level software.
Simple Network Management Protocol
SNMP
A protocol used to monitor and manage network devices such as routers, switches, and servers.
Trivial File Transfer Protocol
TFTP
A minimal protocol for copying files over UDP port 69, with no login and no directory listing. It sends a file in numbered blocks and resends any block whose acknowledgment does not come back, so it recovers lost data itself. Network devices use it to load configuration files, IOS images and boot files on trusted networks.
Hypertext Transfer Protocol
HTTP
An application-layer protocol that defines how web browsers and servers communicate to request and deliver web pages and other content, operating over TCP on port 80. HTTP transmits data in plaintext, which is why it has been largely replaced by HTTPS for sensitive content.
Hypertext Transfer Protocol Secure
HTTPS
The encrypted form of the web's main protocol: web traffic carried inside a TLS session on TCP port 443, so that what a browser and a web server exchange is confidential and cannot be read or modified by an eavesdropper. It is now the standard for web traffic, shown by the padlock icon in a browser.
Cleartext
Data transmitted in an unencrypted, human-readable format that can be intercepted and read by any party on the network.
Patch
A software update released by a developer to fix security vulnerabilities, bugs, or functionality issues in an operating system or application.
Misconfiguration
An incorrect or insecure system or service setting made by an administrator that can expose vulnerabilities affecting confidentiality, integrity, or availability.
Vulnerability
A weakness in a system, application, or process that can be exploited by a threat actor.
Account Lockout
A security control that disables a user account after a defined number of failed login attempts to prevent unauthorized access.
Switch
A network device that connects devices within a LAN and forwards traffic based on MAC addresses.
Spanning Tree Protocol
STP
A network protocol that prevents loops in Ethernet networks by creating a loop-free logical topology.
Management VLAN
A VLAN reserved for administrative access to network devices, separating switch and router management traffic from user data traffic so that a compromised end device does not share a broadcast domain with the management addresses.

Topics

Interactive Spot The Error

About TechKnowSurge

TechKnowSurge builds IT and cybersecurity professionals through hands-on, concept-first training built around real understanding — not memorization. Free interactive tools, structured programs, and 25+ years of real-world experience, all in one place.

Explore free tools and programs →