|
Another article about my md5-hbf project on which is improving again a little more !
The 2.0 version is out, and it's now possible to SHOW the string that generates the md5 collision over a serial console.
Indeed, before we could only show the result while doing simulations. On real FPGA we could only see that the bruteforcer had found the answer looking at a LED that switches on, which made it impossible to use it on real cases to crack real passwords because we couldn't get the result out from the FPGA. Now it is done ;)
If the result is found too early, you may not be able to open a serial console soon enough (minicom for example under linux, or HyperTerminal under Microsoft Windows) and you may miss the printing of the result, don't panic !
You just have to briefly push the "PUSH_C" button of the board, which will reset the finite state machine which job is to send byte per byte the result over the serial usart line. You will then see the result again in your console. However the result will be sent several times, because the pressing of the button is check at the 16 MHz frequency and there is no tempo nor debouncer which would avoid electric contact bouncing of the button. All of this will come in a future release ;)
Anyway, there is a trick to be SURE to see the result without using the "PUSH_C" button. You just have to put the bitstream (top.bit file) inside the serial flash memory of the board, instead of directly sending it using SPI.
In order to do this, type in the command "astriaekipro -p /dev/ttyACM0 -b top.bit -w" in the directory containing top.bit.
astriaekipro is a free software you can download at http://sourceforge.net/projects/fpgalibre/
Then, once the bitstream is written inside the on-board serial flash memory, the design will be loaded in the FPGA each time the board will be switched on and each time you will reset the FPGA (using the blue push button).
So you just have to launch minicom on /dev/ttyACM0 with the speed 115200 8N1, and press the blue push button and wait for the result to show off inside the serial console :)
Enjoy !
ps : the 2.1 version is out too, it fixes the reversed printing problem. The result is now printed in the proper order :) That's easier to read it ;)
ps2 : Binary versions (top.bit) of the taged bersions of md5-hbf are now available in the "binary/" directory of the git repository.
|