Denial of Service (DOS) on Wifi using Ostinato Linux

in #linux5 years ago

I will create a separate software installation page.

Install Ostinato packet generator and all updates: http://software.opensuse.org /download.html?project=home:pstavirs:ostinato&package=ostinato

I use Ubuntu 12.04 LTS

_

sudo echo 'deb http://download.opensuse.org/repositories/home:pstavirs:ostinato/xUbuntu_12.04/ /' >> /etc/apt/sources.list

sudo apt-get update

sudo apt-get install ostinato

_

Install wifi-radar, airmon-ng or aircrack, and wireshark.

1 Open wifi-radar and check the wifi you want to test.png

Open wifi-radar and check the wifi you want to test. Here my wifi sensor.

For the wireless adapter to be monitored:

_

sudo ifconfig wlan0 is down

sudo iwconfig wlan0 monitor mode

sudo ifconfig wlan0 up

_

If you do this, you cannot connect to the hotspot. To restore as before, do the above but "sudo iwconfig wlan0 managed mode".

2 airmon-ng start wlan0 channel 11.png

I do something else because I want to use the internet, which is using airmon-ng. "sudo airmon-ng start wlan0 (channel)". I'm channel 11. Seen to make a virtual device that is mon0. wlan0 still exists.

3 Open wireshark sudo wireshark and open the capture option.png

Open wireshark "sudo wireshark" and open the capture option on the tab.

4 Select mon0 or wlan0 if it is monitor and start.png

Select mon0 or wlan0 if it is monitor and start.

5 PROBE REQUEST packages hex stream.png

Look for PROBE REQUEST packages or similar on other networks. Right-click, copy, bytes, hexstream.

6 ostinato sudo ostinato.png

Open the ostinato "sudo ostinato". Click + on the port. Select mon0.

7 interleaved stream.png

File > port configuration > interleaved stream (to send packets continuously). Right-click on the right screen, add stream. Select the gear for configuration (click 2x). Select advance.

8 Select hexdump.png

Select hexdump, place it on the right screen and click the button in the middle.

9 00000 packet.png

Select the data protocol on the tab. To copy paste a packet from WireShark, press "Ctrl". Add 00000 ... to the size of the package as you wish.

10 stream control packet per second.png

Choose stream control and per packet / sec shipment size (I am 3000). Click the ok button and if there is anything "yes", then click apply.

11 select port click start tx.png

Select the port you want to send (I'm port 2, please try) and click start tx (play button).

12 wireshark many packet requests and responses.png

If it is true on wireshark many packet requests and responses will occur. Other users will see "limited access" alias "!" on the wireless.

Reference

WIRELESS HACKING, Efvy Zam.

Mirror