IPMI
A BMC is a tiny computer bolted to a server’s motherboard that runs even when the host is powered off — and gaining access to it is nearly equivalent to physical access. IPMI 2.0 has a flaw baked into the spec that hands you the password hash of any valid user, no authentication required.
Protocol: UDP · Port: 623
What Is IPMI?
The Intelligent Platform Management Interface (IPMI) is a standardized set of specifications for hardware-based host management. It runs as an autonomous subsystem, independent of the host’s BIOS, CPU, firmware, and operating system — so administrators can manage and monitor a machine even when it’s powered off or unresponsive. It connects directly to the system’s hardware over the network and needs no login shell on the OS. Typical uses:- Modifying BIOS settings before the OS boots
- Managing a host that’s fully powered down
- Accessing a host after a system failure
BMCs
Systems that speak IPMI are called Baseboard Management Controllers (BMCs) — typically embedded ARM systems running Linux, wired directly to the motherboard (built in, or added as a PCI card). The ones you’ll meet most on internal tests:- HP iLO
- Dell DRAC
- Supermicro IPMI
Footprinting the Service
Nmap
Theipmi-version NSE script fingerprints the protocol on UDP 623:
Metasploit Version Scan
The same fingerprint is available via Metasploit:Default Credentials
Administrators frequently leave BMC default passwords in place. Worth keeping in your cheat sheet:| Vendor | Default Username | Default Password |
|---|---|---|
| HP iLO | Administrator | factory-randomized 8-char (uppercase + digits) |
| Dell iDRAC | root | calvin |
| Supermicro IPMI | ADMIN | ADMIN |
Dangerous Settings — The RAKP Hash Flaw
If default credentials don’t work, IPMI 2.0 has a flaw in its RAKP protocol that’s a core part of the specification — so there’s no real “fix,” only mitigation. During authentication, the server sends a salted SHA1 or MD5 hash of the user’s password to the client before authentication completes. That means you can request the password hash for any valid user account on the BMC, then crack it offline.Retrieve the Hash with Metasploit
Crack It with Hashcat
IPMI RAKP hashes use Hashcat mode 7300:Quick Reference
| Command | Purpose |
|---|---|
nmap -sU -p623 --script ipmi-version <ip> | Fingerprint IPMI version |
auxiliary/scanner/ipmi/ipmi_version | Metasploit version scan |
auxiliary/scanner/ipmi/ipmi_dumphashes | Retrieve RAKP password hashes |
hashcat -m 7300 ipmi.txt <wordlist> | Crack IPMI hashes (dictionary) |
hashcat -m 7300 ipmi.txt -a 3 ?1?1?1?1?1?1?1?1 -1 ?d?u | Mask attack for HP iLO defaults |
root:calvin · Supermicro ADMIN:ADMIN · HP iLO randomized 8-char.
The footprinting flow: nmap for UDP 623 and version → try default credentials → if those fail, dump RAKP hashes with Metasploit → crack offline with Hashcat mode 7300 → log into the BMC, and test the password for reuse elsewhere.
Next: MySQL — database enumeration, authentication, and reading data straight off the server.