Monday 1 July 2013

Practice Wifi Security Testing for any encryption method WITHOUT a WiFi Router

Hi To All The Mindbenders,
Since the time I installed Linux, my urge to practice some of the many things that could be done on Linux began increasing. So the first thing I began with was Aircrack, but unfortunately, I was out of range of any WiFi networks as well as I did not have a wireless router to practice on. So I began searching the whole of the internet to see if I could find a way. I wont say I was 100% successful but if the requirements are fulfilled, you are ready to practice it. In the following steps I assume that you have at least one Windows computer.



Requirements:
As I said, I wasn't 100% successful in making a virtual Lab for WiFi Security Testing practice, so you need 2 WiFi enabled computers. Doesn't matter if you have a desktop with a wifi dongle attached. You just need wifi on both. (yea I know that's bad).
A wired network (optional)

So Let's begin
I wont be going offtopic so all you have to do is just follow it step by step.

Setting up Virtual Router the easy way out.

1. On Windows7 (except for starter edition), Just download Virtual Wifi router from here.

2. After a successful installation, start the program. Put in whatever SSID you want for your hosted network, a good password and select the Connection name from the list. 

3. Click the "Start Virtual Router" button, and your PC is now acting as a Virtual Router.

The command line method

1.Open the Command Prompt with admin privileges: click Start > All Programs > Accessories > Command Prompt.

2.Type in the following command to set ur hosted network:



Code:
netsh wlan set hostednetwork mode=allow ssid=YourVirtualNetworkName key=YourNetworkPassword

3.Start the Wireless Hosted Network:


Code:
netsh wlan start hostednetwork

4.To stop the Wireless Hosted Network:

Code:
netsh wlan stop hostednetwork

5.To see the Wireless Hosted Network details, including the MAC addresses of connected users:

Code:
netsh wlan show hostednetwork

Using Connectify (Can change the encryption method)
While on my path to find a way to change the excryption, I found out connectify. Yes its awesome.
1. Begin your work by downloading connectify Lite here (or pro if you want to spend, both work equally good).

2. Now all you have to do is fill in the details as follows
* The WiFi name : This is pretty easy.
* The password : Now that we are gonna use it for just our practices you can keep it simple. But its your choice :)
* Share Internet : Check it as you would want to gain access of the internet after entering into it right .
* WiFi : Choose the network, this one should be done by you and it must be easy.
* Mode : This is what we are waiting for, choose whatever encryption you want to practice on. I choose WEP.

You can keep the other things as they are and click on EasySetupWizard and you are done..

At last I feel satisfied. :)


Explore the Gibson...and remember...hugs are worth more than handshakes.

0 comments:

Post a Comment