Your goal is to break an RFID card that is used to enter a building. You know what type of card is being used, and you bought a blank card. In addition, you have access to a card reader (terminal).
In addition, you can eavesdrop the communication between a valid card and the entrance terminal of the building.
Finally, you know that the challenges, responses, and keys all consist of four (decimal) numbers.
Your goal is to get access to the building.
The first step consists of determining the mathematics of the challenge-response function. You could do this by using your own blank card and terminal, where you can determine the key and challenge. You could do so for different challenges and use this to determine a pattern among the responses.
Did you figure out the math behind the challenge-response function? Go to step #2.Did you recover the secret key? Congratulations! Report this to one of the lecturers.