Building a HaleHound: a $15 ESP32 RF sensor for your own network
Why I wanted cheap RF visibility
Most of my home network's attack surface is invisible to me. I can read firewall logs and watch DHCP leases all day, but none of that tells me when someone parks outside and sprays deauthentication frames at my access points, stands up an evil-twin SSID in the stairwell, or walks past with a tracker slipped into a bag. The RF layer underneath the IP stack is where a lot of interesting things happen, and on a normal network you have no sensor pointed at it.
HaleHound is a cheap way to get one. It is firmware for the ESP32 "Cheap Yellow Display" — a roughly CHF 10–15 touchscreen dev board — that turns it into a handheld, multi-radio RF tool. It is marketed as an offensive security toolkit, and it genuinely is one, but it also ships a stack of passive monitoring and detection features that are exactly what you want for keeping an eye on your own airspace.
This post is the build I did end to end: sourcing the board, flashing it, printing a case, and then — the part I actually care about — running it defensively against my own network and the RF around my flat. I am deliberately blunt about the legal lines, because this hardware crosses them very easily if you are careless.

What HaleHound actually is
HaleHound-CYD is, in the author's own words, a "multi-protocol offensive security toolkit for the ESP32 Cheap Yellow Display." It is maintained by JesseCHale and is the CYD-targeted descendant of a well-known lineage: CiferTech's original ESP32-DIV, which Hale forked and extended as the ESP32-DIV HaleHound Edition, and then rebuilt around the touchscreen CYD boards.
Underneath the firmware there is nothing exotic. The base board is an ESP32-WROOM-32 with a 2.8" 240×320 ILI9341 TFT and an XPT2046 resistive touch controller. The ESP32's own 2.4 GHz radio does WiFi and Bluetooth/BLE; everything beyond that (sub-GHz, extra 2.4 GHz, NFC, GPS) comes from optional plug-in modules. It is a cheap dev board with good firmware, not special silicon.
Two things are worth setting straight before anyone orders parts:
- It is an offensive tool with a defensive mode, not the other way around. The menu is full of jammers, deauthers, a captive-portal credential harvester, RFID cloning, replay and brute-force attacks. The defensive and passive features I build this post around are a real and deliberate subset — gated behind a "Blue Team" mode — but they share a device with a lot of capability you must not point at other people.
- The firmware churns fast. The repository README I built against documented v3.9.5, while the web flasher was serving v4.1.x when I flashed. Module names and menus move between releases. Treat every specific feature list here, including mine, as a snapshot of late 2026, and check the current README for your build.
The legal part, up front
I am putting this before the build on purpose. HaleHound's own firmware license and legal page is unambiguous: the firmware is licensed for authorized penetration testing on systems you own or have written permission to test, for security research in controlled environments, and for RF experimentation within local licensing rules. Unauthorized access to networks, disrupting legitimate communications, and interfering with emergency, aviation or safety-of-life systems are explicitly prohibited, and the page notes that unauthorized access is a crime in most jurisdictions (it cites 47 U.S.C. § 333 for the US).
For me in Switzerland, the binding point is simpler: transmitting is the problem, receiving is not.
- Jamming is illegal. Radio jammers are prohibited to operate in Switzerland and across essentially all of the EU. The firmware's WiFi/BLE/2.4 GHz/sub-GHz jammers, the beacon spammer, and the deauther all transmit. Running any of them against networks or devices that are not yours — or jamming at all — is unlawful interference, full stop. Use of the ISM bands is tolerated only within strict power and duty-cycle limits, and deliberate denial of service is never within them.
- Deauth and spoofing are attacks. Transmitting 802.11 deauthentication frames, cloning BLE device addresses, replaying sub-GHz captures, or standing up a captive portal to harvest credentials are all active attacks. Doing them to anyone else's gear is illegal regardless of intent.
- RFID/NFC cloning and car-key brute force sit in the same bucket: fine against a tag or fob you own as a lab exercise, illegal against anyone else's.
My rule for this device, and the rule this post assumes throughout: passive receive-only modules against the whole RF environment; transmitting modules only against my own hardware, on my own bench, with nothing else in range. Everything in the "what it does for your network" section below is receive-only. That is not a legal cop-out — it is also where almost all the defensive value actually lives.
(Usual disclaimer: I am a security practitioner, not a lawyer, and this is not legal advice. If you are unsure where your own line is, check BAKOM's rules for Switzerland or your national regulator before you transmit anything.)
The build: what to actually buy
The single most useful thing I can tell you is this: for defensive, receive-only monitoring of your own network, you need nothing but the bare CYD board. The deauth detector, rogue-AP and station scanning, BLE tracker detection, drone Remote ID detection and the WiFi jam watchdog all run on the ESP32's onboard WiFi and BLE. The external radios only add sub-GHz, extra 2.4 GHz and NFC — useful, but not needed for the LAN-defense mission, and they complicate the case considerably (see below). I built mine bare first, confirmed the defensive modules did everything I wanted, and only then considered add-ons.
Core board
Get an ESP32-2432S028R — the 2.8" "Cheap Yellow Display." The detail that trips people up is the board revision, because it determines your firmware target and your case:
Board | Flasher/build target | Display | Notes |
|---|---|---|---|
ESP32-2432S028 (2.8") |
| ILI9341 240×320 | The standard CYD; fully tested |
QDtech E32R28T (2.8") |
| ILI9341 240×320 | USB-C, onboard battery support |
QDtech E32R35T (3.5") |
| ST7796 320×480 | Bigger panel, roomier UI |
NM-RF-Hat (2.8") |
| ILI9341 240×320 | CYD pre-wired for an RF hat |
The 2.8" boards also ship in micro-USB and USB-C ("CYD2USB") variants. That port choice does not change the firmware, but it absolutely changes which printed case fits — the cutout is in a different place. Note your exact variant before you print anything.
Optional external modules (only if you want sub-GHz / NFC / extra 2.4 GHz)
- CC1101 (HW-863 or E07-433M20S) — sub-GHz radio, ~300–439 MHz. Needed for the sub-GHz jam sentinel and sub-GHz analysis.
- NRF24L01+PA+LNA — 2.4 GHz radio. Needed for the 2.4 GHz watchdog and spectrum work.
- PN532 V3 (Elechouse, SPI mode) — NFC/RFID.
- GPS (GT-U7 or NEO-6M) — location tagging; useful if you want to map your own SSID coverage while wardriving your perimeter.
Power caveat worth heeding: the Ebyte PA modules should be fed from a separate 5V→3.3V buck converter rather than the CYD's onboard regulator. The README is explicit that this prevents brownouts and failed radio init. Skipping it is a classic "why won't my CC1101 come up" trap. A 10µF cap across the NRF24's VCC/GND is the other standard reliability fix.
Storage
Add a microSD card (FAT32) if you want logging — EAPOL captures, wardriving tracks and loot all write to it, in dedicated folders. HaleHound also offers an optional SD Data Pack you copy to the card root by hand (the flasher does not install it): oui.db gives vendor names from MAC prefixes, and drone_rid.db holds Remote ID prefixes for drone identification. Both make the defensive output far more readable — "Apple, Inc." beats a raw OUI when you are triaging what is on your network.
Flashing the firmware
There are two ways on, and for most people the browser one is enough.
Web flasher (the easy path)
Go to flash.halehound.com in Chrome or Edge on desktop — it uses Web Serial, which Firefox and Safari do not implement, and it only runs over HTTPS. Then:
- Use a real data USB cable, not a charge-only one. This is the single most common failure.
- Unplug other USB devices and connect only the CYD.
- Tick the authorization checkbox — you are confirming you own or are authorized to test the devices and networks you will use it on, and accepting the firmware license.
- Select your exact board from the menu (this is why you noted the revision earlier).
- Click Connect & Flash, pick the single serial port in the popup (it filters to likely boards — labels like "USB Serial," "CH340," "wchusbserial," "CP210x"), and confirm.
- Stay connected until it reports completion, then unplug and replug to reboot.
If no port shows up, you are missing the USB-serial driver — CH340 or CP210x/CP2102 depending on the board. On Linux the CH340 driver has shipped in-kernel since the 5.x series, so it usually just appears as /dev/ttyUSB0. If you flash the wrong board target you may get a black screen; just reflash with the correct one. The flasher writes bootloader, partition table and app together, so there is nothing else to stage.
The SD Data Pack is separate: the flasher does not write it. Unzip it and copy the files to the SD card root yourself.
PlatformIO (the control path)
If you want to build from source — or you are on the RF-hat board and want to tweak pin maps — the project is PlatformIO-based. The README calls for Python 3.10–3.13 (3.14 needs a one-line patch to platform.py), then a straight:
pio run -e esp32-cyd --target uploadswapping esp32-cyd for your board's target. The serial monitor runs at 115200 baud.
First boot
On first boot the touch calibration routine runs automatically — tap the crosshairs. Resistive touch on these panels is accurate but needs a firm, precise press; if it feels off later, there is a Touch Calibrate item in the Tools menu. Set your display rotation in Settings and you are in.
Printing the case
The CYD has a huge community, so you are not designing an enclosure — you are picking one and matching it to your exact board. The canonical hub is Brian Lough's ESP32-Cheap-Yellow-Display repo, which links STLs and stands. Beyond that, Printables and MakerWorld are full of options.
Match the case to the board, not just "a CYD"
This is where prints go wrong. Before you slice anything, confirm:
- Port type and position — a case cut for micro-USB will not line up with a USB-C (CYD2USB) board. Many listings say which they target; mdkendall's original enclosure has a widely used USB-C remix with the connector and SD slot moved.
- Screen size — a 2.8" case will not take the 3.5" E32R35T. Match the panel.
- SD slot clearance — if you are logging, make sure the case does not block the microSD slot.
Bare board vs. modules — pick the case accordingly
This is the decision that actually matters:
- Bare CYD (my recommendation for LAN defense): any slim two-part 2.8" enclosure works. I used a simple snap/screw case — jonnybergdahl's Case for ESP32-2432S028R is a clean, well-fitted starting point. Four M3 screws or heat-set inserts and you are done.
- With external radios (CC1101 / NRF24 / PN532 / GPS): a slim case will not close over the soldered-on modules and their wiring. Go modular. The HandyHack ESP32 CYD Modular Case is purpose-built for a CYD plus expansion modules; or match a case to the NM-RF-Hat board, which keeps the add-ons mechanically tidy. Expect a chunkier device and add antenna cutouts where needed — several of the "CYD case for Bruce/Marauder" designs on Printables already include an external-antenna variant.
Print settings I used
- Material: PETG over PLA. The device can sit in a warm spot or a car window for a perimeter sweep, and PLA creeps/softens in heat. PETG shrugs it off.
- Layer height: 0.2 mm is plenty; 0.16 mm if you want the logo crisp.
- Infill: 15–20%. It is a display bezel, not a structural part.
- Supports: usually only under the base; most of these cases are designed to print flat-side down with minimal support. Read the model's notes.
- Fasteners: M3 throughout — either self-tapping into printed bosses or (nicer) M3 heat-set inserts.
Two small touches worth it: a stylus holder, since resistive touch is much nicer with the little pen these boards ship with, and a swappable logo plate — some parametric cases print the logo as a separate patch so you can reprint just the badge when you change firmware, rather than the whole shell.
(Photo spots for the published post: the bare board mid-flash; the printed shell halves before assembly; the finished device showing the Blue Team menu.)
Switching it into Blue Team mode
HaleHound gates its offensive modules behind what the author calls the VALHALLA Protocol — a liability disclaimer you have to accept before the attack features unlock. If you decline it, the device drops into Blue Team mode, which keeps only the defensive and passive modules and hides the rest. The choice persists across reboots.
For a device whose entire job is defending my own network, this is exactly what I want. It means:
- I cannot fat-finger a transmitting attack module while poking around the menus.
- If someone else picks up the device, there is nothing on it to misuse.
- It makes the intent of the build legible — this is a sensor, not a weapon.
Blue Team mode leaves you the receive-only and detection features: the jam detectors, drone detection, tracker/AirTag detection, and the passive scanners. That is the toolkit the rest of this post uses. If you ever genuinely need a transmitting module for a legitimate test against your own hardware, you can accept VALHALLA deliberately — but for day-to-day monitoring I leave it in Blue Team mode and treat crossing back as a conscious act.
What it actually does for your network
This is the part that justifies the build. Every module below is receive-only — it listens, it does not transmit — so it stays firmly on the right side of the legal line and still gives you real visibility. Almost all of it runs on the bare board's onboard WiFi and BLE; I have marked the few that need an add-on radio.
Module | Needs | What it surfaces | What you do with it |
|---|---|---|---|
Deauth Detector / WiFi Guardian | Onboard WiFi | Floods of 802.11 deauth/disassoc frames aimed at your APs | Confirm an active attack vs. a flaky client; turn on Protected Management Frames (802.11w) |
WiFi / Station / Probe scanners | Onboard WiFi | APs cloning your SSID (evil twins); your own devices leaking saved-network names in probe requests; a live station inventory | Spot rogue APs; stop devices auto-joining open SSIDs; know what is really on your RF |
Jam Detect | Onboard WiFi (+ NRF24 for 2.4 GHz, CC1101 for sub-GHz) | Deliberate RF jamming across WiFi, 2.4 GHz and sub-GHz bands | Explain why WiFi, a 2.4 GHz alarm or a 433 MHz sensor suddenly dropped — interference vs. attack |
Tracker / AirTag detect (Lunatic Fringe) | Onboard BLE | Unknown AirTags/Tile-class trackers that stay with you; stray BLE beacons | Physical-security sweep of a bag, car or room |
Drone Detect | Onboard WiFi/BLE | Nearby drones broadcasting ASTM F3411 Remote ID | Situational awareness around a home or site |
Flock You | Onboard | Fixed ALPR cameras and related surveillance sensors nearby | Know what is watching the street outside |
Skimmer Hunter (beta) | Onboard BT | Bluetooth card-skimmer signatures | Quick check at an ATM or fuel pump |
Wardriving | Onboard WiFi + GPS | How far your own SSIDs actually reach beyond your walls | Turn down AP transmit power; reduce the footprint an attacker sees |
EAPOL Capture / IoT Recon | Onboard WiFi | WPA handshakes and IoT chatter on your own network | Inventory noisy IoT devices; test your own WPA strength offline |
Three of these earn their keep immediately:
Deauth detection is the headline feature. A deauth attack is the classic opening move against WiFi — knock a client off so it reconnects (and, historically, leaks a handshake), or just to cause a nuisance. You normally never see it; it happens below the IP layer. With the detector sitting on my SSID's channel, a burst of deauth frames lights up immediately. The fix it points you to is concrete: enable Protected Management Frames (802.11w) on your APs, which makes vanilla deauth attacks stop working. Detection plus PMF is a genuine, measurable hardening step.
Evil-twin and probe awareness tells you what is pretending to be you, and what you are leaking. The scanners show APs broadcasting your SSID that are not your APs — the setup for a credential-harvesting captive portal. They also show the probe requests your own phones and laptops shout out, often revealing the names of every network they have ever joined. Seeing your own devices name your home and office SSIDs in the clear is a good prompt to prune saved networks and disable auto-join to open APs.
Tracker detection is the one non-network win I use most. The BLE tracker scan flags AirTag-class devices that persist near you. It is a two-minute sweep of a bag or a car, and it is the single most relatable "RF security" demo for non-technical people — which, as a Security Champion, is half the value: it makes an invisible threat model tangible.
Field notes and caveats
A few things I wish I had known, and some honest limits:
- It is a dev board, not an appliance. Expect a little friction. The two most common first-run problems are a charge-only USB cable and picking the wrong serial port — both cost people more time than the actual flash. A CP2102/CH340 driver sorts out a missing port.
- Resistive touch, not capacitive. It works well but wants a deliberate press, and the bundled stylus genuinely helps. If taps land in the wrong place, re-run Touch Calibrate.
- One shared SPI bus. On the CYD the radios and the SD card share the VSPI bus while the touch controller sits on its own; the firmware runs an SPI manager to arbitrate, and splits networking and UI across the ESP32's two cores for the heavier modules. In practice it is fine, but it is why adding every external module at once can get flaky — add and test them one at a time.
- Power for a portable sweep. For walk-around use (tracker sweeps, mapping your own coverage) add a small LiPo with a boost converter. If you run the PA radios, give them their own 5V→3.3V buck — see the build section.
- It is not a WIDS. This is the important expectation-setter. HaleHound is a single-channel, single-antenna sensor you point at a problem, not a permanent multi-channel wireless IDS covering your whole estate. It is superb for spot checks, demonstrations, and catching an attack while it is happening in front of you — not for 24/7 coverage. If you want always-on monitoring, this is the thing that convinces you to go build that properly.
- Firmware is proprietary and fast-moving. The HaleHound additions are closed-source (it derives from the MIT-licensed ESP32-DIV, and that notice is preserved). Only the official GitHub repo and web flasher are sanctioned sources — do not flash binaries from anywhere else. And re-read the current README before each build, because menus move.
Where it fits
For the price of a couple of coffees and an evening of soldering and printing, HaleHound buys you a tangible sensor for a layer of your network you otherwise take on faith. Kept in Blue Team mode and run receive-only, it is a legitimate, useful addition to a home or small-office blue-team kit: it catches deauth attacks as they happen, shows you the evil twins and the leakage, sweeps for trackers, and — not least — makes RF threats real to the people you are trying to protect.
The flip side is the part I keep coming back to: the same device, two menus over, is a jammer and a credential harvester. The build is only responsible if the discipline is. Decline VALHALLA, keep it pointed at your own airspace, and never transmit against anything that is not yours. Do that, and it is one of the best value-for-money security learning tools I have put on my bench.