Skip to main content

AP Dossier: one tap on an access point, everything you already know

Updated 6 min readMarkdown
Part of seriesProjects
AP Dossier: one tap on an access point, everything you already know

A payload for the Hak5 WiFi Pineapple Pager that turns a single access point into a one-page dossier — its security grade, the handshakes you already hold, its clients, its sibling radios — by joining what the firmware and the other payloads have already captured. Point at an AP, get its rap sheet. It transmits nothing.

The problem

By the time you've been near a site for a while, you know a lot about each access point — but the knowledge is scattered. The Recon list shows SSIDs and signal. Grader has graded the crypto. Crack Triage knows which handshakes are worth cracking. PineAP's recon.db has the clients and the beacons. Every piece sits in a different place, and to make a call on one AP you're hopping between four of them and holding the join in your head.

AP Dossier does the join for you. Select an access point in the Recon list, run it, and it pulls every one of those sources together into a single screen — and a single report.html you can hand to someone.

A consumer, not a collector

The design decision that makes AP Dossier small is that it captures nothing. There's no radio work, no new database, no footprint. It is a pure consumer: for the one BSSID you selected, it reads what already exists and renders it. That keeps it honest (it can't tell you anything the tools didn't already know) and it keeps it fast (one tap, one page).

It runs as a recon context-menu payload. When you pick an AP, the firmware hands the payload a set of environment variables describing it — BSSID, SSID, channel, frequency, RSSI, encryption, client count, OUI, first-seen, packet count. (Those names are worth pinning down exactly rather than guessing: Hak5's Recon Payloads doc lists them as _RECON_SELECTED_AP_BSSID, _RECON_SELECTED_AP_SSID, and so on. The doc had quietly moved; I chased down the current page instead of trusting memory.)

Joining by BSSID

Everything keys off the BSSID. AP Dossier normalises it to twelve lowercase hex digits — the form Grader and Crack Triage already store — and joins:

  • Grader (grades.tsv): the security grade and the crypto behind it — AKM, cipher, PMF, WPS state, the attacks that apply, the WPS device string, the flags.
  • Crack Triage (triage.tsv + captures.tsv): whether you already hold a crackable handshake for this AP, what kind (PMKID / AUTH / CHAL), and how many captures.
  • Sibling radios: other BSSIDs that share the first five octets — the same NIC walking its last byte to broadcast extra SSIDs. A guest network and a corporate network on one radio is a useful thing to notice.

Each source is optional. Miss one and the dossier just notes it — a sources line, on the screen and in the report, says exactly which were present when it was built. No source is ever fatal.

What the recon.db schema actually gives you

The richest source is PineAP's own recon.db, and here the honest engineering is in reading the schema rather than wishing for a table that isn't there. The real firmware-2.1.0 schema has wifi_device (one row per MAC seen), ssid (links a device to a BSSID / SSID / channel / encryption), and handshake (with an aphash and a stahash).

AP Dossier reads a read-only copy of the database (the live file can be locked) and does three things with it:

  1. Resolves the AP by matching ssid.bssid, and fills in any fact the context menu didn't give — so it still works on a thin selection, or run by hand.
  2. Lists the clients it can prove — stations that completed a handshake with this AP, via handshake.aphash → handshake.stahash → wifi_device.mac.
  3. Finds siblings from the ssid table and merges them with Grader's list.

The honest caveat is point 2. There is no persisted "every client of this AP" table in recon.db — the firmware's live client count comes from frames it tracks in memory, not a stored association. So the CLIENTS screen shows the handshake-confirmed subset: fewer rows than the detected count, but every one of them a client you already hold a handshake from. The dossier shows both numbers — "2 with handshake / 4 detected" — rather than pretending it has the full list. A tool that's clear about what it doesn't know is more useful than one that guesses.

The report it owns

Across this payload set, one of them owns the shareable HTML report, and it's this one. AP Dossier writes a single self-contained report.html per AP — no JavaScript, no web server, opens offline on the laptop, drops straight into an engagement write-up. Grade badge, the crypto table, handshake status, the handshake-confirmed clients, the sibling radios, and the sources footer. Grader and Crack Triage deliberately stay screen-and-.tsv only, so reporting is built once, in the place that has the whole picture, not three times.

The screen

The on-device UI is the same freestanding C program on the same shared "grade list" scaffold as Crack Triage and Grader — but on its own iris bench colour, so a glance tells you which tool you're in (Crack Triage is cyan, Grader amber, AP Dossier iris). Grade colours stay the shared traffic light. Three views: DOSSIER (the whole card — grade, BSSID, crypto, handshake, device, flags, siblings, sources), CLIENTS (the handshake-confirmed list), and KEY.

Verified

Firmware 2.1.0. The engine's joins, the field enrichment, the handshake-client resolution and the sibling merge are covered off-device by 32 assertions — including the recon.db queries, which run against a synthetic database built from the real schema (committed as readable SQL, no binary blob, no real captures). All three screens render correctly on the host backend; the awk joins are verified under the Pager's busybox awk. Installed to the device; the live context menu and the panel are the last things only hardware can prove.

Authorized use only: your own networks, or an engagement where recon is in scope.

Code: payloads/recon/access_point/ap_dossier

About the author

  • 30 years in creative leadership (in the ad industry as a Creative Director) taught me one core skill: dissecting complex systems and finding the flaw before someone else does. My tech roots run back to 8-bit machine code on a C64 (yeah – 80s, baby!) Today, I’m combining that legacy hacker curiosity with modern threat detection and offensive security. BATTLE-TESTED LOGIC: Decades of high-pressure problem solving and systems analysis. HACKER MINDSET: I don't just follow playbooks; I reverse-engineer how the attack path actually works. CONTINOUS SKILL-UP: CompTIA Security+ certified (among other certs), building home labs, and constantly training for L1 ops to future Pentesting.

No comments yet. Be the first to comment.