E. WiFi Jamming
Why Deauthing is not Jamming Is a Deauther the same as a Jammer? What's the difference? Let's take a look at it and explore the legality of both. Watch Deauther or Jammer: What's the difference? on Youtube.
What is a Jammer?
In a nutshell: A jammer creates a lot of random noise to prevent communication on a specific frequency.
PHOTO BY MICHAEL DZIEDZIC / UNSPLASH
Imagine playing music so loud that nobody around can talk to each other. Unfortunately, a jammer is doing precisely that. Depending on the jammed frequency, it can prevent GPS signal, mobile connections, WiFi, or Bluetooth communication.
The problem is that a jammer always affects every device in range. There is no way to tell it to only attack your own devices. It could mess with important communication channels and even cause irreversible damage to some devices.
This is why owning, operating, distributing, or even just advertising jammers is illegal in many countries.
How is a Deauther different?
The ESP8266 Deauther project is a pentest tool for beginners to learn about WiFi security.
GitHub - SpacehuhnTech/esp8266_deauther: Affordable WiFi hacking platform for testing and learningAffordable WiFi hacking platform for testing and learning - GitHub - SpacehuhnTech/esp8266_deauther: Affordable WiFi hacking platform for testing and learningGitHubSpacehuhnTech
Instead of making a lot of noise drowning out all other communication, a Deauther uses deauthentication frames to tell devices from a specific WiFi network to disconnect. These frames are defined and sent according to the WiFi standard and only affect the device that they are addressed to.
Deauthentication frames are used to terminate the communication between a client and an access point. So if a client receives a deauth packet from the router, it will disconnect from that network.By continuously sending deauth packets, it's possible to block a specific WiFi connection.
Because deauthentication frames are unprotected in older WiFi implementations, it's very easy to spoof them. But we are happy to see that a lot of new WiFi routers and clients are now protected against this attack.
It's not always easy to determine if your network is susceptible to deauthentication attacks. Your devices need to support and enforce a feature called protected management frames. To efficiently test your equipment, use our ESP8266 Deauther.
Is it legal?
Short answer: it's complicated.
PHOTO BY TINGEY INJURY LAW FIRM / UNSPLASH
While we can clearly say that a jammer is illegal in most countries (one example is this FCC statement), there are little to no legal statements about Deauthers.
Jammers have to be illegal since you inevitably create interference with other devices. It could block emergency services or other critical communication infertructure.
We made the ESP8266 Deauther for pentesting, research, and education. That's why the attacks stop after 5 minutes, and it doesn't attack devices automatically. It only affects a selected target device, and as the user, you are responsible for picking that target.
Make sure to only ever use it against your own device and never against other devices!It's almost certain that you can get into legal trouble when you use a tool to create damage or do harm, with or without an explicit law.
So as long as you practice ethical hacking, you should be fine.But to use a jammer ethically, you'd have to make sure that all the noise it creates stays inside your own premises. Since that's not an easy task, do us a favor and just stay away from jammers entirely.
https://blog.spacehuhn.com/deauther-vs-jammer/
NodeMCU esp8266 WiFi JammerLast Updated on April 6, 2022 by Kalitut 1 Comment
nodemcu wifi jammer, WiFi Jammer is a gadget that is designed to disable wireless devices from hotpots. Why do you need it? You can imagine yourself as a friendly joke (a neighbor, of course, will be delighted when you cut off his Netflix or for example, a football match at the most interesting place) or a criminal application: an attacker can disconnect security cameras or other important equipment from the network. In this article we will discuss what are the inexpensive options for hardware deauthenticators, how to use them and how to protect against such attacks. Image unavailable: wifi-jammer-1024x550.jpg How does this “nodemcu wifi jammer” workUnlike real jammers, which interrupt the signal of a radio transmitter with its stronger signal, the deauthenticator works at the program level. It implements a denial of service attack by sending a deauthentication frame to the router on behalf of devices connected to the network. Since this frame is not encrypted in any way, it is enough for a stub to find out the MAC addresses of the devices through the network traffic. Deauthentication is usually part of a complex attack on a network. It is used to create an “evil twin” of the access point or to intercept a handshake, which then allows you to decrypt the password. However, jamming can be useful in and of itself. All tips reviewed are highly recommended for educational use only. Blocking the transfer of data and the use of the considered funds may be prosecuted. To carry out penetration tests, you must obtain the appropriate written confirmation of the customer. Remember that the deauthorization data is stored in the logs of the router. Recently, inexpensive and miniature boards supporting the NodeMCU software platform have become very popular. They are built on the ESP8266 module, which implements work with WiFi according to the standard 802.11b / g / n at a frequency of 2.4 GHz. Now there are two variants of such boards: with the CP2102 chip of the American company Silicon Labs or with the Chinese CH340. Image unavailable: esp8266-wifi-jammer.jpg You can Get NodeMCU from Amazon with this linkBuy NodeMCU esp8266 These boards are positioned as devices for prototyping: on their basis, craftsmen create automated systems that are controlled via WiFi. The topic itself is quite exciting, but we are now interested in something else – the possibility of using NodeMCU to conduct attacks. ESP8266 is unsuitable for full monitoring and injection of packages due to technical limitations, however it can be used as a deauthenticator – which led to the appearance of corresponding firmware. Last year, a good man with the pseudonym Spacehuhn unveiled the first one, but since then other versions have appeared – with additional features. However, before moving on to the software, we will decide on the choice of hardware. I will demonstrate the process on the example of the motherboard of the Chinese manufacturer Dstike: ESP8266 stands on it and there are modes of operation as a client (P2P) and access points (soft-AP). You can manage the card from a smartphone or any other device with WiFi. I note that the performance of the software does not depend on either the chip or the board – you can choose any option at your discretion. Dstike products alone are several options in different versions and for use in different situations. All they share one thing – the ability to jam the network.Varieties of Dstike devicesDeauther Wristband – bracelet with built-in display, battery and switch. Convenient device for quick access to the control panel. Image unavailable: deauther-wristband.jpg Deauther Power Bank – with a modified charge controller; management is carried out through a special panel. The controller has a connector for connecting an external antenna. Batteries not included. It is an inconspicuous device that can easily be left somewhere and used remotely. Image unavailable: deauther-power-bank.jpg Charge controller Image unavailable: charge-controller.jpg Deauther OLED V3.5 – in this version, you will additionally receive a connector for connecting an external antenna and a holder for a 18650 mAh battery. The device is controlled using buttons and a switch, and the output goes to the screen, which allows using this option without additional equipment. Ready made screen jammer Image unavailable: deauther-oled.jpg The main advantage of these gadgets is the ability to select a specific network or all at once within range of the device. I’ll note, just in case, that a WiFi password is not required for an attack! so how to make your own nodemcu wifi jammer ? Installing Deauther 2.0Let’s start with Deauther 2.0 – the very same firmware that Spacehuhn developed. In his repository on GitHub you can choose the version for a specific board. Files with the extension bin are compiled sketches. They need to be installed on the board through a special loader. But if you want, then in the archives with the source code you will find libraries and sketches that can be put through the Arduino IDE. Loading .binIf you chose the option to download a binary, then first start the NodeMCU Flasher program. You can download it in the NodeMCU repository. Install drivers for CP2102 or for CH340 . After that, we connect the board to the computer, open the NodeMCU Flasher program, select the COM port in the device manager in the “Ports (COM and LPT)” section. Now go to the Config tab, click on the gear and select the downloaded .bin file. Image unavailable: nodemcu-repository.jpg After adding the file, its path will appear in the line on the left. Go to Advanced tab and change your setting to this Image unavailable: baud-rate.png The recommended baud rate for uploading is 115200. You can try higher baud rates for faster uploading or slower ones if 115200 isn’t working very reliable. Go to the Operation tab and click on Flash – the firmware will then be loaded into the board.Connecting to ESP8266
- Scan for WiFi networks.
- Connect to pwned with the password deauther.
- Open 192.168.4.1 (or deauth.me) Image unavailable: esp8266-deauther-web-1024x545.jpg Image unavailable: esp8266-deauther-1-1024x531.jpg If you don’t see a pwned network, flash the ESP8266 again.For more esp8266 Project you can check this book> ESP8266 See More:https://kalitut.com/nodemcu-esp8266-wifi-jammer/