Showing posts with label RFID. Show all posts
Showing posts with label RFID. Show all posts

Thursday, August 6, 2009

Feds at DefCon Alarmed After RFIDs Scanned

Via Wired.com -

It’s one of the most hostile hacker environments in the country –- the DefCon hacker conference held every summer in Las Vegas.

But despite the fact that attendees know they should take precautions to protect their data, federal agents at the conference got a scare on Friday when they were told they might have been caught in the sights of an RFID reader.

The reader, connected to a web camera, sniffed data from RFID-enabled ID cards and other documents carried by attendees in pockets and backpacks as they passed a table where the equipment was stationed in full view.

It was part of a security-awareness project set up by a group of security researchers and consultants to highlight privacy issues around RFID. When the reader caught an RFID chip in its sights — embedded in a company or government agency access card, for example — it grabbed data from the card, and the camera snapped the card holder’s picture.

But the device, which had a read range of 2 to 3 feet, caught only five people carrying RFID cards before Feds attending the conference got wind of the project and were concerned they might have been scanned.

Kevin Manson, a former senior instructor at the Federal Law Enforcement Training Center in Florida, was sitting on the “Meet the Fed” panel when a DefCon staffer known as “Priest,” who prefers not to be identified by his real name, entered the room and told panelists about the reader.

“I saw a few jaws drop when he said that,” Manson told Threat Level.

“There was a lot of surprise,” Priest says. “It really was a ‘holy shit,’ we didn’t think about that [moment].”

Law enforcement and intelligence agents attend DefCon each year to garner intelligence about the latest cyber vulnerabilities and the hackers who exploit them. Some attend under their real name and affiliation, but many attend undercover.

Although corporate- and government-issued ID cards embedded with RFID chips don’t reveal a card holder’s name or company — the chip stores only a site number and unique ID number tied to a company or agency’s database where the card holder’s details are stored — it’s not impossible to deduce the company or agency from the site number. It’s possible the researchers might also have been able to identify a Fed through the photo snapped with the captured card data or through information stored on other RFID-embedded documents in his wallet. For example, badges issued to attendees at the Black Hat conference that preceded DefCon in Las Vegas were embedded with RFID chips that contained the attendee’s name and affiliation. Many of the same people attended both conferences, and some still had their Black Hat cards with them at DefCon.

But an attacker wouldn’t need the name of a card holder to cause harm. In the case of employee access cards, a chip that contained only the employee’s card number could still be cloned to allow someone to impersonate the employee and gain access to his company or government office without knowing the employee’s name.

Since employee access card numbers are generally sequential, Priest says an attacker could simply change a few digits on his cloned card to find the number of a random employee who might have higher access privileges in a facility.

“I can also make an educated guess as to what the administrator or ‘root’ cards are,” Priest says. “Usually the first card assigned out is the test card; the test card usually has access to all the doors. That’s a big threat, and that’s something [that government agencies] have actually got to address.”"

In some organizations, RFID cards aren’t just for entering doors; they’re also used to access computers. And in the case of RFID-enabled credit cards, RFID researcher Chris Paget, who gave a talk at DefCon, says the chips contain all the information someone needs to clone the card and make fraudulent charges on it — the account number, expiration date, CVV2 security code and, in the case of some older cards, the card holder’s name.

The Meet-the-Fed panel, an annual event at DefCon, presented a target-rich environment for anyone who might have wanted to scan government RFID documents for nefarious purposes. The 22 panelists included top cybercops and officials from the FBI, Secret Service, National Security Agency, Department of Homeland Security, Defense Department, Treasury Department and U. S. Postal Inspection. And these were just the Feds who weren’t undercover.

It’s not known if any Feds were caught by the reader. The group that set it up never looked closely at the captured data before it was destroyed. Priest told Threat Level that one person caught by the camera resembled a Fed he knew, but he couldn’t positively identify him.

“But it was enough for me to be concerned,” he said. “There were people here who were not supposed to be identified for what they were doing … I was [concerned] that people who didn’t want to be photographed were photographed.”

Priest asked Adam Laurie, one of the researchers behind the project, to “please do the right thing,” and Laurie removed the SD card that stored the data and smashed it. Laurie, who is known as “Major Malfunction” in the hacker community, then briefed some of the Feds on the capabilities of the RFID reader and what it collected.

-----------------------------

Ummmm...this isn't exactly a new threat.....hopefully the feds got a little taste of the public concern about the government throwing RFID in everything we own.

Tuesday, February 3, 2009

Drive-By 'War Cloning' Attack Hacks Electronic Passports, Driver's Licenses

Via DarkReading -

With a $250 used RFID scanner he purchased on eBay and a low-profile antenna tucked away in his car, a security researcher recently cruised the streets along Fisherman's Wharf in San Francisco, where he captured -- and cloned -- a half-dozen electronic passports within an hour.

Chris Paget, who will demonstrate the privacy risks with these IDs at the Shmoocon hacker confab later this week in Washington, D.C., coined this newest RFID attack "war cloning" given its similarity to war-driving, or wireless sniffing. "War cloning -- it's the new hacker sport," he says.

The security weaknesses of the EPC Gen 2 RFID tags, which lack encryption and true authentication, have been well-known and of concern to privacy advocates for some time. These tags are being used in the new wallet-sized passport cards that the U.S. Department of Homeland Security offers under the new Western Hemisphere Travel Initiative for travel to and from Western Hemisphere countries. The e-cards are aimed at simplifying and speeding up the border-crossing process, providing U.S. Customs and border agents with information on the individual as he or she queues up to inspection booths at the border.

