Source
Downloaded from Western Digital's public My Cloud OS 5 firmware update server (no login or account required): https://updates.mycloud.com/os5/prod/5.33.103/WDMyCloudEX2Ultra_5.33.103_prod.bin. This is the firmware WD's devices themselves pull for the auto/manual update, served directly over HTTPS to anyone. Version 5.33.103.1112.2026 is the latest OS 5 build WD publishes for the My Cloud EX2 Ultra (released as the fix for the PHP2Shell advisory, WDC-26001).
Format and unpacking
- Container: Western Digital My Cloud .bin firmware image — a WD-proprietary multi-section container. A 128-byte binary header holds, as little-endian
uint32fields, the[offset, length]of four payload sections followed by a per-section checksum each, device/model IDs, the codename and version string, and a header checksum. The four sections are: a U-BootuImagekernel, a U-BootuImageramdisk,image.cfs(the SquashFS root filesystem), anddefault.tar.gz(default config). No section is plain-text at the container level — it must be parsed from the header to be reached. - Tool/method: a small pure-Python parser (stdlib
struct/zlibonly), run from/dev/shm, that reads the 128-byte header, walks the section table, and checks every integrity field (below). The WD section checksum is an XOR of the section's 32-bit little-endian words; reconstructed empirically and confirmed against all four stored values and the header self-check. - Uploaded artifact: the authentic WD
.bincontainer exactly as WD serves it (verified below); the dump preserves the exact vendor image.
Verification
- Container self-consistency: the four section
[offset,length]pairs chain exactly end-to-end starting at byte 128, and the header's total-size field (0x07f9b79c= 133805980 bytes) matches the end of the last section. - WD section checksums: the XOR-32 of each section's data matches the value stored in the header for all four sections (kernel
0xf3170897, ramdisk0x7d8f7b81, image.cfs0x07aa5000, default.tar.gz0x92af42ee). - Header self-check: the XOR-32 of all 32 header words is
0x00000000(the header checksum0x911b194dis chosen so the whole header XORs to zero) — confirming the header is intact. - Standard U-Boot CRCs: independently, both uImages pass their own U-Boot integrity fields — kernel header-CRC
0xc6bbd9eb+ data-CRC320xf0f4e97e, ramdisk header-CRC0x5fd9d691+ data-CRC320xac18b47f(all recomputed, all match). - Valid structure:
image.cfsbegins with the SquashFS magichsqs, confirming a correct root filesystem image.
Contents
- Full device firmware: U-Boot kernel
uImage(2928473 bytes), ramdiskuImage(2262946 bytes), theimage.cfsSquashFS root filesystem (the My Cloud OS 5 Linux userland), anddefault.tar.gz(factory default configuration). - Device: WD My Cloud EX2 Ultra — a 2-bay network-attached storage (NAS) appliance on a Marvell Armada (ARM) SoC, running My Cloud OS 5.
- Uploaded the vendor
.bincontainer (XOR + CRC verified).
Credit
WD My Cloud .bin container layout documented from the WD community "readbin" analysis of the 128-byte header; section checksum (XOR-32) and U-Boot uImage CRC verification reconstructed here. Method reference: afflicted.sh / tpbreak.