Home / Guide / WPA2 handshakes and defence

ESP32 Marauder and WPA2 Handshakes: What Network Owners Should Know

Understanding what a Wi-Fi tool can see is the first step to securing your own network. This guide explains handshakes in plain English and shows how to defend against weak passwords.

ESP32 Marauder handheld beside a laptop showing Wi-Fi scan output and a notebook sketching the WPA2 handshake

ESP32 Marauder includes tools that can observe the frames Wi-Fi devices exchange when they join a network, including the messages known as the WPA2 four-way handshake. Hearing that, many network owners ask a sensible question: does this mean my Wi-Fi password is at risk? The short answer is that a strong passphrase and modern security settings protect you well. This guide explains, in plain terms, what a handshake is, what a tool such as Marauder can and cannot do with it, and the practical steps that keep a home or small-business network secure.

What happens when a device joins a WPA2 network

When your phone joins a WPA2-Personal network, it and the router need to prove to each other that they both know the network password without sending the password itself over the air. They do this with a short exchange of four messages, called the four-way handshake.

Both sides start from a shared secret derived from the network password and the network name. During the handshake they exchange random numbers and use them, together with that shared secret, to create fresh encryption keys for the session. Each side can then confirm that the other produced matching results, which proves knowledge of the password.

Crucially, the password never travels across the air. What does travel are the random numbers and some values derived from the shared secret.

What a capture can and cannot reveal

Tools that listen to Wi-Fi traffic, including Marauder, can record the frames of a handshake when a device joins a network nearby. Marauder can save such captures to an SD card for later analysis, and its feature list includes sniffing for EAPOL frames, which carry the handshake, and for PMKID values, which some routers include in related messages.

A capture on its own does not reveal the password. Because the password is never sent, someone holding a capture can only try to guess it offline, testing candidate passwords one by one to see whether any produces matching values. Marauder itself does not do this; such guessing happens elsewhere, on much more powerful computers.

That leads to the most important point for defenders: the strength of your passphrase decides whether offline guessing succeeds. A short or common password may be guessed quickly. A long, random passphrase is, in practical terms, beyond reach.

Why passphrase strength matters so much

Offline guessing works by trying likely passwords: dictionary words, common phrases, names, dates and well-known patterns. Each additional character, and especially each additional random word, multiplies the number of possibilities enormously.

Good practice for a WPA2 passphrase is therefore simple:

  • Use a long passphrase, ideally several random, unrelated words
  • Avoid names, birthdays, addresses and phrases connected to you
  • Never reuse a password from another account
  • Change the default password supplied with your router
  • Store the passphrase in a password manager rather than on a sticky note

A passphrase built from several random words is both easy to type and very hard to guess, which makes it the most effective single defence available to most households.

WPA3 and why it changes the picture

WPA3-Personal replaces the WPA2 handshake with a method called Simultaneous Authentication of Equals, usually shortened to SAE. SAE is designed so that capturing the exchange does not allow offline guessing in the same way. An attacker has to interact with the network for every guess, which makes guessing dramatically slower and easier to notice.

Marauder's release notes record the addition of SAE-related monitoring in a later version, which is useful for checking that your own network really is using WPA3. If your router and devices support WPA3, enabling it is one of the best upgrades you can make. Many routers offer a transition mode that allows both WPA3 and WPA2 devices to connect, which helps during the changeover, although a pure WPA3 setting is stronger once every device supports it.

Protected Management Frames

Wi-Fi networks also exchange management frames, which control actions such as joining and leaving a network. Older networks send these frames without protection, so they can be imitated. Protected Management Frames, defined in IEEE 802.11w, add cryptographic protection to many of them.

WPA3 requires Protected Management Frames, and many WPA2 routers can enable them as an option. With PMF in place, certain classic disruption techniques no longer work, and devices are less likely to be pushed off the network unexpectedly. If your router offers a PMF setting, turning it on, or setting it to required where every device supports it, is a worthwhile step.

Other settings that strengthen a network

Disable WPS

Wi-Fi Protected Setup was designed for convenience, but its PIN method has a history of weaknesses. If you do not use it, switch it off.

Keep router firmware updated

Manufacturers release updates that fix security flaws. Check for updates regularly or enable automatic updates where available.

Separate guest and smart-home devices

A guest network, or a separate network for smart-home gadgets, keeps less trusted devices away from your computers and files.

Review connected devices

Most routers list the devices currently connected. Check it occasionally and investigate anything you do not recognize.

Guest networks and smart devices

