Source
Downloaded from TP-Link's public firmware server: Deco-ver1-1-5-P1[20260811-rel19615].zip (inner file X20v5_X25v5-RSA2048--..-up-ver1-1-5-P1[20260811-rel19615]_...bin). This is the current/latest firmware published for the Deco X20 (V5) / X25 (V5) on TP-Link's support download page.
Format and unpacking
- Container: TP-Link mesh firmware with a
fw-type:header at offset0x14; payload entropy 8.000 bits/byte, no filesystem magic before decryption (packed). Filename tagRSA2048. - Encryption: RSA-2048 signature + AES-128-CBC. The AES key/IV is the RSA-PSS salt, recovered while verifying the signature with TP-Link's RSA public key.
- Tool: MyElectronic/tp-link-decrypt (Watchful_IP), built with the TP-Link router signing key.
- Key: the TP-Link router RSA-2048 public key
RSA_1extracted fromusr/bin/nvrammanagerin TP-Link's own ax6000 reference image (via ubi_reader); authenticity confirmed via the pinned SHA-2560a7857d4…. - Recovered for this image:
KEY=22026a03cac5ffff905761cad38a4844,IV=5c55521e5f51efbdcfe30406b5a0fdcf.
Verification
- RSA-PSS signature verified OK against the TP-Link
RSA_1public key ("Firmware verification successful"). - Decrypted payload is a UBI image (
UBI#at0x1814) containing a U-Boot FIT (d00dfeed) and a squashfs (hsqs); kernel stringLinux-5.4.246and MediaTekMT7SoC string present.
Contents
- UBI root with FIT kernel + squashfs root filesystem.
- Device: TP-Link Deco X20 (V5) / X25 (V5), AX1800 Wi-Fi 6 mesh; MediaTek MT7-class SoC, Linux-5.4.246.
- Uploaded the decrypted image.
Credit
Method reference: afflicted.sh / tpbreak.