Field instrument · beta · AGPL-3.0

Cryptocurrency forensics for Windows, Linux and Android.

Plug in the PocketHunter device, collect crypto evidence from a seized PC without installing anything, and analyse it later on the investigator's PC.

Status in this repository: beta. The firmware compiles and its host tests pass. It has not been run on the board yet.

Layout follows ph_screen.c. Glyphs are the Adafruit-GFX classic 5×7 font vendored by the firmware (BSD). The ID is the example from DEVICE-PROTOCOL.md.

Three parts, one collection

Device, collector, analyzer.

01 · Collector device

  • Enumerates as a CDC-ACM control port plus one mass-storage disk. No extra driver on Windows 10+, Linux or macOS.
  • PH-SYSTEM holds the boot files and START-HERE. Writes to it are refused unless an UNLOCK token was accepted.
  • PH-EVIDENCE holds Cases/. The device signs each finished collection. The key used in production does not leave the chip.

Two ways in, same device

Boot the PC, or collect live.

Boot

The PC's OS never starts

Pick the device in the boot menu. Secure Boot stays on. Suspect disks are mounted read-only. The screen ends on DONE and the PC switches off.

Live

The PC is already unlocked

Double-click START-HERE, or one Linux command. Running programs, network connections, the clipboard and unlocked BitLocker volumes are only readable this way.

Later

The analyzer checks the seal

HTML, Excel and a PDF. Every file hash is checked again. With the device, the report includes the ECDSA signature and the collection counter.

Walk the signal path

From the project README

What a collection can hold.

Seed phrases

BIP-39, checksum-checked, 12–24 words, and Electrum seeds, including numbered and line-broken layouts.

Photos and scans

Tesseract reads text in photos, screenshots and scanned PDFs on the investigator's PC. The BIP-39 checksum can resolve unclear words.

Addresses

Bitcoin legacy, SegWit and Taproot, Ethereum/EVM with EIP-55, TRON, Litecoin, Dogecoin, Dash, Zcash, XRP, Monero, Cosmos-family, Cardano and others. Each uses its own checksum.

Wallets and keys

WIF and hex private keys, xprv/xpub, Ethereum keystores, MetaMask-style vaults, wallet.dat, and about 40 desktop wallets and wallet CLIs.

Browser wallets

380+ Chrome, 27 Edge and 51 Firefox extension IDs, including IDs later removed from the store, across 30+ browsers including Tor Browser.

Browser traces

History, downloads, saved logins, cookies, bookmarks, form entries, open tabs, the site-icon cache, typed text and exchange-site storage.

Hardware wallets

Ledger, Trezor and KeepKey traces from the registry, setupapi.dev.log, event logs and the Linux kernel journal.

Chats and remote access

Telegram, Discord, Signal, WhatsApp, Viber, Thunderbird; AnyDesk, TeamViewer, RustDesk, UltraViewer, RDP, SSH, FileZilla, PuTTY, WinSCP; VPN and Tor configs; saved and nearby Wi-Fi.

Android

Over USB/ADB, without root: identity, accounts, apps, usage, notifications, SMS where allowed, Wi-Fi, logs, and shared-storage photos.

Honest limits

What this version does not do.

  • Not yet validated on a real Windows PC. Tested on simulated disks, virtual PCs with Secure Boot, and one real Ubuntu PC.
  • Encrypted wallets and chat databases are copied, not decrypted.
  • macOS is not supported. Boot mode is amd64 UEFI only.
  • Android app-private data needs root and is not collected.
  • The address assistant does not look up balances or transactions.

Read the FAQ · Getting started

PocketHunter wordmark and crosshair emblem

Mark from assets/logo in the repository. Author: Kritarth Agrawal. kritarthagrawal.com