Pocket Mesh - Security nodes everywhere

BLEShark Shiver Mesh: What a Pocket Network of Security Nodes Can Do

Most wireless security tools are single-device affairs. You point one device at a network, run a scan, get results from one vantage point. That's fine for a lot of tasks - but it misses a fundamental reality of RF environments: coverage is physical. A device in one room cannot hear what's happening in another room with a thick concrete wall between them.

Shiver is the mesh networking system built into BLEShark Nano. It connects multiple Nano devices into a coordinated peer-to-peer network using ESP-NOW - Espressif's connectionless 2.4GHz protocol. Each node stays in its location. They share results, execute commands in parallel, and give you a combined picture of an entire building's RF environment rather than just the corner you're standing in.

This article is the foundation piece. It explains what Shiver is, how it's architected, and what you can actually do with a mesh of BLEShark Nanos that you can't do with one.

Table of Contents

What Is Shiver?

The name matters here. Shiver is not a Bluetooth mesh (like ESP-NOW mesh or Zigbee). It is not a WiFi ad-hoc network. It runs on ESP-NOW, Espressif's proprietary protocol that operates over the 802.11 physical layer without requiring association, authentication, or IP addressing. Frames are MAC-to-MAC, connectionless, and fast.

Shiver uses ESP-NOW Long Range mode by default. This reduces throughput compared to standard WiFi, but increases range significantly. Real-world coverage between two Nano devices depends heavily on the environment. Through walls, across floors, across a warehouse - Shiver is designed for deployment in physical spaces, not just bench testing.

The mesh operates on a single fixed channel: channel 1. This is intentional. Running a mesh on a fixed channel keeps synchronization deterministic and avoids the complexity of multi-channel rendezvous. The Nanos you deploy as Shiver nodes stay coordinated without channel negotiation.

The Hardware

Every BLEShark Nano is a potential Shiver node. The hardware is identical across the range - ESP32-C3, RISC-V core at 160MHz, 2.4GHz radio, 500mAh battery, USB-C charging. What makes a device a mesh node is firmware configuration, not different hardware.

The ESP32-C3 has a single 2.4GHz radio. Mesh communication between nodes runs over ESP-NOW - Espressif's connectionless WiFi protocol. BLE is used only for the initial pairing step; once paired, the radio operates exclusively in ESP-NOW mode. Shiver uses time-division to handle this: when a node needs to do BLE work (like BLE scanning or BLE spam), it pauses the mesh, does its BLE task, then returns to the mesh. For activities that don't need BLE, the radio stays in mesh mode full-time.

The radio constraint is also why Bad-BT (Bluetooth HID injection) fully disconnects from the mesh while active - it requires a persistent BLE connection that can't coexist with mesh operation. Every other BLEShark feature works within the mesh framework.

sequenceDiagram
    participant CTRL as Controller Node
    participant N1 as Node 1 (direct)
    participant N2 as Node 2 (relay via N1)
    participant N3 as Node 3 (direct)

    Note over CTRL: Mesh initialization
    CTRL->>N1: Peer registration (ESP-NOW)
    CTRL->>N3: Peer registration (ESP-NOW)
    N1->>N2: Peer registration (relay)

    Note over CTRL: Command broadcast
    CTRL->>N1: CMD: Start WiFi scan (ch 1-6)
    CTRL->>N3: CMD: Start WiFi scan (ch 7-13)
    N1->>N2: CMD: Start BLE scan

    Note over N1,N3: Nodes execute independently

    N1->>N1: Scan WiFi channels 1-6
    N3->>N3: Scan WiFi channels 7-13
    N2->>N2: Scan BLE advertisements

    Note over CTRL: Results aggregation
    N1->>CTRL: Results: 12 APs found
    N3->>CTRL: Results: 8 APs found
    N2->>N1: Results: 34 BLE devices
    N1->>CTRL: Relay: N2 found 34 BLE devices

    CTRL->>CTRL: Merge + deduplicate results
    CTRL->>CTRL: Display unified view

    Note over CTRL: Constraint: BLE and mesh
mutually exclusive per node

