Git Product home page Git Product logo

rfid-gooseneck's Introduction

RFID Gooseneck

Traditional RFID badge cloning methods require you to be within 3 feet of your target, so how can you conduct a socially distanced physical penetration test and clone a badge if you must stay at least 6 feet from a person? Since 2020, companies have increasingly adopted a hybrid work environment, allowing employees to partially work remotely which has decreased the amount of foot traffic in and out of a building at any given time. So after throwing around some ideas I thought, why not create a mobile long-range reader device that we could deploy early in the morning at a client site and let it do all the work for us. This project guide contains an entry-level hardware design that you can build in a day and deploy in the field in order to increase your chances of remotely cloning an RFID badge.

This is part of a full paper and talk given during DEFCON 30 in the Physical Bypass Village and Radio Frequency Village titled: Keeping Your Distance: Pwning RFID Physical Access Controls From 6FT and Beyond by myself and Twitter: @_badcharacters (YouTube Link Coming Soon). Here's the full build guide for making your own RFID Goosneck Long Range Reader!

Disclaimer: This guide is for educational and ethical hacking purposes ONLY. All penetrtation testing activities must be authorized by all relevant parties.

Gooseneck Base Installation Guide

Ok, let's do this.

Wooden Base BOM:

  • MDF or Plywood (16"x16"x0.5")
  • Non-Slip Furniture Feet: https://a.co/d/8oR8tHj
  • Pedestal Pro 36"H Gooseneck: https://bit.ly/3bCz6go
  • 3/8" x 1 1/4" Carriage Bolts and Wing Nuts and Washers (Quantity of 6 each)
  • Black Spray Paint

Step 1 - Cut Out Wood Base

  • If you have access to a laser cutter or a ShopBot, feel free to download the "GooseneckBaseMK2Template_sh0ck" template file(s) or cut out your own 16"x16" piece of MDF or plywood.

Step 2 - Align Pedestal

  • Center the gooseneck pedestal and place the edge of the base approximately 1.25" away from the edge of the base. The 1.25" (3.175cm) distance from the edge will counter-balance the weight of the long-range reader so it will not tip over when installed.
  • Next trace and drill the 3/8" mounting holes.

Step 3 - Paint

  • Spray the base with a matte black color of your choice.

Step 4 - Install Feet

  • When the paint is dry, drill the non-slip furniture feet onto the bottom of the base.

Step 5 - Fasten Pedestal to Base

Last, fasten the pedastal to the wooden base with bolts and wingnuts. Then place the pedastal cover over top to conceal the screws.

Long Range Reader Cloning Guide

Let's build the long-range reader cloning device.

Long Range Reader BOM:

Wiring Guide

Below is an example of the wiring guide to connect to a long-range reader with screw-in terminals using the ESP RFID Tool. Use the color coded male-to-male breadboard wires to connect the two terminal interfaces between the Wiegand system and the ESP RFID Tool as seen below.

  • Then connect the 12V 5A DC Power Pigtail Barrel Plug Male Connector cable into the Wiegand system (HID iClass SE R90 pictured) and trail the cable to the outside of the reader so you can plug it into the 12V 6000mAh DC Battery.

Note: For various configurations, check out the official ESP RFID Tool wiring guide here: https://github.com/rfidtool/ESP-RFID-Tool/blob/master/Installation-Schematics/README.md

ALTERNATIVE Raspberry Pi Setup:

If you would like an alternative raspberry pi cloning device setup, I HIGHLY RECOMMEND checking out Mike Kelly's (Twitter @lixmk) Wiegotcha – RFID Thief guide: http://exfil.co/2017/01/17/wiegotcha-rfid-thief/

Mounting Reader to Pedestal

Depending onthe reader, you will need to find the correct mounting hole guide for each. You will have to manually drill holes into the back of the reader in order to center it to the gooseneck pedastal with carriage bolts and nuts. Below is an example mount guide for the HID iCLASS R90.

iCLASS SE Mounting and User Guide: https://fccid.io/JQ6-ICLASSU90/User-Manual/User-Manual-2360366

HID iClass R90 Gooseneck finished look:

Cloning Low Frequency Cards - Android Phone + Proxmark3 Easy

To remain incognito while at the client site, cloning a card via an Android phone will keep the lowest profile rather than fidling with a laptop when you need to copy the card data.

Mobile Cloning Gear:

MobileSetup

Step 1A - Access RFID Loot

Once the implant is in place and a few employees have walked past the gooseneck reader, hop onto your phone and log into your the RFID ESP Key SSID to look for loot. The default SSID is "ESP-RFID-Tool" but it is recommended to change the name to something that will blend into the target environment. In order to change the SSID and password protect the ESP RFID Tool wifi (and not leak all your client's credentials to the world), jump over to the configuration page to customize the settings.

Default credentials to access the configuration page:

  • Username: admin
  • Password: rfidtool

(Full ESP RFID Tool user guide here: https://github.com/rfidtool/ESP-RFID-Tool)

Once you're on the ESP RFID Tool WiFi, access HEX Code Data in the "List Exfiltrated Data" Page:

Step 1B - Copy the HEX Code Payload!

Step 2 - Android Cloning Setup

  • Download and install AndProx (Root NOT required!): https://github.com/AndProx/AndProx
  • Plug in your Proxmark3 via OTG cable
  • Click Connect Via USB
  • Begin sending commands!

Step 3 - AndProx Commands

Once your Proxmark3 Easy is connected copy your Hex Code and enter these commands:

lf hid clone [INSERT HEX CODE]

#Example:

lf hid clone 20043C0A73 

Verify your card data:

lf search

Boom! Happy Hunting!

D3FC0N

Special Shoutouts to the Bill Graydon of the Physical Security Village and Zero_Chaos of the Radio Frequency Village for hosting this talk during DEFCON 30!

References

rfid-gooseneck's People

Contributors

sh0cksec avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.