Electronics Forums

Electronics Forums > Electronics Forums > Electronic Projects > DIY USB password generator

Reply
Thread Tools Display Modes

DIY USB password generator

 
 
Junior Member
Join Date: Mar 2012
Location: Finland
Posts: 4
 
      03-04-2012, 10:15 AM
I thought to share a project I finished yesterday, in case someone is interested in hacking together a similar device. In short, it is a ATtiny85-powered device built inside a USB memory stick enclosure that uses V-USB library to act as a USB HID keyboard, inputting a password stored in EEPROM every time it's inserted.



Here's a 45 second Youtube video of the device in action: http://youtu.be/kpNSycoUCZM

I wanted to have some interaction with the device, so the HID descriptor is for a boot-enabled keyboard that is able to receive keyboard status LED changes from PC. Using these, a new password can be generated just by pressing caps lock repeatedly - the device actually uses the keypress timings to generate a new random password. Details are available in my blog, as well as schematics and source code, all made available under a GPL license.

http://codeandlife.com/2012/03/03/di...ord-generator/
 
Reply With Quote
 
 
 
 
Senior Member
Join Date: Apr 2010
Posts: 1,264
 
      03-04-2012, 11:55 AM
Other then it giving up the password in a text file, I like it.
 
Reply With Quote
 
 
 
 
Junior Member
Join Date: Mar 2012
Location: Finland
Posts: 4
 
      03-04-2012, 12:06 PM
Quote:
Originally Posted by jackorocko View Post
Other then it giving up the password in a text file, I like it.
Hehe, obviously one should not plug it in after password generation in other situations than when presented with a password field.

I actually realized this morning that I had forgotten to change my Windows password after running the demo, and was locked out of my PC because the demo also contained regenerating the password. Thankfully the password was readable from the video so I resetted back to original without much difficulty...
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Followup re: USB malfunction ? / Ezbus digital mixer /Ez-usb USB chip N_Cook Electronic Repair 16 06-07-2010 09:28 AM
Master Password George Electronic Repair 6 07-15-2004 09:53 AM
Nokia 445Pro Service Menu Password 7711 Fix Adjustment Tuning Repair Color Anton Electronic Repair 0 06-23-2004 04:16 AM
IBM ThinkPad T20 Lost Password and Need Power Supply karl davis Electronic Repair 6 01-18-2004 08:20 PM
HDD password Acer TM220 Peter Lowrie Electronic Repair 9 12-16-2003 04:14 AM