Skip to content

Releases

Orbic-Rayhunter v1.6.0

Choose a tag to compare

@github-actions github-actions released this 29 Nov 02:16
9703f16

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 --pcapify but are not RRC/NAS information elements, so both analysis paths now
    drop them without a skipped_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 :24 root 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
    :24 root-shell port is NOT assessed by orx harden (it runs over :24); its closed-state is
    checked over TCP by orx check. Fails closed: a probe that cannot confirm an item is
    [warn] and exits non-zero, never a reassuring [ok]. Read-only by default; --apply is gated
    on a verified backup (--backup-dir, the same verify::gate as orx 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 doctor also 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/SetRemoteAccessCfg is 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-disabled OTA 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; aboot cross-verified
    byte-identical against an independent /dev/mtdblock7 pull; device reset cleanly back to normal.
    Images are logical/no-OOB and stay in the gitignored backups/ tree (IMEI/IMSI/calibration --
    never committed). New roadmap item T-OR-124 for the LteMacFramed GSMTAP 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 (see re/notes/reproducible-build.md).
  • Built by .github/workflows/release.yml on ubuntu-24.04.

Pointers

  • Install, scope and current state: INSTALL.md, PROJECT-STATUS.md at 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

Choose a tag to compare

@doublegate doublegate released this 28 Nov 21:19
5596492

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 :8080 API (/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. Complements orx 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_size at 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 via OnceLock, 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 the width × height pixel-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.poweronreason for exactly USB or Reset_POFF_CHG before
    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 like Usb_Chg cannot 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 (default 0.0.0.0, upstream behavior). Set
    it to the AP gateway (192.168.1.1) or 127.0.0.1 where the network allows,
    to reduce exposure while the API has no authentication. An unparsable value
    falls back to 0.0.0.0 with a warning.

  • config.toml secrets at rest 0600 (T-OR-087, patch 0029). orx install
    now writes config.toml owner-only (0600), and the daemon re-tightens the
    file to 0600 on load, so the ntfy topic/auth and WebDAV password are not left
    world-readable on /data. Verified on-device this release: the installed
    config.toml is -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.sh applies the full 31-patch series onto pinned upstream/ 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 published rayhunter-daemon asset.
  • config.toml is -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.1

See 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_disclosure Low).
  • 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 tar backup +
    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

Choose a tag to compare

@github-actions github-actions released this 28 Nov 17:42
4115011

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). stop still shuts down cleanly.
    Covered by tests/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 (see re/notes/reproducible-build.md).
  • Built by .github/workflows/release.yml on ubuntu-24.04.

Pointers

  • Install, scope and current state: INSTALL.md, PROJECT-STATUS.md at 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

Choose a tag to compare

@github-actions github-actions released this 28 Nov 16:10
27df7ab

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.log is rotated to rayhunter.log.1 on 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.md documents 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
    and max_recording_age_days caps (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. ManifestEntry gains a flagged bool, set the first time an
    analyzer warns. Retention fails closed against deleting evidence: a missing
    flagged field 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_profile config option (T-OR-067, patch 0024): selects the DIAG
    log-code subscription. full (default) is behavior-identical to upstream;
    signalling drops the high-volume physical-layer logs (ML1 0xb17f/0xb180,
    MAC 0xb062/0xb063/0xb064, serving-cell timing 0xb114) 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 (see re/notes/reproducible-build.md).
  • Built by .github/workflows/release.yml on ubuntu-24.04.

Pointers

  • Install, scope and current state: INSTALL.md, PROJECT-STATUS.md at 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

Choose a tag to compare

@github-actions github-actions released this 28 Nov 14:32
e9cdb47

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 log 0xB114) now accepts
    num_records == 0 (empty timing-adjustment list) instead of hard-failing the
    1..=20 assertion. 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 in docs/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 (see re/notes/reproducible-build.md).
  • Built by .github/workflows/release.yml on ubuntu-24.04.

Pointers

  • Install, scope and current state: INSTALL.md, PROJECT-STATUS.md at 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

Choose a tag to compare

