Denial of Service (DOS) on Wifi using Ostinato Linux

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.

Image for post
Image for post
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”.

Image for post
Image for post
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.
Image for post
Image for post
Open wireshark “sudo wireshark” and open the capture option on the tab.
Image for post
Image for post
Select mon0 or wlan0 if it is monitor and start.
Image for post
Image for post
Look for PROBE REQUEST packages or similar on other networks. Right-click, copy, bytes, hexstream.
Image for post
Image for post
Open the ostinato “sudo ostinato”. Click + on the port. Select mon0.
Image for post
Image for post
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.
Image for post
Image for post
Select hexdump, place it on the right screen and click the button in the middle.
Image for post
Image for post
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.
Image for post
Image for post
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.
Image for post
Image for post
Select the port you want to send (I’m port 2, please try) and click start tx (play button).
Image for post
Image for post
If it is true on wireshark many packet requests and responses will occur. Other users will see “limited access” alias “!” on the wireless.
This work is licensed under a Creative Commons Attribution-CustomizedShareAlike 4.0 International License. I Fajar Purnama as the creator customized the ShareAlike (sa) license here where you are also allowed to sell my contents but with a condition that you must mention that the free and open version is available here. In summary, the mention must contain the keyword “free” and “open” and the location such as the link to this content.

Reference

WIRELESS HACKING, Efvy Zam.

Mirror

this blog contains all my articles licensed under creative commons attribution customized sharealike (cc-by-sa) where you can sell but mention the open one here

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store