[Q] UID progress - NFC Hacking

Is there any progress on emulating tags using a custom UID?, or can anyone explain me at what level android randomizes the UID.
Thanks

Related

How to build from the source Android against HTC Desire

Hello everybody,
I'm quite new to Android, but I have some good skill in programming. I saw that Android have some limitation on bluetooth applications.
For example it have a discovery timeout of about 120 seconds(300 seconds max) and after that the application need the user help to extend the discovery time.
Another limitation is that there isn't the possibility to create bluetooth connection between two unpaired device, this limit force users to know each other and limit the possibility to build great proximity application.
So I looked into the Android source code and I found some good point to change to bypass and change these limitation.
Now I want to know how to build a ROM from the my modified source for my Desire.
There is the need to build all the kernel and framework? or can I just to put a modified framework.jar inside the actual system?
I really cannot find any useful guide on how to build from the source android against Desire.
Thanks in advance, any help are very appreciated
Marco

[Q] Reading incoming RF from kernel

I know that I can get the Radio Kernel source from HTC's site for Buzz. What I am trying to figure out is how to read the incoming RF and convert into something I can read parse programatically up in the application layer. I am fine with rooting the device or modding a ROM to accomplish this. Anyone have any ideas ? Ideally, I could pipe the parsed packets through a wireshark style filter.

[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 ?

.getJSON problem in webapp??

Hi guys, I'm making a webapp with a functionality that needs to display information dynamically.
I was trying out the .getJSON and tested it on my localhost website, it was running smoothly. But after I used cordova to convert the site to a app and clicked on the button to trigger .getJSON to get the list of items to display from my localhost with the emulator, but it didn't work.
Anyone have any idea why the getJSON wouldn't work inside the app?

Send UID in a HTTP request on Android

Hi!
I've been using a lot of NFC Apps on android, integrated to tasker, and it's working very nice
Now I need to integrate some tags with a web app i'm developing.
At this time I'm reading the nfc tags a Raspberry Pi with a Mifare reader module.
But I want to simplify this process using just a smartphone ...
Almost all the apps I tested, need to previous "register" a tag, and than bind some function to it. It isn't good to handle lots of tags.
I'm trying to find an app that just reads the tag id, and automatically sends its UID to a defined url using POST or GET request.
Somebody knows an app that does it ?

Categories

Resources