Transfer the phone HID access to a card? - NFC Hacking

In my office we use two things.
1. MIFARE cards that seem to be top of line, encrypted, and we cannot copy/duplicate them.
2. HID access via the phone, works with both Bluetooth and NFC. We're using "seos"s "hid mobile access app".
Is it possible to somehow copy/replicate the access we have on our phone to a card or any other media?
Thank you!

Related

Pcconnector app in marketplace

Just found it, did any one test it?
It claims to be able to connect to your pc web and exchange files.
My pc is down but trial app shows available space on the phone correctly.
Just having a quick play with it now. It seems to be able to create folders on your phone, although what use that is I'm not sure. Will see what happens
Nothing fancy going on here really. You can create a file explorer and do all kinds of file and folder manipulations in your apps isolated storage. You just can't manipulate anything outside of it.
Transferring files from your pc to phone and vice versa is rather simple to code. There's code samples on microsofts wp7 development forums.
Ren13B said:
Nothing fancy going on here really. You can create a file explorer and do all kinds of file and folder manipulations in your apps isolated storage. You just can't manipulate anything outside of it.
Transferring files from your pc to phone and vice versa is rather simple to code. There's code samples on microsofts wp7 development forums.
Click to expand...
Click to collapse
Fair point but that means:
1. It shows you can have access to storage without zune and that is all in all step closer to proper file explorer
2. Bluetooth pictures, music or document transfer is possible by means of an app so some one might make one
3. Using your phone as flashdrive via usb can also be made to work via app
ruscik said:
Fair point but that means:
1. It shows you can have access to storage without zune and that is all in all step closer to proper file explorer
2. Bluetooth pictures, music or document transfer is possible by means of an app so some one might make one
3. Using your phone as flashdrive via usb can also be made to work via app
Click to expand...
Click to collapse
so for an eBook or comic book reader, they just have to make the reader able to import the files from the PC and store them in their own sandboxed area correct?
Omega Ra said:
so for an eBook or comic book reader, they just have to make the reader able to import the files from the PC and store them in their own sandboxed area correct?
Click to expand...
Click to collapse
Yep seems that is the case.
It is very good news as that means we will have flashdrive apps or BT storage apps quite quick.
It will need to last till phone is hacked.
True... but you you won't be able to transfer files to/from the phone from any desktop computer.
Software will need to be installed on the desktop computer and the phone app needs to be setup to talk to that piece of software.
It is conceivable that somebody could write a single piece of software for desktops that could then communicate with any number of apps on the phone to transfer files between.
AceofSpades25 said:
True... but you you won't be able to transfer files to/from the phone from any desktop computer.
Software will need to be installed on the desktop computer and the phone app needs to be setup to talk to that piece of software.
It is conceivable that somebody could write a single piece of software for desktops that could then communicate with any number of apps on the phone to transfer files between.
Click to expand...
Click to collapse
Well not exactly correct. With pcconnector yes but some smart person can make a app that takes control over usb and when you start it simulates flash drive rather then HTC HD7. USB knows what device is connected as that devices tells it what it is. All you need is a app that will say I am a X,Z or Y flash drive.
The same way original one worked diferance was it was showing SD card and for WP7 it would have to be a folder.

[Q] USB Mass Storage

