Proxmark3 community

Research, development and trades concerning the powerful Proxmark3 device.

Remember; sharing is caring. Bring something back to the community.


"Learn the tools of the trade the hard way." +Fravia

You are not logged in.

Announcement

Time changes and with it the technology
Proxmark3 @ discord

Users of this forum, please be aware that information stored on this site is not private.

#1 2016-05-31 23:56:46

ntk
Contributor
Registered: 2015-05-24
Posts: 701

Simulation and test related ...

Can you imagine 2 PM3 are operated against each other one is run in simulation mode, one in reader mode?

Can you see a reason why we run so?

Do you have an opinion we should not run so...

Do you have idea what we can or should not do with that idea ...

Offline

#2 2016-06-01 11:03:27

somemadeupname
Contributor
From: Western Australia
Registered: 2016-05-25
Posts: 19

Re: Simulation and test related ...

There are a couple of cases where you would pretty much need 2+ PM3s.

For instance, if you wanted to create your own protocol, you would need at least 2 and possibly more if you want to handle collision detection and handling. You could then install one PM3 just like any other reader and use another as a tag. It would be a very expensive tag, but for a 'once off' customized protocol implementation it would probably be fine. This might also be useful to create some kind of peer-to-peer setup to enable short distance contact-less networking.

Another use case is in testing and verification. For example, you could simulate a tag that purposely injects a fault to a reader to see how it reacts and then use a second PM3 acting as a reader to verify that it handles that fault the same way.
If you managed to get a couple of legitimate tag and reader communication traces of an unknown protocol, but no longer have easy access to the tag and / or reader, you could use 2 PM3s to progress the development until you get access again.

If you are comfortable programming for Android, in some cases you might be able to use an Android phone or tablet to replace a PM3 so that you would only need one of them. However, the Android device must support NFC and even then your options are quite limited.

Offline

#3 2016-06-01 12:30:51

ntk
Contributor
Registered: 2015-05-24
Posts: 701

Re: Simulation and test related ...

Very rich in dimension & thorough thoughts. Thanks for share it to us.

" +2 PM3 required ... for handle collision detection"

"This might also be useful to create some kind of peer-to-peer setup to enable short distance contact-less networking."

"If you managed to get a couple of legitimate tag and reader communication traces of an unknown protocol, but no longer have easy access to the tag and / or reader, you could use 2 PM3s to progress the development until you get access again."

"Android device... support NFC  to replace a PM3 ..."

"If you managed to get a couple of legitimate tag and reader communication traces of an unknown protocol, but no longer have easy access to the tag and / or reader, you could use 2 PM3s to progress the development until you get access again."

"you could simulate a tag that purposely injects a fault to a reader to see how it reacts and then use a second PM3 acting as a reader to verify that it handles that fault the same way."

I realise that so many things I haven't known... I thank you for open my eyes.

Offline

#4 2016-06-01 19:33:20

somemadeupname
Contributor
From: Western Australia
Registered: 2016-05-25
Posts: 19

Re: Simulation and test related ...

Of course, in case it wasn't completely clear, to be able to benefit from these ideas you are required to be comfortable with modifying the firmware on the PM3 - possibly even to the point of rewriting parts of it from scratch. Using the official firmware unaltered with 2+ PM3s is going to get you pretty much exactly what you could already do with one and a legitimate reader or tag.


As for the Android device, let me stress that the PM3 is far more capable. Android devices with NFC support are quite common these days, so it is quite possible that you already have one which is why I mentioned it. They can read a bunch of HF tags, but it's simulation support (eg. via Host Card Emulation) appears to be limited to NFC Forum Type 4 tags. If you root the Android device you may be able to simulate some other tag types, but you will still be limited to the NFC chip that is installed.

Instead of an Android device, you could easily use one of the other RFID/NFC devices such as the ChameleonMini, each with their own set of capabilities and limitations.

Offline

#5 2016-06-02 19:41:17

ntk
Contributor
Registered: 2015-05-24
Posts: 701

Re: Simulation and test related ...

"with modifying the firmware on the PM3" I am not comfortable with this idea at all, so we have to live with unaltered official firmware for the moment

The thought to use NFC supported android phone to simulate a bunch of HF tag is very attractive. It is a better economy option compare to a second PM3. Also with the app AirDroid you can control remotely the phone, so I think if we also want to automate the experiment it could be possible.

I am looking for a cheap phone which support NFC? Is there anything I should be aware of ... with technology they always sound great from a distance and often issue turns up after you start to own them.
would you agree a Samsung S6810 Galaxy Fame NFC is enugh for the job?

Offline

#6 2016-06-03 04:23:37

somemadeupname
Contributor
From: Western Australia
Registered: 2016-05-25
Posts: 19

Re: Simulation and test related ...

Android devices work quite well for reading HF tags. There are apps that allow you to set it up so that when you read a particular tag (eg. your credit card), it will perform some function that you define, like 'turn on the camera flash light'. By design, Android will not read tags while the screen is locked though. Limitations do apply as to what tags can be read. For example, my Note 3 doesn't appear to support reading MiFare Classic tags - it could just be that I haven't provided the crypto keys, but the app I used certainly made it sound like the phones fault.

As I mentioned before, simulating tags is quite limited under Android. I don't know what apps already exist for this, so be prepared to have to create your own. IIRC, it pretty much requires APDU support, so if you wanted to simulate something that didn't support that, you'd be out of luck. As a bit of reference, have a look at https://en.wikipedia.org/wiki/Near_field_communication#/media/File:NFC_Protocol_Stack.png . PM3 basically covers the whole thing and more - at least in theory - whereas from my understanding, Android simulation would be built somewhere on top of ISO/IEC 7816-4 (possibly even only the 'A' side of it). If you had root access to the phone and installed an older version of CyanogenMod, you'd be able to work a bit closer to the limitations of the chip being used for NFC though.


Having said all that, it really depends on what you want to get out of it. Android is probably one of the most limited in functionality for useful NFC simulation development, but if its limitations are acceptable, it is probably the most available device that supports it. Btw, windows phone and iOS can also support NFC, but I know very little about them except that iOS is severely locked down NFC development wise.

Offline

#7 2016-06-03 08:18:51

ntk
Contributor
Registered: 2015-05-24
Posts: 701

Re: Simulation and test related ...

somemadeupname wrote:

Having said all that, it really depends on what you want to get out of it. Android is probably one of the most limited in functionality for useful NFC simulation development, but if its limitations are acceptable, it is probably the most available device that supports it. Btw, windows phone and iOS can also support NFC, but I know very little about them except that iOS is severely locked down NFC development wise.

I want to get out the most of it on NFC field, but not for 700$ in the case of IOS, the best price I got for NFC support window phone Unlocked Nokia Lumia 920 Dual-core SmartPhone 32GB 8MP Windows Phone 8 NFC is 140$.


somemadeupname wrote:

my Note 3 doesn't appear to support reading MiFare Classic tags

Thnaks for the head-ups. So no Note 3 for me yet then.

somemadeupname wrote:

Android devices work quite well for reading HF tags

Samsung S6810P Galaxy Fame NFC is said a low-end phone. But if NFC all I need. That is the best for my monies... I hope...

Could not find any compare table or list f +/-features, or users experience review though

Offline

Board footer

Powered by FluxBB