Thursday, 22 June 2017

How to kick someone out from WiFi using Kali Linux

Are you fed up of your annoying roommate or flatmates because they are using all the bandwidth of your wifi connection.

Here is the solution for you people to kick out that annoying friend of yours from wifi without letting them know.

**I'M NOT RESPONSIBLE FOR ANYTHING YOU DO WITH THIS INFO.**

this process needs aircrack-ng tool. if you are using any penetration testing linux distro then you don't have to install it. other user have to install this tool.


First open a new terminal and type in ifconfig to find the name of your wireless card.( In my case the name is wlan0)


now take down your wireless card with this command :

ifconfig wlan0 down

Don't worry at the end of this tutorial  I will tell you how to get it back up.

Now we will scan for networks.( we will ger network BSSID and channel)

use this command to scan for netowrks:

aireplay-ng -9 wlan0

Now we will scan for connected devices on the network

airodump-ng -c 6 --bssid xx:xx:xx:xx:xx:xx -w psk wlan0

-c is for the channel that the network is broadcasting on.

--bssid is for the network mac address we just wrote down.

Now we just wait a few seconds and the devices connected to the network after some time connected devices will show up here with their MAC address.

write down the mac address of the device you want to kick out from your network


Now we will kick the device of our network .

To do that use this command:

aireplay-ng -0 15 -a xx:xx:xx:xx:xx:xx -c yy:yy:yy:yy:yy:yy wlan0

-0 means that we will send deAuth packets to the device.

15 is the amount of deAuth packets (if you want to send deAuth packets continously then replace 15 with 0)

-a is to set the networks BSSID which we wrote down earlier.

-c is to set the device's MAC address that you would like to kick of the network.

Great! Now we are sending the deAuth packtes! The devices should now be disconnctes from the network.


Now it's time to back up your wireless card. If your card is down you wouldn't be able to connect to a wifi network.

type in:

ifconfig wlan0 up


Author- Arun Kumar (CEH)





No comments:

Post a Comment

LinkWithin

Related Posts Plugin for WordPress, Blogger...