Repository navigation
Releases
Orbic-Rayhunter v1.6.0
Security hardening. orx harden assesses (and --apply remediates) the stock-firmware exposure an
install can leave behind — a setuid /bin/rootshell, a stale :8081 listener, and the carrier OTA
state — failing closed and gating --apply on a verified backup; orx doctor gained an OTA
advisory; docs/STOCK-HARDENING.md and a docs/SECURITY-MODEL.md pre-release threat-model review
(grounded in the v1.5.0 NAND-image RE) landed; and the analyzer stops counting LTE MAC frames as
unsupported skips. Carried forward: T-OR-081 (HTTP API auth) and T-OR-085 (signed artifacts).
Changed
- Analysis: LTE MAC-framed GSMTAP frames (
GsmtapType::LteMacFramed, from a complete RACH attempt)
are no longer counted as unsupported skips (T-OR-124, patch 0032). They are carried into
GSMTAP/pcap for--pcapifybut are not RRC/NAS information elements, so both analysis paths now
drop them without askipped_message_reason-- a confirm-and-ignore (the observed rate was ~4
frames / ~1.05M; decoding into an IE is deferred to a future LTE-MAC analyzer, T-OR-117).
Added
orx harden(T-OR-083, T-OR-086): assess (and--apply) the stock-firmware security exposure an
install can leave behind, over the:24root shell -- a setuid/bin/rootshell, a lingering TCP
8081 installer listener, and the carrier OTA updater state (oma_dm/dmclient/mdm-daemon,
which the T-OR-018 block renames to.orx-disabled, confirmed in the v1.5.0 NAND image). The
:24root-shell port is NOT assessed byorx harden(it runs over:24); its closed-state is
checked over TCP byorx check. Fails closed: a probe that cannot confirm an item is
[warn]and exits non-zero, never a reassuring[ok]. Read-only by default;--applyis gated
on a verified backup (--backup-dir, the sameverify::gateasorx install), clears only the
setuid bit of a confirmed-setuid regular file (refusing a symlink), and never kills the:24
shell it runs over.orx doctoralso prints an OTA-posture advisory.
Documentation
-
docs/STOCK-HARDENING.md(T-OR-084): stock-admin hardening guide -- a strong admin password
distinct from the Wi-Fi key is the pivotal control because/action/SetRemoteAccessCfgis a
RE-confirmed post-auth root injection -- plus the install-left-exposure and OTA-path checklists. -
docs/SECURITY-MODEL.md(T-OR-088): pre-release threat-model review against the v1.5.0 NAND-image
RE -- confirms the post-auth web injection, the.orx-disabledOTA block, the unenforced secure
boot / EDL read path, and the separate QMI backend; the T-OR-083/084/086 mitigations are marked
landed. Residual: T-OR-081 (API auth) and T-OR-085 (signed artifacts). -
Full raw NAND backup achieved on hardware (docs/NAND-BACKUP.md,
T-OR-098): all 17 partitions imaged read-only via EDL + the EG25 9x07 firehose loader (which
authenticates -- fuse unblown), after reaching EDL with the Reset+Power button combo (no
soldering; first confirmed on the RC400L). Sizes match the MIBIB table;abootcross-verified
byte-identical against an independent/dev/mtdblock7pull; device reset cleanly back to normal.
Images are logical/no-OOB and stay in the gitignoredbackups/tree (IMEI/IMSI/calibration --
never committed). New roadmap item T-OR-124 for theLteMacFramedGSMTAP parser gap seen in the
pulled captures.
Release assets
| Asset | Target / role | Size | SHA-256 |
|---|---|---|---|
orx-x86_64-linux |
host CLI (orx), x86_64 Linux |
1076536 B | c2895b47fc92dd04e224ee507166f24323d2c821a066ae04cde3d84a70d461c6 |
rayhunter-daemon |
device daemon, armv7 musleabihf | 6194740 B | feab2b8471a8c889ff919decbbb951cc04d20b081a3d433a95e37c6d8a5f24ce |
rootshell |
device root helper, armv7 musleabihf | 399700 B | bd913c4634f16a82f5b41854b5f77c424e3bca4bdf590de1f8b5d75e7e2b9298 |
SHA256SUMS lists these hashes; verify with sha256sum -c SHA256SUMS in the download directory.
Build provenance
- Tagged commit:
9703f164cd0f787eaf2b7d7cc8a6dd4f71cd9c68 - Upstream pin: EFForg/rayhunter
cd462a1(cd462a1) - Rust toolchain:
1.98.0 - Daemon profile:
firmware(pq-tls, stripped, opt-level z, fat LTO), built in
messense/rust-musl-cross:armv7-musleabihf-- reproduces the upstream release
daemon to within a few hundred bytes (seere/notes/reproducible-build.md). - Built by
.github/workflows/release.ymlon ubuntu-24.04.
Pointers
- Install, scope and current state:
INSTALL.md,PROJECT-STATUS.mdat this tag. - Backup/recovery and device safety:
docs/BACKUP-AND-RECOVERY.md,docs/SECURITY-MODEL.md. - Full change history:
CHANGELOG.md.
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].
Orbic-Rayhunter v1.4.0
Performance and battery (Phase 6, Sprints 6.1-6.2). Baselines the v1.3 build on
the device and adds daemon supervision. Measurement-first: the idle-LTE profile
showed no hot path, so no speculative optimization was made. Active-LTE and
battery-drain measurements are gated on an active SIM / a standalone-battery
session and are left unmeasured rather than estimated.
Added
- Daemon supervision (T-OR-074, patch 0027): the init script now runs
rayhunter-daemon under a supervisor that restarts it on a crash with capped
quadratic backoff, resets after a healthy run, and gives up after repeated
rapid failures -- so a daemon crash no longer silently stops recording until
the next reboot (upstream has no supervision).stopstill shuts down cleanly.
Covered bytests/supervise-respawn.sh.
Release assets
| Asset | Target / role | Size | SHA-256 |
|---|---|---|---|
orx-x86_64-linux |
host CLI (orx), x86_64 Linux |
1038064 B | 8d663492fb180906ea4435b96b3394376eead9d23ab0a05e31c72d3928979e2d |
rayhunter-daemon |
device daemon, armv7 musleabihf | 6183276 B | f7fd5bda4ea1b7ef4d12a62f130891eb4c58d87e196a64b49289771f6fa9b44e |
rootshell |
device root helper, armv7 musleabihf | 399700 B | bd913c4634f16a82f5b41854b5f77c424e3bca4bdf590de1f8b5d75e7e2b9298 |
SHA256SUMS lists these hashes; verify with sha256sum -c SHA256SUMS in the download directory.
Build provenance
- Tagged commit:
4115011f2dce640cda82685fc729dc1992480c2f - Upstream pin: EFForg/rayhunter
cd462a1(cd462a1) - Rust toolchain:
1.98.0 - Daemon profile:
firmware(pq-tls, stripped, opt-level z, fat LTO), built in
messense/rust-musl-cross:armv7-musleabihf-- reproduces the upstream release
daemon to within a few hundred bytes (seere/notes/reproducible-build.md). - Built by
.github/workflows/release.ymlon ubuntu-24.04.
Pointers
- Install, scope and current state:
INSTALL.md,PROJECT-STATUS.mdat this tag. - Backup/recovery and device safety:
docs/BACKUP-AND-RECOVERY.md,docs/SECURITY-MODEL.md. - Full change history:
CHANGELOG.md.
Orbic-Rayhunter v1.3.0
Storage and retention (Phase 5, Sprint 5.5). The recording store is now
self-limiting, the DIAG capture surface is configurable for storage and privacy,
the daemon log is rotated, and the #1192 disk-exhaustion root cause is documented
from on-device measurement. All new behavior is off by default except where the
Orbic config opts in (a 128 MB store cap).
Changed
rayhunter.logis rotated torayhunter.log.1on daemon start instead of
being truncated and discarded (T-OR-066, patch 0026), so the previous session
survives a restart for diagnosing a wedge (#1192) and log storage is bounded
to the last two sessions.docs/PERFORMANCE.mddocuments the #1192 root cause
(shared/data) and the layered mitigations, and records the measured idle
QMDL growth (~0.17 MB/hr; T-OR-068).
Added
-
On-device recording retention (T-OR-065, patch 0025):
max_recording_store_size_mb
andmax_recording_age_dayscaps (both 0 = off, upstream behavior). When over
the cap, the oldest unflagged completed recordings are deleted first; a
recording that raised a warning, and the current recording, are never
auto-deleted.ManifestEntrygains aflaggedbool, set the first time an
analyzer warns. Retention fails closed against deleting evidence: a missing
flaggedfield defaults to protected, prune authoritatively re-checks each
candidate's analysis file (protecting any with a warning, or that can't be
read), and a failed container analysis flags the recording. The Orbic config
enables a 128 MB store cap. -
capture_profileconfig option (T-OR-067, patch 0024): selects the DIAG
log-code subscription.full(default) is behavior-identical to upstream;
signallingdrops the high-volume physical-layer logs (ML10xb17f/0xb180,
MAC0xb062/0xb063/0xb064, serving-cell timing0xb114) and user IP
traffic (0x11eb), shrinking the QMDL and dropping the captured user data
plane. The retained RRC/NAS codes still carry subscriber identifiers, so a
signalling capture stays sensitive. Applied at daemon start (restart to change).
Release assets
| Asset | Target / role | Size | SHA-256 |
|---|---|---|---|
orx-x86_64-linux |
host CLI (orx), x86_64 Linux |
1038064 B | 68ed1bb636327cfaa0ca83dca571470fc6f854b717afe06931664ce837751177 |
rayhunter-daemon |
device daemon, armv7 musleabihf | 6183276 B | 3149d0b018e6567bb82ae0b109a182438ab8fc50d9f199b798b0ca2a7e8a5f33 |
rootshell |
device root helper, armv7 musleabihf | 399700 B | bd913c4634f16a82f5b41854b5f77c424e3bca4bdf590de1f8b5d75e7e2b9298 |
SHA256SUMS lists these hashes; verify with sha256sum -c SHA256SUMS in the download directory.
Build provenance
- Tagged commit:
27df7ab7896c21d7a1cbfefafde8bb77421cbbbe - Upstream pin: EFForg/rayhunter
cd462a1(cd462a1) - Rust toolchain:
1.98.0 - Daemon profile:
firmware(pq-tls, stripped, opt-level z, fat LTO), built in
messense/rust-musl-cross:armv7-musleabihf-- reproduces the upstream release
daemon to within a few hundred bytes (seere/notes/reproducible-build.md). - Built by
.github/workflows/release.ymlon ubuntu-24.04.
Pointers
- Install, scope and current state:
INSTALL.md,PROJECT-STATUS.mdat this tag. - Backup/recovery and device safety:
docs/BACKUP-AND-RECOVERY.md,docs/SECURITY-MODEL.md. - Full change history:
CHANGELOG.md.
Orbic-Rayhunter v1.2.1
Real-capture calibration release. A pass over ~1.05 M real messages pulled from
the Orbic RC400L (SIM inactive, Verizon) drove a diag parser fix, the first
non-synthetic golden vector, and a false-positive fix in the inter-RAT detector.
Detectors still ship off by default; this is the first release informed by
on-device traffic.
Fixed
- Diag parser:
ServingCellTiming(LTE ML1 log0xB114) now accepts
num_records == 0(empty timing-adjustment list) instead of hard-failing the
1..=20assertion. The Orbic RC400L (MDM9207) emits this log with zero records
while camped, so the stock parser skipped every one -- 224 of 238 skipped
messages across the 2026-11-28 real-capture set. Behavior-preserving for
analyzers; it only stops dropping the log. (T-OR-120, patch 0021; draft upstream
report indocs/upstream-reports/0001-serving-cell-timing-zero-records.md.)
Changed
rat_downgrade: a bare SIB8/CDMA2000-interworking advert is now Informational
(diagnostic, no display alert) instead of Low. Real-capture calibration
(2026-11-28, Orbic on Verizon) scored ~1.05 M real messages with every detector
enabled and found this sub-check firing on every cell that broadcasts SIB8 --
1096 alerts, 12 of 19 recordings, no attack present -- because SIB8 is legitimate
wherever CDMA2000/1xRTT still runs. The passive advert now corroborates an active
directed move to CDMA2000 (Handover/e-CSFB, which stay Low) rather than standing
alone. Analyzer version -> 1; real-capture warning count dropped 1116 -> 20 (the
rest are expected inactive-SIM artifacts). (T-OR-122, patch 0023.)
Added
- First real-capture (non-synthetic) golden vector: a NAS Attach Reject carrying
EMM cause #8, captured from the device with the SIM inactive, as a true-negative
regression test for the NAS-reject detector. (T-OR-121, patch 0022.)
Release assets
| Asset | Target / role | Size | SHA-256 |
|---|---|---|---|
orx-x86_64-linux |
host CLI (orx), x86_64 Linux |
1038040 B | a0e33141ec95f60ce87c390c91f6b9d3bc33d003818c23a8147c206dc00a22ba |
rayhunter-daemon |
device daemon, armv7 musleabihf | 6165796 B | 89af47deb9647e003dec7db3ba4167dcf5714bc2c4ccad1586d4c75829f253b3 |
rootshell |
device root helper, armv7 musleabihf | 399700 B | bd913c4634f16a82f5b41854b5f77c424e3bca4bdf590de1f8b5d75e7e2b9298 |
SHA256SUMS lists these hashes; verify with sha256sum -c SHA256SUMS in the download directory.
Build provenance
- Tagged commit:
e9cdb4797945e44982a04a15beb0e211bebd011f - Upstream pin: EFForg/rayhunter
cd462a1(cd462a1) - Rust toolchain:
1.98.0 - Daemon profile:
firmware(pq-tls, stripped, opt-level z, fat LTO), built in
messense/rust-musl-cross:armv7-musleabihf-- reproduces the upstream release
daemon to within a few hundred bytes (seere/notes/reproducible-build.md). - Built by
.github/workflows/release.ymlon ubuntu-24.04.
Pointers
- Install, scope and current state:
INSTALL.md,PROJECT-STATUS.mdat this tag. - Backup/recovery and device safety:
docs/BACKUP-AND-RECOVERY.md,docs/SECURITY-MODEL.md. - Full change history:
CHANGELOG.md.
Orbic-Rayhunter v1.2.0
Second enhancement release: the v1.2.0 IMSI-catcher detector suite. Eleven new [UPSTREAM]
analyzer/tooling patches (0006–0020) on top of the v1.1.x notification sinks — NAS and RRC
detectors, ML1 measurement plumbing, cell-identity consistency, and a recording-level
identity-exposure summary. Every detector ships off by default pending on-device
false-positive calibration (T-OR-061). Detector vectors are cross-validated with the reference
Python pycrate ASN.1 encoder against the Rust telcom_parser decoder; they are not yet validated
against a live capture (the device's built-in SIM is inactive). Requires a firmware rebuild and
device reinstall.
Added (daemon notification sinks + detectors, [UPSTREAM] patches)
- ntfy header enrichment (T-OR-045, patch 0001): opt-in
ntfy_headerssends ntfy
Title/Priority/Tagsderived from the notification type; default-off keeps today's plain POST. - ntfy endpoint auth (T-OR-046, patch 0002): optional
ntfy_authAuthorization header
(Bearer/Basic) for a protected topic. Secret: redacted fromGET /api/config, preserved across a
config round-trip that omits it, and dropped ifntfy_urlchanges (so the unauthenticated config
API cannot repoint the URL and harvest the token). - Generic webhook sink (T-OR-047, patch 0003): optional
webhook_urlreceives a JSON body
{source, type, message, timestamp}with no subscriber identifiers, independently of ntfy. The
notification worker now delivers to multiple sinks, each debounced/retried independently.
webhook_urlis treated as a secret (it may embed a token): redacted + preserved. Transport
errors are URL-stripped before logging so a private ntfy topic cannot leak into the daemon log. - Gotify sink (T-OR-049, patch 0004): optional
gotify_url/gotify_tokenPOST Gotify JSON
{title, message, priority}to<gotify_url>/messagewith anX-Gotify-Keyheader.gotify_token
redacted + preserved likentfy_auth.
Security / hardening (patch 0005, PR #16 review follow-up)
- Notification HTTP client disables redirects (
reqwest::redirect::Policy::none()): reqwest
stripsAuthorizationon a cross-origin 30x but not a customX-Gotify-Key, so a redirecting
proxy/captive portal could otherwise harvest the Gotify token. Credential header values are marked
sensitive. gotify_message_urldrops any query/fragment so a?token=cannot leak through the unredacted
gotify_urlinGET /api/config(the token belongs in the redactedgotify_token).- Empty-string secrets no longer send a blank header; a header value with invalid bytes fails closed
(the request is not sent unauthenticated); webhook payloadtimestampis the detection time, not
the retry time; sinks are delivered concurrently per tick so a hung sink cannot block the
others;POST /api/test-notificationnow tests every configured sink and reports per-sink results. - Review follow-up refinements: a single
redirect_safe_client()the worker andtest_notification
both use (the no-redirect policy lives in one place); whitespace-onlywebhook_urlcleared like the
other secrets; a slash-/query-onlygotify_urlthat normalizes to empty is skipped; the
gotify_urlnormalize-and-resolve logic is one testedresolve_gotifyhelper. orx-clihardening (orx alert set):validate_ntfy_urlrejects embeddeduser:pass@
userinfo (which leaked when the URL was printed) and checks the authority shape (non-empty host, a
bracketed IPv6 literal, an optional numeric non-zero port, and\as a path delimiter -- it is a
shape check, not full WHATWG host validation);
the config snapshot (pull::write_atomic) now writes via an O_EXCL, mode-0600temp with a unique
name and removes the partial temp on error;.gitignoreignoresorx-config-before-*.json.
These are patches/0001-0005 on the pinned upstream v0.13.0 daemon, validated on upstream's own gates
(cargo fmt, clippy -D warnings, 120 tests from cargo test -p rayhunter-daemon, daemon/web
check + tests). MQTT (T-OR-048) and a
persistent retry queue (T-OR-050) are deferred. On-device validation is batched with the analyzers phase.
Added (toward v1.2.0 — analyzer phase)
- Analyzer test harness (T-OR-051,
[UPSTREAM]patch 0006): shared#[cfg(test)]helpers in
lib/src/analysis/test_util—packet_time(deterministic timestamps),nas_plain(build a plain
LTE NASInformationElementfrom a raw payload), andcollect_events(run an analyzer over a
sequence and gather itsEvents for a golden comparison) — the foundation the detectors
(T-OR-052+) build on. The per-detector named vector builders grow with each analyzer, and the
capture scrubber (sanitizing a real QMDL for committed vectors) is deferred until on-device captures
exist (T-OR-061). Validated oncargo test -p rayhunter(lib). - NAS Reject (identity-forcing) detector (T-OR-052,
[UPSTREAM]patch 0007, config key
nas_reject_identity): flags an Attach/TAU/Service Reject carrying an identity-forcing EMM
cause (#9 "UE identity cannot be derived" -> Medium, #10 "implicitly detached" -> Low) -- the
NAS-Reject IMSI-catching path (the Devilray "identity reveal" blind spot that the Identity-Request
analyzer misses). It keys on the cause alone and does not (yet) confirm the reject was
integrity-unprotected or that an IMSI re-attach followed -- the NAS security-header type is not
preserved through the decrypted-NAS log, and the Attach Request's EPS mobile identity is not decoded
by the current parser. Off by default: #9/#10 also occur benignly (MME restart, GUTI/MME-pool
mismatch, idle-timer implicit detach), so it needs T-OR-061 on-device false-positive calibration. - Authentication failure / reject detector (T-OR-053,
[UPSTREAM]patch 0008, config key
auth_failure): flags a NAS Authentication Failure (EMM cause #20 MAC failure -> High, #21 synch
failure -> Low, #26 -> Medium) or an Authentication Reject (-> High). A false base station with
no access to the subscriber's home keys cannot produce a valid AUTN, so the USIM rejects the
challenge with an Authentication Failure (#20 is the direct signature, near-impossible benignly on
a home network); an Authentication Reject is sent by a network that cannot validate the UE or
injected by a rogue base station to invalidate the USIM. Stateless. Off by default: #21 also
fires on a genuine SQN resync or a
SIM swap, and an inactive/unprovisioned SIM draws a legitimate Authentication Reject on every
attach/auth retry (stateful suppression and dedup are tracked as T-OR-109), so it needs T-OR-061
calibration. - Null integrity (EIA0) detector (T-OR-055,
[UPSTREAM]patch 0009, config keynull_integrity):
flags a NAS Security Mode Command that selects the null integrity algorithm EIA0 (-> High). EIA0
leaves NAS signalling unauthenticated, so the network cannot be verified and signalling can be
forged -- a stronger false-base-station indicator than the null ciphering (EEA0) the existing
nas_null_cipheranalyzer covers. Stateless. Off by default: EIA0 is legitimate for an
unauthenticated emergency-services attach (accepted as a known false positive until T-OR-111 adds
emergency-attach suppression), so it needs T-OR-061 calibration. (NAS half only; the RRC Security
Mode Command and no-SMC-before-DRB parts are deferred to T-OR-111 pending RRC test vectors.) - RRC golden-vector test harness (T-OR-112,
[UPSTREAM]patch 0011):test_utilgains
lte_rrc/bcch_dl_sch/dl_dcchbuilders that wrap raw RRC octets through the livelte_rrc
decode path, seeded with identifier-free vectors captured from the device, so the RRC analyzers
(which upstream ships untested) can finally be unit-tested. Unblocks T-OR-056/T-OR-057. scripts/orbic-open-shell.py(T-OR-114): re-opens the non-persistent:24root shell after
a reboot without the admin password in argv. It runs the sameSetRemoteAccessCfginjection as
upstream'sorbic-start-telnetbut reads the password from the mode-600 file through the
self-testedorbic-ui-read.pylogin path;--selftestasserts the payload still matches
upstream's exploit string.docs/INSTALL.mdanddocs/BACKUP-AND-RECOVERY.mdnow show it as the
secret-safe re-open.- Recording-level identity-exposure summary (T-OR-060,
[UPSTREAM]patch 0020):rayhunter-check
now tallies, per recording, how often the network obtained or targeted a UE's permanent identity
(IMSI/IMEI) -- events from the identity-disclosure, IMSI-requested and IMSI-paging analyzers,
grouped by analyzer -- in the summary log and as anidentity_exposuremap in the JSON report.
A report-side aggregate over events the harness already produces; no analysis change. - Cell identity consistency detector (T-OR-059,
[UPSTREAM]patch 0019): flags an E-UTRAN cell
that advertises the same identity (ECGI = PLMN + cellIdentity, from SIB1) with two different
tracking area codes within one recording -- possible identity cloning or tracking-area rotation by
a false base station. Corroborative, Low, fires once per cell, off by default (cell_consistency);
keys on the full ECGI (so a shared cellIdentity across PLMNs is not a false positive) and never
logs the identifiers. The ECGI<->PCI correlation, GPS-stationary TAC change, MCC mismatch and
short-lived cells are deferred to T-OR-118. - ML1 measurement plumbing (T-OR-058,
[UPSTREAM]patch 0018): physical-layer serving/neighbor
cell measurements (PCI, EARFCN, RSRP) now reach analyzers through a new
Analyzer::report_measurementtrait method (whose default delegates toreport_skipped_packet,
so time-based analyzers keep ticking) and a harness dispatch of the0xB17F/0xB180ML1 log
bodies. Additive and backward-compatible (no public-enum change); carries no subscriber identity.
The measurement input a c...
Orbic-Rayhunter v1.1.1
Added
orx alert set --ntfy-url <url>|--clear [--apply] [--ip <addr>](T-OR-107): write or clear the
daemon'sntfy_urlfrom the host, so alerting can be turned on without the Rayhunter web UI.
It is a dry-run preview unless--apply(the write restarts the daemon, briefly interrupting the
active recording). The URL is validated as an http(s) URL with a host before anything is sent.--backup-dir <dir>fororx alert set(default the current directory).Json::as_boolon the std-only JSON helper.
How it stays safe
-
Device-write backup gate (per AGENTS.md priority 1): before
--applyPOSTs,setsnapshots the
exact prior/api/configbody to--backup-dirasorx-config-before-<addr>-<epoch>.json,
verifies it reads back byte-identical and records its SHA-256, aborting without touching the device
if that fails. Like
orx purge's verified pull copy, this local snapshot is the operation-appropriate restore path
(re-POST it to revert) -- a config write is reversible and cannot brick the device, so it does not
need the firmware-grade full-device backup thatinstall/uninstallrequire. -
POST /api/configtakes the FULL config andGET /api/configredactswifi_passwordtonull,
sosetdoes not reconstruct a config: it round-trips the exact object the GET returned and
replaces only thentfy_urlkey. This is byte-for-byte what the upstream web UI's config form
POSTs when you change the notification URL (it, too, sendswifi_password: null). The daemon's
set_configstrips the Wi-Fi fields before writingconfig.toml(they live inwpa_sta.conf),
so the write cannot clobber a password thatconfig.tomlnever held.setrefuses to write back
a body that does not look like Rayhunter's config, and warns when Wi-Fi client mode is active. -
Validated live on the unit (ORB400L_V1.2.0_BVZRT): apply pointed
ntfy_urlat a loopback
self-test URL, a full before/after config diff showed onlyntfy_urlchanged (every other
key, including the nestedwebdav/analyzersobjects and the nullwifi_password, preserved
byte-for-byte), and--clear --applyreturned the config identical to the baseline.
Fixed
- The v1.1.0 notes referred to the host-side config write as "T-OR-046"; that ID is the upstream
notification-auth sink in ROADMAP.md. Theorx alert setticket is T-OR-107.
Release assets
| Asset | Target / role | Size | SHA-256 |
|---|---|---|---|
orx-x86_64-linux |
host CLI (orx), x86_64 Linux |
1031312 B | 3b93bc9a17241a6cbad87d2071c3a630bd3d7c454030679c190ba3099c1ae746 |
rayhunter-daemon |
device daemon, armv7 musleabihf | 6110020 B | 3b23ff0c927daf310ef4cfc687a61fb82ef5ba721dde9171501540337fcc5a84 |
rootshell |
device root helper, armv7 musleabihf | 399700 B | bd913c4634f16a82f5b41854b5f77c424e3bca4bdf590de1f8b5d75e7e2b9298 |
SHA256SUMS lists these hashes; verify with sha256sum -c SHA256SUMS in the download directory.
Build provenance
- Tagged commit:
8bb806c8afea71ce976b0c73a54e382f18751c59 - Upstream pin: EFForg/rayhunter
cd462a1(cd462a1) - Rust toolchain:
1.98.0 - Daemon profile:
firmware(pq-tls, stripped, opt-level z, fat LTO), built in
messense/rust-musl-cross:armv7-musleabihf-- reproduces the upstream release
daemon to within a few hundred bytes (seere/notes/reproducible-build.md). - Built by
.github/workflows/release.ymlon ubuntu-24.04.
Pointers
- Install, scope and current state:
INSTALL.md,PROJECT-STATUS.mdat this tag. - Backup/recovery and device safety:
docs/BACKUP-AND-RECOVERY.md,docs/SECURITY-MODEL.md. - Full change history:
CHANGELOG.md.
Orbic-Rayhunter v1.1.0
Added
orx alert status|test [--ip <addr>](T-OR-044): host-side enablement of the daemon's BUILT-IN
ntfy alerting. Upstream v0.13.0 already sends aWarningnotification on analyzer detections (and
LowBattery) to its configuredntfy_url, with per-type debounce and exponential-backoff retry.
orx alert statusreads/api/configand shows the currentntfy_urland enabled notification
types (device strings sanitized before printing);orx alert testasks the daemon to POST a test
notification (reporting clearly when nontfy_urlis set). Validated live: the unit reports no
ntfy_urlyet withWarning, LowBatteryenabled -- alerting is one URL away.- A std-only JSON serializer (
Json::to_json/set) andpull::http_post_json, groundwork for the
host-side config write (orx alert set, T-OR-046/v1.1.1).
Notes
- Setting
ntfy_urlfrom the host restarts the daemon and the/api/configround-trip redacts
wifi_password, soorx alert setis deferred to v1.1.1 (validated as a careful read-modify-write
on-device). For now setntfy_urlin the Rayhunter web UI or inconfig.orbic.tomlat install. - The daemon's alerting SINK extensions (webhook headers/auth, MQTT, Gotify, persistent queue;
T-OR-045..050, all upstream) move to v1.2.0 per the enable-now/patch-after decision.
Release assets
| Asset | Target / role | Size | SHA-256 |
|---|---|---|---|
orx-x86_64-linux |
host CLI (orx), x86_64 Linux |
1010416 B | e371e47fa955e9b57a2eb002973ec024c9fb6bee4179e178938e33af2cc28430 |
rayhunter-daemon |
device daemon, armv7 musleabihf | 6110020 B | b447e39460a4465b9fa462549e7e4ba0ac44fa1fc0c4e282047de2b570a2151e |
rootshell |
device root helper, armv7 musleabihf | 399700 B | bd913c4634f16a82f5b41854b5f77c424e3bca4bdf590de1f8b5d75e7e2b9298 |
SHA256SUMS lists these hashes; verify with sha256sum -c SHA256SUMS in the download directory.
Build provenance
- Tagged commit:
c37c69d0ef761ff0e656d4ad7a0bf4bc3f983dbd - Upstream pin: EFForg/rayhunter
cd462a1(cd462a1) - Rust toolchain:
1.98.0 - Daemon profile:
firmware(pq-tls, stripped, opt-level z, fat LTO), built in
messense/rust-musl-cross:armv7-musleabihf-- reproduces the upstream release
daemon to within a few hundred bytes (seere/notes/reproducible-build.md). - Built by
.github/workflows/release.ymlon ubuntu-24.04.
Pointers
- Install, scope and current state:
INSTALL.md,PROJECT-STATUS.mdat this tag. - Backup/recovery and device safety:
docs/BACKUP-AND-RECOVERY.md,docs/SECURITY-MODEL.md. - Full change history:
CHANGELOG.md.
Orbic-Rayhunter v1.0.6
Added
orx rescue [--ip <addr>](T-OR-041): a READ-ONLY diagnostic over the:24root shell for when
the daemon's:8080API is unresponsive (e.g./datafilled up). It reports free space on
/dataand the stored recordings (oldest first, with sizes), readingqmdl_store_pathfrom the
device config. It fails closed if/datais not mounted or the store is missing, lists the store
directory directly (no shell glob, so an unbounded file count cannot exceedARG_MAX), accepts
only numeric<timestamp>.qmdl.gznames, and rejects duplicate names. Device output is parsed
defensively. The:24shell is not reboot-persistent (re-open it first; see INSTALL.md section 5).
Validated live on the unit.- Confirmed on the unit that
qmdl_size_bytesin the daemon manifest is the COMPRESSED on-disk size
(recordings are stored as<name>.qmdl.gz;1795442375.qmdl.gzis exactly 869535 bytes).
Notes
- Deleting recordings from
orx rescueis deliberately deferred (T-OR-041b): doing it safely means
stopping the daemon, removing files AND reconciling the daemon'smanifest.toml, restarting, and
verifying recovery -- a destructive path that must be validated on a genuinely wedged device. For
noworx rescuereports; the manual free-space-and-recover steps are in INSTALL.md section 9.
Release assets
| Asset | Target / role | Size | SHA-256 |
|---|---|---|---|
orx-x86_64-linux |
host CLI (orx), x86_64 Linux |
997864 B | 6b0d6c065f4bb0cc83877c26ba8086ff22161c03659d460ce5b67612e40b1022 |
rayhunter-daemon |
device daemon, armv7 musleabihf | 6110020 B | c9e9f8b38c68287772de3a38a019992006c3ebdfe17f3a8802c221a0a8d70ae3 |
rootshell |
device root helper, armv7 musleabihf | 399700 B | bd913c4634f16a82f5b41854b5f77c424e3bca4bdf590de1f8b5d75e7e2b9298 |
SHA256SUMS lists these hashes; verify with sha256sum -c SHA256SUMS in the download directory.
Build provenance
- Tagged commit:
ee4cfa87c176b50568a2e2b6a2c7c0da57b55e71 - Upstream pin: EFForg/rayhunter
cd462a1(cd462a1) - Rust toolchain:
1.98.0 - Daemon profile:
firmware(pq-tls, stripped, opt-level z, fat LTO), built in
messense/rust-musl-cross:armv7-musleabihf-- reproduces the upstream release
daemon to within a few hundred bytes (seere/notes/reproducible-build.md). - Built by
.github/workflows/release.ymlon ubuntu-24.04.
Pointers
- Install, scope and current state:
INSTALL.md,PROJECT-STATUS.mdat this tag. - Backup/recovery and device safety:
docs/BACKUP-AND-RECOVERY.md,docs/SECURITY-MODEL.md. - Full change history:
CHANGELOG.md.
Orbic-Rayhunter v1.0.5
Added
orx purge [--apply --pulled <dir>|--force] [--ip <addr>](T-OR-040): deletes COMPLETED recordings from the device via
POST /api/delete-recording/{name}, and NEVER the active recording. Dry-run by default -- it lists
the recordings that would be deleted, notes the active one is kept, and recommends running
orx pull-logsfirst since captures hold real identifiers;--applyrequires a safety gate:--pulled <dir>deletes only recordings whose<name>.qmdlis
present in<dir>, matches itsPULL-MANIFEST.txtSHA-256, AND whose current manifest size equals
the sizeorx pull-logsrecorded for the completed recording (so a stale/partial pull cannot
authorize deleting a larger completed recording), while
--forceis an explicit unguarded override;--applyalone is refused. The active recording is
always excluded (even if it appears inentries). Fails closed on a missingentriesarray or a
malformedcurrent_entry, and reports a403(daemon debug mode) clearly.
Adds a std-onlyhttp_posthelper. The dry run was validated live; the delete path is unit-tested
against a loopback server (the device's real captures were not deleted).
Release assets
| Asset | Target / role | Size | SHA-256 |
|---|---|---|---|
orx-x86_64-linux |
host CLI (orx), x86_64 Linux |
948544 B | 7f9378adc59bae55facdce2e3dee5d3506163f25f3d8a35f0421a0766ff23d5b |
rayhunter-daemon |
device daemon, armv7 musleabihf | 6110020 B | 1da940db907c516bdca605e01d4ce3c6c1f1701ee890db2a49519427b4fe5d0d |
rootshell |
device root helper, armv7 musleabihf | 399700 B | bd913c4634f16a82f5b41854b5f77c424e3bca4bdf590de1f8b5d75e7e2b9298 |
SHA256SUMS lists these hashes; verify with sha256sum -c SHA256SUMS in the download directory.
Build provenance
- Tagged commit:
c54b95c5fc6204d8f559136b88621ea742cda6c8 - Upstream pin: EFForg/rayhunter
cd462a1(cd462a1) - Rust toolchain:
1.98.0 - Daemon profile:
firmware(pq-tls, stripped, opt-level z, fat LTO), built in
messense/rust-musl-cross:armv7-musleabihf-- reproduces the upstream release
daemon to within a few hundred bytes (seere/notes/reproducible-build.md). - Built by
.github/workflows/release.ymlon ubuntu-24.04.
Pointers
- Install, scope and current state:
INSTALL.md,PROJECT-STATUS.mdat this tag. - Backup/recovery and device safety:
docs/BACKUP-AND-RECOVERY.md,docs/SECURITY-MODEL.md. - Full change history:
CHANGELOG.md.