ChameleonMini icon indicating copy to clipboard operation
ChameleonMini copied to clipboard

ISO14443A ApplicationProcess delayed responses

Open epozzobon opened this issue 4 years ago • 0 comments

ApplicationProcess can return ISO14443A_APP_DELAYED_RESPONSE, in which case the response will be sent later from the ApplicationTask using ISO14443ASendResponse.

This allows the computation of the response to be done outside of the Chameleon, and can be used to forward messages and perform a relay attacks.

To do this, when receiving a cryptographic challenge, one should respond with a WTX request and, upon receiving the WTX response, return ISO14443A_APP_DELAYED_RESPONSE from the AppProcess function. Later, when the cryptographic response is received (for example over USARTE in the ApplicationTask), ISO14443ASendResponse must be called with the response. If the response doesn't come within the waiting time, ISO14443ASendResponse should be called with another WTX request.

epozzobon avatar Nov 07 '19 10:11 epozzobon