I’ve become a semi-expert on wireless networking and their security features.. and how to get around them. Before I continue I want to emphasize:
The act of cracking encryption is not illegal just like picking a lock is not illegal. It is the unauthorized access of that network which is illegal, just like breaking and entering is illegal.
So. To sum it up, there are two types of encryption. There is the weak kind (wep) and the strong kind (wpa). WEP can be broken in about 5-10 minutes. WPA can be broken in about 24 hours (as long as their password is in your password try-out list).
The actual process or hacking into a network like this requires a suite of tools called the aircrack-ng suite. You can read their tutorials and such, and I highly recommend you do if you want to get into this sort of thing. It’s a lot of FUN! Be prepared to learn linux while you are at it….
But, once you understand what you are doing, you will appreciate the tool I have written. It automates the process of getting the keys. I wrote it as a type of “set-it-and-forget-it” tool that I could just leave running. It isn’t too clean, but if you can read bash scripting you can figure it out.

Here is a screen shot of my tool cracking wep
Remember! Don’t try to just run this tool without understanding what it does and how to read it. If you haven’t breaking a wep key manually you don’t want to run this. It does WEP and WPA cracking (saving the handshake for later). Good luck! I will provide minimal support via comments on this post. Don’t forget to have your radio in monitor mode first, and if you are going to do wpa you need the mdk3 tool.
Here is the download link to Kyle’s Wireless Cracking Tool.
Here is a link to a more updated versio of my Cracking Tool.

A couple of years ago, a large list of phished Myspace accounts was leaked on the internet.
I stumpled upon them and ran a very simple analysis. Check it out:
root@a:/# cat myspace.hackedlist | cut -f 2 -d : | sort | uniq -c | sort -n | tail -n 20
14 qwerty1
15 123456a
15 babygirl1
15 blink182
16 123456
16 123abc
16 iloveyou2
17 football1
17 nicole1
18 number1
19 password
23 myspace1
24 fuckyou1
28 iloveyou1
28 monkey1
29 fuckyou
54 abc123
74 password1
The file was in the form of “Username:password”, so the first part of that command “cuts” the second column, with the colon as the delimiter. Then it is piped through sort, which sorts the list alphabetcially, then the uniq -c command, which counts the number of times that a word shows up, then I sort it again to get the most freqent passwords, and tail the last 20 lines.
It is interesting to see that a lot of these passwords just tack “1″ on to them. And of course blink182 was all the rage back then aparently…
Published on December 5, 2008
in linux.
The NetworkManager program in linux has a create feature called a dispatcher, which can run arbitrary programs when certian things about the network change. For instance it can turn on a firewall or notify a user when the network comes up, or start up an arp alert program!
I wanted a program that would alert me of my laptop’s where-a-bouts, as well as use the webcam to take a picture, in order to aid me in tracking it down if it got stolen. I wanted something simple and didn’t way to pay for anything… I know I’m cheap
The code is pretty simple:
fswebcam -F 2 -S 1 -r 640×480 –jpeg 60 –save /tmp/capture.jpg
ifconfig > /tmp/ifconfig.txt
wget -q -O – checkip.dyndns.org >> /tmp/ifconfig.txt
FILENAME=`date +%F-%H-%M-%S`
mv /tmp/ifconfig.txt /tmp/$FILENAME.txt
mv /tmp/capture.jpg /tmp/$FILENAME.jpg
scp /tmp/$FILENAME.jpg /tmp/$FILENAME.txt root@X.0.0.0:OBSCURED FOR SECURITY REASONS
rm /tmp/$FILENAME.jpg /tmp/$FILENAME.txt
You can see that it takes a picture, grabs my ifconfig and public ip, then ships it all to my server. I just saved it in my /usr/local/bin/ and added the program to my /etc/network/if-up.d/openvpn program. This program is called whenever the interface comes up, so it will also run this program too when it’s ready.

It’s not amazing, but its good. Feel free to take my script and adjust for your needs. You may have a different command-line tool to take a picture with your webcam or whatever. You could even go crazy and setup something to email you or whatver, its YOUR program!
Published on November 14, 2008
in linux and sago.
Most vpns… in fact… all of them, are based on a client/server model. This means that all vpn clients call home to one vpn server and connect. All traffic goes through that vpn server and then gets passed on to its original destination. But what if you could have the benefits of VPN, but be able to communicate directly to other VPN peers, so without the latency and bandwidth limitations?

That is what n2n is. The supernodes are NOT servers. They merely function as a way to punch holes in firewalls. Once the firewalls are open, the edge servers (think of them as clients) can talk directly with other edge clients. Cool!
I’ve tried this, and so far the only draw back is the speed, it just doesn’t seem to be as fast as you would think it would be. I can’t find any other people complaining about it, but I’ll look into it. But so far this is the simplest vpn I’ve ever setup. Its a single command!
Published on November 14, 2008
in linux.
Today is the Birthday of AloR, the author of the amazing tool, ettercap.

You can see that because it is his birthday, he asks that you email him. I happily obliged.
Ettercap is an amazing tool. Not only does it have a console, curses, and graphical versions, it can be scripted, hacked, used with plugins, and the list goes on. Here is a screen shot of it in progress:

Here is the everyday use senario:
- Find a network
- Scan for all hosts on that network
- Start a man-in-the-middle attack and pose as the gateway
- all your traffic belongs to us!
- …….
- Load wireshark and profit!
But seriously, Ettercap has many tools and features to help you explore networks, for malicious or research purposes.