Dark Reading is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

Perimeter

3/23/2007
07:45 AM
Connect Directly
Google+
Twitter
RSS
E-Mail
50%
50%

New RFID Attack Opens the Door

Proof-of-concept lets intruder gain entry into the building by faking RFID readers with SQL injection

Be careful of who walks up to your building and swipes an ID card: New proof-of-concept code will soon be released that lets attackers hack RFID readers and walk right in as if they work there.

The attack uses SQL injection to fake the back-end RFID reader into admitting the cardholder into the building, says Joshua Perrymon, hacking director for PacketFocus Security Solutions and the researcher who wrote the POC. Perrymon -- who's taking a cue from the recent Black Hat RFID flap and won't name RFID vendor names -- says he's tested it on a few RFID vendors' systems, but the exploit will work on most any of them. (See HID Lists RFID Security Steps, HID, IOActive Butt Heads Again, and Black Hat Cancels RFID Demo.)

The RFID databases don't validate the input they receive from the swiped cards, he says, which leaves them wide open for hacks. "I was noticing the back-end database is the same across all products -- I haven't seen any using input validation" to confirm the data they've swiped is legitimate, he says. "It doesn't really matter who the vendor is... In any building you go to with this, bang, you gain access."

Perrymon was able to fake out the readers by injecting SQL characters that appear to be legit into various brands of 1356 Mhz RFID cards. The SQL injection code looks legit when an intruder swipes his card, so he gains entry into the building. "In the user-data section, it uses numeric characters, but we're using brackets and SQL statements... That's standard with a SQL injection in an application."

Conventional attack methods on RFID such as SQL injection haven't been studied much so far, Perrymon says. Most of the attention has been on cracking RFID cryptography and RFID cloning, such as IOActive's research, which was yanked from the Black Hat DC briefing agenda after threats of a patent lawsuit by RFID vendor HID.

Perrymon used an RFID writer to copy a SQL injection statement to the card. Unlike cloning, which copies the user's ID and facility code, this attack uses SQL injection code. "The beauty of this is I'm using off-the-shelf stuff, and there's no reverse-engineering."

Perrymon says adding input validation to these products would be simple for RFID vendors, and he's hoping his work will pressure the vendors to fix the problem. "I want vendors to put in input validation in the reader or database," he says. "Preferably the reader."

But this attack is not for any script kiddie. "You have to be pretty skilled in RFID to understand all the components," says Perrymon, whose company does penetration testing and social engineering exploits. He plans to release the POC soon.

— Kelly Jackson Higgins, Senior Editor, Dark Reading

  • PacketFocus Security Solutions
  • IOActive
  • HID Global Corp. Kelly Jackson Higgins is Executive Editor at DarkReading.com. She is an award-winning veteran technology and business journalist with more than two decades of experience in reporting and editing for various publications, including Network Computing, Secure Enterprise ... View Full Bio

    Comment  | 
    Print  | 
    More Insights
  • Comments
    Newest First  |  Oldest First  |  Threaded View
    7 Truths About BEC Scams
    Ericka Chickowski, Contributing Writer,  6/13/2019
    DNS Firewalls Could Prevent Billions in Losses to Cybercrime
    Curtis Franklin Jr., Senior Editor at Dark Reading,  6/13/2019
    Can Your Patching Strategy Keep Up with the Demands of Open Source?
    Tim Mackey, Principal Security Strategist, CyRC, at Synopsys,  6/18/2019
    Register for Dark Reading Newsletters
    White Papers
    Video
    Cartoon
    Current Issue
    Building and Managing an IT Security Operations Program
    As cyber threats grow, many organizations are building security operations centers (SOCs) to improve their defenses. In this Tech Digest you will learn tips on how to get the most out of a SOC in your organization - and what to do if you can't afford to build one.
    Flash Poll
    The State of IT Operations and Cybersecurity Operations
    The State of IT Operations and Cybersecurity Operations
    Your enterprise's cyber risk may depend upon the relationship between the IT team and the security team. Heres some insight on what's working and what isn't in the data center.
    Twitter Feed
    Dark Reading - Bug Report
    Bug Report
    Enterprise Vulnerabilities
    From DHS/US-CERT's National Vulnerability Database
    CVE-2019-12881
    PUBLISHED: 2019-06-18
    i915_gem_userptr_get_pages in drivers/gpu/drm/i915/i915_gem_userptr.c in the Linux kernel 4.15.0 on Ubuntu 18.04.2 allows local users to cause a denial of service (NULL pointer dereference and BUG) or possibly have unspecified other impact via crafted ioctl calls to /dev/dri/card0.
    CVE-2019-3953
    PUBLISHED: 2019-06-18
    Stack-based buffer overflow in Advantech WebAccess/SCADA 8.4.0 allows a remote, unauthenticated attacker to execute arbitrary code by sending a crafted IOCTL 10012 RPC call.
    CVE-2019-12133
    PUBLISHED: 2019-06-18
    Multiple Zoho ManageEngine products suffer from local privilege escalation due to improper permissions for the %SYSTEMDRIVE%\ManageEngine directory and its sub-folders. Moreover, the services associated with said products try to execute binaries such as sc.exe from the current directory upon system ...
    CVE-2019-12592
    PUBLISHED: 2019-06-18
    A universal Cross-site scripting (UXSS) vulnerability in the Evernote Web Clipper extension before 7.11.1 for Chrome allows remote attackers to run arbitrary web script or HTML in the context of any loaded 3rd-party IFrame.
    CVE-2017-8328
    PUBLISHED: 2019-06-18
    An issue was discovered on Securifi Almond, Almond+, and Almond 2015 devices with firmware AL-R096. The device provides a user with the capability of changing the administrative password for the web management interface. It seems that the device does not implement any cross site request forgery prot...