Question 21
Choose 1
A network technician is attempting to harden a commercial switch that was recently
purchased. Which of the following hardening techniques best mitigates the use of publicly
available information?
Correct answer:
A. Changing the default password
Explanation:
1. Why Change the Default Password?
Commercial network devices (like switches) often come with well-known default passwords (e.g., "admin/admin," "cisco/cisco").
Attackers use publicly available information (e.g., vendor documentation, online databases) to look up these defaults and gain unauthorized access.
Changing the default password immediately after installation mitigates this risk by preventing easy exploitation of public knowledge.
2. How This Mitigates Public Information Use:
Public resources (e.g., manufacturer manuals, websites like default-password.info) list default credentials for various devices.
By changing the password, you remove the attacker’s ability to use this publicly available information to compromise the device.
3. Why Not the Other Options?
B) Blocking inbound SSH connections:
While this enhances security, it does not directly address the use of publicly available default passwords. SSH might not even be enabled by default.
C) Removing the gateway from the network configuration:
This would isolate the switch from other networks but is not a standard hardening practice. It might break management connectivity and does not prevent local attacks using default credentials.
D) Restricting physical access:
Physical security is critical but does not mitigate remote attacks leveraging publicly known defaults. Attackers don’t need physical access if they can log in remotely with default passwords
4. Best Practices for Switch Hardening:
Change all default passwords (including enable secret and console lines).
Disable unused services (e.g., HTTP, SNMP if not needed).
Update firmware to patch known vulnerabilities.
Use strong, unique passwords and enable encryption (e.g., SSH instead of Telnet).
5. Real-World Example:
The Mirai botnet exploited default credentials in IoT devices. Similarly, network switches are prime targets if defaults are not changed.
Reference:
CompTIA Network+ Objective 4.2 (Network Hardening Techniques)
NIST Guidelines (SC-12): Credential Management
Summary:
Changing the default password is the most effective way to mitigate attacks that rely on publicly available default credentials. This is a foundational step in device hardening.
1. Why Change the Default Password?
Commercial network devices (like switches) often come with well-known default passwords (e.g., "admin/admin," "cisco/cisco").
Attackers use publicly available information (e.g., vendor documentation, online databases) to look up these defaults and gain unauthorized access.
Changing the default password immediately after installation mitigates this risk by preventing easy exploitation of public knowledge.
2. How This Mitigates Public Information Use:
Public resources (e.g., manufacturer manuals, websites like default-password.info) list default credentials for various devices.
By changing the password, you remove the attacker’s ability to use this publicly available information to compromise the device.
3. Why Not the Other Options?
B) Blocking inbound SSH connections:
While this enhances security, it does not directly address the use of publicly available default passwords. SSH might not even be enabled by default.
C) Removing the gateway from the network configuration:
This would isolate the switch from other networks but is not a standard hardening practice. It might break management connectivity and does not prevent local attacks using default credentials.
D) Restricting physical access:
Physical security is critical but does not mitigate remote attacks leveraging publicly known defaults. Attackers don’t need physical access if they can log in remotely with default passwords
4. Best Practices for Switch Hardening:
Change all default passwords (including enable secret and console lines).
Disable unused services (e.g., HTTP, SNMP if not needed).
Update firmware to patch known vulnerabilities.
Use strong, unique passwords and enable encryption (e.g., SSH instead of Telnet).
5. Real-World Example:
The Mirai botnet exploited default credentials in IoT devices. Similarly, network switches are prime targets if defaults are not changed.
Reference:
CompTIA Network+ Objective 4.2 (Network Hardening Techniques)
NIST Guidelines (SC-12): Credential Management
Summary:
Changing the default password is the most effective way to mitigate attacks that rely on publicly available default credentials. This is a foundational step in device hardening.