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?

  • slazer2au
    link
    fedilink
    3611 months 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.

  • andrew0
    link
    fedilink
    1811 months 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 meOP
      link
      fedilink
      511 months 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
        link
        fedilink
        311 months 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
    link
    fedilink
    English
    1411 months 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 meOP
      link
      fedilink
      511 months 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
    link
    fedilink
    1111 months 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

  • ratumoko
    link
    fedilink
    1011 months 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.

    • a new sad meOP
      link
      fedilink
      211 months ago

      I think I should give more information about how security works in Israel. Unless you work in a really classified work (I mean NSA level of classified) noone is going to give a fuck about what you do (until something bad happens and then they’ll come down on you). I’m not really concerned about that. I talked to my boss about it and he told me “hmm… it’s worth trying”.

  • @hodgepodgehomonculus
    link
    English
    911 months ago

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

  • @IMongoose@lemmy.world
    link
    fedilink
    511 months 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
    link
    fedilink
    411 months 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 meOP
      link
      fedilink
      3
      edit-2
      11 months 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?

        • a new sad meOP
          link
          fedilink
          111 months 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.

          • 🧟‍♂️ Cadaver
            link
            fedilink
            111 months 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 meOP
              link
              fedilink
              111 months 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.

  • @Firipu@startrek.website
    link
    fedilink
    311 months 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.