Which of the following best describes the OS hardening method?
Show answerHide answer
Correct answer: B Disable unneeded hardware.
Explanation
ExplanationThe process of OS Hardening (or System Hardening) involves reducing the security risk by decreasing the attack surface of the system. This is achieved by removing or disabling anything that isn't absolutely required for the server's specific role.
Correct Option (B)
B. Disable unneeded hardware (and associated services/software).
Reasoning:
This aligns with the fundamental principle of hardening: "Remove what you don't need." Disabling unneeded hardware (like a CD-ROM, USB ports, or even unused network interfaces) reduces the system's attack surface because it eliminates potential entry points for an attacker. More importantly, this includes disabling unnecessary services and daemons that run to support such hardware or features (e.g., telnet, FTP, unnecessary web services), which is a crucial and expansive part of OS hardening.
Incorrect Options
A. Apply security updates.
Why it's Incorrect:
Applying updates is a critical, ongoing maintenance task to keep the system secure, but it is typically viewed as a patch management component of security rather than the defining method of hardening. Hardening focuses on initial secure configuration and reducing the attack surface by turning things off.
C. Set a BIOS password.
Why it's Incorrect:
Setting a BIOS/UEFI password is a form of physical security for the server hardware itself, preventing unauthorized changes to the firmware settings or boot order. While important for overall server security, it is a hardware hardening step, not a primary Operating System (OS) hardening method.
D. Configure the boot order.
Why it's Incorrect:
Configuring the boot order (e.g., to boot only from the hard drive, not USB or CD-ROM) is another form of physical and hardware security. It prevents an attacker with physical access from booting a malicious external OS to bypass the local security controls, but it is not a direct measure to harden the running operating system configuration.
Summary
OS hardening is primarily about reducing the system's attack surface. The best way to describe this method among the options is to disable unneeded components (B), which encompasses removing unnecessary software, shutting down non-essential services, and disabling unused hardware. This minimizes potential vulnerabilities that could be exploited.