Denial of Service (DOS) on Wifi using Ostinato Linux

5 17
Avatar for FajarPurnama
4 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.

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".

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.

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

Select mon0 or wlan0 if it is monitor and start.

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

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

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.

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

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.

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.

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

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

Sponsors of FajarPurnama
empty
empty
empty

5
$ 0.04
$ 0.04 from @TheRandomRewarder
Sponsors of FajarPurnama
empty
empty
empty
Avatar for FajarPurnama
4 years ago

Comments

Thats is quite advanced stuff you are posting. I like it! By the way what is the wireless card you have in your rig? I see Atheros ath9k...

$ 0.00
4 years ago

Thanks! Yeah, at that time was ath9k which was the default wireless card of my late ACER dual core laptop.

$ 0.00
4 years ago

But do you have the exact number for the Atheros card? Or it is the driver that installed automatically when you installed Ubuntu?

$ 0.00
4 years ago

The driver is installed automatically. It's on my old laptop so I forgot the number.

$ 0.00
4 years ago

Ok thanks for your answer. I was wondering because the Atheros drivers works for other cards as well and I had problem getting them to work. One of my laptop use the same driver but can work with Wireshark somehow. Thanks for our answer.

$ 0.00
4 years ago