## CryptoDB

### Paper: A Hybrid-CPU-FPGA-based Solution to the Recovery of Sha256crypt-hashed Passwords

Authors: Zhendong Zhang , College of Information Science and Electronic Engineering, Zhejiang University, Hangzhou, China Peng Liu , College of Information Science and Electronic Engineering, Zhejiang University, Hangzhou, China DOI: 10.13154/tches.v2020.i4.1-23 URL: https://tches.iacr.org/index.php/TCHES/article/view/8675 Search ePrint Search Google This paper presents an accelerator design for the password recovery of sha256crypt based on hybrid CPU-FPGA devices. By applying the brute-force attack computation model proposed in this paper, we decompose the sha256crypt function into two types of operations, namely the data dispatching and the block transforming. The data dispatching operation generates message blocks and the block transforming operation transforms message blocks into digests. These two operations are efficiently accelerated by the customized data dispatch unit and the pipelined block transform unit, respectively. Difficulties of adopting the pipeline technique are addressed also with the following techniques. The group scheduling is used to solve the data dependency that stalls the pipeline. The look-ahead execution eliminates the uncertainty of the execution path. The data path pruning and spatial-temporal multiplexing reduce the resource overhead of non-computing units.The proposed accelerator design is implemented and evaluated on the Xilinx Zynq-7000 XC7Z030-3 SoC. Our experimental results show that the proposed accelerator can improve energy efficiency by 2.54x over the state-of-the-art password recovery tool Hashcat running on an NVIDIA GTX1080Ti GPU. Compared with the pure FPGA-based implementation in John-the-Ripper, the proposed accelerator improves energy efficiency by 1.64x and improves resource efficiency by 1.69x.
##### BibTeX
@article{tches-2020-30546,
title={A Hybrid-CPU-FPGA-based Solution to the Recovery of Sha256crypt-hashed Passwords},
journal={IACR Transactions on Cryptographic Hardware and Embedded Systems},
publisher={Ruhr-Universität Bochum},
volume={2020, Issue 4},
pages={1-23},
url={https://tches.iacr.org/index.php/TCHES/article/view/8675},
doi={10.13154/tches.v2020.i4.1-23},
author={Zhendong Zhang and Peng Liu},
year=2020
}