Skip to content

rampage v1.8.0

Choose a tag to compare

@github-actions github-actions released this 19 Nov 11:32
· 207 commits to main since this release

More firmware formats, read and recognised natively: UBI and UBIFS open in fs_list, and carve now finds the containers, filesystems and disk layouts firmware is usually packed in, without depending on binwalk or unblob.

  • UBI and UBIFS in fs_list and fs_extract.
    • UBI images (raw flash dumps or ubinize output) list their volumes as <name>.img. Volumes are rebuilt from their eraseblocks, and each one opens through inner.
    • UBIFS, inside a volume or as a bare dump, is read through its index plus the journal written since the last commit, with uncompressed, LZO, zlib or zstd data.
    • Undersized nodes, index fan-out tricks and runaway reads are refused.
  • carve recognises many more formats, with header checks ported from binwalk (MIT, see THIRD-PARTY-NOTICES):
    • ext2/3/4, Android sparse, OTA payload, tar and bzip2;
    • UBI, UBIFS, JFFS2 and CramFS;
    • TRX, device trees and FIT images, LZ4 and lzop;
    • MBR, GPT, FAT12/16/32, and UEFI firmware volumes and capsules.
  • Less noise from carve.
    • Inside an image it reports only what is useful there, and counts what it left out. A firmware composite went from 245 candidates to 24.
    • Forged headers can't hide later data, and every walk and checksum has a budget.
    • Large files scan about 20% faster.
  • triage on a file with no executable header returns a container-level answer instead of an error: the layout, compressed components, carve candidates, and the exact next calls to make.
  • Cortex-M firmware.
    • find_main works on Raw projects.
    • binary_info lists raw.starting_points to read first.
    • CRC routines that integrity_checks infers, and their callers, are seeded into discovery.
    • Code named only in data is reached, so xrefs finds string loads.
    • Implausible vector tables are refused.
    • decompile with exact_entry takes Thumb code.
    • Addresses with the Thumb bit set work across the code tools.
  • search on ARM matches constants loaded from literal pools or built by MOVW/MOVT, and scans a 3.5 MB Thumb image in about an eighth of the work budget it used to run out of.
  • Clearer results.
    • xrefs with no result explains what was searched.
    • lock_mechanisms reports how much of the firmware it covered.
    • File tools that only read carry the MCP read-only annotation.
  • Housekeeping.
    • Committed fixtures no longer carry local paths, and CI enforces it.
    • A flaky debugger UI test is fixed.

See CHANGELOG.md for the full list.