Skip to content

rampage v1.5.0

Choose a tag to compare

@github-actions github-actions released this 15 Nov 16:50
· 305 commits to main since this release

See what your own smart devices contain and contact. Additions only; nothing in the stable surface changed.

  • Unpack firmware filesystem images: the new fs_list and fs_extract tools (group carve).
    • Formats: SquashFS 4.0 (gzip, xz, lzma, lzo, lz4, zstd), ext2/3/4, Android sparse images, full Android OTA payload.bin updates, cpio and tar.
    • image_offset opens an image embedded in a larger file, and inner opens nested ones.
    • Extraction is sandboxed:
      • it writes only into a new or empty absolute output_dir;
      • no .. paths, no escaping symlinks, no device nodes or setuid bits;
      • total bytes, file count, file size, compression ratio and nesting are capped.
    • Every codec is pure Rust; nothing external is run. UBI/UBIFS images are recognised but not read yet.
  • Endpoint inventory and router blocklists: the new endpoint_inventory and endpoint_blocklist tools (group carve).
    • endpoint_inventory lists the URLs, host names, IP literals, certificate pins and embedded certificates in one binary or a whole extracted firmware tree.
    • Each finding links to the functions that use it and the networking APIs they call.
    • Version numbers, schema URIs and similar noise are filtered out, and private and local addresses are labelled.
    • endpoint_blocklist writes the chosen hosts or domains as a hosts file, dnsmasq, unbound, a plain domain list (Pi-hole, AdGuard Home) or an IP list.
    • It never widens a host to a public suffix or a shared cloud/CDN domain, and it never writes on-network addresses.
  • Cortex-M decompiles are about 10× faster and deterministic.
    • A function's output no longer depends on what was decompiled before it.
    • Output changed on Cortex-M images only (66 of 549 functions on the test image), mostly callees that now keep their arguments.
  • integrity_checks confirms fixes with the device's own code: each value a fix writes is rerun through the routine that confirmed the check, and reported as device_check: agrees, disagrees or unconfirmed.

Full details in the changelog.

Full Changelog: v1.4.0...v1.5.0