Slashdot Mirror


Reverse Engineering the Nike+ FuelBand's Communications Protocol

An anonymous reader writes: Security researcher Simone Margaritelli has reverse engineered the Bluetooth low-energy communications protocol for his Nike+ FuelBand SE, a wrist-worn activity tracker. He learned some disturbing facts: "The authentication system is vulnerable, anyone could connect to your device. The protocol supports direct reading and writing of the device memory, up to 65K of contents. The protocol supports commands that are not supposed to be implemented in a production release (bootloader mode, device self test, etc)." His post explains in detail how he managed this, and how Nike put effort into creating an authentication system, but then completely undermined it by using a hard-coded token. Margaritelli even provides a command list for the device, which can do things like grab an event log, upload a bitmap for the screen, and even reset it.

78 comments

  1. OMG the Horror! by Anonymous Coward · · Score: 3, Funny

    Now we know how many Calories he burned. we are doomed...

    1. Re:OMG the Horror! by AchilleTalon · · Score: 4, Funny

      Better, you can let him think he hasn't burn enough calories and make him running forever.

      --
      Achille Talon
      Hop!
    2. Re:OMG the Horror! by Virtucon · · Score: 1

      That's what I was thinking. Another "researcher" looking for publication.

      --
      Harrison's Postulate - "For every action there is an equal and opposite criticism"
    3. Re:OMG the Horror! by Anonymous Coward · · Score: 0

      The GPS log of where he has been over the past 7 days does have the potential to be more worrying however.

    4. Re:OMG the Horror! by itzly · · Score: 1

      It's easier to take that from a phone.

    5. Re:OMG the Horror! by Anonymous Coward · · Score: 0

      AchilleTalon: Better, you can let him think he hasn't burn enough calories and make him running forever.

      Mods: (Score:4, Funny)

      OK. Who gave Dr. Evil some mod points?

    6. Re:OMG the Horror! by Anonymous Coward · · Score: 1

      Except this device doesn't have GPS.

    7. Re:OMG the Horror! by macs4all · · Score: 2

      Now we know how many Calories he burned. we are doomed...

      Exactly!

      Does EVERYTHING have to have the utmost in security?

      What I didn't see was any mention of "personal information" or "remote code injection/execution" that MIGHT call for strong encryption.

      So the question for Nike becomes "How much will having a bigger, faster microcontroller to encode/decode secure communications cost us (and therefore the consumer)?"

      And is it necessary?

    8. Re:OMG the Horror! by rthille · · Score: 1

      No GPS, but I'm guessing that if you can get the raw accelerometer data from one of these devices over a long enough time, you could map out where they've been....

      --
      Awesome furniture, accessories and cabinetry in Santa Rosa, CA: http://humanity-home.com/
    9. Re:OMG the Horror! by cusco · · Score: 1

      I wouldn't worry so much about the security of data on the device as much as once it's paired with your other devices you have a security hole inside your network that is trusted by your phone, laptop, whatever. Printers and security cameras have already been exploited to attack networks from the inside, this is yet another opportunity waiting to be exploited.

      --
      "Think about how stupid the average person is. Now, realise that half of them are dumber than that." - George Carlin
  2. Undermined security w/ hardcoded token? by Anonymous Coward · · Score: 5, Funny

    Developer: That's insecure.
    Phil Knight: Just do it.

  3. So, what's the practical concern of this? by TWX · · Score: 3, Interesting

    Are people going to reverse-engineer these things so that when they're worn into secure facilities, they inject-attack systems in the secure facility?

    Are they going to act as a vector to attack other Bluetooth Low Energy capable security systems?

    I simply want to know what kind of maliciousness can be achieved through exploiting bugs in a very, very special-purpose device.

    --
    Do not look into laser with remaining eye.
    1. Re:So, what's the practical concern of this? by Mr+D+from+63 · · Score: 1

      Yeah, I wonder why a lack of rock solid authentication for this particular device so "disturbing"?

    2. Re:So, what's the practical concern of this? by Anonymous Coward · · Score: 1

      IDK, might be fun to make them all display custom messages. Simple app could harvest the device nonces in the area and then upload custom messages to each one using Cmd_UploadGraphic. Lots of laughs at the gym.

    3. Re:So, what's the practical concern of this? by CastrTroy · · Score: 3, Insightful

      It's interesting that you bring that up. Many secure facilities won't allow people to bring in cell phones or other devices. But it's actually quite hard to distinguish some regular wrist watches from one with cameras or communications devices in them. I think if you really want to have a "secure" facility, then you pretty much have to limit people to bringing in no electronic devices whatsoever.

      --

      Anthropic principle: We see the universe the way it is because if it were different we would not be here to see it.
    4. Re: So, what's the practical concern of this? by Anonymous Coward · · Score: 0

      Yes, they are (already)!

      From a security aspect that sh*t is scarier than people bringing their own smartphones to work.

    5. Re:So, what's the practical concern of this? by oodaloop · · Score: 4, Insightful

      I work in a secure facility, and activity tracking wristbands (among many other things) are forbidden.

      --
      Tic-Tac-Toe, Global Thermonuclear War, and relationships all have the same winning move.
    6. Re:So, what's the practical concern of this? by DarkOx · · Score: 2

      That was my first thought too. There is an obvious privacy, implication. Maybe in some really contorted situation you could induce someone to do something dangerous like convince a diabetic they have done a whole ton of walking this morning and therefore should eat more sugar than normal and similar attacks.

      I think the big issue is the potential to use this as a vector to introduce malware to the phone or PC the owner interfaces the device with. Not sure how practical that is.

      --
      Repeal the 17th Amendment TODAY! Also Please Read http://www.gnu.org/philosophy/right-to-read.html
    7. Re:So, what's the practical concern of this? by gmack · · Score: 2

      I think the big issue is the potential to use this as a vector to introduce malware to the phone or PC the owner interfaces the device with. Not sure how practical that is.

      The big issue will be that people will use this to display rude things on random people's armbands.

    8. Re:So, what's the practical concern of this? by Anonymous Coward · · Score: 2, Funny

      I work in a secure facility, and activity tracking wristbands (among many other things) are forbidden.

      What about posting to Slashdot on the clock?

    9. Re: So, what's the practical concern of this? by Anonymous Coward · · Score: 0

      Wipe the device then display goatse on the screen. Time to make a proof of concept

    10. Re:So, what's the practical concern of this? by Frosty+Piss · · Score: 2

      The big issue will be that people will use this to display rude things on random people's armbands.

      So you are saying the Anonymous script kiddies will use this to advance their devilish plan to "out" pedos and bring down ISIS?

      --
      If you want news from today, you have to come back tomorrow.
    11. Re:So, what's the practical concern of this? by Anonymous Coward · · Score: 1

      I work in a secure facility, and activity tracking wristbands (among many other things) are forbidden.

      What about posting to Slashdot on the clock?

      You mean this isn't WikiLeaks?!? Oh for fucks sake, I'm ruined!

    12. Re:So, what's the practical concern of this? by CaptainDork · · Score: 2

      The real issue is the inherent philosophy that the Internet of Things is such a trivial group of devices that security is not important.

      What's the threshold, and who establishes that?

      It's obviously an important discussion, given the attention it has generated.

      --
      It little behooves the best of us to comment on the rest of us.
    13. Re: So, what's the practical concern of this? by WindBourne · · Score: 1

      In general, somebody who has loads of money will make use of these bands. Now, if I wanted to take a rich person as hostage for a payoff, I might get somebody close to them to simply change out some code. That way when rich person is walking around and device gets a signal, it says, here I am. Basically, an easy tracking device.

      --
      I prefer the "u" in honour as it seems to be missing these days.
    14. Re:So, what's the practical concern of this? by TWX · · Score: 1

      Oh, for that I definitely agree, there is a very specific point where that security needs to take place. I just don't think that a bluetooth wrist band that is supposed to only intermittently connect to a host device (not even directly to the Internet) is that place. I'd rather see wireless keyboards and mice see their communications secured before I worry about this thing.

      --
      Do not look into laser with remaining eye.
    15. Re:So, what's the practical concern of this? by BronsCon · · Score: 1

      issue or benefit?

      --
      APK quotes people (including myself) without context and should not be trusted. Just thought you should know.
    16. Re:So, what's the practical concern of this? by TWX · · Score: 1

      I expect that such facilities are helping to keep the paging industry going. That long with drug dealers...

      --
      Do not look into laser with remaining eye.
    17. Re: So, what's the practical concern of this? by TWX · · Score: 1

      What's the range on it though? This is a low-power specification after all; you'd have to be right on top of them to detect it so you'd already know where they are.

      --
      Do not look into laser with remaining eye.
    18. Re:So, what's the practical concern of this? by Anonymous Coward · · Score: 0

      Sorry, smartclocks are also forbidden.

    19. Re: So, what's the practical concern of this? by Anonymous Coward · · Score: 0

      That is so impractical that only an autistic kidnapper would ever thing to try it. A real criminal would just have someone follow them and hit the rich guy in the head a few times.

    20. Re:So, what's the practical concern of this? by amias · · Score: 1

      such as reebok logos ?

      --
      [site]
    21. Re:So, what's the practical concern of this? by amias · · Score: 1

      if you have a secure facility that allows random bluetooth accessories to connect to it , its not a secure facility its a bad joke.

      --
      [site]
  4. You can change the booloader? by Anonymous Coward · · Score: 1

    So, does it run Linux yet?

  5. evil genus by Anonymous Coward · · Score: 0

    First Nike+ FuelBand, then...THE WORLD!

  6. The Real Sin by Anonymous Coward · · Score: 0

    The real sin is that the design change to accommodate the gizmo fucked up the performance of their sneakers.

  7. screw fitness bands. by nimbius · · Score: 3, Interesting

    from a social standpoint these devices are near and helpful. From a FOSS standpoint these devices are intrusive and treat their users like cattle. Check out Fitbit for example, the largest provider of digital harvesting/tracking hardware. the privacy policy insists they sell de-identified data (because metadata is a dirty word these days) to third parties. So if you're wondering why health insurance companies are pushing biometric competitions at the workplace using subsidized devices its because your health is not their primary concern. Determining an accurate insurance rate for a component of workers that are at heightened risk for diabetes, heart attack, and alzheimers is what they care about. Your corporation in turn cares about your health, and might reward you with water bottles or gift cards to sporting goods stores that, in turn, might turn into a newer fitbit/fuel.

    the protocol used to affect data and function of the device is trivial, Galileo and libfitbit hacked this a few years ago. The real problem is your biometric data which is transferred across the device in an AES/md5 header encrypted blob. This violates countless freedoms of the application, starting with 0. The key to decrypt this data doesnt exist for you, and hence you're tethered to a website and a product that if it were ever usurped by say, fitness applications on your phone, would go bankrupt, shutter its doors, and leave you with a nice chunk of plastic that showed numbers and belched motivational platitudes. the real work in these devices should be decrypting the collected data without the use of the companies respective servers and web resources.

    --
    Good people go to bed earlier.
    1. Re:screw fitness bands. by Anonymous Coward · · Score: 0

      > Determining an accurate insurance rate for a component of workers that are at heightened risk for diabetes, heart attack, and alzheimers is what they care about.

      Oh, gadzooks, how awful! Heaven forbid that insurance rates should become...*gasp*...accurate. </sarcasm>

    2. Re:screw fitness bands. by Anonymous Coward · · Score: 0

      The logical extension of this would be you can only get insurance for conditions that the insurance companies are certain you won't get.

    3. Re:screw fitness bands. by itzly · · Score: 1

      Surely, the logical extension is that they send you to a death camp for not having perfect health.

    4. Re:screw fitness bands. by Qzukk · · Score: 1

      Death camp implies that they're interested in spending money on killing you when there's a perfectly serviceable gutter for you to crawl into.

      --
      If I have been able to see further than others, it is because I bought a pair of binoculars.
    5. Re:screw fitness bands. by itzly · · Score: 1

      Of course, they want to prevent you from spreading your inferior genes.

    6. Re:screw fitness bands. by tlhIngan · · Score: 5, Informative

      the privacy policy insists they sell de-identified data (because metadata is a dirty word these days) to third parties

      Metadata is NOT de-identified data. Metadata is data about data, while de-identified data is anonymized data.

      Metadata would be for example how often and when you upload your results to their website, but nothing on what you ran or for how long and all that (that's data). The data itself would be your track, pace, location and all that information, tied to you.

      De-identifying the data would mean advertisers get access to your track, pacing and other stuff, but with no name attached, and maybe even missing a few reporting points so your address isn't obvious by looking at the endpoints.

      It's not that metadata is a bad term - it's reasonably accurate because it's the difference between say, a pen recorder and a wiretap recorder (ohe records details about the call, the other records the call itself). Or recording IP headers over recording packet contents.

      You deal in metadata a lot - a file name is metadata - it's not a part of the file's contents (the data), just like the date and other details. You can get access to file metadata quite easily even if you can't read the file itself (and it's not possible to read the file without being able to access the metadata).

    7. Re:screw fitness bands. by sjames · · Score: 2

      Keep in mind that the better insurance gets at assessing risk, the less value it has.At some point they get the risk pinned down with sufficient accuracy that you come out better by putting the premiums into a savings account until needed.

      Of course the root problem is mistaking insurance for a solution to outrageously overpriced healthcare.

    8. Re: screw fitness bands. by Anonymous Coward · · Score: 0

      Oh my god, Fox News was right about obamacare.

  8. I bet they had Indians on the team by Anonymous Coward · · Score: 0

    They give even less of a shit about security as a feature than Americans.

    Security is a "nice to have" which means you tell the boss that it will be done, but no it won't since it's cheaper not to.

    1. Re:I bet they had Indians on the team by Anonymous Coward · · Score: 0

      Your typical Indian is too incompetent to implement something like security. If they even try they'll fuck it up terribly, so it's better that they just leave it wide open.

  9. Is anybody surprised? by gstoddart · · Score: 4, Insightful

    In what way should anybody be surprised that a wearable, wireless device has implemented security in a completely incompetent way?

    These are products which are intended to be cool, shiny, and pretty ... but secure? Not even a little.

    I continue to be unsurprised by this crap, and I continue fairly firm in my indifference to owning any of this stuff ... and the same goes the for "Interweb of Stuff"; I assume that out of the gate it's going to be insecure and stupid.

    Unless companies have actual legal liability for shit security, you'll continue to see shit security.

    So just don't buy it if you value security or privacy -- because they're all pretty much designed to upload your information to analytics companies anyway.

    --
    Lost at C:>. Found at C.
    1. Re:Is anybody surprised? by justthinkit · · Score: 1

      In what way should anybody be surprised that a wearable, wireless device has implemented security in a completely incompetent way?

      Right. Since Fitbit wearers are the product, to a vast array of companies wanting personal information, it sounds like the Fitbit is designed exactly how they want it designed -- to increase the value of Fitbits in the ultimate marketplace.

      A locksmith sells few keys to secure locks...

      --
      I come here for the love
    2. Re:Is anybody surprised? by thegarbz · · Score: 1

      Yep I'm totally going to sue Nike because someone can change settings or read how many calories I burn on my fuel band. My privacy is so important.

      Look I'm all for privacy, but it gets to a point where I just don't give a shit about someone knowing some details.

      I go to the gym three times a week, run about 4km at 6min/km, then row 1km, and cycle 5km. There you are, out for all to see. About the only thing else you'll get from my fuel band is that I actually skipped gym last Thursday.

      Now if we were talking about the contents of my harddrive then it would be a different story.

    3. Re:Is anybody surprised? by stephenpeters · · Score: 1

      So just don't buy it if you value security or privacy

      Or if you are part of the Slashdot audience just wait until the wearable device is being dumped on eBay by people upgrading to the latest shiny thing. Then if someone has written a library for the device you want that provides access to the data stream buy it at a significant discount. You can then allow it to only pair with a secure device at home, avoiding the manufacurers crapware and keeping your data private.

  10. Data mule-ing and brick-ing? by xxxJonBoyxxx · · Score: 4, Informative

    As I understand the analysis, this exploit could be used to turn Fuelbands into data mules. It could also let someone temporarily brick all the Fuelbands within range (could be fun at the start of a marathon or at the gym).

    >> Cmd_Bootloader: Set the device to bootloader mode ( basically it locks down the device, the official app won't work either ... only resetting it with the usb cable will unlock it ).
    >> Cmd_SampleStore: Use the device memory to store a custom object (!!!)

    1. Re:Data mule-ing and brick-ing? by kesuki · · Score: 1

      "this exploit could be used to turn Fuelbands into data mules."

      all 65k of memory they have too sure you can fit a forkbomb but a 65k data mule?

    2. Re:Data mule-ing and brick-ing? by charlieo88 · · Score: 1

      Johnny Mnemonic?

    3. Re:Data mule-ing and brick-ing? by Anonymous Coward · · Score: 0

      Just what the pedophile needs to smuggle those naughty pictures through customs! It probably won't even trigger the metal detectors at the airport...

  11. Re:evil gen[i]us by Anonymous Coward · · Score: 1

    nevermind... the modified subject says it all

  12. Cool. by the_skywise · · Score: 2

    I've got one of these and I honestly don't care if the band isn't secure. Sure they can get my motion data and I'm sure some nefarious insurance company could install bluetooth readers worldwide to pilfer my data, confirm that I'm not moving enough and raise my rates but... heck any good scale and heart rate meter would tell you that and probably be a lot more useful.

    But now that it's been cracked -
    I'd like to see somebody use this to make an android version of the software.

    I'd like to see somebody interface with the iPhone better so when I get a call it could display the name of the caller or an appointment reminder on my band (ooh, wotta concept!)

    And maybe, just maybe somebody would write a download tool that'd COLLECT THE DATA BETTER THAN NIKE DOES!!!! Because right now I average about 1 bad read a month. (Killer if you're trying to go for the consecutive days award or, y'know, actually, accurately *monitor* your activity levels)

    1. Re:Cool. by rthille · · Score: 1

      Um, he decompiled the Android version of the app to figure out that the device was insecure...

      --
      Awesome furniture, accessories and cabinetry in Santa Rosa, CA: http://humanity-home.com/
  13. Fuck it, who fucking cares about that token anyway by burtosis · · Score: 2

    Let's just use 0xff 0xff 0xff 0xff 0xff 0xff .... !

    I laughed pretty damn hard. Best laugh I've had today.

  14. Didn't they learn the lesson of the PC? by zoffdino · · Score: 4, Insightful

    This whole IoT concept is treating security as a joke. In the first of wave computing, the mini-computers (particularly Windows) treated security as an after-thought. That created the virus-laden era of the 1990s and early 2000s. The second wave, the "new" smart phone, learned the lessons, and use sandboxes, walled garden, permissions, encryption, tokenization, etc. pervasively. It's not fool-proof but at least the door is locked. Now we are approaching the third wave, the Internet of Things, and manufacturers think these devices are so personal that no security is needed. What do they say about people who don't learn any history?

    1. Re:Didn't they learn the lesson of the PC? by itzly · · Score: 3, Insightful

      Those who learned from history are doomed to watch others repeat it.

    2. Re:Didn't they learn the lesson of the PC? by Anonymous Coward · · Score: 0

      The lesson was that security doesn't sell devices so you can make more money by ignoring it.

    3. Re:Didn't they learn the lesson of the PC? by thegarbz · · Score: 1

      the Internet of Things, and manufacturers think these devices are so personal that no security is needed.

      And you know what, in many cases I agree with them. Oh and the fuel band can hardly be considered an IoT device. It's just a datalogger. Actually it's a datalogger for some really mundane and boring data about someone.

  15. Electrical engineers write sucky code by Anonymous Coward · · Score: 0

    Hardly surprising. It's already well established that electrical engineers write lousy code. Granted, the tools for developing for embedded systems are beyond crappy and embedded microcontrollers are extremely cramped but that's still no excuse for ignoring well understood engineering practices in relation to security.

    The real question is how many security incidents will need to occur before the industry is motivated to fix the problem.

    1. Re:Electrical engineers write sucky code by burtosis · · Score: 1

      Hardly surprising. It's already well established that electrical engineers write lousy code. Granted, the tools for developing for embedded systems are beyond crappy and embedded microcontrollers are extremely cramped but that's still no excuse for ignoring well understood engineering practices in relation to security.

      The real question is how many security incidents will need to occur before the industry is motivated to fix the problem.

      Yes electrical engineers on average don't write code as well as developers but no one with a real degree writes code this stupidly. It smacks of a management decision.

    2. Re:Electrical engineers write sucky code by svirre · · Score: 1

      Actually it looks like a manufacturing managers decision. Somone writes code that depend on that manufacturing needs to inject and track unique keys for each device. Manufacturing sees this and realizes they actually need to earn their keep and set up infrastructure to support product requirements, instantly balks, and force through a security hole they neither understand or care about.

    3. Re:Electrical engineers write sucky code by rthille · · Score: 1

      Doubtful. You can use bluetooth to set the device into bootloader mode, but you can clear that by plugging it into USB, so the initial setup via USB (required, IIRC) could set the private key into the device.

      --
      Awesome furniture, accessories and cabinetry in Santa Rosa, CA: http://humanity-home.com/
  16. Targeting the DIY community? by macxcool · · Score: 1

    They're trying to capitalize on all the interest from the DIY community. Someone will hook it up to a Raspberry Pi and make it do something it was never intended to do.

    1. Re:Targeting the DIY community? by burtosis · · Score: 2

      Yes like bricking everyone's band as they run past at a marathon or popular path. Perhaps adding a mandatory PWNT message on the band.

      Im thinking this is an unintended concequence of a smug and vindictive type benevolent overseer decision.

      There are better ways to get DIY support IMO.

    2. Re:Targeting the DIY community? by itzly · · Score: 1

      Yes like bricking everyone's band as they run past at a marathon or popular path

      Sounds like a lot of work, when you can just throw a rock at them.

    3. Re:Targeting the DIY community? by Anonymous Coward · · Score: 0

      That will most likely never happen though. No one really gives a shit enough to go out of their way to do this.

    4. Re:Targeting the DIY community? by Anonymous Coward · · Score: 0

      People have done more just to be featured at /.

  17. The problem being that anybody could break it by martinmarv · · Score: 1

    It costs (guessing, CBA to check) $100, and anybody walking (/swimming/sitting) near you could potentially break your device, and brick it so it becomes useless. That kinda sucks.

    1. Re:The problem being that anybody could break it by rthille · · Score: 1

      It's only bricked until you plug it into USB and then you can reflash the firmware

      --
      Awesome furniture, accessories and cabinetry in Santa Rosa, CA: http://humanity-home.com/
  18. web hosting by Anonymous Coward · · Score: 0

    Any time you select our shared web hosting services you will have 3 data centers on three different continents to pick from. The ZFS storage guarantees max data security.">

  19. Reversal of Fortune by SuperKendall · · Score: 1

    Good god man, with the protocol fully in the hands of hackers they can reverse the bluetooth polarity flow - either shifting it to red through acceleration to burn your wrist, or even worse with the reversed flow affecting the heart rate monitor the hackers have full control of your heart rate!

    Think everyone wearing a FuelBand as now living either a Logan's Run or Running Man scenario...

    --
    "There is more worth loving than we have strength to love." - Brian Jay Stanley
  20. Excellent! by real+gumby · · Score: 1

    This is the one device that has support wired into iOS (e.g. the healthkit). Now other wearable makers can get their data straight into the phone!