70

The company I work in switched to a new building, and we have those stupid doors with RFID cards on them. I'd be damned if I'm going walk with that I'm-working-in-hightech-company-card dangling of my belt. I wonder if there is a way for me to use my phone for credentials. I tried searching for it, and all I could find is ways for me to use the phone in order to copy the info from one card to another.

So is it somehow possible?

all 27 comments
sorted by: hot top controversial new old
[-] slazer2au@lemmy.world 36 points 1 year ago

Nfc in your phone is not RFID.

What one pen tester did was plant a RFID chip in his hand so when he clones a card he can use his hand instead of the card. He walks around the building with a regular card on display buy his hand has a security guard code allowing him access anywhere on a job site.

"Summer hacker camp" is on at the moment in Las Vegas ( Defcon and blackhat), you can keep an those conferences for any emerging tools for this kind of thing.

[-] SeeJayEmm@lemmy.procrastinati.org 28 points 1 year ago

If no one is making you wear the card on a lanyard then don't. Pockets exist. I used to just keep mine in my wallet and tap that.

[-] andrew0@lemmy.dbzer0.com 18 points 1 year ago

I've looked into this before, and it really depends on the type of RFID they use. Older versions have been cracked, but newer ones can't be copied over (easily or at all).

If your company is serious about security, you will not be able to put the content of the card on your phone. What newer, more secure versions of RFID do is receive a code from the reader system, replies to it internally, and then sends back the answer. Even if you try to copy this over, you will not be able to open the doors of your facility.

I think the first step should be to use one of these apps that can read RFID and see what protocol your card uses. If it's an unsecure one (i.e., only pushes out a code and checks it in their database that it's yours), you could probably try to copy it over. However, if it's not, you could also just dissolve the card with some acetone and place the resulting wires in your phone's case, near the bottom. Like that, it shouldn't interfere with your phone's NFC, as that one is usually next to the top area of your phone.

[-] a_new_sad_me@lemmy.world 5 points 1 year ago

I'll reply here also to @ratumoko@kbin.social - the building security is a joke. The company rents some offices in these share-space buildings. And there is no real security beyond that (OK, fine, also some cameras). I suspect that they use this system just to keep costumers happy, feeling like there is some security system in place. I'll try the RFID ring and see if it works.

But my "real" question here is how come I didn't find any app/instruction for making my phone itself an RFID keycard. As I type this I realize that this might be due to needing a specific frequency that the phone cannot produce(?)

That's the technology they use: https://nfc-tools.github.io/resources/standards/iso14443A/

[-] jscummy@sh.itjust.works 3 points 1 year ago

My company sells systems like this. It depends on the system manufacturer and reader type. Bluetooth/mobile credentials might be available. I've never seen a system use a phone as RFID, but they do operate on the same frequency

[-] TheInsane42@lemmy.world 14 points 1 year ago

Most of the companies have a policy that requires you to wear the card visible to others. That it has rfid is just a bonus to get trough doors without hiring a guard to let personel in.

Believe me, it's not so bad when they allow you to wear it from your belt. (You can even put it in your pocket and give a feeble excuse when they ask you about it) At the company I'm at, I run the risk of getting shot for not wearing the badge. That makes me a tad less rebelous. (But I still refuse to wear the badge around my neck)

[-] a_new_sad_me@lemmy.world 5 points 1 year ago

It's a shared office space, so I'm not really concerend about security. And they didn't say anything about the card, just gave it to me. I discovered yesterday that one of the door is not even locked. As I said in another post, I think that the door thing is mostly for show and not for actual security.

About why not putting it on the belt, well, it's not about (dis)comfort as much as refusing to make my job a part of what defines me. And this tag is related to the job.

[-] subignition@kbin.social 11 points 1 year ago

Even if you can pull this off, it seems like a quick way to get fired or worse. You might consider whether there's an alternative means of affixing your badge that's less distracting/frustrating

[-] Mosfar@sh.itjust.works 11 points 1 year ago

If you use a case for your phone, just put the card between the case and the phone

[-] a_new_sad_me@lemmy.world 2 points 1 year ago

Wouldn't that interfere with payment apps?

[-] Munkisquisher@lemmy.nz 5 points 1 year ago

Yes it does at least for the system my building uses

[-] ratumoko@kbin.social 10 points 1 year ago

I am working on this for one of my customers. RFID, BLE and NFC are different technologies. If the company has a compatible reader, then they can purchase credentials for your smart phone. HID ands Schlage are the 2 large players in the market. There are other manufacturers, and some systems are already Bluetooth (BLE) only.

Some RFID cards can be cloned, but not all. Some readers push data to the cards, which are then pushed from the card to other readers.

[-] hodgepodgehomonculus 9 points 1 year ago

Just put the card in your wallet and scan it like a metro pass card.

[-] IMongoose@lemmy.world 5 points 1 year ago

