Source
Downloaded from DrayTek's open public file server fw.draytek.com.tw (no login or account required): https://fw.draytek.com.tw/Vigor3220/Firmware/v3.9.8/Vigor3220_v3.9.8.zip. The zip contains the firmware as a .all image (plus a .rst factory-reset variant with the identical OS image). This is the current/latest firmware for the Vigor3220 series on DrayTek's firmware server.
Format and unpacking
- Container: DrayTek Vigor
.allfirmware. An obfuscated DrayTek header precedes a compressed-firmware block marked with the signatureA5 A5 A5 5A A5 5A+ a big-endian length; no filesystem magic is visible before decompression (packed). - Compression: DrayTek's modified-LZ4 (block magic
AA 1D 7F 50then[u32-LE size][raw LZ4 block]chunks), as documented in infobyte/draytek-arsenal / draytools. - Tool: pure-Python LZ4-block decompressor + DrayTek wrapper (stdlib only). No key required — this DrayOS/RTOS image is compressed, not encrypted (unlike DrayTek's Linux/ChaCha20 models, which need a device-bound key and were skipped).
- Uploaded artifact: the decompressed DrayOS firmware image.
Verification
- The compressed block decompressed cleanly (218 LZ4 blocks) with no errors.
- Valid structure: the decompressed image contains the DrayTek
PFSfilesystem, the stringDrayOSand the exact model stringVigor3220— confirming a correct decompression of this model's firmware. - SHA-256 of the uploaded decompressed image:
9dd906f5fb92f7320bdacc617c7dda121211f7914cf1c41ed24caf1b8575f38c.
Contents
- DrayOS (DrayTek's proprietary RTOS) image with the PFS filesystem (web UI, configuration, feature modules).
- Device: DrayTek Vigor3220 series — a multi-WAN (4x WAN) load-balancing VPN firewall / security router for business. Firmware v3.9.8.
- Uploaded the decompressed DrayOS image.
Credit
DrayTek firmware format & compression: infobyte/draytek-arsenal and draytools. Method reference: afflicted.sh / tpbreak.