Out-of-band management: protecting server BMCs

IT Infrastructure · 4 min

Articles by Luís Carvalho

The BMC lets you manage servers remotely, even when the operating system is unavailable. Learn how to secure this interface, control access and preserve your ability to recover.

Out-of-band management: protecting server BMCs

TL;DR

A controller that works while the server is powered off

Enterprise servers often include a motherboard management controller, known as a BMC (Baseboard Management Controller). This component has its own firmware and makes it possible to monitor hardware status, query sensors, access the remote console and perform administrative operations, such as powering the device on or restarting it. Unlike management tools installed on the operating system, the BMC operates relatively independently and can remain available even when the server is powered off, as long as it retains the necessary electrical power. This capability makes out-of-band management especially useful during failures or recovery work. However, it also requires specific protection: whoever compromises the BMC may gain control over the hardware and the boot process that goes beyond the usual security mechanisms of the operating system.

A privileged interface that requires its own management

In many organizations, the BMC is configured when the server is installed and is rarely reviewed again. Shared accounts, default credentials, unnecessary services, old firmware versions or access from poorly restricted networks can remain active for years. The risk is significant because the controller has administrative capabilities that, depending on the device, may allow boot settings to be changed, remote consoles to be used or storage media to be accessed. In addition, BMC firmware is updated separately from the operating system and may not be covered by the usual patch management tools. The NSA and CISA guidance recommends hardening credentials and configurations, regularly checking for available updates and monitoring the integrity of the controller. The BMC should therefore have its own maintenance and security process.

A separate management network with controlled access

A fundamental measure is to restrict access to BMCs through a management network that is separate from user environments and production services. This separation can rely on dedicated VLANs, complemented by firewall rules and access control lists that effectively limit the communications allowed. Management interfaces should not be directly exposed to the Internet, and remote access should be provided through secure, properly authorized mechanisms. Whenever possible, administrators should use individual accounts, appropriate privileges and multi-factor authentication. When the BMC itself does not support these controls, an intermediate administration platform can help enforce them. The configuration should also favor secure protocols, disable unnecessary services and enable logging of operations, according to the device's capabilities. The goal is to limit who can administer the server without preventing legitimate interventions.

The BMC belongs in the inventory too

Protecting controllers depends on an up-to-date view of the infrastructure. Every BMC should be listed in the asset inventory or CMDB, linked to its server, management address, manufacturer, model, firmware version, technical owner and support status. This information makes it possible to identify forgotten devices, plan updates and assess exposure to known vulnerabilities. The available events, such as failed authentication attempts, configuration changes or integrity alerts, should be forwarded to the appropriate monitoring mechanisms wherever technically possible. Firmware updates require their own planning, following the manufacturer's guidance and considering any impact on the availability of remote management. When a server is decommissioned, transferred or returned, the access, credentials and configurations stored in the BMC should also be reviewed to ensure that no improper data or administration mechanisms remain.

Isolating without losing the ability to recover

Out-of-band management is especially valuable when the operating system, the production network or the usual administration services stop working. However, a poorly planned security architecture can undermine this advantage. If access to the BMC depends exclusively on the same authentication, firewall or VPN infrastructure affected by the incident, the team may be unable to carry out the recovery. It is important to define emergency access mechanisms, with protected credentials, authorized use, documented procedures and regular testing. Centralized management solutions can make it easier to operate multiple servers, but they also concentrate privileges and should receive equivalent protection. The architecture should be sized according to the criticality, size and distribution of the infrastructure. It is also important to recognize that the BMC does not replace power continuity mechanisms and cannot remotely recover a device that lacks the necessary power supply.

Visibility first, controls second

Out-of-band management security should start with identifying existing controllers and assessing their configurations. From that baseline, the organization can prioritize the most critical servers, eliminate inadequate credentials, restrict access, update firmware and integrate the available events into security monitoring. BMC integrity verification should also be considered when the hardware provides compatible mechanisms. There is no single architecture for all environments: a small installation and a distributed datacenter have different segmentation, administration and continuity needs. The essential point is to ensure that controllers are inventoried, that privileges are known and that recovery procedures have been tested. An interface created to recover servers must not become a forgotten vulnerability in the infrastructure it is meant to protect.

Related

References

  1. NSA & CISA - Harden Baseboard Management Controllers
  2. NSA - NSA and CISA Release Guide to Protect Baseboard Management Controllers
  3. NIST SP 800-193 - Platform Firmware Resiliency Guidelines
  4. SecurityWeek - CISA, NSA Share Guidance on Hardening Baseboard Management Controllers