Smart plugs, cameras and televisions rarely receive security updates as often as phones and laptops do, and many of them stay connected for years. Placing them on a separate guest or IoT network keeps a weakness in one cheap device from exposing the computers that hold your documents and accounts. Most modern routers offer this option in their wireless settings, and it costs nothing to enable. Give the guest network its own long passphrase rather than reusing the main one, and switch off any setting that lets guest devices see each other unless you genuinely need it.

Using Marauder to check your own network

The same visibility that worries people can help you audit your own setup, provided you stay within your own equipment. With Marauder you can confirm which security mode your network advertises, check whether a second access point is broadcasting your network name, see how far your signal reaches and verify that your devices join without unexpected problems after you enable WPA3 or PMF.

Keep any captures you make of your own network private, and delete them once you have finished. Even your own traffic can include device names and details you would not want to share.

A practical security checklist for your router

Most of the protection discussed in this guide comes down to a handful of settings in your router's administration page. Working through them once, and checking again after each firmware update, gives a network that stands up well to the kinds of observation tools such as Marauder make possible.

  • Change the router's administration password from its default value
  • Set the Wi-Fi security mode to WPA3-Personal, or to WPA2/WPA3 transition mode if some devices need it
  • Choose a long passphrase made of several random words
  • Enable Protected Management Frames, or set them to required where all devices support them
  • Turn off Wi-Fi Protected Setup if you do not use it
  • Enable automatic firmware updates or check for updates regularly
  • Create a separate network for guests and smart-home devices
  • Disable remote administration from the internet unless you genuinely need it

After making changes, reconnect each of your devices and confirm that they work normally. Older devices sometimes struggle with WPA3 or required PMF, in which case transition mode or the optional PMF setting provides a sensible compromise until they are replaced.

Signs that something is wrong

A well-configured network rarely causes trouble, but a few signs deserve attention. Devices that disconnect repeatedly without explanation, unfamiliar devices in the router's client list, a second network broadcasting your network name, or a sudden change in your router's settings that you did not make can all indicate a problem. Marauder can help with some of these checks on your own network, for example by showing whether another access point is using your network name nearby.

If you suspect a problem, change your Wi-Fi passphrase and router administration password, update the router's firmware and review the connected devices. For a business network, involve whoever is responsible for IT security, and keep a record of what you observed.

Why understanding beats fear

It is easy to read about Wi-Fi tools and conclude that wireless networks are hopelessly insecure. The reality is more reassuring. The weaknesses these tools reveal are well understood, and the defences are mostly simple settings that any household can apply. Understanding how a handshake works, and why a strong passphrase defeats offline guessing, replaces vague worry with practical action.

Studying your own network is lawful and useful. Capturing handshakes from other people's networks in order to recover their passwords is a different matter. It is linked in many jurisdictions to laws on unauthorized access and interception, such as the Computer Misuse Act 1990 in the United Kingdom and the Computer Fraud and Abuse Act and Wiretap Act in the United States. Professional testers work only under a written scope of work signed by the network owner. Without that permission, do not attempt it.

Frequently Asked Questions

Can ESP32 Marauder reveal my Wi-Fi password?

Not by itself. It can record handshake frames, but the password is never sent over the air. Recovering it requires offline guessing, which a strong passphrase defeats.

What is a WPA2 four-way handshake?

It is a short exchange of four messages in which a device and a router prove they both know the network password and create fresh encryption keys, without sending the password itself.

How long should my Wi-Fi passphrase be?

Longer is better. A passphrase made of several random, unrelated words is easy to remember and very hard to guess, which makes it an excellent choice.

Does WPA3 protect against handshake guessing?

Yes, largely. WPA3 uses SAE, which prevents simple offline guessing from a captured exchange. Each guess requires interacting with the network, making it far slower.

What are Protected Management Frames?

They are a security feature defined in IEEE 802.11w that adds cryptographic protection to many Wi-Fi control messages, preventing them from being imitated.

Is it legal to capture handshakes with Marauder?

On your own network, or under written authorization, it is generally lawful. Capturing handshakes from other people's networks to recover passwords can break computer-misuse and interception laws.

Conclusion

ESP32 Marauder can observe the frames that Wi-Fi devices exchange when they join a network, but that visibility is no cause for alarm when your network is set up well. The password never travels across the air, so a long, random passphrase keeps WPA2 networks safe from offline guessing, while WPA3, Protected Management Frames and up-to-date router firmware raise the bar further. Use these tools to check your own network, keep your captures private and leave other people's networks alone unless you have written permission to test them.