Until now, security researchers for the most part have shied way from hacking away at the new e-passports and e-driver's licenses to illustrate the potential privacy problems because the necessary scanners are expensive -- nearly $3,000 new -- and tough to get. "I found a way to procure equipment on the cheap and repair it and make it do exactly what I wanted it to do," Paget says.

Unlike previous RFID hacks that have been conducted within inches of the targeted ID, Paget's hack can scan RFID tags from 20 feet away. "This is a vicinity versus proximity read," he says. "The passport card is a real radio broadcast, so there's no real limit to the read range. It's conceivable that these things can be tracked from 100 meters -- a couple of miles."

Paget says he was able to drive his car at 30 miles per hour and capture an RFID tag in a matter of seconds. "The software for [copying them] lets you just choose the tag you want to copy, wave a blank tag in front of it, and it writes it out," he says.

The only protections these RFID tags include is one code that makes the tag read-only, and another that makes it self-destruct. But there are multiple ways to recover those codes, so they are basically ineffective, he says.

"This is just simply the wrong technology," says Paget, who conducted the RFID research independently. "My goal is to inform people about the risks with these things and how much impact it could have on your personal privacy and security if you don't keep [these IDs] in a protective wallet or if you carry it on your person."

Paget says the RFID chip technology found in traditional passport books, however, is better because it has encryption and authentication features. He suggests the federal government replace the e-passport RFID chips with the RFID chips used in the passport books.

For his Shmoocon presentation, Paget will borrow his boss' e-passport and clone it on-stage. "If anyone else has one they want copied, I can absolutely do that as well," says Paget, who is the technical lead for research and testing in information security at eBay. He also plans to borrow a friend's car and do a little war-driving in the nation's capital.

Sunday, January 25, 2009

Food Poisoning Outbreaks Could Boost RFID

Via ComputerWorld -

Recent national outbreaks of E.coli and salmonella poisoning are likely to prompt government mandates requiring that food products be tracked throughout their life cycles — and that could prove to be a boon for radio frequency identification technologies.

The new mandates would come just as other first-generation track-and-trace tools start to spread through the pharmaceutical industry, which was the first to face such government mandates, analysts said.

So far, bar-code systems and pen-and-paper processes are the most popular drug-tracking tools, but observers expect RFID to emerge as the long-term technology of choice in both the pharmaceutical and food industries.

Roy Wildeman, an analyst at Forrester Research Inc., suggested that the advantages of RFID — such as ease of use, the ability to track individual products packed in crates and the ability to scan from significant distances — have so far been overshadowed by the technology's high price tag.

According to a Forrester study, a multibillion-dollar manufacturer can expect to spend $2 billion to $3 billion in start-up costs to implement RFID.

And once the technology is ready for use, companies face significant annual costs, Wildeman added, noting that the average price of 19 cents per RFID tag could mean that it would cost tens of millions of dollars per year to tag millions of items.

Nonetheless, "I think you'll see a cascading wave of [RFID] adoption in the [pharmaceutical and food and beverage] sectors, especially with growing mandates," Wildeman said. "It will be about public sentiment about food-related illnesses. I think that will bring pressure for the government to take action."

Friday, January 2, 2009

25C3: Many RFID Cards Poorly Encrypted

Via Heise Security -

Karsten Nohl, the security investigator who had a big hand in cracking NXP's Mifare Classic chips, says many RFID smartcards from other manufacturers are also vulnerable to a simple hacker attack. He told the 25th Chaos Communication Congress (25C3) in Berlin that "Almost all RFID cards use weak proprietary encryption systems" and only the latest types were any better. For example, several generations of Legic, HID and Atmel cards have holes in their armour.

RFID cards are used today to control access to buildings, rooms, cars or electronic devices. Mifare chips are also widely used in payment systems, such as those in short-distance public transport. The general expectation is that such RFID tags, all operating on the same frequency of 13.56 MHz, will evntually be used as generic identifiers for products and people, and they are already in use in passports and credit cards. However, said Nohl, the chip manufacturers have so far criminally neglected the standard of encryption used by these chips and the standard of the reading systems, which ought to satisfy the requirements of both data protection and system security.

Friday, December 5, 2008

Another 'Encrypted' Drive Vendor Outed

Via Heise Security -

Another encrypting USB hard disk housing with RFID technology is put on the market – again the vendor advertises AES encryption – and once more, we manage to crack its encryption within a few minutes.

With its Digittrade Security hard disk, the German vendor Digittrade has launched another hard disk housing based on the unsafe IM7206 controller by the Chinese manufacturer Innmax. The German vendor prominently advertises the product's strong 128-bit AES encryption on its packaging and web page. In practice, however, the hard disk data is only encrypted using a primitive XOR mechanism with an identical 512-Byte block for each sector. This type of encryption is easily cracked, even without in-depth cryptography knowledge; in our test, unscrewing the housing took longer than cracking its encryption mechanism.

Earlier this year heise Security demonstrated that the Innmax controller does not use AES data encryption. According to Innmax, the controller only uses the AES algorithm for encrypting the RFID chip's ID, while the data is encrypted with an unspecified proprietary algorithm. Despite this, Innmax continues to advertise the chip with AES encryption, cleverly neglecting to give details about what exactly is encrypted via AES.

