logo elektroda
logo elektroda
X
logo elektroda

New DeviceKey-Based Tuya Encrypted KV Decryption Method (BK7252U/TR6260/W800/LN8825B/RTL8720CM)

divadiow 1326 36
ADVERTISEMENT
📢 Listen (AI):
  • ADVERTISEMENT
  • #32 21839703
    p.kaczmarek2
    Moderator Smart Home
    It's the same thing that @insmod tested? With no pins? Or something more?
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #33 21839705
    divadiow
    Level 38  
    Same thing but adapted to work with the enhanced presentation. No pins, like some other platforms already supported for decryption.
  • #34 21839714
    p.kaczmarek2
    Moderator Smart Home
    Ok, merged. Which platforms are yet to be added for Tuya json?
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #35 21839719
    divadiow
    Level 38  
    cool cool. I don't think there are any other Tuya platforms/vault types left although it'd be interesting to see what Tuya ESP32 dumps are like. We don't have any and I haven't been able to find any.
  • ADVERTISEMENT
  • #37 21839767
    divadiow
    Level 38  
    An assumption based on the fact there's the Tuya ESP32 SDK. Not sure what modules Tuya have based on ESP32. if any.
📢 Listen (AI):

Topic summary

The discussion addresses the challenge of decrypting the key vault (KV) in Tuya flash backups for certain older platforms such as BK7252U, TR6260, and W800. Unlike the known decryption method for BK7231N/T and some RTL chipsets, which relies on a platform-specific seed key (KEY_PART_1), these older platforms do not use the same seed-driven approach for vault KV decryption. Extensive analysis involving SDK examination, brute-force attempts with millions of key combinations, and reverse engineering of libraries using csky tools revealed that the vault KV path on these devices is independent of the BK7231N/T-style seed key. This indicates a fundamentally different encryption scheme for these platforms, necessitating alternative decryption strategies beyond the known BK7231N/T and RTL8720CM methods.
Summary generated by the language model.
ADVERTISEMENT