Repository navigation
v1.5.0 — UI/UX & operational visibility
Orbic-Rayhunter v1.5.0 — UI/UX & operational visibility
Overlay release on EFF Rayhunter v0.13.0 for the Orbic RC400L
(ORB400L_V1.2.0_BVZRT, Qualcomm MDM9x07, armv7). This release improves the
on-device UI and host-side operational visibility, and pulls two v1.6.0
security-hardening items forward. Installed and verified on the reference
unit (on-device daemon SHA-256 matches the published asset).
Highlights
-
orx status— live daemon snapshot (T-OR-079). A new host subcommand that
reads the running daemon's:8080API (/api/system-stats,
/api/qmdl-manifest,/api/config, and the current recording's
/api/analysis-report/<name>) and prints an at-a-glance operational view:
rayhunter version/OS/arch, the active recording (size + warning count), number
of completed recordings, enabled detectors + capture profile, retention caps,
storage used/free, and battery. Complementsorx check(pass/fail health
gate) with a "what is it doing right now" view. The recording name is
validated (is_safe_name, ASCII-alnum only) before it is placed in an HTTP
path, and device-sourced strings are control-char stripped before printing. -
Framebuffer geometry is probed, not hardcoded (T-OR-080, patch 0030). The
Orbic display driver previously assumed a fixed 128×128 panel. The daemon now
reads/sys/class/graphics/fb0/virtual_sizeat runtime and parses it into the
UI dimensions, falling back to 128×128 if the value is missing or malformed —
so the UI is correct on a unit with a different panel. The probe is cached
(read once viaOnceLock, not on every redraw of the async UI loop), and the
device-sourced value is bounds-checked (each axis ≤ 1024) so a bogus or
corrupted sysfs reading cannot overflow thewidth × heightpixel-count math
or drive a large framebuffer allocation on the 256 MB device. -
Charge-only-boot display handling that never hides an alert (T-OR-076, patch
0031, upstream rayhunter#1160). On a charge-only boot Rayhunter no longer
paints its ordinary recording/paused status over the stock charging screen.
The charge-boot reasons are verified against the device's own stock boot
scripts (/etc/RNDIS.sh,/etc/ECM.sh,/etc/DEBUG.sh), which test
androidboot.poweronreasonfor exactlyUSBorReset_POFF_CHGbefore
disabling the USB data gadget; the matcher uses those two whole values
(case-insensitive), so a normal boot (Hard_Reset/Reset_PON_CHG, both
observed on-device) is unaffected, and a substring likeUsb_Chgcannot trip
it. Critically, a detector warning is still drawn on a charge boot
(Low/Medium/High → the same yellow/orange/red the normal UI uses) and is
repainted on a 500 ms interval so it survives the stock charging
animation's continuous redraws; the highest severity seen is latched and never
downgraded. An explicit display-off config (ui_level = Invisible) is honored
(nothing is painted). Hiding an IMSI-catcher alert because the device booted to
charge would defeat the tool's purpose, so this path is fail-closed.
Security hardening (landed early from the v1.6.0 line)
-
Configurable HTTP bind address (T-OR-082, patch 0028). New
bind_address
config key for the API/UI listener (default0.0.0.0, upstream behavior). Set
it to the AP gateway (192.168.1.1) or127.0.0.1where the network allows,
to reduce exposure while the API has no authentication. An unparsable value
falls back to0.0.0.0with a warning. -
config.tomlsecrets at rest0600(T-OR-087, patch 0029).orx install
now writesconfig.tomlowner-only (0600), and the daemon re-tightens the
file to0600on load, so the ntfy topic/auth and WebDAV password are not left
world-readable on/data. Verified on-device this release: the installed
config.tomlis-rw-------.
Device reverse-engineering note
The charge-mode reasons above were not guessed. With a root shell on the unit,
the stock BusyBox linuxrc boot scripts were read directly; they classify the
boot from androidboot.poweronreason and treat USB/Reset_POFF_CHG as
charge-only (disabling the USB data gadget). In those modes the device does not
enumerate over USB, so a charge-mode /proc/cmdline is not remotely capturable
— the stock scripts are the authoritative source. See
docs/DEVICE-PROFILE.md → "Charge-mode boot detection".
Patch series
v0.13.0 + 31 patches (patches/0001–0031). New since v1.4.0:
| Patch | Ticket | Change |
|---|---|---|
| 0028 | T-OR-082 | [UPSTREAM] configurable HTTP bind_address |
| 0029 | T-OR-087 | [UPSTREAM] tighten config.toml to 0600 on load |
| 0030 | T-OR-080 | [UPSTREAM] probe framebuffer geometry (cached, bounded) |
| 0031 | T-OR-076 | [UPSTREAM] suppress recording status on charge-only boot, keep warnings |
(orx status is a host-crate feature in crates/orx-cli, not a daemon patch.)
Verification
- Host gate:
cargo +1.98.0 fmt --all --check,cargo clippy --all-targets -- -D warnings,cargo test— 139 orx-cli unit tests + 4 Python tool self-tests, all green. - Docs/CI lint:
markdownlint-cli2(57 files),actionlint,shellcheck— clean. scripts/apply-patches.shapplies the full 31-patch series onto pinnedupstream/v0.13.0; CI cross-builds the armv7 musl daemon.- Three-bot PR review ceremony (Antigravity + Codex + CodeRabbit) green on every merged PR (#43/#44/#45/#46/#47/#48).
On-device install (reference unit)
Installed from the stripped firmware-profile build (strip = true,
post-quantum TLS, armv7-unknown-linux-musleabihf), backup-gated:
- On-device
sha256sum /data/rayhunter/rayhunter-daemon=
d3761e03931a05280d11a91a4deb42617a23e40e87ba48d4d4250b7246f78eb3— byte-identical to the publishedrayhunter-daemonasset. config.tomlis-rw-------(0600); daemon supervised
(rayhunter_daemon __supervise), reboot-persistent, recording within seconds.- All detectors enabled,
capture_profile = full, retention 128 MB.
Assets & checksums
| File | SHA-256 |
|---|---|
rayhunter-daemon (armv7, stripped, static) |
d3761e03931a05280d11a91a4deb42617a23e40e87ba48d4d4250b7246f78eb3 |
rootshell (armv7) |
bd913c4634f16a82f5b41854b5f77c424e3bca4bdf590de1f8b5d75e7e2b9298 |
Install / upgrade
# 1. a verified checksummed backup must exist first (see docs/BACKUP-AND-RECOVERY.md)
orx backup --out backups/<date>
orx verify --dir backups/<date>/fs
# 2. install (dry-run without --apply); reboots the device
orx install --dir backups/<date>/fs --daemon dist/rayhunter-daemon --ip 192.168.1.1 --apply
# 3. verify
orx status --ip 192.168.1.1See docs/INSTALL.md.
Known limitations
- True-positive detector calibration still needs an active SIM (T-OR-061). The
built-in Verizon SIM is inactive, so detectors are validated on the
false-positive side only (broadcast + rejected-attach traffic). The one benign
live warning remains IMSI-in-first-attach (identity_disclosureLow). - Keep-screen-on (T-OR-075) is deferred. The ST7735S backlight is a
panel-driver GPIO with no sysfs control (tied to fb-blank); a keepalive is
possible but its need is unverified. - In-UI sink configuration (T-OR-078) is deferred until the API has
authentication (v1.6.0+); editing sinks over an unauthenticated API is unsafe. - Full raw NAND image backup is still out of scope (file-level
tarbackup +
off-repo copy is the restore path); a bit-exact NAND image needs EDL and is
tracked for the aggressive tier.
Upstreaming
The [UPSTREAM]-tagged patches (0028–0031 here) are written to be submittable to
EFForg/rayhunter; per policy, opening those PRs is the maintainer's manual step.
Full changelog: CHANGELOG.md → [1.5.0].