Skip to content

Network authentication

How to identify and crack an IPMI2 RAKP HMAC-SHA1 hash

Identify an IPMI2 RAKP HMAC-SHA1 hash and crack it with ready-to-run hashcat and John the Ripper commands. Fast on a GPU.

hashcat mode -m 7300John format RAKP

IPMI2 RAKP HMAC-SHA1 is an network authentication hash type. It is fast and typically unsalted, which makes weak passwords recoverable quickly on consumer GPU hardware. This page shows how to recognise it and the exact commands to attack it.

All identification runs locally in WebAssembly. The commands below write the hash to a local file on your machine — nothing is sent to this site.

Identifying the hash

The hash identifier on the home page detects IPMI2 RAKP HMAC-SHA1 entirely in your browser — your hash is never uploaded. A typical example looks like this:

b7c2d1aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaae8f9:a94f3c0d8e2b0a9f7c3e5d1b6a8c0f2d3e4f5061

Cracking IPMI2 RAKP HMAC-SHA1 with hashcat

Save the hash to a file and run hashcat in mode -m 7300. Start with a wordlist such as rockyou.txt:

echo 'b7c2d1aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaae8f9:a94f3c0d8e2b0a9f7c3e5d1b6a8c0f2d3e4f5061' > hash.txt && hashcat -m 7300 hash.txt /usr/share/wordlists/rockyou.txt

Add a rule set to mutate dictionary words (capitalisation, leetspeak, appended digits) and dramatically widen coverage:

echo 'b7c2d1aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaae8f9:a94f3c0d8e2b0a9f7c3e5d1b6a8c0f2d3e4f5061' > hash.txt && hashcat -m 7300 hash.txt /usr/share/wordlists/rockyou.txt -r /usr/share/hashcat/rules/best64.rule

Cracking IPMI2 RAKP HMAC-SHA1 with John the Ripper

John the Ripper can attack the same hash with the RAKP format:

echo 'b7c2d1aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaae8f9:a94f3c0d8e2b0a9f7c3e5d1b6a8c0f2d3e4f5061' > hash.txt && john --format=RAKP --wordlist=/usr/share/wordlists/rockyou.txt hash.txt