Shiver mesh command and result flow - the controller distributes tasks, nodes execute independently, and results are aggregated back through relay hops for a unified view.

How Nodes Communicate

Shiver's communication model has three layers worth understanding:

The Window System

Nodes don't transmit continuously. Shiver uses a synchronized radio window scheme: each node is radio-active for 500ms, then silent for 1500ms. That's a 2000ms period with a 25% duty cycle. All nodes in the mesh are synchronized to the same window timing, so they're all listening when neighbors transmit and all transmitting when neighbors are listening.

This matters for battery life. A Nano in mesh mode isn't running the radio at full power constantly - it's active for one quarter of the time. The synchronization is maintained by a leader node (the device with the lowest hardware eFuse ID wins leader election automatically - no configuration, no consensus protocol), which sends precision sync frames to followers at each window opening.

graph TD
    subgraph MESH["Shiver Mesh Network"]
        subgraph CTRL_GRP["Controller"]
            CTRL["Controller Node
(UI + Command Center)"] end subgraph ZONE_A["Zone A - Building Entrance"] N1["Node 1
WiFi Scanner"] N2["Node 2
BLE Scanner"] end subgraph ZONE_B["Zone B - Server Room"] N3["Node 3
Deauth Detector"] N4["Node 4
Rogue AP Monitor"] end subgraph ZONE_C["Zone C - Parking Lot"] N5["Node 5
Signal Strength Monitor"] N6["Node 6
WiFi Scanner"] end CTRL -->|"ESP-NOW"| N1 CTRL -->|"ESP-NOW"| N3 N1 -->|"Relay"| N2 N3 -->|"Relay"| N4 N1 -->|"Multi-hop
AODV routing"| N5 N5 -->|"ESP-NOW"| N6 end subgraph RESULTS["Aggregated Results"] R1["Combined WiFi AP list
from all vantage points"] R2["BLE device map
with triangulation data"] R3["Rogue AP alerts
with location context"] R4["Coverage analysis
signal strength map"] end CTRL --> RESULTS

Shiver mesh deployment - BLEShark Nano nodes communicate via ESP-NOW with AODV routing, providing multi-vantage-point wireless scanning across a physical area.

Multi-Hop Routing

Nodes don't need to be in direct range of each other to communicate. Shiver implements AODV routing (Ad-hoc On-demand Distance Vector), the same protocol used in mobile ad-hoc networks. When Node A needs to reach Node D and has no direct path, it floods a route request outward in expanding rings - first one hop, then two, then three - until it finds a path. The route is cached for 90 seconds of idle use, or up to 180 seconds hard limit.

The practical result: a Shiver mesh can span multiple floors of a building. Nodes relay messages through intermediate nodes. Commands sent from one end of the mesh reach nodes at the other end, up to 15 hops away.

Pairing and Trust

Nodes pair over BLE initially. During pairing, devices exchange their WiFi MACs, hardware eFuse IDs, and a 32-byte master secret. After pairing, they store this information in flash and switch to ESP-NOW for all subsequent communication. The master secret is used to derive per-link encryption keys (one unique key per device pair), so every link in the mesh is independently encrypted.

Pairing is transitive. If you pair Node A with Node B, and Node B with Node C, Node A automatically discovers Node C when B shares its peer list. One pairing session is enough to bring a new device into an existing mesh.

What the Mesh Enables

Here's what changes when you have multiple coordinated nodes instead of one device:

Distributed WiFi Scanning

One Nano in one location sees the access points near it. Four Nanos spread across a building see four different views of the RF environment. Shiver aggregates scan results by BSSID - so if three different nodes see the same AP but at different signal strengths, the combined result shows per-node RSSI for that AP. You see the full network map instead of a single-vantage snapshot.

This is particularly useful for enterprise wireless audits. Networks with access points in every meeting room, on every floor, in the parking lot - one handheld device misses most of it. A deployed Shiver mesh sees all of it simultaneously.

RSSI-Based Device Location

With three or more nodes at known positions, you can estimate the physical location of any transmitting device by comparing its signal strength at each node. This is called trilateration. It's not GPS-precision - RF multipath and reflections introduce noise - but it's room-level accurate in most buildings. Rogue APs, unauthorized BLE beacons, hidden devices - if they're transmitting, the mesh can locate them.

Captive Portal A/B Testing

Deploy different portal pages on different nodes, each on a different SSID. Measure which design, which copy, which network name gets the most connections. Results sync to the master node in real time. This is a standard red team technique for social engineering assessments - Shiver makes it practical to run across a large space with minimal hardware.

Coordinated Command Execution

From the Execute menu on any paired Nano, you can send commands to individual nodes or all nodes simultaneously. Run WiFi scans on all nodes at once. Deploy a captive portal on one specific node in a target area. Stop all running operations across the mesh with one command. The command system uses reliable delivery with acknowledgment - if a node doesn't confirm receipt, the command is retried.

Deauth Detection Across the Whole Space

A single deauth checker can only monitor the channel it's on, from where it's located. Multiple nodes running deauth detection in coordinated configurations means no blind spots. A deauth alert from any node in the mesh bubbles up to the master node immediately via EVENT_DEAUTH_ALERT. You see the whole picture from one display.

IR Zone Control

Shiver nodes can receive IR commands remotely. Send CMD_IR_TVBGONE or CMD_IR_CUSTOM_TX to a specific node from anywhere in the mesh. A node in Conference Room B executes the IR command on the hardware in its local area. Multiple rooms, one control interface.

Packs and Deployment

BLEShark Nano Shiver packs come in two sizes: 3-pack and 6-pack. Each pack contains identical hardware - the pack size just determines how many nodes you're deploying in a single purchase.

Deployment is straightforward. Position nodes throughout your target space. Each node has a 500mAh battery - enough for several hours of active operation. They don't need network access, power outlets, or any external infrastructure. Drop them, pair them once, and they find each other and form the mesh automatically.

A 3-pack covers a small office or apartment - enough for basic triangulation and room-level coverage. A 6-pack handles a medium floor of a commercial building, and adding more Nanos can cover a substantial enterprise space with good overlap and redundancy.

When a node is placed after the mesh is already formed - say you deploy Node 5 an hour after Nodes 1 through 4 are already synchronized - the rescue protocol kicks in. Established nodes detect the late-joiner's hint broadcasts, reach out proactively, share synchronization seeds, and bring the new node into the mesh without any manual intervention. You don't have to restart the mesh to add a node.

Security Model

Shiver's security is built around the shared master secret established during pairing. From this secret, each device pair derives a unique 16-byte Link Master Key using HKDF-SHA256. Every ESP-NOW frame between paired devices is encrypted with that per-link key. An eavesdropper capturing ESP-NOW frames between two Shiver nodes can't decrypt them without the master secret.

The master secret itself propagates through the mesh automatically. When you pair a new device, the smaller secret (lexicographic comparison) wins and cascades to all connected nodes. The entire mesh converges to one shared secret without manual configuration on each device.

The mesh tag - the first 4 bytes of a 128-bit network ID derived from the master secret - acts as a quick filter. Frames from other ESP-NOW networks (with different secrets) don't match the mesh tag and are dropped immediately, before any deep processing.

EU Compliance

BLEShark Nano's deauth features are disabled on EU firmware builds to comply with the Radio Equipment Directive (RED). Handshake capture in EU mode operates as passive-listen only, without sending deauthentication frames. Shiver mesh networking, WiFi scanning, captive portal, IR, and all non-deauth features function normally in EU builds.

What Comes Next

This article covers the what and why of Shiver at a high level. The rest of this series goes deep on specific aspects: how the ESP-NOW protocol works, how the window synchronization system saves battery, how AODV routing finds paths, how multi-node scanning works, and more.

If you're building out a mesh deployment or just want to understand the system before you buy, the linked articles below walk through each subsystem in the detail it deserves.

Shiver packs are available as a 3-pack or a 6-pack. If you're starting from one device and want to expand later, any BLEShark Nano can join an existing Shiver mesh.

Get BLEShark Nano

Back to blog

Leave a comment