Network authentication
How to identify and crack a FortiGate (FortiOS) hash
Identify a FortiGate (FortiOS) hash and crack it with ready-to-run hashcat and John the Ripper commands. Fast on a GPU.
FortiGate (FortiOS) is a 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 FortiGate (FortiOS) entirely in your browser — your hash is never uploaded. A typical example looks like this:
AK1AAECFD8DD5A1BBB7159F0D62677A6F30B6C9DF2F6FCFDF50F9D50F70Bb91D
Cracking FortiGate (FortiOS) with hashcat
Save the hash to a file and run hashcat in mode -m 7000. Start with a wordlist such as rockyou.txt:
echo 'AK1AAECFD8DD5A1BBB7159F0D62677A6F30B6C9DF2F6FCFDF50F9D50F70Bb91D' > hash.txt && hashcat -m 7000 hash.txt /usr/share/wordlists/rockyou.txt
Add a rule set to mutate dictionary words (capitalisation, leetspeak, appended digits) and dramatically widen coverage:
echo 'AK1AAECFD8DD5A1BBB7159F0D62677A6F30B6C9DF2F6FCFDF50F9D50F70Bb91D' > hash.txt && hashcat -m 7000 hash.txt /usr/share/wordlists/rockyou.txt -r /usr/share/hashcat/rules/best64.rule
Cracking FortiGate (FortiOS) with John the Ripper
John the Ripper can attack the same hash with the Fortigate format:
echo 'AK1AAECFD8DD5A1BBB7159F0D62677A6F30B6C9DF2F6FCFDF50F9D50F70Bb91D' > hash.txt && john --format=Fortigate --wordlist=/usr/share/wordlists/rockyou.txt hash.txt