Pen Testing with the Fliper Part 1: RFID/NFC Cloning

The Flipper is marketed as a pen testers playground, but I have yet to address pen testing at all. Now's the time for that.If you haven't read the previous post about RFID, now would be a good time. If you have read that post, you'll know that the Flipper has no chance of getting into much of anything unless it first clones the real key. That's a problem, since people don't typically hand out their key cards fr you to clone just because you say "pretty please." Or do they?

I've said it before and I'll say it again, the one consistent weak link in any system is its users. Here's how it might go down in a pen test. You've already cleared everything with the company, you have all your tools, and now its time to get inside the building. Now, a real pen tester would have the real tools, not a toy multi-tool, but lets assume the Flipper is all you've got. You need to physically hold a card to the back of the Flipper for the few seconds needed to clone it. How in the world are you supposed to do that?

Easy (sort of). You put on a reflective vest or blue overalls, depending on the company, wear a lanyard with your face on it (but preferably not your real name), find someone on their way to work who looks gullible and ask to see their security key. Give some excuse about a system error, how you need to make sure their key works or reprogram it, something like that. If you play your cards right and look like you know what you're doing, they'll often give it to you. Scan and save the key card, tell the employee they're good to go, and that's that. Of course, there's always the chance that you'll be caught immediately, but the fun part about contracting with a company is that you don't go to jail if you get caught. Fun stuff.

The Flipper can take it from there. Put it up to the scanner, emulate, and the lock will open right up. Better yet, have some blank key cards with you, maybe with "maintenance" or "security" written on the side if you really want to be fancy, and write code to your card.

That's really all there is to the first step. I'm sure a lot of people would be disappointed to learn that you cant just push a button and open a door like magic, but I'd prefer and interesting reality to a wonderful fantasy any day. 

 More pen testing posts to come.

Comments

Popular posts from this blog

Introduction: The Flipper Zero

RFID and NFC: The Key Issue

Sub 1-GHz: The Key Fob