• On CHOW: Sexy vampire party
August 9, 2008 10:31 AM PDT

Judge orders halt to Defcon speech on subway card hacking

by Declan McCullagh
  • Font size
  • Print
  • 24 comments

MIT students Alessandro Chiesa, R.J. Ryan, Zack Anderson, and Electronic Frontier Foundation staff attorney Kurt Opsahl speak at a panel turned press conference at Defcon.

(Credit: Declan McCullagh/CNET News)

LAS VEGAS--A federal judge on Saturday granted the Massachusetts transit authority's request for an injunction preventing three MIT students from giving a presentation about hacking smartcards used in the Boston subway system.

The Electronic Frontier Foundation, which is representing the students, anticipates appealing the ruling, said EFF senior staff attorney Kurt Opsahl.

The undergraduate students had been scheduled to give a presentation Sunday afternoon at the Defcon hacker conference here that they had said would describe "several attacks to completely break the CharlieCard," an RFID card that the Massachusetts Bay Transportation Authority uses on the Boston T subway line. They also planned to release card-hacking software they had created, but canceled both the presentation and the release of the software.

U.S. District Judge Douglas Woodlock on Saturday ordered the students not to provide "program, information, software code, or command that would assist another in any material way to circumvent or otherwise attack the security of the Fare Media System." Woodlock granted the MBTA's request after a hastily convened hearing in Massachusetts that took place at 8 a.m. PDT on Saturday.

EFF staff attorney Kurt Opsahl said that the temporary restraining order is "violating their First Amendment rights"; another EFF attorney said a court order pre-emptively gagging security researchers was "unprecedented."

EFF attorneys appeared with the three students--Zack Anderson, R.J. Ryan, and Alessandro Chiesa--in front of a crowd of hundreds at an afternoon session at Defcon, but largely prevented them from answering questions, citing the lawsuit. Although Sunday's talk is canceled, Defcon organizers hinted that there may be a related presentation on a similar topic.

First page of subway-hacking presentation that was the subject of an injunction to stop its distribution--after it had already been distributed.

The students told reporters that they had, on their own, asked their professor to initiate contact with the MBTA a week before the government agency contacted them on July 30 or July 31. But the process was delayed because professor Ron Rivest was at a security conference near San Francisco, and no contact with MBTA was made at the time.

But then the conversations took a hostile turn when MBTA mentioned an FBI criminal investigation of the MIT students. In the "initial contact, they said the FBI was investigating and that was not--we didn't find that to be a very pleasing way to start a nice dialogue with them. And we got a little concerned about what was happening," said Anderson, one of the students.

EFF's Opsahl said the students only intended to "provide an interesting and useful talk, but not one that would allow people to defraud the Massachusetts" government.

The MBTA, which is a state government agency, alleges in its lawsuit that "disclosure of this information will significantly compromise the CharlieCard and CharlieTicket systems" and "constitutes a threat to public health or safety."

Its suit asks a judge to order the students "from publicly stating or indicating that the security or integrity of the CharlieCard pass, the CharlieTicket pass, or the MBTA's Fare Media systems has been compromised." The requested order would also prevent them from circulating the summary of their talk, from providing any technical information, and from distributing any software they created.

That could be difficult to enforce. Every one of the thousands of people here who registered for Defcon received a CD with the students' 87-page presentation titled "Anatomy of a Subway Hack." It recounts, in detail, how they wrote code to generate fake magcards. Also, it describes how they were able to use software they developed and $990 worth of hardware to read and clone the RFID-based CharlieCards.

Those CDs were distributed to conference attendees starting Thursday evening, meaning the injunction arrived nearly two days late. (On the other hand, the source code to the utilities--not included on the CD--was removed from web.mit.edu/zacka/www/subway/ by Saturday morning.)

Court documents filed by MBTA suggest that representatives of the transit agency tried to pressure the students into halting their talk. During a meeting with the students and MIT professor Ron Rivest on Monday, MBTA Deputy General Manager for Systemwide Modernization Joseph Kelly unsuccessfully tried to obtain a copy of their planned presentation. Kelly spoke with Rivest again on Friday. (There was initial confusion about whether the meeting was Monday or Tuesday.)

Chiesa, Ryan, and Anderson at an Electronic Frontier Foundation panel.

(Credit: Declan McCullagh/CNET News)

A representative of the Defcon convention, who asked that her name not be used, said that the students submitted their Powerpoint presentation at least a month ago. The presentation says--not-so-presciently--"what this talk is not: evidence in court (hopefully)." It also says: "THIS IS VERY ILLEGAL! So the following material is for educational use only."

