Are Your Passwords Safe: Energy-Efficient Bcrypt Cracking with Low-Cost Parallel Hardware
Date: August 2014
Publication: 8th USENIX Workshop on Offensive Technologies, WOOT '14
Source 1: https://www.usenix.org/system/files/conference/woot14/woot14-malvoni.pdf
Source 2: http://www.openwall.com/presentations/Passwords14-Energy-Efficient-Cracking/WOOT14-Energy-Efficient-Cracking-Paper.pdf
Abstract or Summary:
Bcrypt is a password hashing scheme based on the Blowfish block cipher. It was designed to be resistant to brute force attacks and to remain secure despite of hardware improvements. Expensive key setup with user defined cost setting makes this hash slow while rapid random 32-bit lookups using Blowfish’s variable S-boxes require 4 KB of local memory per instance. This memory access pattern makes bcrypt moderately unfriendly to parallel implementation on modern CPUs, where on one hand gather addressing is required in order to exploit the CPUs’ SIMD capabilities, and on the other even when gather addressing is in fact available the L1 data cache size becomes the limiting factor. Despite of this (and due to it), it is possible to achieve much better performance per Watt with bcrypt implementations on homogeneous and heterogeneous multiprocessing platforms: Parallella board with 16- or 64-core Epiphany accelerator and ZedBoard with Zynq reconfigurable logic. Proposed implementations were integrated into John the Ripper password cracker resulting in improved energy efficiency by a factor of 35+ compared to heavily optimized implementations on modern CPUs.
PasswordResearch.com Note: Video of presentation at a different conference (Passwords14) available: https://www.youtube.com/watch?v=maq2IY1F3x8
Do you have additional information to contribute regarding this research paper? If so, please email email@example.com with the details.