Buffer Overflow Found in RFID Passport Readers
epee1221 writes "Wired ran a story describing Lukas Grunwald's Defcon talk on an attack on airport passport readers. After extracting data from the (read-only) chip in a legitimate passport, he placed a version of the data with an altered passport photo (JPEG2000 is used in these chips) into a writable chip. The altered photo created a buffer overflow in two RFID readers he tested, causing both to crash. Grunwald suggests that vendors are typically using off-the-shelf JPEG2000 libraries, which would make the vulnerability common."
These passports are full featured CPU's with up to 72KB of data. The "RFID reader" is actually a very bad name for a software system that is going to read out these passports. In most documents it will be referred to as an inspection system. It will not only read out the passport, but it will also test the biometrics, communicate with other systems etc.. This is a complicated process that will most likely take place on a full featured CPU, containing a modern OS, and a modern software stack. This allows for maximum flexibility, but it will also make the systems vulnerable for attack.
The only thing the manufacturers of these systems can do is thoroughly test their software, and make the attack possibilities as small as possible. For instance, they should check the signature under the data before passing the data on to the next layers. Of course, for this you need the certificate of the issuing state. You should also test if the underlying libraries that do this initial check are not vulnerable.
Explain to me how this is an "attack" on passport readers?
Passport is scanned
Reader goes casters up
Reader is power cycled
Passport is scanned again
Reader goes casters up
Owner of said passport is hauled off to some secret room where all of their orifices are checked by an ex-prison guard with large hands.
This does show the lack of testing and hardening, but it seems a buffer overflow situation like this would be relatively easy to patch.
You should start with studying English. Your skills our lacking.
...if you pass a cracked RFID chip through a passport reader and then it crashes,
#1: the guard will humanly read your inside cover photo with extra vigilance...the chip is not the only method of ID
#2: you'll probably be detained for a bit while they re-test your passport; if it fails again, they'll tell you to get a new passport
(#2a: or be placed on a no-fly list, because you're a terrorist)
Plus, how exactly would a code-injection exploit work unless it's something like the GDI+ vulnerability that occurred with WMF files? (If a rogue guard is injecting evil code into the machine, the government had waaay more scary problems ahead than with some 'sploiting a passport reader).
All that being said, there are some things (i.e. voting machines) that just should not be electronic-ized, and I feel this is one of them.
Other than "it'll get you through faster!!", what is the point of using chips when, more than likely, the passport clerk has to humanly-read it to verify the info anyway? Especially considering that the particular RFID chip technology used in the passport is going to be obsolete or cracked in 3 years, and most passports don't expire for five or ten years?
FTFA: "If a reader could be compromised using Grunwald's technique, it might be reprogrammed to misreport an expired passport as a valid one, or even -- theoretically -- to attempt a compromise of the Windows-based border-screening computer to which it is connected."
That does it. From now on I'm only travelling to countries which use OpenBSD to operate their border gateway protocols.
And: "Additionally, the International Civil Aviation Organization recommends that issuing countries protect biometric data on the e-passport with an optional feature known as Extended Access Control, which protects the biometric data on the chip by making readers obtain a digital certificate from the country that issued the passport before the equipment can access the information."
Sounds like in the future, the only people who'll be able to traveler with any degree of success will be those who can forge their passports...
Remember this /. story about RFID Passports Cloned Without Opening the Package? I'm not sure if RFID and security will ever get along at a satisfying level or if will be similar to the systematic breaking of DRM locks. Amongst other RFID stories, this "Security analysis report" paper [91 pages pdf, 967k] is most informative (via this blog).
Animoog.org
"The question is : should I study Arabic or Spanish to welcome our new overlords."
:)
Yes.
"This post is an artistic work of fiction and falsehood. Only a fool would take anything posted here as fact."
Why am I not surprised?
"That does it. From now on I'm only travelling to countries which use OpenBSD to operate their border gateway protocols." - by adnonsense (826530) on Saturday August 11, @10:55AM (#20195319)
Cambridge Researcher Breaks OpenBSD Systrace:
http://it.slashdot.org/it/07/08/09/138224.shtml
Nothing's "completely invulnerable"...
There is no architecture that is secure from a passionate developer armed with time, IDA Pro and an oscilloscope (if needed).
Something else to make the experience of flying all that much more unpleasant for the rest of us!
The game.
Buffer overflows are so 90s. Isn't there a way to prevent them entirely, like using only good libraries?
The problem is, as usual, the use of inherently unsafe and dangerous programming languages like C and C++.
There is no reason why any modern programming language should permit accidental buffer overflows; they are easily preventable without pushing the burden onto the programmer even in programming languages with the same power as C and C++.
'k, I'm staying at home from now on...
When it comes to counting voter-verified paper ballots, I would agree with you that this task should not be done electronically. Humans can (and do in many elections around the world) manually count voter-verified paper ballots.
But when it comes to preparing the voter-verified paper ballot, I don't see the harm with electronic assistance: electronic preparation & verification of voter-verified paper ballots is a serious advantage for blind and illiterate people to vote in private. The computer reads the candidate list aloud over headphones and the voter can press buttons to indicate their vote. This vote is printed on the ballot. All voters can use electronic devices to read the voter-verified paper ballot to double-check what the ballot says or bring in someone they trust to verify the ballot with them. Of course any electronic preparation or assistance must be optional for all voters.
All ballots should be voter-verified and on paper so they can be stored and recounted whenever anyone wants.
Champaign County in Illinois, USA uses a pair of ES&S machines to prepare and count (plus store) the ballots. Use of the ballot preparation machine is optional—one can fill in the bubbles manually with a pen or pencil. This machine can also (again, optionally) scan a completed ballot and report to the voter how it read the ballot (informing the user of how that user voted, and any over/undervotes). But all voters must feed their voter-verified paper ballot into the counting+storage machine. I despise the use of the second machine. I also despise that both of these machines run on proprietary software; some citizens in Urbana, Illinois are fighting for instant runoff voting for local elections and they have quite a fight ahead of them trying to convince the proprietor (ES&S) to change the vote-counting software to work with instant runoff. This is one reason I endorse the use of free software. Urbana ought to have the freedom to get whomever they want to alter the software to their liking. Urbana can pay to send their modified software through the government-required approval process.
Digital Citizen
Chinese could probably be the most useful - you can get earworms for that, and those other two languages, from http://www.earwormslearning.com/intro.html
``Grunwald suggests that vendors are typically using off-the-shelf JPEG2000 libraries, which would make the vulnerability common.''
Because everybody knows that, had they written their own code, it would have been much more secure. Just like magic.
Please correct me if I got my facts wrong.
And possibly an electron microscope - lack of easy supply of these is probably the only reason DVB VideoGuard is still mostly unhacked after 9 years of use. Its been molested (smartcard sharing, CAM emulation) but there's no way to make clone cards or software patch boxes yet...
Mandarin Chinese. Follow the money. (There's no monopoly on stupidity, after gutting the US manufacturing sector, Japan has also sold Japan, Inc. to the Chinese).
RFID passports were a stupid idea in the first place. I do not want the id in my pocket broadcasting to the world "I'm an American Passport! Kidnap the holder!" (and kidnapping is an issue in places of the world I need to go, like where my in-laws and children are).
You must not follow the sat hacking community at all. CAM emulation is the thing that most of the people seem to be waiting on since an emulated CAM means that any ECMs won't affect a real card that would then have to be replaced. Nobody wants Black Sunday all over again afterall. And as far as I'm aware there haven't really been any recent systems where one could patch the *box* and get free tv. Those days are long, long gone.
0x09F911029D74E35BD84156C5635688C0
I'm still hoping that Latin will make a comeback, personally. I want a job where I can go out and catch Christians for the Colosseum games.
"He who can destroy a thing, controls a thing." --Paul Atreides, Dune
I always check all inputs before using the data. Don't other people do that?
Undressing in front of the uniformed agent, undergoing endoscopy with low-bid lubricant, then going through the rotating-brushes Lockheed Martin AlloScrub body wash to remove all possible caches and residues of others' DNA before having the blood draw, is the highlight of any ordinary business trip. The $635 airport security fee is a bit of a burden, though, as are the 12 hour fast and prep. enema.
Waiting 24 hours for DNA sequencing results, in the departure hall with monopoly $3.75 bottled water, $9 greenish-ham sandwiches, Soviet-grade customer service, and incessantly repeated shrieky PA announcements, always makes me feel good because I am doing my part for national security.
Eventually however, I might have to face the question of efficiency, and be compelled to move to some other country where I can inch through massive traffic congestion, then pay a fixer to have me waved into the squalid and grimy departure hall for a mere 2 hours, while watching the unsmiling gentlemen with the submachine guns make their frequent rounds. This followed by very close scrutiny of the rubber stamps on incomprehensible forms stamped only 45 seconds earlier by the person one floor below, as my luggage was being X-rayed to make certain that I was not trying to dodge both the stiff export tax on livestock and poultry, and the consequent opportunity to make a "facilitating payment".
... if you are being so open about it.
--- I am known for the ones who want to find me on the net. Is that a privacy risk or a privilege? One might wonder..
You never know, under those burkas...
You forgot Mandarin/Szechuan/Cantonese.
Message contains 1 attachment: spam.gif
I follow it closely enough, although as all I want to get via satellite is unencrypted anyway, not as much as I used to. You might not, as it seems you're getting stuff mixed up...
NDS CAMs can be emulated but they still need a real Videoguard card. This means you can use cards in unapproved units (Dreamboxes, or anything with a CI slot using a Dragon or TRex) but it doesn't mean you can get anything you've not paid for. Nobody has come close to extracting the keys from the card yet.
Box patching is CAM emulation, or at least for all currently broken systems. Its been a very long time since they've done anything other than emulate a CAM to which you then provide keys. You can, at my last check, get the main satellite packages from most of Europe using a Technomate box appropriately altered - except those using DVB Videoguard.
I think you're the one that's a bit mixed up. Using a card in an unapproved box is a hack, not emulation. See the definition of "emulate" for more details.
0x09F911029D74E35BD84156C5635688C0
Its emulating the legitimate CAM - have you got a more appropriate word? Doubt it.
If they could emulate the CAM they wouldn't need the card as a backup. They're not emulating the CAM, they're emulating the legit *receiver*. What you're describing is called "auxing" the card and they only use it because they haven't managed to get a bin dump/disassembly of the card. The device/computer simply mimics the correct box so they can send data to the card to get the correct keys for decryption and then send those to the actual receiver. And for the record they call that a HACK, not emulation.
0x09F911029D74E35BD84156C5635688C0
I don't know if encryption systems work entirely different wherever you're from (DSS and 4DTV != DVB), but what you're proposing there makes absolutely no sense with DVB.
Its entirely irrelevant what receiver I use, for instance, my Conax CAM - what is a PCMCIA card sized card reader - in. I can take it + the MTV Unlimited card in it out of my Technomate and put it in to my Humax and it'll work fine - as the CAM handles the entirity of the decoding. Now, a Dreambox or a Dragon/T-Rex CAM "mimics" (hey, guess what - thats emulating...) an original CAM of the format required, and uses the original card - or if the card has been hacked, emulates the card too.
Now, the fact that DVB is the sole digital system here, and you appear to be in Kentucky - and its not even the dominant system there - may explain this...