In addition, what looked like a black-and-white faxed copy of the entire presentation was entered as evidence in publicly available court records available on the Web on Saturday, meaning any attempt to limit its distribution further will encounter an additional hurdle.

Also released as part of the public record was a document marked "confidential" and written by the researchers (PDF) that explains exactly how the Charlie cards can be cloned and forged. "Our research shows that one can write software that will generate cards of any value up to $655.36," the document says.

The document also discusses the lack of physical security at the MBTA. "Doors were left unlocked allowing free entry in many subways," the document says. "The turnstile control boxes were unlocked at most stations. Most shocking, however, were the FVM control rooms that were occasionally left open."

One portion of the MBTA's legal complaint that drew jeers from the Defcon crowd came in its odd claim that "A CharlieTicket standing alone constitutes a 'computer'" under federal antihacking law.

This isn't the first time speakers at security conferences have been hauled into court by companies seeking to muzzle them.

In 2005, Cisco Systems filed a lawsuit against security researcher Michael Lynn hours after he gave a talk at Defcon on how attackers could take over Cisco routers. The case was ultimately settled. Four years earlier, the FBI took Russian crypto expert Dmitry Sklyarov into custody at his Las Vegas hotel one day after he gave a presentation at Defcon on insecurities in e-book security software.

Another excerpt from the presentation distributed to thousands of Defcon attendees on CDs.

Princeton University computer science professor Ed Felten and his co-authors received legal threats from the recording industry involving a planned talk at a Pittsburgh security conference--but pulled the paper from the event, even though no lawsuit materialized.

Research into flaws in the encryption that the Mifare Classic cards, used by the MBTA, landed Dutch researchers in court recently. NXP sued to block a Dutch University from publishing information about vulnerabilities in the encryption used in the RFID cards around the world. Last month, a court ruled that the university could publish the information.

Karsten Nohl, a University of Virginia graduate student who worked with others to break the Mifare Classic crypto algorithm last year, said MBTA should not have sued researchers who voluntarily discussed their findings with them.

"It has been known for years that magnetic stripe cards can easily be tampered with and MBTA should not have relied on the obscurity of their data-format as a security measure," Nohl said. "MBTA made it clear that they are not interested in cooperating with researchers on identifying and fixing vulnerabilities, but their lawsuit will motivate more research into the security of Boston's public transport system."

MIT's student newspaper has posted a copy of the presentation that was distributed on Defcon CDs and the subject of the court order.

In the video clip below MIT student Zack Anderson tells reporters how he felt when he learned about the lawsuit filed by the MBTA. The lawsuit was filed a few days after he had met with the agency to discuss concerns about his talk at Defcon. He is with fellow MIT students R.J. Ryan, Alessandro Chiesa and EFF attorney Marcia Hofmann, who was advising the students about what they could say in lieu of the temporary restraining order against them.

(Credit: Elinor Mills)

CNET News.com's Elinor Mills contributed to this report.

[Note: This story was updated at 12:05 p.m. PDT to reflect that a temporary restraining order was issued. It was again updated at 1:30 p.m. PDT with more details from documents on how the hacks can be done, and at 4:30 p.m. with a report from the EFF press conference and 6:15 p.m. with video.]

Click here for more coverage from Defcon.

Declan McCullagh, CNET News' chief political correspondent, chronicles the intersection of politics and technology. He has covered politics, technology, and Washington, D.C., for more than a decade, which has turned him into an iconoclast and a skeptic of anyone who says, "We oughta have a new federal law against this." E-mail Declan.
advertisement
Click here!
Recent posts from Security
Report: Countries prepping for cyber war
VeriSign expects major security update by 2011
Microsoft patching zero-day Windows 7 SMB hole
RSA reveals details behind re-shipping scam
Expert says Adobe Flash policy is risky
Apple updates Safari for security
Microsoft probing Windows 7 zero-day hole
Security considerations for virtual environments
Add a Comment (Log in or register) (24 Comments)
  • prev
  • 1
  • next
by Scialex August 9, 2008 11:09 AM PDT
Can someone get me a video of this conference?
Reply to this comment
by unknown unknown August 9, 2008 12:22 PM PDT
Probably not, they're are rather strict about can be filmed.
by The_Decider August 9, 2008 1:02 PM PDT
What a bunch of crap.

Whether or not they present, this exploit is going to happen to the subway system.

That is what so many people don't seem to be able to grasp: Security through obscurity never works. If 1 person can find the flaw, then 1000 others can(for the slow folks-that means everyone can access and use this information). By making the problems public, then there is a real motivation to fix it. Otherwise few problems get fixed.