Has anybody been able to get USB Mass Storage working ?
There are no devices that use mass storage anymore since like 4.1.2. Everything has switched to MTP. This is everywhere on the internet and id bet on XDA.
Sent from my GT-N5110 using XDA Premium HD app
trialsrider1 said:
There are no devices that use mass storage anymore since like 4.1.2. Everything has switched to MTP. This is everywhere on the internet and id bet on XDA.
Sent from my GT-N5110 using XDA Premium HD app
Click to expand...
Click to collapse
Well, my Galaxy S2 has Android 4.1.2 and both USB mass storage and MTP
Sent from Galaxy Note 8.0 GT–N5100
I use one of these http://www.2leef.com/store/product/bridge/
Works fine on The Galaxy note 8 and Galaxy note 3 with Astro File Manager.
stevejau said:
I use one of these http://www.2leef.com/store/product/bridge/
Works fine on The Galaxy note 8 and Galaxy note 3 with Astro File Manager.
Click to expand...
Click to collapse
It seems to be just an usb pen with 2 connectors
Sent from Galaxy Note 8.0 GT–N5100
I've found the USB Mass Storage handy for specific items and recently I was trying to recover some files (Via Android Restore program) that only worked if there was a USB Storage option, MTP wouldn't work. I have tried some apps on the app store, but none of them work to activate USB Storage. Was hoping their was a work around
gabripranzo said:
It seems to be just an usb pen with 2 connectors
Sent from Galaxy Note 8.0 GT–N5100
Click to expand...
Click to collapse
Yep, that is all it is..and as i said it works fine with Astro File manager..I have not tried it with Root Explorer or any other file manager as yet, but Astro does the job well.
Their website does say it is compatible with Galaxy note 2 amongst others and I can vouch that it works great with Galaxy Note 8 and Note 3.
Cheers
Steve
USB
Maybe I'm missing something here.
My USB 128GB stick works fine with my OTG cable.
I've just ordered a micro USB reader for micro SD cards from meenova.
Will let you know how it works when it arrives.
Shofar1 said:
Maybe I'm missing something here.
My USB 128GB stick works fine with my OTG cable.
I've just ordered a micro USB reader for micro SD cards from meenova.
Will let you know how it works when it arrives.
Click to expand...
Click to collapse
We're talking about connecting an android device using mass storage and not MTP protocol. USB otg has nothing to do with this.
Inviato dal mio GT-I9100 utilizzando Tapatalk
gabripranzo said:
We're talking about connecting an android device using mass storage and not MTP protocol. USB otg has nothing to do with this.
Inviato dal mio GT-I9100 utilizzando Tapatalk
Click to expand...
Click to collapse
Not sure how connecting a pendrive (otg or not, and btw it is very likely that the the microusb port on the pen-drive is also otg ) does not violate the above the same. When the note 8 acting as a Usb mass Storage Media is the main concern.
now back to topic,
Like it or not of companies have decided to do away with UMS. It basically boils down to architecture issues with their future plans.
UMS Gives exclusive access to the HOST (your computer or what ever you connect your device as Media to) and thus android/phone has to unmount the volume to prevent any locks or other potential issues (which are many including security).
Also the Host (your computer) has to be able to read/write the Files System format that you phone/ sd card is formatted to. (it's a dependency, because if the tablet where to use/ invent some new native file system, a lot of existing hosts might not be able to read them at all.
There are other reasons too like singular large ultra fast storage blocks to act as file systems as well RAM which can break if requiring unmounting,
Now MTP is not god send either and has it's own set of issues (read below)
however it's evolving.
with MTP most of the control is with your tablet or phone. and data is not written to the media directly by the host in for form for Blocks, but rather as files etc and thus the slowness as speed also depends a lot on your device not to mention it's biggest drawback that it's sequential/synchronous.
Personally, If i need to do large transfers etc, I just remove my microsd card in put that it into a tiny card reader, not ideal but works.
It is very unlikely that we are going to be getting UMS officially from those who are done with the standard on similar devices, . Maybe some better alternative in future than MTP, but who knows.
Here is little extract from the wiki : http://en.wikipedia.org/wiki/Media_Transfer_Protocol
for who care about the how's and the why's
History
The main purpose of this protocol is to allow only the transfer of media files and associated metadata to and from portable devices, one transfer function, in or out, at a time. Productivity functions such as open, edit and modify require copying to the hosting system for these functions then copied back in their entirety to change the data.
The protocol was originally implemented for use across USB but extended for use across TCP/IP and Bluetooth. Windows Vista supports MTP over TCP/IP. Windows 7 and Windows Vista with the Platform Update for Windows Vista also support MTP over Bluetooth.[7] The host connecting to an MTP device is called an MTP Initiator whereas the device itself is an MTP Responder.[8]
A main reason for using MTP rather than, for example, the USB mass-storage device class (MSC) is that the latter operates at the granularity of a mass storage device block (usually in practice, a FAT block), rather than at the logical file level. In other words, the USB mass storage class is designed to give a host computer undifferentiated access to bulk mass storage, such as compact flash, rather than to a file system, which might be safely shared with the target device (except for specific files which the host might be modifying/accessing). In practice, therefore, when a USB host computer has mounted an MSC partition, it assumes absolute control of the storage, which then may not be safely modified by the device without risk of data corruption until the host computer has severed the connection. Furthermore, because the host computer has full control over the connected storage device, there is a risk that the host computer may corrupt the file system, reformat it to a file system not supported by the USB device, or otherwise modify it in such a way that the USB device cannot completely understand it.
MTP and PTP specifically overcome this issue by making the unit of managed storage a local file rather than an entire (possibly very large) unit of mass storage at the block level. In this way, MTP works like a transactional file system - either the entire file is written/read or nothing. The storage media is not affected by failed transfers.
In case the device maintains a database/index of the content of the disk, MTP saves the cost of re-scanning the entire disk every time the content is modified.
Additionally, the MTP allows MTP Initiators to identify the specific capabilities of device(s) with respect to file formats and functionality. In particular, MTP Initiators may have to provide passwords and other information to unlock files, or otherwise enable digital rights management. Nothing specific of this nature is in the core standard but the features are available via vendor extensions. MTPZ, the Zune Extension to MTP specifically denies access to files until authentication has been processed, which is only possible using Windows Media Player 10 or higher.
Drawbacks
No multitasking - Unlike USB mass storage, MTP has been built to only allow a single function at a time, e.g. read, write, delete, with no other function available until the first function is complete.
By design, MTP devices (like PTP devices) are not treated as a traditional removable drive. The actual file system is implemented by the device, not by the computer's operating system. In theory the operating system may hide this difference, but this is not the case on Windows or Mac OS.[clarification needed] This also means that file system recovery tools on the computer will be of no use if the drive is corrupted, or crashes.
As of 2013, MTP is much less widely-supported than USB Mass Storage (see support section).
The MTP and PTP standards do not support direct modification of objects. Modified objects must be copied out of the device and reuploaded in their entirety, which can take a long time for large objects.
Google's MTP implementation in Android includes extensions to deal with this limitation.[9][10]
Windows/PC MTP implementation:
When opening a file, the user must wait till the file has copied to the PC before it can be viewed. (Note: The file remains on the PC hard drive after viewing and the device is removed)
No creation of files on the device from the PC, files must be created on the PC and copied over.
No editing of files on the device, files must be copied off the device before edits can be saved and file copied back.
Click to expand...
Click to collapse
As a workaround, for PC users at least, there is a Total Commander plugin which displays the MTP folders in normal file panel. It does not provide all the UMS features, like say binary directory sync (lack of which is one of my biggest griefs with MTP), but it's useful for simple file operations (browsing, copying etc.)
If anyone's interested I'll try to find the link/instructions.
Sent from my GT-N5100 using XDA Premium 4 mobile app
Sorry.. Wrong thread
trialsrider1 said:
There are no devices that use mass storage anymore since like 4.1.2. Everything has switched to MTP. This is everywhere on the internet and id bet on XDA.
Sent from my GT-N5110 using XDA Premium HD app
Click to expand...
Click to collapse
And I can tell you, my brother is SERIOUSLY pissed. He's all ready to go smack around a few people at Google for this (once he's done smacking a LOT of people at Microsoft, now that his new machine is saddled with MSWin8).
In truth, it seems very arrogant on Google's part to presume that no one would want/need to use USB storage mode. My brother would like to edit files on the Note8 while it's attached to teh computer (using LibreOffice on the computer to edit it), and he feels it's absolutely preposterous that he has to copy the file down, edit it, then copy it back up. Google, 1985 wants it's broken methodology back.
Drive Droid
Pda23 said:
Has anybody been able to get USB Mass Storage working ?
Click to expand...
Click to collapse
DriveDroid on the play store at least.
I haven't yet had a reason to check if the Note will work, but does work on a Galaxy3 with Cyanogenmod. It goes and mangles the drivers to support the depreciated mass-storage proto. Expect it to be hit-and-miss when changing roms, requires root, requires kernel to no have completely disabled the old drivers. I now carry a recovery cdrom on my phone, it's worked most of the time.

