| sump.org | ![]() |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Projekte
Spam Meter
Logikanalysator
Password Cracker
Counter
HTTP Sniff
RMI Viewer
TheNet
OnTrack
Silencer
Waterwall
R2eboot
Fotografien
Notizen
Blog
Kontakt
|
Inhalt nur in Englisch verfügbar
FPGA Based UNIX Crypt Hardware Password Cracker![]() The goal is to get a ~100 Euro unit to do 10 million key guesses per second. This device is built for the fun of building it and to see what's possible with current hardware. UNIX Crypt requires 25 passes of a modified DES algorithm with each DES pass requiring 16 rounds to complete. This gives a total of 400 clock cycles to complete a single encryption, if each round is completed within one clock cycle. Doing this is easy since DES is very hardware friendly. A round only consists of permutations and a single lookup and xor operation. To reduce the time needed below 400 cycles, multiple crypt cores are used on a single device. The cores are fed by a password candidate generator in a round robin fashion. While a pipeline approach might produce less overhead on huge devices, using multiple cores will scale better to the available amount of logic on smaller devices. ![]() Target DeviceA Xilinx XC3S1000-4 is being used. It is available on a handy micro module from Trenz Electronic. The micro module is mounted on a carrier board for easy access to the FPGA's pins. ![]() The onboard 1.2V core power supply only delivers up to 600mA, but calculations show an expected consumption of 1.6A. Thus an external power supply must be added. Add Ons![]() A LM317 produces 1.24V for the core and a MAX232 provides a serial port for data exchange with a PC. ![]() In addition to the big heatsink for the LM317 one is added to the FPGA. The FPGA will still heat up to about 60C. The LM317 reaches a temperature of 55C. This is not surprising as most of the logic is used in crypt cores and due to the nature of cipher algorithms every bit has a 50% chance to toggle. The result is a worst case power consumption and heat production. Performance DataDevice Comparison
(1) = estimated values as device is not easily obtainable Times for a Single Unit in Hours (XC3S1000-4)
Cost for Cracking Within One Hour in Euro (XC3S1000-4)
The prices listed are private end user prices in Germany. Companies can likely get the chips much cheaper in large quantities. Discounts used: 1-25: 78 Euro, 26-100: 62 Euro, 101-250: 52 Euro, >250: 42 Euro LicenseFiles found in the downloadable archives below are released under the GNU GPL. DownloadsOn September 20, 2006 a new computer crime law was proposed by the German Bundestag. It will prohibit to publish computer programs suitable to crack passwords. As I do not have time to stay up to date on the issue, the full VHDL code will not be available for download anymore. You can still download the VHDL crypt implementation. (includes DES) It basically performs the same operation as the UN*X function, except that comparison with the target hash is integrated and not done externally. Crypt Implementation (2006-09-09) Kommentare
James (Sat, 13 Sep 2008):
Quite annoying about that idiotic german law. Found it all quite interesting anyway. Good luck.
© 2000-2006 Michael Poppitz
- Letzte Änderung: 25. September 2006
|