NFC Ticket rewriting - NFC Hacking

Hey guy,
Delete this if this does not fit here.
I have an German Bus Driving eticket and i need to encrypt and rewrite it.
Can you take a look at the img i attached and tell me which encryption algorythm is used ?
Thanks

Get NXP TagInfo and show me output...

Related

[Q] nfc-tools on Android?

Has anyone tried porting anything based on libnfc (libnfc.org), such as nfc-tools (code.google.com/p/nfc-tools), to Android?
I've heard of the odd person or two managing to cross-compile libnfc for Android and get it working with an external reader, but I'm more interested in getting nfcutils and mfoc to run on my Galaxy Nexus...
Hi,
I was looking for the same thing as you.
Indeed some people succeeded to compile libnfc on android (android 2.3 if I remember well) and they have published a little outdated tutorial.
The problem that is their porting use libusb and permits to use an external NFC reader connected via the phone USB link.
I think you are most interested in using the internal one.
On my galaxy SIII, the NFC device seems to use an I2C link (the device is /dev/pn544). So you will need to make a libnfc "driver" for your device wich link to the I2C. I you look into libnfc code, you have some code to mange serial links but it seems a little experimental.
Moreover, there is already a driver and a lib that manage your NFC device, so you'll probably have some conflicts by trying to add libnfc.
The built-in lib is libnfc-nxp wich also includes drivers, hardware abstraction and a upper level libraries (called "FRI") providing services to manage cryptography, NDEF messages and so on. This lib is completely different from the linux libnfc.
So if you want to get lib-utils working, you will probably need to compile them after developing a wrapper between libnfc functions using libnfc-nxp. (or something like this)
In my knowledge, nobody did the job yet.
I found some tries to recode mfoc utility in an android apk but nothing functional yet (and there is often no recent activity of these projects).
Sorry.
I found this:
https://github.com/ehabkost/nfc-tools (last activity two years ago)
It appears the Android API lacks some features to get the mfoc running.
It may be possible to overcome this modifying the libnfc-nxp source in the android repo....... who knows.
Porting [nfc-tools] libnfc to Android 4.4.2
Does anyone have news about this ?
I did some research though but instead of creating a new thread, I ended up here.
if anyone is still interested, I have compiled libnfc and nfc-list from last commit on git and works on my Nexus 5 5.0.1
You can find here github.com/etmatrix/libnfc and github.com/etmatrix/libusb01 for libusb
I attached an usb device SCL3711-NFC&RW and nfc-list show me a Mifare Classic and SRIX4K.
I need to improve external module libusb, libnfc look at /tmp/libusb-0.1.12 for linking.
etmatrix said:
if anyone is still interested, I have compiled libnfc and nfc-list from last commit on git and works on my Nexus 5 5.0.1
You can find here github.com/etmatrix/libnfc and github.com/etmatrix/libusb01 for libusb
I attached an usb device SCL3711-NFC&RW and nfc-list show me a Mifare Classic and SRIX4K.
I need to improve external module libusb, libnfc look at /tmp/libusb-0.1.12 for linking.
Click to expand...
Click to collapse
Hey! I'm just trying to get into this issue, and I would really appreciate if you could help with some piece of advice
I've digged up all google, but all instructables are dated 2010-2012, I am sure that there should be some progress in this area! My goal is to flash libnfc to Android and make it use an internal nfs chip
Can you contact me? It would also be great to have a compiled file to install libnfc to my galaxy s3 and some explanation, because unfortunately I'm just a beginner in this, though a really ambitious
Thank you!
Bump.
Any news on this? I'd really like to be able to read my public transportation pass to see how much I have credit left (It is mifare classic 1k). There is no official app to read it either (nor unofficial for what I know).
You can try the app "västtrafikreader" or vasttrafikreader. You have to google it yourself.
Classik k1 efter carry heavy encryption wich makes is almost impossible to ream them. But in vasttrafikreader they got the keys for the swedish system and the cards can even be manipulated.
Its rather safe to say that you basicly cant carry out the hack w/o the proper keys.
There have been ports of mfoc and similar tools for Android in the past, but only for externally connected NFC-Readers, since the Android APIs don't allow the necessary access to the internally embedded NFC chips. The best app for working with Mifare Classic NFC chips is the "MTC - Mifare Classic Tool", which is available on the Play Store. It's open-source on GitHub and supports reading and writing to the chips if you add the keys to the dictionary file or if the sector you're trying to access uses one of the default keys. This app could totally be expanded with mfoc-like functionality, at least on rooted devices, but for now you have to run mfoc on the PC once to get the keys, add them to the dictionary and afterwards you're able to get full read/write access to all sectors of the specific chip from a supported Android handset (hardware-wise, depends on the NFC chip used).
hello, its been 4 yearsany news on an internally embedded NFC chips mfoc functionality ?

