Slashdot Mirror


Researcher Wows Black Hat With NFC-based Smartphone Hacking Demo

alphadogg writes "At the Black Hat Conference in Las Vegas Wednesday, Accuvant Labs researcher Charlie Miller showed how he figured out a way to break into both the Google/Samsung Nexus S and Nokia N9 by means of the Near Field Communication (NFC) capability in the smartphones. NFC is still new but it's starting to become adopted for use in smartphone-based purchasing in particular. The experimentation that Miller did, which he demonstrated at the event, showed it's possible to set up NFC-based radio communication to share content with the smartphones to play tricks, such as writing an exploit to crash phones and even in certain circumstances read files on the phone and more."

95 comments

  1. Hmm by masternerdguy · · Score: 3, Insightful

    Workaround: Blacklist the kernel module used for NFC?

    --
    To offset political mods, replace Flamebait with Insightful.
    1. Re:Hmm by sexconker · · Score: 3, Insightful

      Solution: Don't buy a phones with NFC gimmickry, NFC gimmickry goes away.

    2. Re:Hmm by Anonymous Coward · · Score: 0

      kernel module obviously needs tinfoil hat

    3. Re:Hmm by socceroos · · Score: 3, Interesting

      I cannot believe..........no wait....I cannot understand why these things aren't being made with security at the forefront. Surely anyone with half a brain realises that every point of communication with a phone is a potential point of exploitation. LOCK IT DOWN PEOPLE - FOR BLINKY'S SAKE, THIS HAS BEEN GOING ON TOO LONG.

    4. Re:Hmm by Emetophobe · · Score: 5, Informative

      You can disable NFC in the android settings.

      System Settings -> More... -> NFC (uncheck it).

    5. Re:Hmm by Eponymous+Hero · · Score: 2

      maybe NFC just needs something like a public key/private key handshake. the services you use would give you a public key (like banks, paypal, etc) so that hackers would have to have the institution's private key in order to break in. it could be made so that only insured/bonded institutions could offer NFC services that access vulnerable information. i'm probably overlooking something, but then it's time for that end of day coffee so i can wake up again. oh i know what it is. we can't even get ssl to work right, private keys will get stolen/forged. oh well.

      --
      insensitive clod overlords obligatory xkcd car analogy russian reversals whoosh pedant fanbois ftfy in 3...2...1..PROFIT
    6. Re:Hmm by Trillan · · Score: 1

      Perhaps they are. It is remarkably difficult to secure a large code base.

      Though I would hope that NFC is new enough that it would be coded securely right from the start.

    7. Re:Hmm by socceroos · · Score: 4, Insightful

      I'm under no illusion that a large code base is hard to secure, but I'm still baffled^H^H^H^H^H^H^Hannoyed that when a new point of access to a device is born that it isn't done with utmost security in mind. We live in an age where the devices we own hold the keys to our lives, why aren't they as secure as they possibly can be short of not existing??

    8. Re:Hmm by socceroos · · Score: 1

      Troll. =P

      Congratulations on missing the point.

    9. Re:Hmm by wierd_w · · Score: 2

      The problem is that this is intended for one-off purchases, like vending machines.

      TPI will make that considerably less convenient, unless the device was issued unique certificates.

      In which case, there would be a sudden market for stolen device certificates for credit fraud purposes, which would exploit the broken security flag implementation of the android marketplace. (The ad supported freemium content requires phonehome powers to serve you ads, and the frequently ask for phonebook and local storage as well. An application could yank the device cert store at the same time with those privs.)

    10. Re:Hmm by Anonymous Coward · · Score: 0

      Nice try, but communications drivers shouldn't be large codebases. If they are, you're doing it wrong.

    11. Re:Hmm by MrHanky · · Score: 1

      It's off by default on my Nokia N9. Also, it only works over really sort distances, like centimetres.

    12. Re:Hmm by SpzToid · · Score: 3, Informative

      The Nokia N9 is mentioned, and the NFC settings required for this exploit are turned off by default. I first read this detail on arstechnica.com and then double-checked on my own device; it is true.

      --
      You can't be ahead of the curve, if you're stuck in a loop.
    13. Re:Hmm by jader3rd · · Score: 5, Insightful

      why aren't they as secure as they possibly can be short of not existing?

      Because first to market wins.

    14. Re:Hmm by murder_face · · Score: 0

      These days it seems like the whole phone needs a tinfoil hat. Reminds me of the ESN snarfing days back when I was in Junior High

    15. Re:Hmm by SomePgmr · · Score: 4, Informative

      Well, that's an important bit of info I didn't see in the article.

      And I suppose it's worth reminding everyone that this is NFC. Your phone would have to be in near-contact with the exploiting hardware. Not impossible I suppose, given that skimming happens with traditional payment cards.

      I didn't understand the two word description of the problem with Android, so I looked up that Ars article you mentioned...

      The Nexus Sâ"when running the Gingerbread (2.3), by far the most dominant Android installationâ"contains multiple memory-corruption bugs. They allow Millerâ"using nothing more than a specially designed tagâ"to take control of the application "daemon" that controls NFC functions. With additional work, he said the tag could be modified to execute malicious code on the device. Some, but possibly not all of those bugs were fixed in the Ice Cream Sandwich (4.0) version of Android, so the attacks may also work against that release and Jelly Bean (4.1) as well.

      Ah. So upgrade your phone.

      http://arstechnica.com/security/2012/07/android-nokia-smartphone-hack/

    16. Re:Hmm by socceroos · · Score: 5, Insightful

      That's what people said about RFID tags until people started skimming them at distances beyond a kilometre.

    17. Re:Hmm by Anonymous Coward · · Score: 0

      So upgrade your phone.

      If possible.

    18. Re:Hmm by Opportunist · · Score: 4, Insightful

      Because security does not sell. It's that simple.

      Go out there and ask 1000 random people what they are looking for in a cell. NONE of them will say security. Not even at any point in that whole list of things they might mention.

      Security is a non-issue for pretty much every phone user out there save a few "computer people" who know what you just said: Any channel, if not properly secured, can and will be abused to compromise the confidentiality of the device using it.

      Problem is, I guess for at least 80% of the phone users out there reading half of the last sentence is enough to make their eyes glaze over. Doesn't take pictures, doesn't play MP3s, doesn't let me tell everyone I'm on the can on Facebook, so why'd I need it?

      Making code secure costs money and is no selling point. Well, it sure as hell would be with me and most likely you, but for every you or me, there's a thousand Bobs out there who prefer shiny.

      --
      We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
    19. Re:Hmm by Opportunist · · Score: 4, Funny

      Damn, you beat me to it and cashed in the insightful mods.

      --
      We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
    20. Re:Hmm by Opportunist · · Score: 2

      The more interesting question is why do I have to turn it off if I don't want it and not turn it on if I want it?

      Why does every maker of Smartphones think I want all their new, and usually quite battery draining, bells and whistles? I dunno, I might be old fashioned, but a phone that can make phone calls is a good start for me. Put the rest in the manual and gimme a hint that it is there, and if I am interested I'll try it out and turn it on when I find the time to do that.

      --
      We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
    21. Re:Hmm by Opportunist · · Score: 2

      Getting close to a cell is trivial. Take for example every place where people have to sit close together like theaters or lecture halls. Hey, how about conferences, just go into one of the panels, sit down and presto.

      --
      We used to have a Bill of Rights. Now, with the rights gone, all we have left is the bill.
    22. Re:Hmm by socceroos · · Score: 1

      I hate it, but you are right.

      At some point, the companies/people making these services available should 'do the right thing' - because, well, its the right thing to do. They're responsible for the world's privacy, they should take it seriously.

      I feel I'm being entirely unrealistic, but it is something to at least pursue with good conscience.

    23. Re:Hmm by admdrew · · Score: 2

      Very cool demo/exploit, but:
      http://www.androidcentral.com/android-nfc-hack-cool-not-new-or-dangerous

      - majority of phones running exploitable version of Android don't support NFC
      - majority of phones supporting NFC have patched version of Android
      - future phones supporting NFC will all have patched version of Android

    24. Re:Hmm by Anonymous Coward · · Score: 1

      It's not gimmicky in the rest of the world that uses it actively with vending machines, train tickets, subways, etc.

    25. Re:Hmm by Anonymous Coward · · Score: 0

      Citation please.

      Near field is what it says - the antenna needs to be NEAR the tag, usually using HF/magnetic coupling. Far field can read a lot further, usually using UHF. You might be able to read long distances with a sensitive enough antenna and reader, broadcasting over and abouve FCC power emission regulations, but telling me you can get a reliable read (much less reliable write!) over kilometer distance is a bit much.

    26. Re:Hmm by pentadecagon · · Score: 1

      Wrong. It's not supposed to be as secure as *possible*, but as secure as *necessary*. And it apparently is: Even the world's leading experts were not able to break into current Android phones.

    27. Re:Hmm by Anonymous Coward · · Score: 0

      One may not need to. The article does not mention if it can do this when the phone is locked.
      On my Galaxy Nexus (And I presume this is the same on pretty much all android phones with NFC), I cannot read tags until I unlock the phone. I need to press the powerbutton, then slide to unlock it. Until I do that, there is no NFC communication.
      If he has overcome that obstacle, I'm impressed and slightly scared. But I doubt it.

    28. Re:Hmm by socceroos · · Score: 1

      Firstly, you've got to be kidding. Android security has been broken multiple times since its inception and it will continue to happen. Secondly, "necessary" is a very subjective term, my friend.

    29. Re:Hmm by sjames · · Score: 3, Funny

      Even better, all we need to do is come up with a way to use NFC to share music and movies. Then the *AA won't rest until it's dead.

    30. Re:Hmm by chiguy · · Score: 3, Insightful

      Go out there and ask 1000 random people what they are looking for in a cell. NONE of them will say security.

      All true, security is not a selling point.

      But the reason people don't list it for cell phones is that security is assumed. Similar to if you asked me what I look for in a bank, security is not something I would list. I assume all banks offer adequate security. At least to the level required by law.

      What you're pointing out is the average user does not realize/understand how poor the security really is on their devices.

      --
      passetspike!
    31. Re:Hmm by marsu_k · · Score: 1

      While I'm not worried about this exploit, I'm surprised they got it to work in the first place across multiple platforms. NFC seems to be not-so-standardized at the moment - recently when visiting my brother I tried to pair my S3 with a Nokia NFC speaker he has. All I got was the S3 to say it had spotted an unknown tag, something about Bluetooth (which is what the speaker ultimately uses for transmission), but nothing useful.

    32. Re:Hmm by pentadecagon · · Score: 1

      Ah, sorry, of course my comment referred to NFC, as this is the topic at hand. And this article here in fact says they were not able to exploit NFC on current phones.

    33. Re:Hmm by smeaggie · · Score: 1

      I cannot believe..........no wait....I cannot understand why these things aren't being made with security at the forefront. Surely anyone with half a brain realises that every point of communication with a phone is a potential point of exploitation. LOCK IT DOWN PEOPLE - FOR BLINKY'S SAKE, THIS HAS BEEN GOING ON TOO LONG.

      For the nexus phone, the actual exploit was in the browser, NFC was just used to open the browser without the user being asked to do so. On the nokia, the actual exploit was in the bluethooth stack. This particular implementation allows bluetooth device pairing over NFC even if bluetooth is turned off on the phone, so now with NFC the exploit is reachable without the users knowledge. The exploit in the bluetooth stack allows for root access on the device. So the biggest problem with current NFC implementations is they don't ask the user anything, just act on what the other side is giving you. That is the real problem, because now one may change the payment terminal to hack your phone. If I hold my phone against a payment terminal and it asks me to pair a bluetooth device I'll just deny it, but with the current phones, I'm not asked anything. Info from this site (dutch): http://tweakers.net/nieuws/83354/beveiligingsonderzoeker-waarschuwt-voor-misbruik-nfc.html

    34. Re:Hmm by sjames · · Score: 1

      The more significant part is that the presenter plans to make the NFC fuzzing tool he created available

    35. Re:Hmm by sjames · · Score: 3, Informative

      Have a look here(PDF doc).

      I know it has been demonstrated at 217 feet (well short of a kilometer but well more than the industry claimed) with a U.S. passport, but the paper above indicates 2 miles is theoretically possible.

    36. Re:Hmm by Anonymous Coward · · Score: 0

      You shouldn't be baffled. It's an industry-wide culture. It took so many years before the HTML and browser bunch started on Content Security Policy. Their priority was always creating new fancy stuff.

      Car analogy: For years they were busy creating hundreds or even thousands of new different accelerator pedals for cars, and nobody cared to put in a single brake pedal. So to stop bad stuff from happening you have to make sure all the pedals including the new ones (that may not have been present when the webapp was made) are not pressed.

    37. Re:Hmm by jo_ham · · Score: 1

      It's off by default on my Nokia N9. Also, it only works over really sort distances, like centimetres.

      So?

      The article itself mentions the N9 as a tested phone where this works, despite the NFC being off by default.

      Solution: fix bugs in Android (mostly done for these exploits in ICS and JB).

    38. Re:Hmm by fatphil · · Score: 2

      Let me introduce you to the concept of a "switch" with settings we like to call "on" and "off". With said feature, you can have the NFC functionality enabled (or "on") when you specifically want it, and disabled ("off") the rest of the time. And the N9 has that.

      If you want to connect to any wireless network you're not in control of, then you are just as vulnerable from most facets of this attack as you are from using NFC. More so, as with NFC you actually have to be physically close to Malory.

      --
      Also FatPhil on SoylentNews, id 863
    39. Re:Hmm by fatphil · · Score: 2

      The Forbes and arstechnica write-ups are worth a read, and it appears that the bluetooth "off" switch is the problem. It's just plain ignored. You turn it off, NFC turns it back on without asking you. Braindead.

      Then again, Nokia's maemo devices have a long history of ignoring user preferences or choices because of braindead diktats made by people who were incapable of thinking through the consequences of their demands. (Yes, I'm ex-Nokia, and could write a book full of the horror-stories I've seen.)

      --
      Also FatPhil on SoylentNews, id 863
    40. Re:Hmm by seb42 · · Score: 1

      seem the phone is running the old 4.0.1 android.

    41. Re:Hmm by Zet · · Score: 1

      I predict that NONE of those surveyed will say "to be able to make phone calls"
      either.

      I think that security is something people don't think about very much, but they
      also buy the phone with the assumption that *surely* it would be made secure,
      ("they would be fools sell it to millions of people if it were not secure").

      And, to a reasonable extent they *are* made secure. But securing a device is a
      process, not a one-time event. It is an ever-escalating back and forth between
      having all known holes plugged and an intruder finding the next one (which is
      presumably harder to find).

    42. Re:Hmm by thoth · · Score: 1

      We live in an age where the devices we own hold the keys to our lives, why aren't they as secure as they possibly can be short of not existing??

      Because corporations and lazy and cheap, and security doesn't pad their bottom line in the all-consuming march for profits.

      It is less expensive for them to punt all security issues and instead rely on the government to make abusing the non-security of these devices "illegal".
      Yes that is ineffective, but before criticizing the government, consider the fundamental impossibility of fixing security problems by declaring the abuse illegal, and also consider the root problem is that corporations are basically irresponsible and will offload all expenses to somebody else rather than spend money to protect their customers.

    43. Re:Hmm by Anonymous Coward · · Score: 0

      I believe his solution that was to place the rogue NFC tag next to or near a NFC-enabled payment terminal, then when someone pays with NFC on their phone, they'll unlock their phone and their phone will also read the rogue tag.

    44. Re:Hmm by Anonymous Coward · · Score: 0

      The N9 doesn't use Android, so your proposed 'fix' will not work. Idiot.

    45. Re:Hmm by jo_ham · · Score: 1

      The N9 doesn't use Android, so your proposed 'fix' will not work. Idiot.

      Like a man in orthopeadic shoes, I stand corrected. You're right, I'm a damn idiot.

    46. Re:Hmm by tlhIngan · · Score: 1

      And I suppose it's worth reminding everyone that this is NFC. Your phone would have to be in near-contact with the exploiting hardware. Not impossible I suppose, given that skimming happens with traditional payment cards.

      Given the NFC reader I've seen is just another box beside the PIN pad and card reader, it's actually a trivially-doable exploit. Peopla already swap out PIN pads and readers in order to capture PINs and swipes. Replacing an NFC thing should be easier still with one that not only grabs the data, but installs the malicious code as well.

      Or hell, a nicely done up sticker on the NFC reader that injects the malware. The thing can be passive and work off the NFC field like an RFID tag, and you can print a logo on it to make it look legit.

      Or, I'm certain one could put something near an ATM keypad - mark it as a spot to put a cellphone so you can do your transaction while keeping an eye on your phone. In the meantime, that convienient pad injects the NFC malware. You'll find a lot of people will subconciously put their cellphone there!

    47. Re:Hmm by Anonymous Coward · · Score: 0

      I doubt this works with payments, which use a security implementation. Doing anything awry pretty much breaks them, like flashing ROMs etc.

    48. Re:Hmm by sexconker · · Score: 1

      Unless you have a physical switch you leave the door open for exploits and shittydumb apps, OEMs, carriers, and os vendors just plain ignoring your settings.

    49. Re:Hmm by sexconker · · Score: 1

      I have a credit card for that. I have exactly zero desire to use my phone as a payment device.

      There's no real benefit in not carrying a credit card if you have to carry around your phone.
      If you're so dead set on not carrying shit, just memorize your credit card number and key it in.

    50. Re:Hmm by fatphil · · Score: 1

      But it was a conscious decision to permit software to over-ride a user's setting. That decision didn't have to be made.

      I'd like to know who made that decision in Nokia. I wish I'd had access to a RFID tag writer while I worked there, as my plan would have been to turn the useful tags that had helpfully been scattered around (things such as pulling up a bus timetable/route-planner as you went through the exit that led to the station) with goatse, or worse. Who knows, I may have discovered this exploit first if that had been the case. I would have enjoyed filing a bug like that against middleware. I can just imagine the "works as designed - INVALID", "security threat - REOPEN", "works as designed - INVALID", "security threat - REOPEN", "no exploit known - WONTFIX", "because you're too stupid - REOPEN", ... loops ad nauseam.

      Nokia can't fix this now. They've got rid of all the people who can do anything about it. Harmattan is in maintenance phase and outsourced to a team who I've heard are in general severely under-skilled. They'll just try to downplay its severity.

      --
      Also FatPhil on SoylentNews, id 863
  2. Fuzzing by TubeSteak · · Score: 1

    Are fuzzing tools really that hard to write?

    --
    [Fuck Beta]
    o0t!
    1. Re:Fuzzing by Keith111 · · Score: 2

      Very easy, actually. The focus of a huge portion of my work is dedicated to writing or improving fuzz technology for security testing. I could write a basic fuzzer for almost anything in 20 minutes...

    2. Re:Fuzzing by jmerlin · · Score: 1

      Would you mind starting a blog on it and posting the URL here? Those of us writing code and unit tests need to know how to fuzz our code really well, too.

  3. eavesdropping by Anonymous Coward · · Score: 2, Interesting

    Ironic. The technical tools to solve all these problems exist, but if they were used properly, even the gov't. couldn't break in.

    So which do you want? An inherently weak system that allows civil monitoring, or something so secure it'd be as anonymous as cash. After all, this is *cash* we are talking about replacing here.

    The gov't. has a "thing" about encrypting wireless communications ...

    1. Re:eavesdropping by socceroos · · Score: 1

      I agree with your point. But this isn't just about cash. NFC can be used for divers purposes - its like even shorter-range Bluetooth.

    2. Re:eavesdropping by hawkinspeter · · Score: 1

      When I tried using it, my phone stopped working. I only went down about 10m.

      --
      You're a temporary arrangement of matter sliding towards oblivion in a cold, uncaring universe
  4. Is it that hard to buy a phone w/ NFC default=off? by Anonymous Coward · · Score: 0

    If it is, hopefully it won't be by Christmas.

  5. It's a simple rule, really... by gstrickler · · Score: 2

    Another network or communications port = another attack vector.

    The question is why to vendors think they need to keep adding new communication methods faster than they can test and debug those ports?

    --
    make imaginary.friends COUNT=100 VISIBLE=false
  6. Fact? Who needs em. by jxander · · Score: 1

    While TFA does say:

    he managed to break into the Nokia 9 when his home-made NFC-based device is in very close proximity to the targeted smartphone ... NFC works at near-contact range

    It doesn't give any actual numbers or distance measurements. Would be nice to have some actual facts and details on this. Suffice to say, if someone walks up next to me waving an unknown device around my crotch, I'm going to be a bit suspicious. The article also doesn't mention what modifications, if any, were made to the target phones. A few posters here have mentioned NFC being turned off by default. Does his methods force NFC on, or work without it? But I guess reporting accurately and completely would make this mostly a non-issue, which doesn't garner nearly as many clicks.

    --
    This signature is false.
    1. Re:Fact? Who needs em. by iluvcapra · · Score: 5, Informative

      Here are some videos. He represents the phones as unmodified, though running an old version.

      The distance isn't so much of an issue because he was able to use an NFC tag, not a transmitter, not an active device of any kind, but a mere tag to cause the phone to switch on its bluetooth radio and give him a sudoer's command line over the BT radio. An attacker could hide an NFC tag in a table or at waist level in a public place, or in a tag that's disguised to be legitimate, where people are liable to stand for more than 10 seconds: the tag cracks the phone open, and then someone with a laptop within BT distance conducts a brief session to grab what they can, or install a rootkit.

      --
      Don't blame me, I voted for Baltar.
    2. Re:Fact? Who needs em. by MachDelta · · Score: 1

      NFC is very short range. Centimeters. The devices would have to touch or very nearly touch, although modified attack hardware (stronger antennas) would probably allow some leeway.
      NFC is enabled by default on the Galaxy Nexus and (I believe) the Nexus S. But it's trivial to disable (Settings -> More -> NFC) and AFAIK cannot be forced on unless you compromise the device via some other vector (at which point, you're already screwed).
      Furthermore, the article on Ars states that most of the exploits were for Gingerbread (2.3), some of which had been patched in ICS (4.0), and that it hadn't yet been tested against Jelly Bean (4.1).

      My take on it is that most enthusiasts/power users won't have to worry about it, as they're the ones who seek out updates on their own, as well as being conscious of disabling things they aren't using (such as NFC) either for security or power concerns. But, as always, there will be plenty of clueless and gullible idiots ready to be taken advantage of.

    3. Re:Fact? Who needs em. by wierd_w · · Score: 3, Informative

      The near field is within the first 1.5 wavelengths of the frequency used. It has certain special properties related to it having a higher (proportionally) density of virtual photons entangled with the source antenna than does the far field.

      (A connection on the near field will actively change the resistance and resonance characteristics of the signalling antenna, where a far field connection will not.)

      Giving a set distance is moot. Saying it is near field is accurate, and sufficient. The distance in which NFC is possible is inseperable from the chosen comm frequency. A very short wavelength frequency will have a very tiny near field. A long wavelength frequency will have a very large near field.

      Cellular devices in the ghz band will have only a few millimeters around the antenna as the NFC reception range.

      The deal that I would consider to be the threat, is that you can't have a near field without a far field. The far field will also have broadcasted data encoded into it, and will travel much further. It could well be intercepted.

    4. Re:Fact? Who needs em. by Anonymous Coward · · Score: 0

      FYI: NFC is at 13.5MHz.
      1 wavelength is 22.12 meters, so 1.5 wavelength = 33.18 meters or 108.9 feet.

    5. Re:Fact? Who needs em. by wierd_w · · Score: 1

      They are probably relying on the fact that the falloff of the energy is inverse cube, and that total energy in the antenna is very very low.

      Communication probably has more to do with antenna coupling than with actual carrier wave data.

      However, signal only falls off to approaching zero. It never reaches it. It instead is more appropriately described as signal entropy, where the signal is lost to random fluctuations. However, a cleverly designed listening device inside the nearfield zone could get useful signal through coupling, even at very low power if done correctly.

      You would need a powered antenna in the same frequency range as a driven element, and a small reciever antenna with a rectifier. It would work a lot like a driven element AM radio antenna.

      (You basically use your own high powered antenna as a reference source, and use the weak interference of the distant NFC device to induce subtle variances through wave reinforcement/cancellation. Your rectified reception antenna cancells the reference signal, leaving only the amplified "noise" signal, which, since it is inside the near field of the target device, will have a high probability of being the secret message.)

      The drawback is that a properly designed NFC device could detect this through the resonance it would induce in the comm antenna.

      (The near field has both electrical charge oscillations and EM wave oscillations. The far field only has em waves. Your antenna knows the frequency, and makes use of both the charge and wave oscillation nature of the near field to recover the noisy signal. Only the real signal will also have the charge component! However, inducting the charge component will result in current drop in the broadcasting antenna. It can be detected.)

  7. Out-of-band comm + PKE = enough security by davidwr · · Score: 5, Interesting

    One, both sides of the conversation should know "something" about who they are talking to before engaging or continuing a transaction.

    "Enough" may be nothing more than making sure a man-in-the-middle hasn't taken over the conversation.

    Second, any conversation has to begin at a minimum trust level - basically "I don't trust you, you don't trust me, here's my name-of-the-day, what should I call you today?" level.

    Some people have suggested public key cryptography. While this is cool, it may be simpler to use "out of band" communication to verify identities. Since phones have cameras and screens, these can provide the necessary out of band communications.

    Scenario:

    Say I'm at the Burger Bar and I want to buy something using my phone. My phone doesn't trust the radio signal pretending to be Burger Bar's, and Burger Bar doesn't trust that my phone isn't someone else's phone nearby.

    So I use my phone to take a picture of a display at the Burger Bar order counter. This picture has a QR code for Burger Bar's public key or web site that has the public key, as well as a second, changing QR code that is my transaction ID plus some randomness. I encrypt all of this plus my made-up-on-the-spot public key plus a made-up QR code using Burger Bar's public key. I display this QR code on my phone and put it in range of the small camera at the register. Burger Bar's computer checks the QR code against what I just transmitted to verify it's my phone it's talking to.

    Now we can talk to each other securely and, thanks to the ordinary security cameras that show me holding my phone close to the order counter, in a difficult-to-repudiate way.

    I didn't have to give Burger Bar my phone's serial number. I didn't have to give it any identification beyond what our banks need to transact business, just as if I were using a traditional credit card or debit card payment. If we are using bit-coin or something similar, I didn't even have to give them that much - true anonymity.

    Now I go enjoy my meal. Oh wait, this is Burger Bar we are talking about. Now I go ingest my mass quantities.

    Burger Bar really doesn't have to use its own public key. Like me, it can make up one for this transaction. It's the taking-a-picture of the public key and transaction code that make this secure against a radio-only intercept. If there is a risk that the transaction code picture or my phone's on-screen QR code will be intercepted, it's easy enough to let the two devices look at each other in a way that's very difficult to "peek into."

    --
    Knowledge is how to play a game, intelligence is how to win, wisdom is knowing what game to play.
    1. Re:Out-of-band comm + PKE = enough security by vux984 · · Score: 4, Insightful

      Well, yes, that's all great...

      But the problem you need to solve is "paying for a burger with less effort than using a debit / credit card" while not being less secure.

      Your solution passes on being more secure, but fails dismally at being easier.

    2. Re:Out-of-band comm + PKE = enough security by Anonymous Coward · · Score: 0

      So make it simpler. Have the display and camera attached to the cash register. Hold phone in between them, NFC signal triggers the QR key exchange, proceed with transaction.

    3. Re:Out-of-band comm + PKE = enough security by Anonymous Coward · · Score: 1

      this is about 2x more complicated than it needs to be. you don't need the nfc part at all to do this securely! also, the bitcoin wallet for android already does it.

    4. Re:Out-of-band comm + PKE = enough security by Anonymous Coward · · Score: 0

      But the problem you need to solve is "paying for a burger with less effort than using a debit / credit card" while not being less secure.

      A click of the camera is easier than a signature. Plus, it doesn't to be "easier" it just needs to be roughly equal because not having to carry a card separate from the phone is already a benefit.

    5. Re:Out-of-band comm + PKE = enough security by Anonymous Coward · · Score: 1

      What about malicious QR codes?

    6. Re:Out-of-band comm + PKE = enough security by ghn · · Score: 1

      Nice write-up. Extremely complex and awkward in every way if you think of it in real life and according to the current state of technoloy.

      Here's my version of a secure transaction at Burger bar

      Ask for combo #1

      Hand of five dollar bill

      Get combo #1 and some change

      No trace left and no security risk.

      Sure, I need to acquire and carry said 5$ bill in a safe and secure manner, but they way I do it RIGHT NOW satisfies my need for privacy and security.

    7. Re:Out-of-band comm + PKE = enough security by Anonymous Coward · · Score: 0

      Cash?

    8. Re:Out-of-band comm + PKE = enough security by Anonymous Coward · · Score: 0

      Hand of five dollar bill

      Get combo #1 and some change

      Get asked for the remaining balance. Pay remaining balance. Get combo #1.

      There, fixed that for you.

    9. Re:Out-of-band comm + PKE = enough security by Overzeetop · · Score: 1

      Have you ever seen your average order taker/waiter try to make change?

      --
      Is it just my observation, or are there way too many stupid people in the world?
  8. Yes Please! by Anonymous Coward · · Score: 0

    I second the motion!

    My favorite fuzzer was for the original Mac; it just fed random keyboard and mouse inputs:
    http://folklore.org/StoryView.py?project=Macintosh&story=Monkey_Lives.txt

  9. How many Nexus S in the field are vulnerable? by Anonymous Coward · · Score: 0

    The Nexus S in question was only running Gingerbread, the latest version of Android to be exploitable in this way. All Nexus S devices have had Ice Cream Sandwich available via OTA update for a long time, and most are getting Jelly Bean now. I'd imagine the number of vulnerable devices in the wild is incredibly low.

    1. Re:How many Nexus S in the field are vulnerable? by admdrew · · Score: 1
      AC:

      The Nexus S in question was only running Gingerbread, the latest version of Android to be exploitable in this way. All Nexus S devices have had Ice Cream Sandwich available via OTA update for a long time, and most are getting Jelly Bean now. I'd imagine the number of vulnerable devices in the wild is incredibly low.

      Yup, exactly:
      http://www.androidcentral.com/android-nfc-hack-cool-not-new-or-dangerous

  10. My quick tests with NFC by witherstaff · · Score: 3, Informative

    I've played with distances using a few different smart cards, a USB NFC reader, and a nexus S. I couldn't get a smartcard to read through the front of the phone or the side. I could get a USB NFC reader to detect if smartphone was placed face down. From the back it is about 3 inches with a USB reader, 1-2 inches with a smartcard.

    NFC is also a battery hog. I don't see having it running all the time.

  11. NFC is too Functional by Jah-Wren+Ryel · · Score: 5, Interesting

    I've long thought that NFC was a disaster waiting to happen - or really a never-ending series of disasters, just as each one is patched-over a new one will appear.

    The problem is that NFC's functionallity is all out of proportion to the problem it is intended to solve. It's kind of like adding a video display when all you need is an LED indicator light. NFC is supposed to handle short and fast communications between devices that are in very close proximity. Stuff like exchanging v-cards, electronic payments at the register, kickstarting ad-hoc wifi connections, etc.

    None of that stuff requires radio communications and even though NFC is designed for broadcast ranges of a couple of centimeters, that never stops the bad guy from using high-powered transmitters and ultra-sensitive antennas to do their dirty work from a more comfortable and non-obvious location.

    I believe that almost everything that NFC is likely to ever be useful for could also be done with no extra hardware. Just use the camera already built into every smart-phone to take a picture of a 2d-barcode displayed by the other device. That gets you physical access controls limited by line of site and a window of opportunity limited to the second or so that the user explicitly presses the camera button.

    --
    When information is power, privacy is freedom.
    1. Re:NFC is too Functional by Anonymous Coward · · Score: 0

      Or use ancient technology: an infrared LED like a remote control uses, or old Palm devices used. The disadvantage that it is only line-of-sight and that it can be easily blocked is ... actually an advantage in terms of security. And it's dirt cheap to implement and in terms of power use.

    2. Re:NFC is too Functional by Inda · · Score: 1

      "that never stops the bad guy from using high-powered transmitters and ultra-sensitive antennas "

      I know pretty much nothing about NFC, but why can't the handshake, if there is such a thing, why can't it measure the distance between the two objects?

      1ms ping back means the objects are close
      10ms, the objects are too far away, handshake failure.

      --
      This post contains benzene, nitrosamines, formaldehyde and hydrogen cyanide.
    3. Re:NFC is too Functional by Anonymous Coward · · Score: 0

      Hi-powered long-distance attacks aren't the only vulnerability, just the first most obvious one.

    4. Re:NFC is too Functional by Anonymous Coward · · Score: 0

      Because light can travel 10km both ways in less than 1ms, so it will probably take longer to process the ping request than the signal would take to travel to the attacker and back and thus the margin of error in the distance calculation would be too large.

  12. NFC for authentication by jbeaupre · · Score: 3, Interesting

    The discussion about single point login got me thinking. Rather than having some server out there become a single point of failure, how about a device you carry with you that stores the multitude of logins and passwords? Smart phones seem capable of just that.

    Has anyone come across using NFC on a phone as a login/password authentication method? Store all of your login and passwords on the phone. Then when prompted for login info (website, laptop login, etc), you use your phone.

    Yeah, a whole new security nightmare. But the idea still appeals to me.

    --
    The world is made by those who show up for the job.
  13. Heh, last week /. editor timothy claimed Apple... by Anonymous Coward · · Score: 0

    was the vulnerable one and that Charlie Miller would hack an iPhone.

    Heh.

  14. Where Out Thou Good Nazi by Anonymous Coward · · Score: 0

    The General of the NSA was going to cum in during a Wagner Waltz and masturbate his way to the hearts and minds of the attended.

    Where Out Thou O'Great Good Nazi?

    LoL

  15. Re:Is it that hard to buy a phone w/ NFC default=o by 93+Escort+Wagon · · Score: 2

    Regardless of what the default NFC state is, we've been hearing NFC is the nifty next thing for these phones. Google made a huge deal about it at Google IO.

    Stating that NFC is secure because you can turn it off is analogous to claiming SSH1 is secure because it can be turned off. It's not secure; you're just ameliorating the problem - not to mention losing the desired functionality.

    Besides, what are all the people who bought those Nexus Q's supposed to do now?

    --
    #DeleteChrome
  16. Overrated... by Anonymous Coward · · Score: 2, Insightful

    Unfortunately, like most web sites, slashdot brings this article way too sensational, omitting most of the facts that make this a lot less impressive and worrisome.

    First, at least on Android devices, NFC is only enabled when the screen is on and unlocked. That means that nobody can just walk by you and communicate to your device over NFC. You need to be already working with your phone.

    Second, there is the range. NFC typically only works one or two inches away, and the two devices interacting need to be aligned properly as well. Somebody literally needs to put a phone back to yours to make this work. Of course, range could be expanded a bit with some seriously large gear, but it is still extremely difficult to align to such a small antenna from a distance. And remember, your phone's screen needs to be and unlocked. You'll notice when someone comes that close to you or your phone.

    Third, you can't just pull data from an Android device over NFC. You need to confirm that you want to push data. What Charlie did was to push a web link over NFC to a remote device. Because there was a bug in webkit on the remote device (only on 4.0.1), this allowed him to execute code. If he had entered the URL manually, or scanned a QR code, the same would have happened. It's true that Android does not ask for confirmation when *receiving* data over NFC. That said, most users would click *yes* anyway on such confirmations. And there are more effective ways to exploit webkit bugs (sending mass e-mails, just putting a link to the malicious URL on a popular website).

  17. Seems like a good time by Anonymous Coward · · Score: 0

    to drop a nuke on Las Vegas.