There is no way that this is a "threat to public health or safety". That is a ludicrous notion. What advantage does this give "evil doers" who want to disrupt public transportation or other bad purposes?

This is just another example of the government crying terrorist for their own ends, and not for the benefit of the public at large.
Reply to this comment
by Lerianis August 10, 2008 5:26 AM PDT
You hit the nail right on the head. The only way this would be a threat to public health or safety is if terrorists couldn't get on the subway without these cards.... which we KNOW is not the case.
by Perry_Clease August 9, 2008 1:17 PM PDT
"There is no way that this is a "threat to public health or safety". That is a ludicrous notion. What advantage does this give "evil doers" who want to disrupt public transportation or other bad purposes? This is just another example of the government crying terrorist for their own ends, and not for the benefit of the public at large."

It the loss of revenue more than anything.
Reply to this comment
by The_Decider August 9, 2008 2:16 PM PDT
How does losing money justify saying it is a threat to public health or safety?
by Perry_Clease August 9, 2008 4:45 PM PDT
"How does losing money justify saying it is a threat to public health or safety?"

It probably doesn't, but that doesn't mean that they can't use that as the excuse.
by Jack K1 August 9, 2008 1:30 PM PDT
The threats to public health and safety are obvious. Each card has a unique ID. The government can use this information to monitor individual movement, identify associations between people, and even intercept people in transit. If people could create bogus cards, the government loses this ability. Likewise, the existence of these cards provides folks with a viable defense ? "it wasn't me ? your system's data can't be trusted." Indeed, courts would have to stop issuing warrants based on these data ? again hindering the government's efforts.

Oh, and if these systems can be hacked so easily, then a few elected officials who were told of this system's weaknesses during the initial proposal evaluations might find themselves embarrassed ? and it's obvious to see how that could be interpreted as a threat to public safety and health.
Reply to this comment
by The_Decider August 9, 2008 2:18 PM PDT
Only if you believe that the government has a right to monitor individual movement on a mass basis.

I don't think the argument that if this is exploited the government loses its ability to invade your privacy is valid.
by Lerianis August 10, 2008 5:28 AM PDT
That argument might not be valid, The_Decider.... but a lot of people use it! Frankly, the world today is too scared of a lot of stuff: being killed (happens VERY rarely out of the 300 million people in the United States), pedosexuals, etc.
Someone needs to stand up, tell the public that they are being overly cautious and scared, and tell them what they are missing out on.
by n3td3v August 9, 2008 2:39 PM PDT
MIT student newspaper publishes the banned DEFCON slides
https://groups.google.com/group/n3td3v/browse_thread/thread/952a5bd20d0c7b41
Reply to this comment
by Travis Ernst August 9, 2008 4:46 PM PDT
They (transit) are ashamed of the lack of security and want to cover it up. They should THANK the hax for exposing it and then be forced to fix the flaws and holes in the system. That is the point in this presentation. By bringing security flaws and holes large enough to drive a mack truck through to the surface, they can be fixed, not covered up with more dirt as city seems like they want to do (saves money by not spending money).

As for the tracking on cards, who would use their own card ID if they could hack it!! THINK. They wouldn't want to get caught. If they "cloned" their card to another just to test it, thats another story. However that means they are using credits they PAID FOR.

Not knowing this systems manner of issuing ID's, I'm sure, as with computers, there is a "GOD ID" or "test/Service ID". It just takes time; a manual comes in handy (dumpster diving skills). City extensions are GREAT at throwing out valuable manuals and reference books (so are college buildings!).
Reply to this comment
by ssulistyo August 9, 2008 8:46 PM PDT
Here is the presentation:
http://www-tech.mit.edu/V128/N30/subway/Defcon_Presentation.pdf

Mirrors:
http://www.evernote.com/pub/ssulistyo/InfoSecStuff#07ff6ce9-1aa9-45e9-8bd2-10ce0805e534
https://dl.getdropbox.com/u/77164/anatomy%20of%20a%20subway%20hack.pdf

Also, a vulnerability assessment report:
http://blog.wired.com/27bstroke6/files/vulnerability_assessment_of_the_mtba_system.pdf
Reply to this comment
by magicmaster August 10, 2008 5:53 AM PDT
What a foolish act of attempting to block the publication of this paper.

Originally meant to be presented to selected hackers, now the topic received more publicity and everyone else (including me) is reading the paper.