Copying NFC tags?

Is there some way to copy one RFID NFC tag to another blank NFC tag with the SGS3?. I have 2 active NFC tags that I would like to mess around with and see if I can actually copy them and get the same access as my authentic ones offers.
So down to the question. Is it possible to copy the entire contents of an NFC chip and write it to another one with an app, and in that case which one?
bump* I'd like to know as well
copy a tag
"NFC Smart Q supports reading or copying a tag"
I just read this, didn't use this app.
There must be more nfc apps in Google's android shop, doing this trick.
I cannot post links, i'm sure you will find it.
MeX_DK said:
Is there some way to copy one RFID NFC tag to another blank NFC tag with the SGS3?. I have 2 active NFC tags that I would like to mess around with and see if I can actually copy them and get the same access as my authentic ones offers.
So down to the question. Is it possible to copy the entire contents of an NFC chip and write it to another one with an app, and in that case which one?
Click to expand...
Click to collapse
Depends. If it's a tag without any protection, yes.
If it's a tag with crypto, such as most RFID door entry systems, contactless credit cards, subway cards - no, they're intentionally designed to prevent such things. (Specific systems may have been hacked, but in general, these are not copyable.)
"Not protected" means I can edit them as I want right??
So if I can solve the encryption manually than I can change my info on my NFC card with the help of my cellphone.
Is that right??
https://play.google.com/store/apps/details?id=com.skjolberg.nfc.clone2. Try this..... Works for me
Sent from my Nexus 4
carhustler said:
https://play.google.com/store/apps/details?id=com.skjolberg.nfc.clone2. Try this..... Works for me
Sent from my Nexus 4
Click to expand...
Click to collapse
Agreed - may not work for everything, but definitely one of the better tag cloning apps.
Hello,
I am new at nfc so please do not judge me
I have one question:
It is possible to write dokumrent path in nfc tags for example:URL.
but on the path will be security level as:
login
pasword
And after you type your login and password it is automatically opened your dokument.
I was tried to write this way, but after I type login and password the link is not active longer and I have to search manually the document in my data base.
Waiiting fot you answers
For any information I would be thankfull.
P.S. It is possible to do this with my samsung galaxy s3?

Card Emulation in general

