Source
Downloaded from Mercusys' public firmware server: MR70X_V2.30_1.4.0_Build_2026042720260803084106.zip (inner file MR70Xv2_v2.30-up-eu-ver1-4-0-P1[20260427-rel65006]-2048_nosign...bin). Mercusys is TP-Link's sub-brand and shares TP-Link's packed firmware format/signing key.
Format and unpacking
- Container: TP-Link/Mercusys firmware with a
fw-type:header at offset0x14; payload entropy 8.000 bits/byte, no filesystem magic before decryption (packed). Filename tag2048(RSA-2048). - 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_1(theBgIAAAwk...docMd...PUBLICKEYBLOB) extracted fromusr/bin/nvrammanagerin TP-Link's own ax6000 reference image (via ubi_reader); authenticity confirmed via the pinned SHA-2560a7857d4.... Mercusys images are signed with the same key. - Recovered for this image:
KEY=bfce2bc5f43a1c9a0bcfb9d78d04d370,IV=513a95acc65c0dc0ba4db20da1a3f540.
Verification
- RSA-PSS signature verified OK against the TP-Link
RSA_1public key. - Decrypted payload is a UBI image (
UBI#) containing a U-Boot FIT kernel (d00dfeed) and a squashfs (hsqs); MediaTekMT7SoC string present.
Contents
- UBI root with FIT kernel + squashfs.
- Device: Mercusys MR70X (AX1800 Wi-Fi 6 router); MediaTek MT7981-class SoC.
- Uploaded the decrypted image.
Credit
Method reference: afflicted.sh / tpbreak.