Announcement

Collapse
No announcement yet.

Hacking wi-fi light bulbs

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Hacking wi-fi light bulbs

    The forthcoming Internet-of-things should scare the shopt out of all of us.

    http://contextis.com/blog/hacking-in...d-light-bulbs/

    The subject of this blog, the LIFX light bulb, bills itself as the light bulb reinvented; a “WiFi enabled multi-color [sic], energy efficient LED light bulb” that can be controlled from a smartphone [1]. We chose to investigate this device due to its use of emerging wireless network protocols, the way it came to market and its appeal to the technophile in all of us. The LIFX project started off on crowd funding website Kickstarter in September 2012 where it proved hugely popular, bringing in over 13 times its original funding target.

    LIFX bulbs connect to a WiFi network in order to allow them to be controlled using a smart phone application. In a situation where multiple bulbs are available, only one bulb will connect to the network. This “master” bulb receives commands from the smart phone application, and broadcasts them to all other bulbs over an 802.15.4 6LoWPAN wireless mesh network.

    In the event of the master bulb being turned off or disconnected from the network, one of the remaining bulbs elects to take its position as the master and connects to the WiFi network ready to relay commands to any further remaining bulbs. This architecture requires only one bulb to be connected to the WiFi at a time, which has numerous benefits including allowing the remaining bulbs to run on low power when not illuminated, extending the useable range of the bulb network to well past that of just the WiFi network and reducing congestion on the WiFi network.

    Needless to say, the use of emerging wireless communication protocols, mesh networking and master / slave communication roles interested the hacker in us, so we picked up a few bulbs and set about our research.

    The research presented in this blog was performed against version 1.1 of the LIFX firmware. Since reporting the findings to LIFX, version 1.2 has been made available for download.

    Analysing the Attack Surface

    There are three core communication components in the LIFX bulb network:

    1. Smart phone to bulb communication

    2. Bulb WiFi communication

    3. Bulb mesh network communication
    Of course, they found vulnerabilities. What else would you expect?

    Putting it All Together

    Armed with knowledge of the encryption algorithm, key, initialization vector and an understanding of the mesh network protocol we could then inject packets into the mesh network, capture the WiFi details and decrypt the credentials, all without any prior authentication or alerting of our presence. Success!

    It should be noted, since this attack works on the 802.15.4 6LoWPAN wireless mesh network, an attacker would need to be within wireless range, ~30 meters, of a vulnerable LIFX bulb to perform this attack, severely limiting the practicality for exploitation on a large scale.

    Vendor Fix

    Context informed LIFX of our research findings, who were proactive in their response. Context have since worked with LIFX to help them provide a fix this specific issue, along with other further security improvements. The fix, which is included in the new firmware available at http://updates.lifx.co/, now encrypts all 6LoWPAN traffic, using an encryption key derived from the WiFi credentials, and includes functionality for secure on-boarding of new bulbs on to the network.

    Of course, as with any internet connecting device, whether phone, laptop, light bulb or rabbit, there is always a chance of someone being able to hack it. Look forward to our upcoming blogs for more details.
    When, O when will the people who build this stuff learn how to think like bad guys before they release their always-broken version 1.0? If they would have considered how to build encryption and authentication into 6LoWPAN from the beginning, none of this would have happened. Grrrr!
    Last edited by SteveRiley; Jul 18, 2014, 06:52 PM.

    #2
    Philips Hue LED smart bulbs have security issues too.

    http://arstechnica.com/security/2013...-malware-hack/

    With lighting being an important part of physical security, let's hope that nobody ever thinks it's a good idea to use any kind of smart bulb in such a scenario - unless they've been subjected to an external, adversarial style, security audit first.
    Last edited by HalationEffect; Jul 18, 2014, 07:11 PM.
    sigpic
    "Let us think the unthinkable, let us do the undoable, let us prepare to grapple with the ineffable itself, and see if we may not eff it after all."
    -- Douglas Adams

    Comment


      #3
      If you want to do things like this you can always just use a bluetooth smart bulb that doesn't need to connect to your WiFi network to work its magic...

      Like the LuMini: https://www.kickstarter.com/projects...b-for-everyone

      Not that you couldn't be a naughty haxor with these, but you're not placing the bulb inside your LAN which is a good start.
      samhobbs.co.uk

      Comment


        #4
        It's probably because I'm thick, but what real benefit is there in having a wi-fi enabled lighting circuit?
        If it's to simply control the lighting circuit by use of a "smart phone" (tablet) what's wrong with using the light switch to turn on/off the circuit? Or are people that lazy these days that they "need" to switch on lights in the comfort of their armchair? Is it that people are too [censored] fat to get off their [censored] to use the light switch.
        This to me sounds like a system was developed just for the sake of it.
        So please someone can someone tell me a real good reason for this system.

        Comment


          #5
          Of course they have security issues. Look how easily Jeff Blumberg hacked into the alien computers in "Independence Day", shutting them down just before they fired a nuke into the alien control room!
          "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
          – John F. Kennedy, February 26, 1962.

          Comment


            #6
            One possible use case: deaf person can't hear the doorbell/phone ring, so has a light that it capable of flashing/changing colour when one of those two things happens.

            For "normal" uses, see the LuMini video. Lights that automatically turn on/off when you walk into/out of a room are a pretty cool idea.
            samhobbs.co.uk

            Comment


              #7
              Originally posted by NickStone View Post
              It's probably because I'm thick, but what real benefit is there in having a wi-fi enabled lighting circuit?
              If it's to simply control the lighting circuit by use of a "smart phone" (tablet) what's wrong with using the light switch to turn on/off the circuit? Or are people that lazy these days that they "need" to switch on lights in the comfort of their armchair? Is it that people are too [censored] fat to get off their [censored] to use the light switch.
              This to me sounds like a system was developed just for the sake of it.
              So please someone can someone tell me a real good reason for this system.
              Thank you!! I was wanting to say the same thing.

              Comment


                #8
                Originally posted by Feathers McGraw View Post
                One possible use case: deaf person can't hear the doorbell/phone ring, so has a light that it capable of flashing/changing colour when one of those two things happens.

                For "normal" uses, see the LuMini video. Lights that automatically turn on/off when you walk into/out of a room are a pretty cool idea.
                If a deaf person has a phone there are phones already available for deaf people that uses an LED light built in to the phone that flashes when a call comes through also deaf people when using a phone will use a device that will allow them to type their messages to a third party who will then speak that message to the person on the other end of the phone.
                Also deaf people will already have a system in their home which enables them to know when someone is at their door, so once again that wi-fi light circuit system is not required in those two instances.
                And for lights that switch on automatically when someone walks in to a room, they already have those set up but not by wi-fi. They have sensors installed at appropriate locations in the room and when they detect movement the light comes on.
                So once again, what valid reason is there for a wi-fi enabled light circuit?

                Comment


                  #9
                  Hmm, I'm not convinced by the "there's already one way to do things so we don't need another" argument.

                  I know the doorbell system already exists, but I believe those have to be wired in.

                  There's a deaf guy at work who has to balance his smart phone on its edge so he can see that LED when it flashes, and the phone often falls over, and if he's not looking reasonably close to it he misses it. If he could take in a bulb and put it in the lamp on his desk, and connect the phone to the bulb, he'd have a much better solution - one that is quickly moved and set up at a different desk, if need be.

                  Not that the connection has to be WiFi, it could be Bluetooth like the LuMini link I posted, but then Bluetooth range isn't as good as WiFi so there are different pros and cons.

                  The benefit of a bulb that connect to WiFi is that any device that can use WiFi can connect to it. The benefit of a bulb that can connect to Bluetooth is that any device that can use Bluetooth can connect to it. That makes it useful for all kinds of hobbyist projects.

                  The fact that this company implemented their WiFi bulb badly doesn't mean it's a terrible idea, it just means they were incompetent.
                  samhobbs.co.uk

                  Comment


                    #10
                    Originally posted by Feathers McGraw View Post
                    Hmm, I'm not convinced by the "there's already one way to do things so we don't need another" argument.
                    I agree with you.

                    Originally posted by Feathers McGraw View Post
                    There's a deaf guy at work who has to balance his smart phone on its edge so he can see that LED when it flashes, and the phone often falls over, and if he's not looking reasonably close to it he misses it.
                    Why does he need to balance his "smart phone" to see the LED? All he has to do is display the phone so he can see the screen, the screen will tell him when a call comes through.
                    Not that the connection has to be WiFi, it could be Bluetooth like the LuMini link I posted, but then Bluetooth range isn't as good as WiFi so there are different pros and cons.

                    Originally posted by Feathers McGraw View Post
                    The benefit of a bulb that connect to WiFi is that any device that can use WiFi can connect to it. The benefit of a bulb that can connect to Bluetooth is that any device that can use Bluetooth can connect to it. That makes it useful for all kinds of hobbyist projects.
                    Yes correct a Hobbyist project - hobbyist projects are not always useful

                    Comment


                      #11
                      So that the led is pointing towards him and not just into the air or into the table, it's not bright enough to be noticed otherwise.

                      He's not constantly looking at the screen (are you constantly looking at your phone screen at work?) so he would often miss calls if he relied on that.

                      These bulbs are for hobbyists, are they not?
                      samhobbs.co.uk

                      Comment


                        #12
                        Originally posted by Feathers McGraw View Post
                        So that the led is pointing towards him and not just into the air or into the table, it's not bright enough to be noticed otherwise.

                        He's not constantly looking at the screen (are you constantly looking at your phone screen at work?) so he would often miss calls if he relied on that.

                        These bulbs are for hobbyists, are they not?
                        If your that interested in inventing gadgets, how about inventing something to get my 2 cats to start scratching the scratching post instead of my furniture. Now that would be something more useful.

                        Comment


                          #13
                          Um, maybe if you started sitting on the posts the cats would move their scratching to that? Just a thought...

                          Comment


                            #14
                            Na, just replace all the furniture legs with scratching posts, and the scratching post with a furniture leg!!
                            Windows no longer obstructs my view.
                            Using Kubuntu Linux since March 23, 2007.
                            "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                            Comment


                              #15
                              Fill the post full of catnip?
                              samhobbs.co.uk

                              Comment

                              Working...
                              X