porkchop
Decryption utility for Yaesu ham radio firmware images.
Background
Yaesu provides a firmware update utility for their ham radios that contains an encrypted firmware image. This utility reimplements the decryption algorithm found in the update utility and emits a decrypted image.
A more in-depth blog post about how the encryption works can be found on my blog.
Building
To build/run you'll need a recent Rust toolchain installed. See this guide to get started.
git clone https://github.com/landaire/porkchop.git
cd porkchop
# To build
cargo build --release
# To run
cargo run --release --
You can optionally install it direct from crates.io:
cargo install porkchop
Usage
porkchop 0.1.0
Decryption utility for Yaesu ham radio firmware images.
USAGE:
porkchop [output]
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
ARGS:
Input file
Example:
porkchop firmware_update_utility.exe firmware.bin