Let's say we have a hub called
H and a door lock controller called
Now, we have a malicious electronic which imitates
D1 a command to open the door,
D1 unlocks the door.
M captures the message (command), now I assume
M can repeat an identical message at a later time and cause
D1 to unlock.
How could I stop this?
My idea is to include a timestamp, which is validated by
D1 and encrypt the message. If the timestamp is older than 30s then
D1 will ignore the command. This still seems unsecure however.
None so far