Skip to content

Orbic-Rayhunter v1.6.0

Latest

Choose a tag to compare

@github-actions github-actions released this 29 Nov 02:16
· 2 commits to main since this release
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.