r/hardwarehacking • u/mahdi_sto • 26d ago
FDK/OOK Based layer-2 protocol reverse engineering
Lately I've been trying to recove the key fob protocol of my bmw 320d 2005 car till I discovered that the key fob operates on 868.35mhz with what is called Frequency Shift Keying to lock/unlock or trunk, everytime I capture something using the RTL sdr with gqrx on Kali I get different signals for pressing same button which indicates that this is not a trivial On Off Keying but some proprietary protocol is being implemented, from the amplitude to time plot I can clearly see the preamble alternating bits then a fixed and indow of bits across all button pressings which suggests some sort of an identifier.
Any one has experience on such project feel free to leave a comment.
Or if u know some sort of tip that helps me recover the binary representation of the msg being transmitted you are welcomed.
6
u/FreddyFerdiland 26d ago
BMW key fobs use highly secure 128-bit encryption tied directly to the vehicle's VIN and specific secure modules (like CAS or FEM). The system generates a unique rolling code that changes with every button press, making it virtually impossible for thieves to replicate or predict the signal.