A cross-platform tool that finds and zeros out SignerVer02 signature blocks in binary files.
Searches for the SignerVer02 pattern in files and replaces everything from that marker until a file extension (.bin, .img, etc.) with null bytes (0x00). The file size stays the same.
Before: [data]SignerVer02...signature data...file.bin[data]
After: [data]00 00 00 00 00 00 00 00 00 00 00 00[data]
# Linux/macOS
g++ -o zero_sig zero_sig.cpp -std=c++11
# Windows (MinGW)
g++ -o zero_sig.exe zero_sig.cpp -std=c++11
# Cross-compile for Windows (from Linux)
x86_64-w64-mingw32-g++ -o zero_sig.exe zero_sig.cpp -std=c++11 -static-libgcc -static-libstdc++# Single file
./zero_sig file.bin
# Skip confirmation
./zero_sig -f file.bin
# All files in directory
./zero_sig ./
# Custom extension
./zero_sig -e .bin file.img
# Multiple extensions
./zero_sig -e .bin -e .img ./-f- Skip confirmation prompt-e <ext>- Specify custom file extension (can use multiple times)./or.- Process all files in current directory
Processing file: boot.img
Found signature block at offset: 0x1a2b3c
Found extension '.bin' at offset: 0x1a2c1e
Zeroing out 226 bytes
Successfully zeroed out signature block!
- Always backup your files first!
- May need
sudo(Linux/macOS) or Administrator (Windows) for system files - Files without
SignerVer02pattern will be skipped - Default extensions:
.bin,.img,.so,.apk,.jar,.tar,.gz,.zip,.elf,.dat,.cfg,.txt,.xml
Open source - feel free to use, modify, and distribute. No warranty provided.
Use at your own risk.