Source
Downloaded from Yealink's public firmware server (no login): https://www.yealink.com/website-service/download/t46s(t48s,t42s,t41s)-66.86.0.15.rom — the shared firmware for the SIP-T46S/T48S/T42S/T41S IP phones, version 66.86.0.15. Yealink hosts .rom upgrade files directly on www.yealink.com.
Format and unpacking
- Container: Yealink
.romupdate file. 0x80-byte ROM header (magicAD24EC0B) + a sequence of blocks, each with its own 0x80-byte header (magicEB9F56C9). - Obfuscation: the whole block area is encrypted with Yealink's cypher3 (a per-byte keystream:
out[i] = ((enc[i] - ADD[i%32]) & 0xFF) XOR XOR[i%32]) using the two published 32-byte keysXOR=75A467AF…6B3E09CCandADD=82180D32…5F615935. The ROM header'scrypto_typefield = 3 selects cypher3. - Method/tool: the format and cypher3 keys are from Synacktiv's research "No grave but the SIP: reversing a VoIP phone firmware" and their yealink_tools. Reproduced here with a small pure-Python parser/decryptor (ROM header + per-block cypher3).
- Uploaded artifact: the cypher3-decrypted ROM (block envelopes de-obfuscated;
crypto_typereset to 0). It re-parses as a plaintext Yealink ROM with all block headers readable.
Verification
- ROM header checksum: the stored header CRC-32
0xC7A595E1equals the CRC-32 computed over the 0x80 header (with the CRC field zeroed) — checksum checks out. - After cypher3 decryption, all 5 blocks carry the correct block magic
EB9F56C9and sane names/types, and the block table consumes the file exactly (0 trailing bytes). - Block
versionis a valid ELF (7F454C46). Blockslogo,rfs,appare LZMA-alone streams that decompress to exactly their declared sizes (221,385 / 14,769,216 / 55,701,888 bytes) — a mismatch would corrupt the LZMA, so this independently confirms the decryption. - The decompressed
rfscarries an inner cypher3 layer that decrypts to03000000 01000000 FFFF0000…, matching Synacktiv's published cypher3 test vector — confirming the keys.
Contents
- Yealink IP phone firmware:
version(ELF loader),logo,kernel,rfs(root filesystem), andapppartitions. - Device: Yealink SIP-T46S (shared image also covering T48S/T42S/T41S), firmware 66.86.0.15; a VoIP desk phone, a new vendor/family for the archive.
- Uploaded the cypher3-decrypted ROM (block structure readable; inner LZMA/filesystem intact).
Credit
Yealink .rom format and cypher3 keys: Synacktiv, "No grave but the SIP" (synacktiv/yealink_tools). Method reference: afflicted.sh / tpbreak.