Hi there,
right now I am researching for a possibility to emulate a smartcard with a smartphone. As we all know, the standard os and api won't let us do this. What I want to achieve is create a way to use the smartphone for physical access without the need to change the existing infrastructure. o achieve that, the smart phones gets a localy and time limited informationtoken it should present to the reader. In other words, I actually dont realy need access to the secure element, as any data would be temporary.
Right now I am a bit confused about this. Is there a way to use card emulation, without the need of a secure element? I have searched for different ways to acchieve this, but on many ends, I can't seem to find a definitv answer.
For example I stumbled on OpenNFC. They praise that they can acchieve card emulation. Yet, they don't provide any examples on this and fail to actualy deliver some sort of information on the requirements of this. As I understand it, it seems like this method only works when the smartphone uses Inside Secures Chips MicroRead or SecuRead. Anyone knows more about this?
I'm realy open to ideas on this one, as it seems theres little to no documentation or examples to go on.
I'd realy be happy to read about what you guys found out on this issue as of yet.
I've been looking into it too. This is what I have found:
EddieLeeDefcon20.pdf
nfcproxy
(Google them, I can't post links)
So, yeah, it can be done, but you have to modify android to be able to.
I ended up to OpenNFC too, but no sample code!
I have a good background on Mifare Classic 1K and 4K programming using RFM130 under linux and win.
Sent from my HTC One X using Tapatalk 2
Ok, so after browsing the mailinglist like a maniac I found this answer from one of OpenNFCs developers:
Hello,
The OpenNFC stack porting on Android complies to the Google API, as far as the applications are concerned.
Since these API do not allow an APK to do card emulation, it is not possible to use this mode on the Nexus,
nor on any Android phone, with or without OpenNFC.
However, OpenNFC provides card emulation feature for other porting (Win32, linux), depending on the hardware capabilities.
Kind regards,
Stephane
Click to expand...
Click to collapse
Source is on their mailing list on sourceforge, cant post link....
So seems we can forget this one... Only option would be using the Cyanogenmod patch that is used by NFCProxy.
When this message has been posted? I think things has changed (not sure)
Anyway, I posted a message yesterday to have more informations about their projects on Android
The Message is from March 29th, 2012.
Again as I said, if that has changed, they really have to work on their communication to the outside. There seems to be noone but the devs that can say anything about this. And that means quite a lot.
When there is no API for something, we can use native code and directly communicate to NFC hardware. Agree?
Sent from my HTC One X using Tapatalk 2
Well, the way I understand it is, that we could take a build of android and tinker with it to get it to work. We would have to change the NFC softwarestack and its interaction with the rest of the system in order to make software emulation possible. That is quite some pile of nontrivial work to do if you ask me.
Sorry for doing a new reply instead of editing the old one, but I think this is interesting enoug to not get overread.
I got an answer from the OpenNFC Developerteam regarding my question. Part of my question was also if it was possible to emulate for example a Mifare Tag through their NFC Stack. Here is the answer:
Hello XXXXX,
The Open NFC stack is designed to be largely hardware-independent, with a small adaptation module (NAL) for each hardware chipset. However, currently we only provide the NAL module for the MicroRead / Securead chipsets; therefore out of the box we are only compatible with these chipsets.
It is possible to emulate ISO 14443-4A and -4B cards and Type 4 tags from the Open NFC stack; for emulation of MiFare Tag, you’d indeed need to use a Secure Element.
Best regards,
Sebastien.
Click to expand...
Click to collapse
Hope this clears some questions regarding OpenNFC.

Getting started with NFC?

I would like to get started with using NFC, but before I go out and buy a load of stuff I would like to ask a few questions. First off, do I need a NFC writer if I have my phone? Also, when looking for some stickers I noticed that some of them were already encoded. What does this mean for developing with them? Should I buy non-encoded ones (if possible)?
If there's anything else you think I should know before I get started with NFC, please let me know. Thanks a lot!
Usually I don't bumb but I really want to know more about this. Thanks!
1. There are loads of applications that can write on NFC tags. So yes, you can use your phone to write tags.
2. The tags can be marked or made read-only. Those that are made read-only cannot be changed at all. Usually tags that are already written (those that you can find on the back of posters) are made read-only. Tags that you buy online that not locked.
There are firms that can provide you with samples.

Which NFC chip is used in Tonie Box

Hi,
we recently bought a Tonie Box, which is a small music player for kids.
One can buy Tonies (small figures) which contain a NFC chip. After putting the figure on the box, this chip tells the box which music or story should be played and the box loads this specific files from a cloud server.
There are dedicated figures with fixed stories and there are creative tonies which can be programmed individually. So you can upload own stories, music audio files and connect those to the specific creative tonie.
I was wondering if anybody knew which kind of chip is used in these figures so one might be able to built his own figures to use.
Thanks for you help.
Peter
@pehusa: I checked some Tonie figures. They use ISO 15693 standard.
The implanted tag should be an ICODE SLIX-L
Building own figures would be not possible, because the content would be loaded from the tonie-cloud.
Maybe if you analyze the creative Tonies.
Cheers
gtpy said:
@pehusa: I checked some Tonie figures. They use ISO 15693 standard.
The implanted tag should be an ICODE SLIX-L
Building own figures would be not possible, because the content would be loaded from the tonie-cloud.
Maybe if you analyze the creative Tonies.
Cheers
Click to expand...
Click to collapse
Is it possible to read the Tags of all the Toniebox Figures and write them to a bunch of new NFC-Pads using an NFC Reader-Writer?

Categories

Resources