Yesterday, 08:47 AM
Welcome to hashcat v8.1.0!
Download binaries and source code from hashcat or from GitHub
We're proud to announce the release of hashcat v8.1.0. It comes one month after v8.0.0 and already implements two of the three plans outlined in the v8.0.0 release notes: salted hash lists are now processed in a new order, and a module now assigns only the hooks it implements.
Here's the writeup: Full Release Notes
If you build plugins, package hashcat, run brain clients or split attacks across machines, please read section 7, "Before You Upgrade", first.
Here's a quick summary:
- Five major features and two new attack-modes
- 59 new hash-modes and 166 bug fixes
- 27 new tools to extract hashes
- 2,178 files changed, with 150,246 lines added and 92,178 deleted
- Contributions from 22 people, including 13 first-time contributors
Major New Features
- Salt Reordering: Every attack now tests each part of a candidate chunk against all uncracked salts before moving on, so good candidates reach every salt sooner. The total work stays the same, but the cracks come earlier, which matters for every run that is stopped before the keyspace is exhausted.
- Known Password Fragments in PCFG Attacks: The new contains setting keeps only candidates that include the fragments you know, such as a year, a name or digits, wherever those fragments occur. PCFG attacks also gained keyboard-walk rulesets for 10 keyboard layouts.
- Cooperative scrypt Kernel: Under CUDA, HIP and NVIDIA's OpenCL, four work items now share one candidate and exchange values through warp shuffles and DPP, so the scrypt state stays in registers. The same kernel serves other scrypt-based hash-modes, such as the Ethereum, MultiBit, Exodus and Bisq wallets.
- Support for 128-bit Keyspaces: On 64-bit hosts, keyspace positions and counts now have 128 bits instead of 64. Masks up to ?a^19 now run, and --skip and --limit reach every candidate.
- Non-Latin Brute-Force Masks (-a 13): The new token mask attack fills a mask position with a whole token instead of a single byte, so one position can be a Cyrillic letter, an emoji or a syllable. The attack ships with 20 token files.
More New Features
- PRINCE (-a 10): PRINCE is now part of hashcat and no longer requires a pipe, so pausing, restoring, --skip, --limit and distributed runs work as in any other attack
- Two new rule functions: AN"STR" from JtR inserts a string at position N, and NnXY replaces occurrence n of the character X with Y
- The status screen projects recoveries for the next minute, hour and day, and estimates how many hashes the attack would recover if it kept running
- Queues of masks report progress and remaining time for the whole queue, and --bypass-eta skips an item that would take too long
- --profile-dir selects where hashcat stores the potfile and sessions, and starting a new session no longer replaces an earlier restore file of the same name
- The new mode 17240, PKZIP (Streaming), takes the ZIP archive itself as input and supports members larger than 320 KB
New Algorithm Support
- 59 new hash-modes, including the Monero, Phantom, Brave, Sparrow and MetaMask wallets, gocryptfs, PuTTY private keys, BestCrypt containers, Android full disk encryption, EncFS, IKE-PSK SHA256 and more Kerberos 5 formats
- 21 of them are cryptocurrency wallets and keystores
- 27 new tools to extract hashes
- Mode 40080 is removed. Mode 4000 computes the same hash with a hash recipe
Performance Improvements
- scrypt (8900): 2.3 to 3.2 times as fast at all but the lowest cost setting (RTX 4090, RX 7900 XTX)
- Salted lists: mode 2811 with 100,000 salts against 10 million candidates completes in 32 seconds instead of 46, and mode 5500 with 1,000 challenges runs 9 to 330 times as fast (RTX 4090)
- Kerberos 5 etype 23 (7500, 13100, 18200): 2.1 to 3.2 times as fast with rules (RTX 4090)
- 7-Zip: processing 70 archives that share one NumCyclesPower takes 7.2 seconds instead of 331 seconds (Radeon PRO W7800)
- PCFG against bcrypt: a ruleset of 321,769 structures starts in 13 seconds instead of over 11 minutes
- Metal: slow hash-modes run 58 to 61 percent faster in mask attacks on AMD GPUs (Radeon Pro W5700X)
- MD6 (256): 2.0 to 2.6 times as fast (Radeon PRO W7800, RTX A400)
Before You Upgrade
- Plugins built for v8.0.0 need to be rebuilt because the module, feed and bridge interfaces went from version 800 to 810. A rebuild is usually enough
- The core library is now named libhashcat.so.8.1, libhashcat.8.1.dylib and hashcat-8.1.dll. Programs built for v8.0.0 must be rebuilt to load it
- Some attacks now produce candidates in a different order. If you split one attack across machines with --skip and --limit, run the same version on every machine
- Brain clients from v8.0.0 and v8.1.0 no longer share reservations for hash-modes whose option flags changed, including 1000, 5600, 13100, 22000 and the scrypt-based modes
- --spin-damp, HASHCAT_SALT_INNER and COMPUTE are gone
- Progress counts in --machine-readable and --status-json can now exceed 64 bits. Parsers must accept wider values
See section 7 of the release notes for the full list.
Security Fixes
This release fixes four security issues. A crafted hash file could cause hash-modes 14200 and 37500 to write outside a device buffer. Unauthenticated connections could fill every client slot of a brain server and lock out legitimate clients. A crafted restore file could break the quoting of the command line printed by --restore when that command line is pasted into fish or PowerShell. A rule line containing only spaces made --debug-mode write stack memory into the debug file. Updating is recommended for anyone running a brain server reachable from an untrusted network.
Bug Fixes
- 166 bug fixes, including four security fixes
- Several fixes for passwords that v8.0.0 missed, for example in SAP CODVN, Kerberos 5, WPA and Bitwarden, and in PKZIP on Intel Arc GPUs. If you attacked one of these hash-modes with v8.0.0, it may be worth running the attack again
- Recovered passwords are no longer cut at 256 bytes in combinator and hybrid attacks, and a full disk or power loss no longer causes the restore file to be lost
Final Words
Refactoring pays off. It turned out that our ETA could not show a date past the year 9999. That limit had been there for years, and nobody noticed. It took a side project, the move to 128-bit keyspaces, to find it.
Why 128 bits at all? Who needs that? Most people don't. But it costs no speed on the GPU, because the inner loop there still counts in 32 bits. That is why it could land. Otherwise it would have come with a downside.
And scrypt? Who needs that? We made the change because the approach can serve as a template. Keeping a GPU fully occupied with a quarter as many candidates is a technical achievement. The reduced spilling made scrypt two to three times as fast at most cost settings. That was a bonus, not the goal.
The new salt order, on the other hand, was a necessary change. Together with the changes in v8.0.0, this release leaves us very well prepared for the future.
I want to sincerely thank all contributors, testers and supporters who helped make this release possible. You know who you are. Thank you.
