-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] Use proxmark3 as standard PCSC smartcard reader #2030
Conversation
You are welcome to add an entry to the CHANGELOG.md as well |
ping @gm3197 How is this one going? |
Very much looking forward to this commit. |
It currently works for iso 14443A. Support for 14443B is in progress. I'm not as familiar with B, so some research is required, plus I don't have any 14443B cards to test with. Remaining work is:
|
So what is the way forward? @gm3197 you working on it? or? |
I will start an implementation soon. As I mentioned, I don't have any type B smart cards so I'll need someone to test later on. Once I have a working version, I'll reach out on the discord and see if anyone is interested in testing it. |
there has been some improvements with 14b recent. it should be easier now to add support |
and we will have some improvements to the RDV4 SIM Module soon enough too, in order to support ISO7816-3 Protocol T0 atleast. T1 is a different beast. |
@gm3197 ping |
@iceman1001 thanks for the ping, I had forgotten about this. Just finished the implementation for iso14b. It is to spec, but I haven't been able to test it as I don't have any 14b cards. If someone could give it a try, that'd be great. Also |
yeah, 14b needs some more love. Excellent! |
If you think its ready merge? |
@iceman1001 if you're comfortable merging without testing 14b, then it's ready. I don't have permission to merge it, so you'll have to approve it. Thanks. |
Perfect! |
Tested successfully on a 14b Mobib card :) |
Now we need some documentation of how to use this new function.... |
It's really just |
@gm3197 would it be possible to also expose the internal sim module to pcsc? So one can access it without pulling out the sim to another reader. And maybe add some options to restrict which interfaces to poll (14a/14b/contact). |
Yes, this would be pretty easy. Do you think it would make more sense then to break it into |
Hmm it's not so easy to choose... historically "smart" was mostly/entirely for the "sim" and e.g. "hf 14a relay" is not entirely true as it only supports iso14443A-4 (and relay may also be confused with some relay attack setup). I'd say we can keep a category "smart" that can encompass all iso7816 (T0/T1)/iso14443A-4 (TL)/iso14443B-4 (TL) activities, so the APDU abstraction layer. Something I discussed a bit with @iceman1001 today: we should also detail precisely which interfaces are supported by the current "smart" commands as some are only supporting contact and some only supporting contactless but many could be extended in the future to support all interfaces. About "smart relay", again my preference would be to not use "relay" which was a term used so far only for nfc relay attacks. What about "smart pcsc" ? or "smard ifd" which is more correct term but maybe less known. |
smart relay
command, effectively just passes APDUs through to the OS smartcard driver (pcsc or winsc)-v