Slashdot Mirror


Virus Jumps to RFID

MrShaggy writes "According to a BBC article, researchers have been able to make the jump between RFID tags and viruses. They found that the mere act of scanning a mere 127 bytes could cause an attack vector that would corrupt databases. From the article;'"This is intended as a wake-up call," said Andrew Tanenbaum, one of the researchers in the computer science department at Amsterdam's Free University that did the work revealing the weaknesses on smart tags. "We ask the RFID industry to design systems that are secure," he said.'"

16 of 109 comments (clear)

  1. FUD? by LiquidCoooled · · Score: 5, Insightful

    Hang on a minute, in this case the tag is not the problem.
    It is the software running on the host machine which does not validate the data coming from the tag that has major issues.

    If I can corrupt a database by entering an invalid lookup code then theres something severely fucked up.
    My bet is its something like the sql injection attacks we see on the web, and you don't see people blaming the input box in those cases.

    quote from the article:

    In some cases, said the researchers, viruses could be spread by household pets such as cats and dogs that are injected with the tags to help identify their owner.

    The pets aren't going to be spreading this "virus" themselves its not sexually transmitted, it cannot be passed by rubbing up against your leg. It will be the vets computer which gets infected because of crappy validation.

    MEOOOOOOOOEEEEEEEEOOOOOOOOOOOWWWWWWWWWWWWW!

    Charlie says: always validate your external inputs before doing any data processing.

    Smart tags, dumb research.

    (and thats coming from someone who doesn't like RFID)

    --
    liqbase :: faster than paper
    1. Re:FUD? by andrewman327 · · Score: 4, Insightful

      I could not agree more. I fail to see how (in this case) RFID tags are any more dangerous than barcodes. This should be a wakeup call to developers to remember to include basic validation and error catching into their programs. Just because it is new and flashy, some people think it is a panacea that has no problems. I have learned always to write code remembering Murphy's Law because in computer science, everything does go wrong at one point or another. This story should not make people stop using tags, but it is always worth asking your vendor about security, especially if you are implementing an RFID system.

      --
      Information wants a fueled airplane waiting at the hangar and no one gets hurt.
    2. Re:FUD? by Technomonics · · Score: 2, Insightful

      Yes, definately FUD. This article is almost ridiculous in its basis in fact. If the RFID is akin to a barcode or serial number, then where in the barcode is executable code? If I were the maker of a RFID reader, I would make damn sure that I would check it throughly for being an appropriately-formed serial number. Then, the worst thign that happens is that the RFID serial number is rejected due to not being found in the database. Have the dvelopers gotten so lazy and dumb that bounds checking becomes a lost art? This article is merely sensationalizing a non-issue. Currently, I dont have any equipment in my house that scans RFID's and, even if I did, I wouldn't expect Tabby to be blowing up my PC sometime soon.

    3. Re:FUD? by Z0mb1eman · · Score: 4, Insightful

      I agree that was my first (knee-jerk?) reaction after reading the somewhat FUD-ish summary. However:

      "We ask the RFID industry to design systems that are secure"

      If the "RFID industry" creates the reader software as well, and if the vulnerability is in that reader software (which is what it sounds like), then the criticism is perfectly valid.

      FTA:

      ""Everyone working on RFID technology has tacitly assumed that the mere act of scanning an RFID tag cannot modify back-end software and certainly not in a malicious way. Unfortunately, they are wrong," wrote the trio in their research paper."

      and

      "The researchers urged companies working on RFID systems to start thinking seriously about security measures to protect against future threats."

      No one's really saying the tags are inherently insecure, any more than they might say that a floppy disk or a CD are insecure. If the reader software currently has many vulnerabilities, no matter how obvious it might seem in hindsight, this seems like valuable research to me.

      --
      ClutterMe.com - easiest site creation on the Net. Just click and type.
    4. Re:FUD? by plague3106 · · Score: 2, Insightful

      If I can corrupt a database by entering an invalid lookup code then theres something severely fucked up.

      Who said the lookup code had to be invalid? Simply broadcasting a valid signal for a product would be sufficent to corrupt the database. You can trick inventory systems into thinking they have 500,000 razor blades, when they only have 100,000.

    5. Re:FUD? by bit01 · · Score: 2, Insightful

      If the reader software currently has many vulnerabilities, no matter how obvious it might seem in hindsight, this seems like valuable research to me.

      No hindsight required. Any programmer not validating input, particularly from an untrusted source, is simply incompetent.

      This isn't "research" as such, merely exposure of incompetents.

      The fact that RFID is the vector is irrelevant. Though if the programmers and testers were this incompetent with something as simple as RFID data I hate to think how badly they'd mess up something "complicated", like configuring basic database security, or actually complicated, like software security that can deal with malicious staff.

      ---

      Don't be a programmer-bureaucrat; someone who substitutes marketing buzzwords and software bloat for verifiable improvements.

  2. Good thing this was not in the US by gasmonso · · Score: 2, Insightful

    They could have been sued for violation of the DMCA. We don't want any weaknesses exposed by researchers in the early stages... we'd rather have them exposed maliciously after its too late!

    http://religiousfreaks.com/
  3. What about other forms of external data? by JanusFury · · Score: 3, Insightful

    This is a good example of how people will sometimes trust data that isn't trustworthy at all.

    I'd be willing to bet that someone with enough cleverness and free time could come up with a 'credit card virus' that could compromise specific vulnerable payment systems/credit card processing devices when swiped. For all we know, there may already be such exploits out there now. At least in the case of credit card processing, it's financial code so hopefully there are some stringent security processes along with multiple layers of verification, but still - pretty scary to think about.

    --
    using namespace slashdot;
    troll::post();
  4. Is it data, or is it code? by davidwr · · Score: 2, Insightful

    If you merely store and read data - ANY DATA - and do not interpret it, it cannot carry a virus.

    The minute you start interpreting data you have to treat it as potentially hostile. This goes for computers AND people. There's not much difference between a "hostile" data-set that the attacker knows will be interpreted as SQL code that he can use to corrupt an automated-supply-ordering system, a hostile data set that the attacker knows will be interpreted as a false we-are-low-on-inventory-order-more or we-have-enough-inventory-don't-order-more tag by a an automated-ordering system, and a hostile data set that the attacker knows will cause a human being to falsely think inventory is low or high and act accordingly.

    BTW, the latter is easy enough to do: replace RFID tags that say "quantity 1 unit" with "quantity 1 pallet of 200 units" or vice-versa and hope no input-validating-computer or -person notices.

    To borrow a phrase, "Garbage in, garbage out."

    --
    Knowledge is how to play a game, intelligence is how to win, wisdom is knowing what game to play.
  5. Not a RFID problem, more a database flaw by Opportunist · · Score: 3, Insightful

    As much as I distrust RFIDs, and as much as I detest the way they are being used, this is a problem of the backend, not the RFID itself. It's an ancient problem of databases with data injection that has been used for years now, on the internet, to inject data into online databases or to mess with them generally.

    It's not really new news either. I think I remember that report from about a year ago when RFIDs in our passports became an issue and Tanenbaum raised those concerns. So is this something new or do the old news get repeated for a lack of anything new?

    Must be summer, all the politicians are on holiday...

    --
    We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
  6. A mere 127 bytes? If only they had more by davidwr · · Score: 2, Insightful

    Just imagine what they could do with a mere half a megabyte.

    --
    Knowledge is how to play a game, intelligence is how to win, wisdom is knowing what game to play.
  7. Re:Like the JPEG "virus" by morgan_greywolf · · Score: 3, Insightful
    Perhaps there needs to be some catchy name for this type of attack, but really it's just a new example of the common overflow bug.


    How's about "programmer dumbass attack"? Seems quite apt, to me. Any programmer worth his salt knows that he has to check for invalid data, yet so many software developers (both open source and closed source) let code go to production levels that fails to perform even the most basic of validations.

    Maybe we need to send a bunch of programmers back to basic training! "Security boot camp"! Only let's make it real tough: make them all write basic currency conversion programs and for every piece of invalid data that makes it through without being validated, that program's author loses a finger! That'll teach 'em! :-P
  8. Re:Like the JPEG "virus" by Anonymous Coward · · Score: 5, Insightful

    Absolutely. This is just like the Windows JPEG "virus" that was due to buggy JPEG parsing. Describing RFIDs as an attack vector is appropriate, but inert data can not be a virus.

    Inert data can certainly be a virus: that's especially true in biology, where the entire virus metaphor arose in the first place. After all, virus is an piece of inert genetic data. When in contact with a live host, it alters the behaviour of the host; but without a host system to carry it, viruses are inert. Some people like to characterize them as the boundry case between "living" and "non-living": they're an inert substance that alter living beings in a self-replicating way to make more of themselves; in that sense, they "reproduce", despite not being "alive".[1]

    As for your original point, you're right that it's probably not correct to call RFID tag exploits "viruses": but not because viruses are inert. It's because the RFID virus is not being copied on by the host system it contacts; although, it sounds like it should be possible to craft a virus that does, assuming you could infect the RFID code writing software.

    --
    AC
    [1] People debate terms like "alive", "dead", "reproduce" for hours on end, until they realize they're arguing over definitions, which by definition is pointless....

  9. "The" Andrew S. Tannenbaum by x-guru · · Score: 2, Insightful

    I just wanted to point out that the "Computer Science professor" mentioned in the /. blurb is "The" Andrew S. Tannenbaum, inventor of minix, and author of several textbooks used in Computer Science programs nationwide.

    Personally, I would not have posted that article without attaching these links. Tannenbaum is a key player in modern computer science research and education.

    Check out his homepage
    and his Wiki biography.

  10. Re:Like the JPEG "virus" by RovingSlug · · Score: 3, Insightful

    Perhaps there needs to be some catchy name for this type of attack

    How about "poison" instead of "virus", since its presence may cause illness or death but does not self replicate. As in "attackers injected poison RFID tags into system, which is now inoperable until repairs are made."

  11. Re:Makes me kind of glad by Anonymous Coward · · Score: 1, Insightful

    The tag in your head wouldn't be the problem. All the tag in your head does is say, "I AM HERE" when exposed to a magnetic field-- it does not receive anything. It's not even a virus in the classical, computer science sense -- more like fitting a square peg in a round hole. You might be able to do it, but you'll probably break the hole doing so. That's not the fault of the peg (the RFID chip), but rather the person (the software) not recognizing what is garbage data. Thus, if a malicious person knows a particular SCANNING device is susceptible to bad input errors, they could write an RFID tag to screw up that machine.

    The problem is in the software which hears the message broadcast by the chip. The software could be poorly coded so that the device READING your chip can crash if it doesn't understand the message your chip is broadcasting.

    So directly speaking, you wouldn't keel over and die from an RFID "virus". However, you would probably want to stay away from an RFID scanning robot that could tear your head off thinking it's a package to put on the conveyor belt.