Skip to content

Orbic-Rayhunter v0.6.0

Choose a tag to compare

@github-actions github-actions released this 23 Nov 15:36
· 61 commits to main since this release
1b01ff0

Adds orx backup, the first orx device operation and the write-gate every later command depends on. It ports the proven Python backup to native Rust on the Sprint 4.1 transport (streaming tar + inline SHA-256), and is validated end-to-end on the device. orx-cli stays zero-dependency; 33 unit tests.

Added

  • orx backup (T-OR-034, Sprint 4.2): archives every writable device filesystem over the root
    shell with tar, streamed to a 0600 <fs>.tar on the host while hashing inline, and writes
    a MANIFEST.txt in the exact format the write-gate reads. Each archive's state is ok, or
    ok-live (only with --allow-live, for a writable fs whose tar exits non-zero); a sub-1 KiB
    result is rejected so a failed tar cannot masquerade as a backup. The device-correct busybox
    tar invocation (-C <mp> <--exclude> -cf - . 2>/dev/null, no --ignore-failed-read) and the
    nested-mount excludes are unit-tested against the fake shell, and the command was validated
    end-to-end on the unit: root.tar 86.7 MB, data/usrdata/cache all ok, the inline SHA-256
    matching an independent sha256sum.
    Output files are written to an O_EXCL temp (fresh 0600, no symlink follow) and renamed
    over the target, so a backup of device data (which can contain IMEI/IMSI) is never written
    through a planted symlink (flagged by the automated security review).

  • transport: a streaming Shell::run_to(command, sink) that writes a command's output to a
    writer as it arrives (never buffering), for a tar-of-filesystem that would not fit in memory.
    Its core is a unit-tested MarkerSplitter that separates the payload from the trailing
    exit-status marker correctly across any chunk boundary (including a marker split mid-sequence),
    so the end marker can never corrupt a streamed backup. Foundation for orx backup/pull-logs.

Release assets

Asset Target / role Size SHA-256
orx-x86_64-linux host CLI (orx), x86_64 Linux 627656 B acfef7249b1fce65b882427c18591c75772b5126f12e9f55066fe63ea6a91694
rayhunter-daemon device daemon, armv7 musleabihf 6110020 B 304af782a1262b0a996e797dd43740bf90d5d6faed3a92d86d85443af3b63ec7
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: 1b01ff0fce2c811b0df9326c251f58843c8b5df9
  • 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.