When confronted with the problem, Digittrade remained unrepentant. The vendor informed us that it doesn't advertise AES data encryption and that it points out that the "data on the hard disk is protected using an additional, different method". However, statements like "All the information is encrypted with 128-Bit AES" printed on the security hard disk's packaging, unequivocally convey that any illegitimate access would require the perpetrator to crack an AES encryption mechanism. According to current cryptography research, this would be virtually impossible, even with a short key length of only 128 bits. In practice, gaining access to the data on this hard disk, takes less than ten minutes.

Tuesday, November 25, 2008

US Rolls Out 'Vicinity RFID' to Check IDs in Moving Vehicles

Via The Register UK -

RFID technology that allows the remote identification of travellers in moving vehicles is being rolled out at US land border crossings this month. Crossing points with Canada at Blaine, and with Mexico at Nogales, came online last week, with Buffalo, Detroit and San Ysidro to follow, and a total of 39 planned.

The system uses the US PASSport (People, Access Security Service) card, which is intended to operate within the Western Hemisphere Travel Initiative (WHTI) for US citizens entering the US via land and sea ports. Using "Vicinity RFID" it can read the cards from a healthy skimming distance of 20-30 feet, but according to the Department of Homeland Security this isn't a problem. The RFID chip on the card doesn't contain any personal information, only a unique identification number, and skimmers wouldn't have access to the data the number matches up with.

The system is intended to work like this. As a vehicle approaches the border post, the numbers of the cards inside it are read, and pictures and data on the holders are called up from a database. Then, presumably, the immigration officers check the faces of the passengers to make sure they match, and bust any who happen to be flagged as terrorists or loose criminals.

In addition to the PASSport card, some US states are beginning to issue Enhanced Driver's Licence/ID cards (EDL/ID), which have the PASSport RFID functionality added to a standard driver's license. These can also be used for land or sea entry to the US, but neither variety of card is valid elsewhere, or for WHTI air travel into the US. Obviously, they'd only be of any use at anybody else's border post if there were compatible readers there, and if the US had kindly shared its ID database with the relevant country.

So it's an internal passport system, one that's entirely incompatible with the biometric ID system that the US has gone to such pains to get the world to adopt. Were they only kidding, then?

Thursday, October 30, 2008

Programming Tools for Cracking Mifare Published

Via Heise Security -

A hacker using the pseudonym Bla has published an open source tool called Crapto1 for cracking the encryption of the Mifare Classic RFID chip, as used in the Oyster Card. Besides an implementation in C of the vulnerable Crypto1 algorithm, the archive also contains the C source code for an attack that has been described in a paper by Dutch security researchers at Radboud University.

Using the tool it is said to be possible to calculate the access code of a Mifare Classic card within around two seconds. All an attacker requires is a live recording of an encrypted radio communication between the card and a legitimate reader, as well as a little programming knowledge. The access code then allows him not only to decode the encrypted data, but also to manipulate the card's content virtually without limit and to clone it to obtain services fraudulently.

Tuesday, October 7, 2008

Long Awaited Mifare Classic RFID Research Released

http://www.ru.nl/ds/research/rfid/

On March 7, 2008, research by the Digital Security group has revealed a security vulnerability in Mifare Classic RFID chips, the most commonly used type of RFID chip worldwide, that affects many applications using Mifare Classic.

We have demonstrated that the proprietary CRYPTO1 encryption algorithm used on these cards allows the (48 bit) cryptographic keys to be relatively easily retrieved. Especially for RFID applications where the same common shared key is used on all RFID cards and card readers, which may be the case for instance in access control to buildings, this constitutes a serious risk.

[...]

The research was presented at the Esorics 2008 conference. The manufacturer of the Mifare Classic, NXP, has tried to obtain a court injunction against publication. But the judge ruled against NXP on July 18, see the university press release (English and Dutch) and the court ruling (in Dutch only).

Results

NEW The main paper is the ESORICS paper, which describes the cryptographic weaknesses of CRYPTO1, and the process of reverse engineering CRYPTO1 and its initialisation.

NEW The manuscript "Making the Best of Mifare Classic" contains countermeasures which can help to prevent state restoration attacks and to detect attempted cloning of cards.

NEW The paper "In sneltreinvaart je privacy kwijt" (in Dutch) gives an analysis of the privacy protection that the current Dutch OV-chipkaart offers. This will appear in Privacy & Informatie.

The CARDIS paper contains earlier results on the Mifare Classic, in particular the first practical attack, which exploits the malleability of the stream cipher, and the reverse engineered command set of the Mifare Classic.

The Master's thesis of Gerhard de Koning Gans is the work on which the CARDIS paper is based. Moreover, the process of programming the Proxmark3 is described in this thesis.

The Master's thesis of Roel Verdult describes a cloning attack on the Mifare Ultralight, which is the little sister of the Mifare Classic, and which has no encryption on board. Moreover, it describes the Ghost emulator device, which has been essential in the process of reverse eningeering CRYPTO1.

The report "Proof of concept, cloning the OV-Chip card" describes the practical execution of a cloning attack of the Mifare Ultralight in a non-technical manner.

Two German researchers, Karsten Nohl and Henryk Plötz have also been reverse engineering the CRYPTO1 algorithm. Their presentation at CCC is available online and contributed to our understanding of CRYPTO1.

Thursday, October 2, 2008

California Outlaws RFID Tag Skimming

Via The Register UK -

California governor Schwarzenegger has signed a law making the illegitimate reading of RFID tags illegal, but blocked a measure making the unauthorised tracking of kids equally so.

RFID Journal reports that anyone skimming an RFID tag issued by a government agency, health insurance company, employer or library could find themselves in prison for up to a year, or facing a $1,500 fine, though you're OK if you read it by accident, for a medical emergency or if you're a law-enforcement official.

The measure also protects RFID tags issued by schools, which is good, because schools aren't required to tell parents that their kids are being RFID-equipped, thanks to the governor's blocking of law that would have required parental consent.

Anti-skimming laws are popping up all over the place: Washington passed one back in May, and Japan has had anti-skimming legislation since 2005. In many countries computer-hacking laws already cover the illegitimate reading of personal data, even if that data only comprises an identification number, but many of those still need to be tested in court before the legality of such action is known for sure.

The US passport comes with a foil wrapper designed to prevent skimming of the RFID data, but it's been shown to fail if the passport is even slightly open. The UK Passport Office has made no such attempt, making skimming technically easy if allegedly pointless.

The idea is that an RFID tag contains only an ID number, so if someone reads it then there's no problem as they still won't match up with the data connected to that number. The Hacker's Choice recently demonstrated an electronic passport programmed with Elvis' identity - but it's only useful if the immigration staff are relying on the technology to do their job, if the look at the picture they might notice that the carrier is not the long-dead crooner he claims to be.

UK company Peratech has been pushing its quantum-tunnelling technology, able to create a switch with no moving parts, as the solution to skimming/ The user would have to press on a button before the tag would operate, but while that might be feasible for a passport it's a little less practical on an Oyster Card.

California's new law is unlikely to put off serious fraudsters - it's more likely that legislation like this will be used to add weight to a case of actual fraud or theft.

Tuesday, September 30, 2008

The Risk of ePassports and RFID

Via THC Blog (The Hacker's Choice) -

Today vonJeek/THC released his tool and a video how to duplicate (clone) and modify a Passport with RFID chip.

http://freeworld.thc.org/thc-epassport/

The weakness is in the way the system has been rolled out. The terminal accepts self-signed data.

This attack is different to the grunwald attack. VonJeek's attack makes it possible to copy, forge and modify the data so that it is still accepted as a genuine valid passport by the terminal.

Using a Certification Authority (CA) could solve the attack but at the same time introduces a new set of attack vectors:

1. The CA becomes a single point of failure. It becomes the juicy/high-value target for the attacker. Single point of failures are not good. Attractive targets are not good.

Any person with access to the CA key can undetectably fake passports. Direct attacks, virus, misplacing the key by accident (the UK government is good at this!) or bribery are just a few ways of getting the CA key.

2. The single CA would need to be trusted by all governments. This is not practical as this means that passports would no longer be a national matter.

3. Multiple CA's would not work either. Any country could use its own CA to create a valid passport of any other country. Read this sentence again: Country A can create a passport data set of Country B and sign it with Country A's CA key. The terminal will validate and display the information as data from Country B.

This option also multiplies the number of 'juicy' targets. It makes it also more likely for a CA key to leak.

Revocation lists for certificates only work when a leak/loss is detected. In most cases it will not be detected.

So what's the solution? We know that humans are good at Border Control. In the end they protected us well for the last 120 years. We also know that humans are good at pattern matching and image recognition. Humans also do an excellent job 'assessing' the person and not just the passport. Take the human part away and passport security falls apart.

Never let a computer do a job that can be done by a human.

Friday, September 5, 2008

New RFID Driver's Licenese in Border States

Via Sciam -

If you live in a state bordering Canada or Mexico, you may soon be given an opportunity to carry a very high tech item: a remotely readable driver’s license. Designed to identify U.S. citizens as they approach the nation’s borders, the cards are being promoted by the Department of Homeland Security as a way to save time and simplify border crossings. But if you care about your safety and privacy as much as convenience, you might want to think twice before signing up.

The new licenses come equipped with radio-frequency identification (RFID) tags that can be read right through a wallet, pocket or purse from as far away as 30 feet. Each tag incorporates a tiny microchip encoded with a unique identification number. As the bearer approaches a border station, radio energy broadcast by a reader device is picked up by an antenna connected to the chip, causing it to emit the ID number. By the time the license holder reaches the border agent, the number has already been fed into a Homeland Security database, and the traveler’s photograph and other details are displayed on the agent’s screen.

Although such “enhanced” driver’s licenses remain voluntary in the states that offer them, privacy and security experts are concerned that those who sign up for the cards are unaware of the risk: anyone with a readily available reader device—unscrupulous marketers, government agents, stalkers, thieves and just plain snoops—can also access the data on the licenses to remotely track people without their knowledge or consent. What is more, once the tag’s ID number is associated with an individual’s identity—for example, when the person carrying the license makes a credit-card transaction—the radio tag becomes a proxy for that individual. And the driver’s licenses are just the latest addition to a growing array of “tagged” items that consumers might be wearing or carrying around, such as transit and toll passes, office key cards, school IDs, “contactless” credit cards, clothing, phones and even groceries.

Tuesday, August 19, 2008

Federal Judge Throws Out Gag Order Against Boston Students in Subway Case

Via Wired.com -

A federal judge in Boston this morning threw out a temporary gag order against three MIT students who were prevented from presenting a talk on security vulnerabilities in the Boston subway's fare tickets and cards.

U.S. District Judge George A. O'Toole, Jr., vacated the temporary 10-day restraining order that another judge had instituted last Saturday against the students and which was scheduled to expire today. District Judge O'Toole also threw out a request by the Massachusetts Bay Transportation Authority (MBTA) to obtain a preliminary injunction against the students to expand the restraining order beyond the original 10 days.

"It's great news for the free speech rights for these students," said Rebecca Jesche, a spokeswoman for the Electronic Frontier Foundation, which represented the students. "Although it's extremely unfortunate that the students were not allowed to give their talk at DefCon."

The students had planned to give their talk last Sunday at the DefCon hacker conference in Las Vegas. The talk was based on a research project and paper that they had submitted for a class taught by their MIT professor, noted cryptographer Ron Rivest. The paper had earned them an "A."

A week before the scheduled DefCon talk, the students had met with the MBTA to discuss the transit authority's concerns that the students would teach others how to defraud the system. The students reassured the transit authority that they would withhold key information from their talk and would not be teaching someone how to defraud the system. They were under the impression after that meeting that the MBTA was fine with their talk. They were then surprised to learn, two days before their presentation, that the MBTA had filed a suit and a motion for a restraining order. When a different federal judge, District Judge Douglas Woodlock, granted the restraining order, the decision was criticized as an unconstitutional prior restraint of speech.

In granting the restraining order, District Judge Woodlock had invoked the Computer Fraud and Abuse Act, implying that the students' speech about how the MBTA system was vulnerable to hacking was equivalent to someone actually hacking the MBTA system -- or at least aided that illegal hacking activity.

District Judge O'Toole, in vacating the restraining order this morning, essentially ruled that the Computer Fraud and Abuse Act does not apply to speech and that the MBTA had failed to supply sufficient proof to merit other claims with regard to the statute, to merit a restraining order or preliminary injunction.

"It was definitely unfair to use that statute to silence the students," Jesche said. "We certainly hope the next time that people are allowed to present their important research instead of being silenced by bogus lawsuits."

Zack Anderson, one of the students sued in the case (and the second person from the right in the picture above), was elated by the judge's decision today.

"We're glad the court actually saw things as they should be," the 21-year-old told Threat Level. "We're glad the court read the law correctly."

Although the restraining order has gone away, it doesn't mean the students are completely in the clear. Still standing is a lawsuit the MBTA has filed against them, accusing them of hacking its system and causing damages.

----------------------

I am happy to see this result, but I fear the MBTA won the battle (even tho they lose the war).

They were successful in keeping the students from giving their talk @ Defcon - which should not have been the case.

Lets look back. The MBTA ended up releasing more information than the students ever intended to make public...so why did the MBTA do it?

I can only guess it was an attempt to save face in front of an informed public (i.e. Defcon).

But this is a battle, they clearly lost as well.

Friday, August 15, 2008

MBTA Submits Confidential Security Report as Evidence, Making it Public

Via ZDNet -

Something most troubling in the email exchange between Electronic Frontier Foundation lawyer Jennifer Granick and MBTA attorney Leuan Mahony, posted by News.com. The essence is that MBTA itself included the MIT students’ confidential report (PDF) to MBTA on their security weaknesses as an exhibit in their complaint and it is now a public document.

The students identify the problems:

  • Value is stored on card not in a central database
  • Anyone with a card can read and write to it
  • No crypto signature algorithm
  • No centralized card verification
[...]

According to the email exchange, EFF warned MBTA that by including the report in its court filing MBTA – not the students – had exposed a critical bit of information on how to hack the cards. “We strongly urge you to take emergency measures to have it removed expeditiously,” EFF’s Granick wrote on Saturday afternoon.

The MBTA’s response, from an email by Mahoney:

The MBTA’s evaluators do not assess the risk of this information at the level you set in your email. The MBTA, with vendor support, has begun work on internal responses to the potential security risks at issue. It is our view that an internal, technical and personnel response is the best long-term solution. Accordingly, we do not share your view that legal “emergency measures” are required.

[...]

So the situation that the judge must consider this morning: the students confidentially alerted MBTA as to a specific, critical vulnerability; they withheld the information from their presentation; MBTA perhaps unwittingly made the document public in their request for TRO; MBTA was alerted to the danger that they – not the students – created; and concluded that it was not worth the effort to get the document removed from the public record.

Now you be the judge. How would you view MBTA’s demand for a permanent injunction?

----------------------------

Wow. Not only did the MBTA help destroy any "bag" that was holding the cat...they helped it mate and delivered its offspring..lol

These MBTA guys are well beyond their scope of understanding....with this useless TRO.

This now public security report includes checksum details required to forge CharlieTickets:

Thursday, August 14, 2008

EFF Urges Judge to Lift Gag Order on MIT Students

Via the EFF Deeplinks -

Boston - The Electronic Frontier Foundation (EFF) urged a federal judge Tuesday to lift an unconstitutional gag order issued to three students at the Massachusetts Institute of Technology (MIT) whose academic research uncovered vulnerabilities in Boston's transit fare payment system.

A hearing on the temporary restraining order is set for 11am Thursday at the United States District Court for the District of Massachusetts in Boston.

The students -- Zack Anderson, RJ Ryan and Alessandro Chiesa -- would like to resolve this dispute amicably with the Massachusetts Bay Transit Authority (MBTA). However, it has been hard to find an amicable resolution when the students are the subjects of a vigorous lawsuit and under the restrictions of a temporary restraining order. This remains true even though the MBTA filed a motion earlier this week to modify the restraining order to only prohibit disclosure of "non-public" information.

"We appreciate the gesture," said EFF Staff Attorney Marcia Hofmann. "But it does not resolve the dispute. Indeed, we would hope everyone acknowledges that it is impermissible under the Constitution for a court to order someone not to repeat publicly available truthful information."

"The restraining order, even if modified, remains an improper prior restraint restricting speech," said EFF Civil Liberties Director Jennifer Granick. "The First Amendment does not allow people to be silenced because their speech exposes flaws, even if those flaws might someday be illegally misused by others. To protect our clients' rights, we had no choice but to ask the court to reconsider the gag order."

----------------------

MBTA opened up a can of worms...and now attempts to squeeze them back into the can as they look around say "Who did this...we didn't do this! We would never...."

Not going to work guys...sorry.

Check out the "Students' response to plaintiff's motion to modify terms". I love the following paragraph...
Second, most, if not all, of the significant facts known to the students about the Fare Media System are now public, either because they are contained in the slides prepared for and distributed at DEFCON before the TRO issued, or because the MBTA filed research information provided to it by the students on the public docket in this case.
In simple terms, the cat was never in the bag...and if it were "ever" in a bag, the MBTA released it while attempting to trap it. Classic.

Tuesday, August 12, 2008

MIT Students' Response to MBTA Statements

Via EFF DeepLinks -

Yesterday, the Massachusetts Bay Transportation Authority issued a statement to CNET that misrepresents the facts leading up to the MBTA's lawsuit against three MIT students. The statement said:

A week ago, the MBTA learned about the presentation to be made at the conference, and immediately contacted MIT. At a meeting last Tuesday involving all the parties, MIT staff and the students agreed to provide the MBTA with a copy of the presentation. After several days passed without getting any information from MIT, the MBTA had no choice but to seek assistance from a federal court judge on Friday. At 4:30 a.m. on Saturday, the presentation was finally provided to the MBTA. Staff is thoroughly reviewing the information to determine if there is any degree of substance to the claims being made by the students.

The MIT students would like to clarify a few facts:

  • The MIT students, through their Professor Ron Rivest, initiated contact with the MBTA. The students wanted to let the MBTA know what they found and wanted to provide some ideas about how to fix the system.
  • The meeting referenced in the MBTA's statement was held on Monday, not Tuesday.
  • In the course of the Monday meeting, the MIT students confirmed that the DEFCON presentation would not provide technical details sufficient for others to use their research to defeat the security systems in place at the MBTA. To address the concerns raised by the MBTA, the MIT students asked DEFCON to revise the description of the presentation originally posted on the conference website.
  • After the Monday meeting, the students understood that the MBTA's concerns were resolved, and that the students were to provide a confidential vulnerability assessment by the end of the week. Contrary to the MBTA statement, the students did not believe that the MBTA wanted to see a copy of the presentation slides, and they did not agree to provide them to the MBTA.
  • Between the Monday meeting and Friday, there were communications between various people involved in this dispute, including (contrary to the MBTA statement) communications between MIT Professor Rivest and the MBTA.
  • The students provided the MBTA with a confidential vulnerability assessment by the end of the week and prior to their scheduled presentation, as promised. The vulnerability assessment was marked "Confidential" because the MIT students felt it was in the best interests of the MBTA to keep the information in the report confidential.
  • The students did not understand that the MBTA wanted a copy of the presentation slides until Friday.
  • The MBTA went to court on Friday afternoon before providing notice to the MIT students of their intent to sue, and sought an immediate hearing. The MBTA's actions deprived the students of an opportunity to have representation in court on Friday at the initial hearing held in the federal district court in Boston. (A subsequent hearing was held Saturday morning.)
  • EFF began representing the MIT students Friday afternoon, when the lawsuit was filed. EFF advised the students not to send further materials to the entity that had just sued them before EFF attorneys in Las Vegas had a chance to review the lawsuit. The presentation slides were sent to the MBTA's counsel at 1:30 a.m. Nevada time.

In addition, the MBTA issued a statement today to the Boston Globe:

"There have been claims in the past that have been made against our card or other cards, and, happily, they've all been able to be dismissed or dealt with," said Daniel A. Grabauskas, general manager of the Massachusetts Bay Transportation Authority. "I'm confident it will be the same thing here."

This statement illustrates the First Amendment problems of the temporary restraining order. Due to the unconstitutional prior restraint obtained by the MBTA, the students are unable to respond substantively to this statement and meaningfully participate in the public debate over whether the MBTA uses adequate security measures.

----------------------

In case, you haven't seen the story yet...read some of the background from EFF.

I'm proud to say the Sunday timeslot was filled by a Dutch journalist which outlined the Mifare Classic European research in a very informative time-line fashion to a room packed full of freedom loving people - which included "your's truly".

Study: RFID Scan Accuracy Drops As Number Of Items Increases

Via StoreFrontbacktalk.com -

The more RFID-tagged items retailers place on Z-bars or shelves, or in boxes, the lower the read rate will be when those items are scanned, according to a study out of the University of Arkansas. By setting up store-like scenarios in a university lab, researchers conducted three feasibility test scenarios of RFID tagged apparel and shoes.

What they found was that when an associate scanned items, the number of items scanned affected the read rate. For example, researchers scanned RFID items hung on a rounder. When there were 97 items, they found a 99.38 percent read rate. Compare that to the 89.89 percent accuracy of 180 items scanned.

------------------------

I wonder if Best Buy will ever start to use RFIDs.... ;)

Saturday, August 9, 2008

DefCon: Boston Subway Officials Sue to Stop Talk on Fare Card Hacks

Via Wired Blog -

LAS VEGAS -- The Massachusetts Bay Transportation Authority filed a suit in federal court on Friday seeking a temporary restraining order to prevent three undergraduate students from the Massachusetts Institute of Technology from presenting a talk at the DefCon hacker conference this weekend about security vulnerabilities in payment systems used in the Massachusetts mass transit system.

The transit authority, known as the MBTA, is seeking to prevent the students from "publicly stating or indicating" that electronic passenger tickets used on the transit system have been compromised until the MBTA can fix security flaws in the system. It further seeks to bar the students from releasing any tools or providing any information that would allow someone to hack the transit system and obtain free rides.

The MBTA says disclosure of the flaws, before it has a chance to fix them, will cause irreparable harm to the transit system.

The three student researchers, Zack Anderson, R.J. Ryan and Alessandro Chiesa, are scheduled to give a talk Sunday afternoon entitled "The Anatomy of a Subway Hack: Breaking Crypto RFIDs & Magstripes of Ticketing Systems."

According to a description of the talk posted on the conference website, the students plan to discuss vulnerabilities in the fare collection system of Boston's T subway system and to demonstrate how they reverse engineered the mag stripe on paper passenger tickets known as the CharlieTicket as well as how they cracked smartcard tickets known as the CharlieCard. They also plan to release several open source tools that they created in the course of their transit card research.

The MBTA, which oversees the T subway, operates the fifth largest transit system in the United States, servicing 175 towns and cities. It uses both the CharlieTicket and the CharlieCard in its passenger payment system. The CharlieCard, which was first used in January 2007, provides the MBTA with nearly $500,000 in revenue per weekday, according to the court documents. More than 68 percent of passengers use it to pay their fare.

The CharlieCard is a MiFare Classic card, which was the subject of much controversy earlier this year after Dutch researchers showed how they were able to hack the cards. But the MBTA says in the court papers that it has substantially enhanced the security of its MiFare cards with proprietary encryption, making previously reported flaws with the MiFare Classic card irrelevant to the CharlieCard.

The MBTA filed its suit in the U.S. District Court in Massachusetts against the three students and their university, stating that the students violated the Computer Fraud and Abuse Act in accessing protected MBTA computers without authorization and seeking unspecified damages. The MBTA also asserts that MIT and the student's supervisor, computer science professor Ron Rivest, failed to properly supervise the students to prevent them from attacking and harming the transit system.

The MBTA first became aware of the researchers' talk on July 30 when one of its vendors pointed it to the DefCon website where the talk was listed on the conference schedule. A description of the talk began with the provocative line, "Want free subway rides for life?" and discussed how the researchers social engineered transit employees to accomplish their hack of the transit cards.

On August 5th, the court documents reveal, a detective with the transit police and an FBI agent met with the MIT students, Rivest, and an MIT lawyer to discuss their concerns and inquire about what the students would disclose in their talk. But the students would not provide the MBTA with a copy of the materials they planned to present in their talk or information about the security flaws they found in the transit system.

After that meeting, however, the MBTA says the description of the talk on the conference website was revised to delete the reference to "free subway rides for life" and alter the comment about social engineering transit employees. (The image below right, taken from the court document, shows changes made to the description of the talk. Text with a line through it indicates deletions; underlined words indicate additions. The original description still appears in the printed version of the schedule that is being handed out to conference attendees.)

The MBTA asserted in the court filing that it sought the restraining order on Friday after again requesting, and failing to receive from the students, a copy of their presentation materials.

Efforts to reach the three students and the MBTA for comment were unsuccessful.

A spokeswoman for the DefCon conference said she was aware that the MBTA had met with the students to discuss the talk but thought the meeting had satisfied the MBTA's concerns. She was not aware that the MBTA had gone to court to halt the talk.

She noted, however, that the restraining order would have little effect in suppressing the information at this point since the speakers' slides were on the conference CD-ROM, which had already been distributed to conference attendees Friday morning.

"The MBTA was a day late," she said.

UPDATE: The Electronic Frontier Foundation is representing the students. A hearing in the case occurred this morning in Massachusetts and a judge issued the restraining order. Jennifer Granick, an attorney with the Electronic Frontier Foundation, said through a DefCon spokeswoman that EFF advised the students to pull their talk.

UPDATE II: Among the documents the MTBA filed with its declaration to the court today is a vulnerability assessment report (.pdf) that the three students gave the MTBA about the flaws in its system. The document is dated August 8, the day the MTBA filed its lawsuit against the students, and is essentially the information the students declined to give the MTBA before it filed its lawsuit.

Ironically, the document reveals more about the vulnerability in the MTBA system than the slides that the restraining order sought to suppress contain. The vulnerability assessment report is now available for anyone to download from the Massachusetts court's electronic records system.

The EFF will be holding a press conference at DefCon this afternoon to discuss the case.

--------------------------

Many of the attacks out for the Mifare Classic cards were outlined during Karsten Nohl's Blackhat talk - "Mifare - Little Security, Despite Obscurity"

Friday, July 18, 2008

Court Rules Mifare Hackers Can Publish Exploit Data

Via arstechnica.com -

London Transport's Oyster Card system was hacked earlier this summer by Dutch researchers who managed to turn a laptop into a mobile card lab to score a day's worth of free rides. Now, a Dutch court has ruled that Radboud University Nijmegen can publish details of the attack later this year, despite protests from the chipmaker involved.

The prevalence of the smartcards, made by Philips spinoff NXP, created huge concerns; the cards are widely used around the world for both public transit (London, Hong Kong, etc.) and building security (the Dutch government), and are common in some government access control schemes. The fact that researchers were able to grab the key wirelessly from a London Transport card reader, then grab card information from passers-by that could be used to generate a counterfeit smartcard, came as something of a shock, but at least it wasn't clear precisely how this was done.

The researchers want to publish details of their work, though, as most researchers do, and they found themselves in court with NXP Semiconductors over the issue. The court cleared the researchers to publish in October 2008, a decision that NXP calls "contradictory to the scientific goal of prevention and the responsible disclosure of sensitive information."

Radbourd won its case in an Arnhem court, and the school is already touting the achievement. The decision to publish the exploit details "falls under the principle of freedom of expression," says the school. "In a democratic society it is of great importance that the results of scientific research can be published.

University researchers found problems with the Mifare Classic chip back in March, and by June were already producing huge headlines in the UK after the London Transport test. NXP, wasting no time, filed for an injunction against the research team in early July. According to the school, though, no injunction was warranted, as it has acted with due care for legitimate security concerns.

"Driven by a sense of social responsibility," said the school in a statement today, "the University immediately and confidentially informed the Dutch Government as well as the manufacturer (NXP) of the results of the independent research on the Mifare Classic Chip. Since March, the researchers have deliberately withheld further details of the imperfections of the chip in order to give those involved, including NXP, the opportunity to take the necessary steps. Publication of the scientific article was anticipated in October 2008 and in June the article was sent confidentially to NXP so that NXP could ask for a legal opinion."

The details are now set to be revealed at an October security conference in Malaga.

For its part, NXP says it is always open to hearing about security problems and wants to work with researchers to improve its products. Still, it "regrets" the current decision because many of NXP's clients won't be able to update their systems by October.

---------------------------

Again, damn right....

Monday, July 14, 2008

Mifare Maker NXP Files Suit Against Security Researchers

Via heise-online.co.uk -

Chip manufacturer NXP, formerly the semiconductor division of Philips and well-known for its Mifare RFID chips, has filed suit against a group of researchers at Radboud University in Nijmegen, Holland. According to information provided by the company, the suit is intended to prevent the scientists from their planned October publication of the results of their research on the poor security of the Mifare Classic chip, a security product that has been sold billions of times over around the world. NXP spokesman Martijn van der Linden told Webwereld.nl web magazine, "We consider publication irresponsible."

The Mifare Classic chip made headlines early this year after scientists associated with the CCC scene, in cooperation with the University of Virginia, derived the secret encryption algorithm from the hardware and discovered glaring security vulnerabilities in it. The work of the Radboud researchers is also based on this information. According to estimates, billions of the chips are in use worldwide, especially in the areas of city transit fare cards, cafeteria cards, and building access control.

In security circles, people are trying to make sense of NXP's actions. One take on it is that the media impact of the suit could slow or prevent other publications related to the Mifare Classic vulnerability. NXP is planning on launching the Classic-compatible Mifare Plus chip, generally considered secure, onto the market early next year. Another reason for the suit may be to take the wind out of the sails of potential legal actions against NXP from large Mifare clients.

Still, it is questionable whether NXP can prevent the details from being published. According to Karsten Nohl, one of the discoverers of the vulnerability, the details can be deduced, by someone with the right expertise, from the papers that have already been published. Nohl believes that the only effect of this suit will be that, "in future, groups doing research on Mifare will simply not send their results to NXP, ahead of time."

----------------------------

A Practical Attack on the MIFARE Classic
http://cryptome.org/mifare-classic.pdf

Thursday, June 26, 2008

Dutch Gov Gags Oyster Researchers

Via The Register UK -

The publication of a scientific paper by Radboud University that discusses design flaws of the MIFARE chip in cards such as the Oyster travelcard may be in jeopardy. Dutch secretary of state Tineke Huizinga has urged the university not to publish any secrets that may lead to abuse.

Last week researchers from Radboud University in Nijmegen revealed they had cracked and cloned London's Oyster travel card. Earlier this year the researchers did the same to the Dutch MIFARE travel card. As a result, the introduction of the €1bn transport payment system in the Netherlands has now been postponed.

The Dutch researchers were planning to publish their scientific paper, appropriately named Dismantling MIFARE Classic, at the European Computer Security Conference Esorics in October, but secretary of state Huizinga has called upon the university to exercise responsibility. Radboud is now declining any media request that specifically addresses the vulnerabilities of the MIFARE chip.

Researcher Bart Jacobs admits that the issue is sensitive, but doesn't believe the publication will threaten present installments of the cards. "A mathematical analysis is not the same thing as writing attack code," Jacobs says in an internal memo. "It requires a lot of expert work to transform the analysis from the Esorics paper into a working device for performing attacks on card installations."

However, he warned that other groups may already have started writing tools and released them on the net.

"Killing the messenger does not solve the problem," Jacobs says. "This paper serves the interest of our society. The problems are real and should be addressed on the basis of sound and well-informed judgment."

----------------------------------

The MIFARE chip is a commercial product that is used by many companies, beyond the British Government....therefore this attempt by the Dutch Gov to restrict this vulnerability knowledge is counter to protecting the security of those affected companies. But this gag attempt is in the best interest of NXP's bottom line...

Again, this is a paper of ideas...not a tool..or a hacking kit...it is pure information.

The truth will be exposed, regardless of an attempt to throw a blanket over it.