Results 1 to 6 of 6

Thread: Question about USB password attack

  1. #1
    Join Date
    2014-Oct
    Posts
    35

    Question about USB password attack

    I would like to know how the usb password bruteforce attack works and if there is a way to use different wordlist instead of the one included , because when i tried the attack on my own ubuntu pc i was seeing it was trying passwords but only short ones.
    So is there a way to customize the attack to make it try longer passwords or to use another wordlist instead?
    Thanks.
    Last edited by jonathanxx1; 2015-05-02 at 23:36.

  2. #2
    Join Date
    2014-Sep
    Posts
    176
    @jonathanxx1:

    https://github.com/offensive-securit.../hid-dic.sh#L4

    The dictionary is located @ /opt/dic/wordlist.txt and you can replace this dictionary or modify the hid-dic file to point to a different location.

  3. #3
    Join Date
    2014-Oct
    Posts
    35
    thanks i will look at it

  4. #4
    Join Date
    2014-Oct
    Posts
    35
    Btw , how exactly the attack works?, is it trying each password in the list one by one ?because when i launch the attack i see that its going pretty fast on my nethunter terminal, while on my computer it seems to be trying a new password every 2 seconds or so.

  5. #5
    Join Date
    2014-Oct
    Posts
    35
    Also ,what i see in the terminal when the attack is going , its going pretty fast but i dont see passwords , i see keyboard command like up, down, f16 and all that.

  6. #6
    Join Date
    2015-Dec
    Posts
    7
    I would guess that as it is using a HID keyboard, those keyboard commands like f16 stand for letters on an actual keyboard so it makes a word from the dictionary file out of those commands. I guess that's why it goes extremely fast on the screen yet only one password actually gets tested on the victim machine every so often.

    Update:
    All the commands are stored in a file called keyseed.py.
    Last edited by Dannyboy; 2015-12-15 at 19:43. Reason: Added Information

Similar Threads

  1. Question about MITM Attack.
    By FurqanHanif in forum General Archive
    Replies: 7
    Last Post: 2015-04-22, 11:54

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •