Results 1 to 2 of 2

Thread: BT4 R2: Hydra not working with SSH?

  1. #1
    Just burned his ISO
    Join Date
    Dec 2009
    Posts
    9

    Default BT4 R2: Hydra not working with SSH?

    Has any been able to get Hydra 5.9 SSH brute forcing to work in Backtrack 4 R2? Hydra seems to skip over the password completely. I've read that it might be a problem with Hydra 5.7. I know that Hydra 5.9 has the same problem as 5.7 was having.

    It seems to work fine if I specify the user and password though, so I know it's not a problem with connecting to ssh (maybe). The user and password are working fine on the test box I am using Hydra on. I can ssh into the box perfectly normal.

    Hydra with specified user and password file:
    Code:
    # hydra 192.168.10.10 ssh2 -v -l test -P /pentest/passwords/wordlists/wordlist.txt -t 10 -f -o writeout
    Hydra v5.9 (c) 2010 by van Hauser / THC - use allowed only for legal purposes.
    Hydra (http://www.thc.org) starting at 2011-01-19 18:39:07
    [DATA] 10 tasks, 1 servers, 306319 login tries (l:1/p:306319), ~30631 tries per task
    [DATA] attacking service ssh2 on port 22
    [VERBOSE] Resolving addresses ... done
    [STATUS] attack finished for 192.168.10.10 (waiting for childs to finish)
    Hydra (http://www.thc.org) finished at 2011-01-19 18:39:18
    Hydra with user and password file:
    Code:
    # hydra 192.168.10.10 ssh2 -v -L /root/testuser.txt -P /pentest/passwords/wordlists/wordlist.txt -t 10 -f -o writeout
    Hydra v5.9 (c) 2010 by van Hauser / THC - use allowed only for legal purposes.
    Hydra (http://www.thc.org) starting at 2011-01-19 18:39:07
    [DATA] 10 tasks, 1 servers, 306319 login tries (l:1/p:306319), ~30631 tries per task
    [DATA] attacking service ssh2 on port 22
    [VERBOSE] Resolving addresses ... done
    [STATUS] attack finished for 192.168.10.10 (waiting for childs to finish)
    Hydra (http://www.thc.org) finished at 2011-01-19 18:39:18
    Hydra with user and password specified:
    Code:
    # hydra 192.168.10.10 ssh2 -v -l test -p test -t 10 -f -o writeout
    [VERBOSE] More tasks defined than login/pass pairs exist. Tasks reduced to 1.
    Hydra v5.9 (c) 2010 by van Hauser / THC - use allowed only for legal purposes.
    Hydra (http://www.thc.org) starting at 2011-01-19 18:44:53
    [DATA] 1 tasks, 1 servers, 1 login tries (l:1/p:1), ~1 tries per task
    [DATA] attacking service ssh2 on port 22
    [VERBOSE] Resolving addresses ... done
    [STATUS] attack finished for 192.168.10.10 (waiting for childs to finish)
    [22][ssh2] host: 192.168.10.10   login: test password: test
    Hydra (http://www.thc.org) finished at 2011-01-19 18:44:53
    
    # ssh test@192.168.10.10
    test@192.168.10.10's password:
    Linux 2.6.16.
    test@slax:~$
    The contents of the file "writeout":
    Code:
    # Hydra v5.9 run at 2011-01-19 18:37:51 on 192.168.10.10 ssh2 (hydra -l test -P /pentest/passwords/wordlists/wordlist.txt -f -t 10 -v -V -o writeout 192.168.10.10 ssh2)
    # Hydra v5.9 run at 2011-01-19 18:39:07 on 192.168.10.10 ssh2 (hydra -L /root/testuser.txt -P /pentest/passwords/wordlists/wordlist.txt -f -t 10 -v -o writeout 192.168.10.10 ssh2)
    # Hydra v5.9 run at 2011-01-19 18:44:53 on 192.168.10.10 ssh2 (hydra -l test -p test -f -t 1 -v -o writeout 192.168.10.10 ssh2)
    [22][ssh2] host: 192.168.10.10   login: test   password: test
    Any ideas? I have read that an older version of Hydra (hxxp://forums.heorot.net/viewtopic.php?f=16&t=426) that came with R1 works. What is the likelihood that Hydra 5.7 && 5.9 no longer work as intended with ssh?

  2. #2
    Just burned his ISO
    Join Date
    Nov 2010
    Posts
    7

    Default Re: BT4 R2: Hydra not working with SSH?

    i believe it depends of the MaxAuthTries in sshd_config, you should try hydra 6.0 which should available soon

Similar Threads

  1. Hydra not working with a wordlist
    By Muidem in forum Beginners Forum
    Replies: 14
    Last Post: 04-02-2011, 10:42 PM
  2. Hydra not working right after upgrade to 5.7
    By vanel in forum Beginners Forum
    Replies: 0
    Last Post: 09-20-2010, 01:07 PM
  3. Hydra against SSH
    By adroitlearner in forum OLD BT4beta Bugs and Fixes
    Replies: 2
    Last Post: 04-06-2009, 05:08 PM
  4. Hydra FTP not working
    By Dudeman02379 in forum OLD Newbie Area
    Replies: 2
    Last Post: 09-30-2008, 12:33 PM
  5. Hydra
    By jabbawokie in forum OLD Newbie Area
    Replies: 20
    Last Post: 06-04-2008, 10:26 AM

Posting Permissions

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