[Note: this section is optional for three reasons: (a) the equipment is not free (see below), (b) the tutorial may not work for you at this point — Ubuntu seems to be somewhat annoying when it comes to using mdk3, but it seems to work if you mess around with it a bit, and (c) we will be covering most of this in more detail later in the course. None of the material after this section will depend on this section.]
At this point, you might be getting a bit bored; after all, we've been working purely on a single computer and these days networks are the big thing. At this point you know enough to get into the mix, so we'll throw you right into the deep end.
Important Note: I've noted that everything in this course is free — and this is still going to be somewhat true. Unfortunately, laptops simply don't have the ability to do some interesting network things that we'd like to do in this section. One solution is to buy a long range wifi network adapter; this particular one (the Alfa AWUS036H) seems to be (by far) the most popular of the lot, and it's also the cheapest (mine was around $20). In addition to helping us with our network security dealings, it is also a nice range extension — which is nice if you sit at coffeeshops with weak signals. The unfortunate other alternative is to simply not buy the adapter but watch the videos and understand the topics that are being gone over. Either way is fine — I watched the videos while I was waiting for my adapter to be shipped, then I watched and worked along with the videos when it came).
The driver software for the Alfa card. Google the card name, look up the software, install the driver on Ubuntu. There's a ton of help for this via google if you get confused.
mdk3. This program ("murder-death-kill-3") is a bit tricky to install. First, on terminal, sudo apt-get install build-essential to make sure you have the current version of gcc. Next, type gcc -v to see what version of gcc you have, which should be present on the bottom. Currently, mine is gcc version 4.6.3. Remeber that version number. Now, download "mdk3-vX.tar.bz2", where X is the most current version (it will be at the end of the mdk3 section). Extract this zip file somewhere ("open with Archive Manager"), in the Download folder is fine. Now, follow the directions line 5 onward here, replacing "gcc-4.4.3" with your version number instead of 4.4.3, and then read this to fix the MakeFile file. Note, also, that there are two MakeFiles, so if one doesn't have the thing you need to change then just look for the other one in the main mdk3 folder. This stuff worked for me, but if you get an error, try to google the error. This one was a bit tricky to get started. Moreover, despite Vivek typing "./mdk3" to run the file, I only need to type "sudo mdk3"; so if running it doesn't work his way, try mine.
Wireshark. From the terminal, sudo apt-get install wireshark. Next, run the lines here in the terminal. Now log out of Ubuntu and then log back in. Wireshark should work fine now, but if you get any errors simply copy and paste them into google and you should find a solution. Note that it is crucial that you log out and then back in after following those instructions above or they will not take effect.
This short introduction will cover most of the terms you'll hear in the megaprimer coming up. Strangely, I could not find the second part of this; luckily, this is most of what we need to learn. The network topology part is also pretty neat!
Vivek! At this point, Vivek shines — and not just because he has a new mic! He is extremely knowledgeable about network security. There are a ton of videos here, but for now we will stick to the first 12, up to and including the Part 12: Man in the Middle Attack.
Important Note: Vivek uses BackTrack instead of Ubuntu; consequently, we have to install a few programs in Ubuntu to make this work. See the note before the first link here to see what programs you need and how to install them.
|⇐ Back to 3.1||Home||Onwards to 4.1 ⇒|