Grant SIM card access via BT not working

Hi all,
I recently replaced my Samsung SII+ for a Nexus 5X. Love the Nexus 5X more and more. However I have one problem that I can’t solve. My car has an navigation/entertainment/handsfree system with all the options you can wish for (Wifi AP, Google Earth on the navigation system, etc.). Obviously it also has a SIM card slot. Unfortunately my cell phone provider can’t supply a second SIM card. With the Samsung SII+ I could connect via BT to the car system such that I could use the handsfree option and even internet. Basically the Samsung SII+ allowed to hand over the SIM card to the car system via BT. With the Nexus 5X I don’t have this option anymore. The warning I see on the Nexus is:
SIM access request
The [name of the BT nav system] wants to access your SIM card. Granting access to the SIM card will disable data connectivity on your device for the duration of the connection. Give access to [name of the BT nav system].
I have two questions,
1. How can I set the Nexus 5X to grant SIM card access?
2. How is this BT option of handing over SIM card access called?
Hope one of you can help.
Are you sure your N5X is compatible with your cars system? What year/make/model car do you have?
metpage said:
Are you sure your N5X is compatible with your cars system? What year/make/model car do you have?
Click to expand...
Click to collapse
It's an Audi. But I did find the following. Apparently it's called Remote SIM Access Profile and there seem to be an app for this. There's a "outside link" explaining this option. But since I'm new on this site I'm not allowed to include the URL... Will try the app and report back. Strange that this is not an option in the latest OS.
Greetings.
Did you solve your problem
I recently got the same message on my nexus 5x,but I didn't not grant access. I have my car for more than 4 years and my nexus for 1 year and is the first time I got the message.