In memory of MBTA, I will keep a copy of this paper. (wink)
Reply to this comment
by perogi21 August 10, 2008 6:26 AM PDT
My only problem with this is now they know about it and my cloned card won't work :-(
(Once they fix it :-) )
Reply to this comment
by alflanagan August 10, 2008 6:28 AM PDT
Thanks, Massachusetts, for reminding me to donate to the EFF again. First Amendment FTW!
Reply to this comment
by AlexBirch August 10, 2008 10:09 AM PDT
Good article, though this line seems a bit disingenuous

MBTA's request after a hastily convened hearing in Massachusetts that took place at 8 a.m. PDT on Saturday.

Since Massachusetts uses EDT right now, it'd be nice if they said 11 a.m. EDT on Saturday.
Reply to this comment
by declan00 August 10, 2008 3:52 PM PDT
This is our style guideline. We've done this for years; our headquarters is based in San Francisco.

BTW "disingenuous" means not candid, which is presumably not what you intended to say -- the time reference is perfectly clear and candid, if not to your liking -- so probably something of a malapropism.
by benjaminstraight August 10, 2008 3:10 PM PDT
Video footage? I would love to see this one discussed.
Reply to this comment
by RBDurgin August 11, 2008 4:39 AM PDT
Presentation is still cached, just search MIT's website.
Reply to this comment
by JayWes August 11, 2008 12:47 PM PDT
Personally, the whole idea of the RFID cards leaves me cold. One agency, Name withheld, issues badges which get waved across card readers. Surley these are as hackable as the Charlie card. One has to punch in a number, but is this number stored in the card? if so, is this really secure. The only card I know of that seems to be fool-proof is a card which is randomly created, with an optical code. This code is then read by a card reader and the card code is stored on discs, The discs are supplied with the cards for a particular system, and the code is entered into the systems's computer and only on the system for htat computer. When read the code is encrypted at the reader, This system was used by a bank for transactions and by a firm supplying parking and security systems, Personally the wave and walk up cards that do not have to be inserted in a reader are very questionable. The readers are everywhere. Next some government will embed the RFIID chips in people at birth, complete with a triple 6 number for verfication (check Revalation for futher details.). As Reported by CNET the transponders for EZ pass are being hacked. [http://There is at least one court case where the use of EZ pass is being presented as evidence of a vehicle being used in a crime.|http://There is at least one court case where the use of EZ pass is being presented as evidence of a vehicle being used in a crime.]
Reply to this comment
by morghanphoenix August 11, 2008 2:25 PM PDT
RFID cards make me a bit paranoid, and now my bank is trying to give me a debit card that uses it. No thank you! While four inches doesn't seem a lot of room to sniff a signal someone could walk up next to you at a crosswalk and let their bag with the equipment hidden in it suck the info right out of your pocket, and I'm sure there's ways to boost the range they can be picked up at. And this is just what criminals can do with your information, I shudder to think what the government has up it's sleeve for all those dumb enough to buy into the so called convenience of these technologies.
Reply to this comment
by LesHart51 August 12, 2008 9:42 AM PDT
1st Amendment Rights my A##!

FRAUD is illegal... as is THEFT.

This information allows people to generate 'Free' Subway Cards, thereby STEALING 'Public Transportation'! Maybe some people CAN figure-out how to do this on their own, but they're still committing THEFT, and DEFRAUDING MBTA!

THEFT and FRAUD by any other names are STILL THEFT and FRAUD. The judge was absolutely right in granting this injunction! What a shame it is that people seem to have lost some 'Moral' values.
Reply to this comment
by Vurk August 12, 2008 12:18 PM PDT
If someone told a convention of locksmiths that a certain lock had a peculiarity that allowed it to be opened while "locked", wouldnt you prefer that the locksmiths know about it rather than criminals?

Besides, this isnt about showing how to do it, merely that it has been done and can be done and should be fixed.
Or you can go on providing free fares for *real* criminals(as opposed to MIT students) and whining about stolen card value to the govt. Who wont believe that you were defrauded.
Reply to this comment
(24 Comments)
  • prev
  • 1
  • next
advertisement

A CNET Conversation with Eric Schmidt

CNET's Tom Krazit and Molly Wood sit down with Google CEO Eric Schmidt to discuss the future of Android, the Chrome OS, the problem of real-time search indexing, and more.

Verizon tests sending RIAA copyright notices

The No. 2 phone company, known for its reluctance to intervene in antipiracy cases, strikes an agreement to forward copyright notices on behalf of the music industry.

About Security

Online security is threatened by more than hacking and phishing attempts. Check here for the latest updates on software vulnerabilities, data leaks, and rapidly spreading viruses--and learn how to protect your systems.

Add this feed to your online news reader

Security topics

advertisement
Click Here
advertisement

Inside CNET News

Scroll Left Scroll Right