Reputation: 1045
I forgot my WD Passport Ultra disk's hardware encryption password and I am having a Delphi software being programmed for finding this password using brute force method. Original WD Security software will be used for password entries, but WD Security software locks itself at every 5 wrong password entries. Then the drive needs to be physically ejected and plugged in to reset this counter.
Therefore the software being programmed must emulate safely removing and plugging in of an external USB hard disk drive on Windows on software level, as this is necessary for resetting the wrong password counter of WD Security software.
Disabling/enabling the drive using "devcon" does not reset the counter.
Finding out the storage location of this counter information would be very helpful. When the counter is at 4, safely removing the drive and plugging in to another computer resets the counter. This made me guess that the counter is stored on the USB drive and it is reset by drive's firmware during plugging in process.
Any ideas will be greatly appreciated.
Upvotes: 4
Views: 1173
Reputation: 564
This page http://www.uwe-sieber.de/drivetools.html contains the best collection of tools related to USB drive handling I know. It provides commandline tools which you could execute from your program. Unfortunately this page is german, so I give you a hint to the most relevant tools:
Your chances are not too good, but with these tools you have all possibilities to first test whether you have a chance to do what you want at all and if this works with the Tools I would recommend not to program this functionality, but to call these commandline programs from you brute force code.
Tools 2 and 3 need admin privilege.
Good luck.
Upvotes: 2