You may be able to get your RFID in a different format. I asked for a keychain thing that's not much bigger than a watch battery that are on my car keys. Most people do just put it in their wallet though.

[-] CryptoKitten@sh.itjust.works 4 points 1 year ago

There may be phones that allow you to do this and there are also smart rings you may be able to use by cloning the card with a proxmark 3, a flipper 0 or other similar devices.

[-] a_new_sad_me@lemmy.world 3 points 1 year ago* (last edited 1 year ago)

I see that my phone should support encoding NFC tags. I'll order a cheep ring and see if it works. Thanks.

I'm still curious though, why cannot phones produce that signals on their own? Isn't this what they do with payment apps?

[-] Ashiette@lemmy.one 3 points 1 year ago* (last edited 1 year ago)

NFC ≠ RFID

Payment apps are NFC

[-] a_new_sad_me@lemmy.world 1 points 1 year ago

True... I confused the term, but this makes my question even more relevant. Since I have to put the card on the reader, I guess that it is an NFC card, rather than RFID. Which means that I should be able to duplicate the signal with my phone. I think.

[-] Ashiette@lemmy.one 1 points 1 year ago

Then again, what protocol does it use ? MiFare Classic then yes easy to duplicate.

Other MiFares? It will be harder/impossible.

[-] a_new_sad_me@lemmy.world 1 points 1 year ago

I scanned the card using an app "NFC tools" It sais that it is manufactured by NXP and the protocol is MiFares 1k. Guess this hould work.

[-] Ashiette@lemmy.one 1 points 1 year ago

It's doable. Read thoroughly and you'll be good to go

[-] jscummy@sh.itjust.works 1 points 1 year ago

Certain systems have clone card detection these days so you might run into issues

[-] Firipu@startrek.website 3 points 1 year ago

My work uses mifare cards if I recall it correctly. Using a simple nfc emulator app on a rooted phone, I could just clone the card instantly and use my phone to enter anywhere the card could.

This had obvious big security repercussions. Someone with bad intentions could just walk past you and copy the card. So they added personalized pin codes to all cards, every poor sod in the company now has to touch their badge + give in a pincode for you pretty much all doors. They are currently in the progress of renewing the entire security system to upgrade the security of the cards. (at great cost :))

So depending on the type of card used, it might be possible. I've tried it with many different security cards, it only worked with the one from my company. So it really depends on the type of card used.

https://play.google.com/store/apps/details?id=com.wakdev.wdnfc

I think it was this app, but I'm not 100% positive. Haven't rooted my new phone due to other security reasons, so I haven't tinkered with it lately.

this post was submitted on 13 Aug 2023
70 points (100.0% liked)

No Stupid Questions

36151 readers
1054 users here now

No such thing. Ask away!

!nostupidquestions is a community dedicated to being helpful and answering each others' questions on various topics.

The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:

Rules (interactive)


Rule 1- All posts must be legitimate questions. All post titles must include a question.

All posts must be legitimate questions, and all post titles must include a question. Questions that are joke or trolling questions, memes, song lyrics as title, etc. are not allowed here. See Rule 6 for all exceptions.



Rule 2- Your question subject cannot be illegal or NSFW material.

Your question subject cannot be illegal or NSFW material. You will be warned first, banned second.



Rule 3- Do not seek mental, medical and professional help here.

Do not seek mental, medical and professional help here. Breaking this rule will not get you or your post removed, but it will put you at risk, and possibly in danger.



Rule 4- No self promotion or upvote-farming of any kind.

That's it.



Rule 5- No baiting or sealioning or promoting an agenda.

Questions which, instead of being of an innocuous nature, are specifically intended (based on reports and in the opinion of our crack moderation team) to bait users into ideological wars on charged political topics will be removed and the authors warned - or banned - depending on severity.



Rule 6- Regarding META posts and joke questions.

Provided it is about the community itself, you may post non-question posts using the [META] tag on your post title.

On fridays, you are allowed to post meme and troll questions, on the condition that it's in text format only, and conforms with our other rules. These posts MUST include the [NSQ Friday] tag in their title.

If you post a serious question on friday and are looking only for legitimate answers, then please include the [Serious] tag on your post. Irrelevant replies will then be removed by moderators.



Rule 7- You can't intentionally annoy, mock, or harass other members.

If you intentionally annoy, mock, harass, or discriminate against any individual member, you will be removed.

Likewise, if you are a member, sympathiser or a resemblant of a movement that is known to largely hate, mock, discriminate against, and/or want to take lives of a group of people, and you were provably vocal about your hate, then you will be banned on sight.



Rule 8- All comments should try to stay relevant to their parent content.



Rule 9- Reposts from other platforms are not allowed.

Let everyone have their own content.



Rule 10- Majority of bots aren't allowed to participate here.



Credits

Our breathtaking icon was bestowed upon us by @Cevilia!

The greatest banner of all time: by @TheOneWithTheHair!

founded 2 years ago
MODERATORS