The out-of-band management controller (BMC) gives full control over a server: power, console and virtual media, even when the operating system is down. That makes it very useful, and very dangerous if exposed.
Rules we apply everywhere
- Never put a BMC on the public internet. Use a separate management network, reachable only through a VPN or bastion host.
- Change the default password on every controller, and use a unique one per server.
- Update the firmware. BMCs have had serious vulnerabilities. Keep them current along with the BIOS.
- Disable what you don't use, such as IPMI over LAN (UDP 623) if you only use the web interface or Redfish.
- Create named accounts for each engineer instead of sharing the admin account, where the controller supports it.
Check from the command line
ipmitool lan print 1 ipmitool user list 1 ipmitool mc info
We set up and maintain out-of-band access as part of datacenter and server management.