@github-actions github-actions released this 28 Nov 11:00
155307f

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_headers sends ntfy
    Title/Priority/Tags derived from the notification type; default-off keeps today's plain POST.
  • ntfy endpoint auth (T-OR-046, patch 0002): optional ntfy_auth Authorization header
    (Bearer/Basic) for a protected topic. Secret: redacted from GET /api/config, preserved across a
    config round-trip that omits it, and dropped if ntfy_url changes (so the unauthenticated config
    API cannot repoint the URL and harvest the token).
  • Generic webhook sink (T-OR-047, patch 0003): optional webhook_url receives 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_url is 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_token POST Gotify JSON
    {title, message, priority} to <gotify_url>/message with an X-Gotify-Key header. gotify_token
    redacted + preserved like ntfy_auth.

Security / hardening (patch 0005, PR #16 review follow-up)

  • Notification HTTP client disables redirects (reqwest::redirect::Policy::none()): reqwest
    strips Authorization on a cross-origin 30x but not a custom X-Gotify-Key, so a redirecting
    proxy/captive portal could otherwise harvest the Gotify token. Credential header values are marked
    sensitive.
  • gotify_message_url drops any query/fragment so a ?token= cannot leak through the unredacted
    gotify_url in GET /api/config (the token belongs in the redacted gotify_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 payload timestamp is the detection time, not
    the retry time; sinks are delivered concurrently per tick so a hung sink cannot block the
    others; POST /api/test-notification now tests every configured sink and reports per-sink results.
  • Review follow-up refinements: a single redirect_safe_client() the worker and test_notification
    both use (the no-redirect policy lives in one place); whitespace-only webhook_url cleared like the
    other secrets; a slash-/query-only gotify_url that normalizes to empty is skipped; the
    gotify_url normalize-and-resolve logic is one tested resolve_gotify helper.
  • orx-cli hardening (orx alert set): validate_ntfy_url rejects embedded user: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-0600 temp with a unique
    name and removes the partial temp on error; .gitignore ignores orx-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 NAS InformationElement from a raw payload), and collect_events (run an analyzer over a
    sequence and gather its Events 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 on cargo 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 key null_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_cipher analyzer 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_util gains
    lte_rrc/bcch_dl_sch/dl_dcch builders that wrap raw RRC octets through the live lte_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 :24 root shell after
    a reboot without the admin password in argv. It runs the same SetRemoteAccessCfg injection as
    upstream's orbic-start-telnet but reads the password from the mode-600 file through the
    self-tested orbic-ui-read.py login path; --selftest asserts the payload still matches
    upstream's exploit string. docs/INSTALL.md and docs/BACKUP-AND-RECOVERY.md now 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 an identity_exposure map 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_measurement trait method (whose default delegates to report_skipped_packet,
    so time-based analyzers keep ticking) and a harness dispatch of the 0xB17F/0xB180 ML1 log
    bodies. Additive and backward-compatible (no public-enum change); carries no subscriber identity.
    The measurement input a c...
Read more

Orbic-Rayhunter v1.1.1

Choose a tag to compare

@github-actions github-actions released this 25 Nov 21:10
8bb806c

Added

  • orx alert set --ntfy-url <url>|--clear [--apply] [--ip <addr>] (T-OR-107): write or clear the
    daemon's ntfy_url from 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> for orx alert set (default the current directory).
  • Json::as_bool on the std-only JSON helper.

How it stays safe

  • Device-write backup gate (per AGENTS.md priority 1): before --apply POSTs, set snapshots the
    exact prior /api/config body to --backup-dir as orx-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 that install/uninstall require.

  • POST /api/config takes the FULL config and GET /api/config redacts wifi_password to null,
    so set does not reconstruct a config: it round-trips the exact object the GET returned and
    replaces only the ntfy_url key. This is byte-for-byte what the upstream web UI's config form
    POSTs when you change the notification URL (it, too, sends wifi_password: null). The daemon's
    set_config strips the Wi-Fi fields before writing config.toml (they live in wpa_sta.conf),
    so the write cannot clobber a password that config.toml never held. set refuses 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_url at a loopback
    self-test URL, a full before/after config diff showed only ntfy_url changed (every other
    key, including the nested webdav/analyzers objects and the null wifi_password, preserved
    byte-for-byte), and --clear --apply returned 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. The orx alert set ticket 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 (see re/notes/reproducible-build.md).
  • Built by .github/workflows/release.yml on ubuntu-24.04.

Pointers

  • Install, scope and current state: INSTALL.md, PROJECT-STATUS.md at 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

Choose a tag to compare

@github-actions github-actions released this 25 Nov 17:49
c37c69d

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 a Warning notification on analyzer detections (and
    LowBattery) to its configured ntfy_url, with per-type debounce and exponential-backoff retry.
    orx alert status reads /api/config and shows the current ntfy_url and enabled notification
    types (device strings sanitized before printing); orx alert test asks the daemon to POST a test
    notification (reporting clearly when no ntfy_url is set). Validated live: the unit reports no
    ntfy_url yet with Warning, LowBattery enabled -- alerting is one URL away.
  • A std-only JSON serializer (Json::to_json/set) and pull::http_post_json, groundwork for the
    host-side config write (orx alert set, T-OR-046/v1.1.1).

Notes

  • Setting ntfy_url from the host restarts the daemon and the /api/config round-trip redacts
    wifi_password, so orx alert set is deferred to v1.1.1 (validated as a careful read-modify-write
    on-device). For now set ntfy_url in the Rayhunter web UI or in config.orbic.toml at 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 (see re/notes/reproducible-build.md).
  • Built by .github/workflows/release.yml on ubuntu-24.04.

Pointers

  • Install, scope and current state: INSTALL.md, PROJECT-STATUS.md at 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

Choose a tag to compare

@github-actions github-actions released this 25 Nov 17:32
ee4cfa8

Added

  • orx rescue [--ip <addr>] (T-OR-041): a READ-ONLY diagnostic over the :24 root shell for when
    the daemon's :8080 API is unresponsive (e.g. /data filled up). It reports free space on
    /data and the stored recordings (oldest first, with sizes), reading qmdl_store_path from the
    device config. It fails closed if /data is not mounted or the store is missing, lists the store
    directory directly (no shell glob, so an unbounded file count cannot exceed ARG_MAX), accepts
    only numeric <timestamp>.qmdl.gz names, and rejects duplicate names. Device output is parsed
    defensively. The :24 shell 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_bytes in the daemon manifest is the COMPRESSED on-disk size
    (recordings are stored as <name>.qmdl.gz; 1795442375.qmdl.gz is exactly 869535 bytes).

Notes

  • Deleting recordings from orx rescue is deliberately deferred (T-OR-041b): doing it safely means
    stopping the daemon, removing files AND reconciling the daemon's manifest.toml, restarting, and
    verifying recovery -- a destructive path that must be validated on a genuinely wedged device. For
    now orx rescue reports; 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 (see re/notes/reproducible-build.md).
  • Built by .github/workflows/release.yml on ubuntu-24.04.

Pointers

  • Install, scope and current state: INSTALL.md, PROJECT-STATUS.md at 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

Choose a tag to compare

@github-actions github-actions released this 25 Nov 09:08
c54b95c

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-logs first since captures hold real identifiers; --apply requires a safety gate: --pulled <dir> deletes only recordings whose <name>.qmdl is
    present in <dir>, matches its PULL-MANIFEST.txt SHA-256, AND whose current manifest size equals
    the size orx pull-logs recorded for the completed recording (so a stale/partial pull cannot
    authorize deleting a larger completed recording), while
    --force is an explicit unguarded override; --apply alone is refused. The active recording is
    always excluded (even if it appears in entries). Fails closed on a missing entries array or a
    malformed current_entry, and reports a 403 (daemon debug mode) clearly.
    Adds a std-only http_post helper. 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 (see re/notes/reproducible-build.md).
  • Built by .github/workflows/release.yml on ubuntu-24.04.

Pointers

  • Install, scope and current state: INSTALL.md, PROJECT-STATUS.md at this tag.
  • Backup/recovery and device safety: docs/BACKUP-AND-RECOVERY.md, docs/SECURITY-MODEL.md.
  • Full change history: CHANGELOG.md.