Ofrak
: Automatically identifies and unpacks complex nested filesystems (e.g., an ELF within a compressed CPIO filesystem inside an ISO) and allows the entire structure to be repacked after modification.
# Unpack the entire tree recursively await root_resource.unpack_recursively() Firmware images are often "matryoshka dolls" of data
In Capture The Flag (CTF) competitions or bug bounties, speed is key. OFRAK allows researchers to write scripts that automatically scan a firmware update for specific strings or known vulnerable library versions without manually extracting the filesystem. a compressed kernel
Firmware images are often "matryoshka dolls" of data. A single binary might contain a bootloader, a compressed kernel, a squashfs filesystem, and application code, all stacked on top of each other. OFRAK provides the infrastructure to identify these nested components recursively and extract them for further analysis. a squashfs filesystem