Use NFC Cards for Identifaction?

Hi
I need an System for my Social Club where Member must be identification with an ID that is not easy to reproduce.
What I need is a System who allow me to Print my own Cards on an Card printer (maybe Zebra?) and also allow me to write the identification thing via NFC on the Chip.
What I though is an Card with an Chip like the CC and ATM Cards (in Europe...) use.

Copy a NFC card to my Android phone and use my Android phone as that NFC card?

I have a few NFC cards for different access and I would like to copy the auth information on that NFC card to my Android phone so I can use ONE Android phone (which also is more difficult to lose) for all NFC reader access points.
Is this possible?
riahc3 said:
I have a few NFC cards for different access and I would like to copy the auth information on that NFC card to my Android phone so I can use ONE Android phone (which also is more difficult to lose) for all NFC reader access points.
Is this possible?
Click to expand...
Click to collapse
"NFC Card Emulator" should be able to do that. you need root of course. look it up in the Play Store
however credit cards or in the Netherlands "OV chipkaart" (OV = Public Transport, chipkaart = chip (?) card ) won't work. just basic cards without verification or whatever will work.
It only works if the ID of the card is used for authentication. If there is any token involved, it won't work.
However, I don't understand why root is necessary. The NFC standard should allow the phone to set any ID by will. However, it only SHOULD present a random ID every time, but not MUST. However, Samsung decided to not allow people to change this, even with root. Therefor, no way this works with S7.
Emulating the NFC card is to modify the system's NFC chip's memory space which is root required.
aeroxy said:
Emulating the NFC card is to modify the system's NFC chip's memory space which is root required.
Click to expand...
Click to collapse
Hello,
I need this information for research ! Would you happen to know what particular (specific) file most be modify and with what? Thank you so much in advance.

Categories

Resources