good morning it's my pleasure to be here I hope the next 40 minutes will be valuable to you as Rob mentioned I am the founder and leader of the azure sphere program at Microsoft and I want to take you on a journey today so that it's a journey of how we're gonna secure billions of devices around us this journey began for me about five years ago somebody walked into my office with this floorplan and as I looked at this chip I realized I was looking at the fifth generation of computing the first generation of computing
of course was mainframes then minis then micros which at Microsoft we call pcs then smartphones and the fifth generation was gonna be connected microcontrollers now this and what was amazing to me about this chip was the first time I had seen a programmable microcontroller and radio on a single die and this chip was one that we did was actually designed at the behest of Microsoft to be used in our xbox hand controllers so it was intended to have a price of a roughly a couple of dollars for this chip now if you're not familiar with
microcontrollers I suspect most of you are in this audience a microcontroller is a single chip computer it's got processor it's got storage it's got memory and it has Iowa capabilities all in a single chip and it and usually for a few cents to a few dollars microcontrollers are found in many many devices there's over nine billion microcontroller based devices built and sold deployed every single year they go into everything from toys to home appliances to office industrial mining agriculture equipment they go into everything in fact my simple test for something doesn't have a microcontroller it's
look at something if it has a status light and it does not have a color LCD it's got a microcontroller and that's of course if it has a code lcd it's got a larger computer than that okay now as I mentioned we find these in many many devices and one of the things I realized is I that day as I looked at that chip was it every single microcontroller based device on the planet was gonna become connected let me give you an example so let's talk about your refrigerator all of you have a refrigerator at
home how do you know when the compressor in your refrigerator has gone bad well today you know because you go home to find melted ice cream and spoiled milk okay but imagine a future in which instead you find out that your refrigerator compressor is bad because you get a message from your refrigerator manufacturer and it goes something like this hey you may have noticed that your fridge is making a funny noise that's because your compressor is worn out we're gonna have a technician in your neighborhood this evening could we stop by and replace that compressor
so that you don't experience any loss of the contents of your refrigerator now which one of those refrigerators do you want to own I'm gonna argue you want to own the second one I'm also gonna tell you that every single refrigerator manufacturer on the planet wants to sell you that second refrigerator because it's an experience that delights their customer when you don't have spoiled milk and you don't have melted ice cream you're happy and you are more likely to buy a refrigerator from them the next time around okay and this is the beginning of what
we call IOT the democratization of network connectivity is the foundation of IOT the Internet of Things now I ot is not a technology revolution it is actually an organizational revolution that is being powered by technology and that's because IOT enables a digital feedback loop it allows a company to understand what's happening with its products for the very first time think about the refrigerator manufacturer for the very first time they're able to actually connect with their custom around that device so it changes the way they engage with their customers changes the way they engage with their
optimize their operations their products and even their employees it actually fundamentally changes the way all of these relationships work because you now have a digital connection that's easy in each of those relationships now with this opportunity as I thought about the future of literally every single microcontroller device on the planet being connected the internet amazing opportunity but I very quickly went to a second emotion and that second emotion was fear and that's because when you connect something to Internet it creates a great deal of risk what happens when you connect a device to the Internet
will you create a two-way street between that device and the Internet yes the device can communicate out to the device manufacturer but also hackers can come in through that exact same connection or as my friend and former colleague James Mickens who's now Harvard say likes to say the Internet is this cauldron of evil and you've now created a connection between your refrigerator and a cauldron of evil now you may you've probably all seen headlines about IOT devices being hacked refrigerators sending spam baby monitors being used to spy on families or project even project messages into
homes but I like to use I think one of the most Dilys turreted IOT hacks was the mirai botnet attack Mirai botnet attack occurred about two years ago and what happened was a group of hackers took over somewhere on the order of between fifty and a hundred thousand everyday appliances and they took them over and turned them into a botnet they use that botnet to launch a denial of a district denial-of-service attack against Dyn now if you don't know Dyn there's an eight major DNS namespace provider for the United States the effect of this attack
was to knock the entire East Coast of the United States off the internet for a day no chat no Facebook no Twitter no shopping no online video frankly I don't know what anybody on the East Coast did that day okay and ironically enough by the way most of those devices that we're taking over by hackers we're security cameras okay now so how do you build a secure device if you know there's gonna be hackers out there they're gonna be coming in and attacking your device relentlessly how do you build it well this is something that
we at Microsoft have quite a bit of experience with I've been at Microsoft over 22 years and my entire career has been spent working on Internet security of one form another we've been detaching devices the internet for decades now you name an attack we've experienced it okay I want to introduce you this morning to one of the most secure devices Microsoft has ever built it's called the Xbox one okay and you can think about it well this is a device that runs in a very hostile environment it needs to protect the privacy of the home
that it resides within but it also needs to protect the content that's on that device from hackers okay and very determined hackers we've learned a lot from that we've learned a lot from all of our other devices and from pcs and all the other arenas in which we've played one of the most important things we've learned is the security is foundational you have to build it into the device from the very beginning it has to be part of your thought process it has to be part of your design process as I began building out at
the azure what became the azure spear program one we did we collected all the wisdom that Microsoft had acquired about how to build secure devices and we published it as a paper it's if that URL akms slash seven properties the seven properties of highly secured devices and I use this term properties very specifically a property is something you can measure this isn't the seven good intentions of highly secure prop devices it's the seven properties there's a set of questions in that paper you can ask about any device and say does this device have high enough
security that I feel like I can connect it to the Internet and have it be connected for a decade and still feel like I'm safe now if you as we look through the seven properties some of the properties are purely hardware based an example of that is a hardware rooted trust a hardware rooted Trust provides you a way to uniquely identify a device that can't be subverted to verify that the device is actually running the software that you intended it to run for example others of the properties require hardware and software working together an example
of this is defense-in-depth now defense-in-depth is actually one of the oldest principles of security known to man we see it in castles we see it all over the place and this the idea of having additional layers of defense so that if an attacker is able to breach a first layer of defense you have additional layers of defense behind that in a device defense in depth requires both hardware that knows how to create barriers and software that knows how to continue how to configure those two barriers now you might be if you think about building device
you might be right now thinking of this question but Gailen how do I know when someone sells me security technology if they're selling me snake oil or the real thing okay I'll give you the one question you can always ask and you will know whether you've got someone who really know about security or nap not you say okay I understand your security technology but tell me how does it help me when an attacker gets into my device because if someone has experience with attacking they know that any any device is susceptible ultimately a determined hacker
will get into a device somehow the question is do you have enough layers of defense and depth to stop the attacker in their tracks and be able to kick them out and be able to take your device back over finally some of the others of the probe seven properties require hardware software and cloud all working together an example of this is renewable security through software update for that you need a cloud that can provide the latest version of your software you need Hardware on software on the device that knows how to take that update and
apply it robustly reliably on to the device and you need hardware that prevents an attacker from rolling back to a previous version of of that soft of the software and here's what happens with us is something we learned through hard experience let's say you have version 1 of your software is out running on your device and somewhere you figure out oh there's a security vulnerability maybe a new kind of threat emerges maybe you figure out there's a bug in the device but you figure out hey there's a security vulnerability we need to release version 2
of the software for the device we want to get that out on all our devices and you do that and it's out there well what hackers have figured out long since is that if they can trick a device into rolling back to run version one of the software they can use a known vulnerability and so you have to support in the hardware to prevent that now meeting the seven properties is difficult it's time-consuming it's costly and it requires three fundamental expertise that very few organizations hold let me explain so first well you've got to have
really good engineers that know how to build a highly secure device and those engineers have to know how to take all the various spec's as security all the various technologies and weed them together correctly and that's because if they don't your security is only as strong as your weakest link I'll give you an example of this when we use when we do communicate across the internet we use secure cryptographic algorithms and the foundation for for using those algorithms on any specific communication between two parties requires what's called a nonce it's a random number that is
used to to secure that particular communication well if you have a very poor nonce chant random number generator or an adversary can trick your protocol into loading a nonce that of their own providing they can circumvent your your wonderful powerful crypto algorithms with a very simple side door okay so you have to have amazing security engineering to make a device secured at the day that you stupid out door well the problem is when you're building a device that's connected the internet your problems don't end the day that you ship that device to your customers your
problems begin the day that you ship that custom device your customers because that's the day that the hackers begin attacking it so the second thing you need is you need security expertise ongoing throughout the lifetime of the device so that you can understand as new threats and new vulnerabilities emerge how to address them with your device and one of the things I'll say is new threats do emerge hackers are very very creative in every time and there's new generations of hackers coming they will come up with new ways of attacking devices that no-one ever considered
before my favorite example of this is we used to on PCs we had we assumed that RAM was safe that you could store secrets in RAM because the RAM was only viable as long as it had power so someone couldn't take RAM out of a PC and move it to another you see and steal your secrets then somebody figured out that well if you fret spray DRM with freon it lowers the temperature enough that you can actually pick a DRM SIM out of a PC and move it to another one and all the bits are
still in place okay who thought well that's what's the way security works you have to keep keep having new mitigations against new attacks now the third expertise you have so let's say you figure out there's a new kind of attack you create a software update well now you've got to be able to deploy that out onto every single one of your devices so you have to have the logistics infrastructure and operational excellence to be able to deploy that update to all of your devices globally sometimes in a matter of hours this particularly happens with what
we call a zero-day exploit this is someone figures out of vulnerability and before anyone knows that that vulnerability exists other than the attacker they've already weaponized it and put that digital weapon out on the Internet attacking your device's when that happens your customers are under attack or you're under attack and so you've got to be able to update those devices as quickly as you possibly can so these three core expertise sound engineering amazing engineering security expertise to analyze news of ulnar abilities and new threats as they come out and figure out how they apply to
your device and operational excellence are all required in order to build and maintain a highly secure device now you might be thinking hey my device has maybe two or three of those seven properties isn't that good enough maybe it's even got five or six my answer to you is no here's what we've learned with the X Box the very first generation of the X Box the original Xbox console when it was introduced it had two of the seven properties it was based at the time on the very best PC class security to of the properties
that device was hacked for the fair first time three weeks after we shipped it okay so we went to the back to the drawing board we spent a lot of money you know in you know eight nine eight digits I guess a lot of money building custom silicon for the next generation of the console the Xbox 360 the Xbox 360 had six of the seven properties now two of the six were a little weaker than we had hit than we would like definitely weaker than we know we need now but had to six of the
seven properties that device was hacked for the very first time three months after it shipped so we bought ourselves what about eleven weeks nine weeks I guess we bought ourselves about nine weeks okay with the Xbox one that device we took everything we knew about security and put into that device it has been on the market for over five years and it has has all seven properties and it has not yet been hacked okay now I use that word yeah we always know there's the next clever hacker who's out there okay now you might be
thinking great if you're building advices got hundreds of dollars of electronics you can afford to put in all of the security that's needed to make a device that's secure enough to be out on the internet but what if I'm building just something like a simple temperature sensor do I really need all of that security okay I'm here to tell you yes you absolutely do need all that security I'm going to tell you a story and you're gonna think that this is the next sequel to Ocean's eleven but it really happened and it really happened here
in Vegas one of the casinos here in Vegas has of a large fish tank a large aquarium and a fish tank in there in their casino and somebody bought a connected thermometer to put in the fish tank so that they could monitor the water temperature remotely of how that fish tank was going and of course whoever built that fish tank thermometer thought why would security matter on a fish tank monitor okay well hackers and Lissy so they didn't put a lot of security into it hackers were able to take over that device and they used
it as a foothold they were now inside the casinos enterprise network and they could be in there as long as they wanted because they owned a device inside that Network and they from that thermometer they scanned the entire network they found the high-roller database they attacked the high-roller database and they extracted the contents of the high-roller database pulled it out through the thermometer and out onto the internet okay and if you're a casino the only thing more valuable the only thing well your most valuable thing of course is the cash in the in the vault
but the second most valuable thing is the high-roller database all because of a fishtank thermometer okay now I'll go back and talked about microcontrollers just a minute think about where microcontrollers are deployed if you have a gas heater furnace your family depends on a microcontroller to make sure you're not poisoned by carbon monoxide your car you depend on a microcontroller to make sure that your airbags don't explode at the wrong time you depend on a microcontroller to make sure that your anti-lock brakes go off at the right time and in the right coordination in your
home you depend on a microcontroller your refrigerator to make sure that your refrigerator isn't incubating botulism okay every single device matters and it matters because the context matters it's there to protect your enterprise it's there to protect your home etc okay well so how are we gonna secure the billions of devices that are out that are being deployed these nine billion new MCU devices that are built every year how are we going to support secure them you might think it's impossible I'm here to tell you it's possible and it's practical and I'm going to give
you an existence proof that existence proof is as your sphere the product my team has been working on for the last five years as your sphere is an end-to-end solution that allows any device manufacturer to build a highly secured device and keep it secured throughout its lifetime by outsourcing the hardest parts of security to Microsoft and there's three components of an azure as your sphere the first star as your sphere certified chips hardware the second is an operating system that runs on those chips the third one is a cloud service that interacts with the devices
and keep them protected throughout their lifetime I'm going to drill into each of these in just a little bit of detail so first as your sphere certified chips these are chips that have built-in hardware Ruta trust that is certified and created from Microsoft's learnings as we secured three generations of the Xbox consoles drill in a little bit so each as your spheres chip starts off looking like any other microcontroller it's got a runt real-time processor has IO capabilities to that we add Internet connectivity the very first generation of chips are Wi-Fi and then to that
we add a hardware root of trust and fire internal firewalls defense in depth in the hardware level and they also have richer processors that enable new IOT experiences the second component of azure sphere is the operating system what we've done with the operating system we build an operating system for these chips that combines the very best of Microsoft technology and learnings from the Windows experience with open source technology to build a trustworthy IOT flat top their platform it is a multi-layered defense-in-depth operating system one layer after another the first layer runs on the device it
could protects the keys and controls the prostituting of the processors the second layer provides guards in the integrity of the dip and access to hardware resources the third layer is a custom Linux kernel yes you heard it right Microsoft is building an operating system with a Linux kernel we've taken the Linux kernel we've optimized it for IOT and we've made significant security enhancement to it okay and we chose to use a Linux kernel because we want to enable any device manufacturer to build an azure sphere based device and we want to enable any any chip
manufacturer to enable as your sphere on their chip and the easiest way to do that is to open-source the layer of the chip of the layer of the operating system that they need to customize for their silicon layer above that is a set of on chip cloud services that provide authentication update and connect secure connectivity and then only at the very top layer there's where we run the the code of the device the application we call it in secure containers and the idea there is that if something goes wrong in the application we still can
protect the entire rest of the platform now the third component of azure sphere is the azure sphere security service the security service guards every single chip on the planet it brokers trust between that chip and other devices it detects emerging security threats and it provides software updates so the Security Service protects the devices by providing certificate based authentication so there's no passwords on these devices it detects emerging security threats by monitoring what the behavior of the device and when there's something abnormal happening on the device sending a report that we then process with machine learning
to figure out what's going wrong how is an attacker attacking the device then we create updates and we respond to those attacks by pushing updates out onto the devices and finally the security service also empowers device manufacturers with hands-free deployment of the updates of their software that runs on the device so that they can provide new features over time and enable new customer experiences now device security is like a stool it requires three legs it's hardware software and cloud working together and if you take any one of those legs out it doesn't work the security
doesn't work now I want to give you one example of someone who's using as your sphere and deployment right now as spear haslund locked IOT for Starbucks I assume people in here have heard of Starbucks okay alright ironically enough I don't drink coffee I've never had a cup of coffee in my entire life okay so I did not bond with the Starbucks engineers around coffee but I did bond with them around security okay and here's the simple oil screaming Starbucks wants to make sure that when you come in to have a cup of coffee that
you have a fantastic experience that you can get exactly the cup of coffee you want with exactly the features you want and that they can roll out new recipes periodically etc well one of the obstacles to that are the actual espresso machines themselves they're mechanical devices they wear out they had they experienced failures and so Starbucks wanted to be able to actually monitor all of their expresso machines online okay now in order to do that they need need network connectivity but they need security and that's because Starbucks understands that the worst possible thing that could
happen to them was imagine a Monday morning whenever expresso machine in every Starbucks store worldwide is held ransom by attackers okay that's not just a financial problem that is a societal collapse okay and they don't want that to happen okay and so security is paramount to them well we went to them we introduced they heard about as your sphere we introduced it to them they said this is fantastic we love it but we have tens of thousands of espresso machines in deployment we can't go replace all of them right now with new Azure sphere based
expressive machines and so what we figured out we got together with them and we built what we call a guardian module and there's a picture here and a guardian module is about the size of a deck of cards because we're in Vegas right and it connects onto the side of an existing legacy device it's what we call a brownfield deployment connects on that legacy device uses whatever debug ports or other information is available on the device and then it connects securely to the cloud using Azure sphere and so as you're spearing that way by with
this Guardian module deployment what we found is we can take any existing deployment equipment had any equipment in your factory any equipment you historic cetera and connect it securely the internet using address fear all right I talked about the opportunities of IOT I talked about the risk I want to introduce one more word and that word is responsibility we all have a shared responsibility to make sure that as the world moves into a fully connected IOT world that the devices that are out there are secured okay if you make chips that go in devices my
call to action is you need to make sure that those chips have security in them okay if you make devices that will connect the Internet my call to action is make only highly secure devices go read the seven properties people and if you don't make devices or chips but you buy devices and you will that have connectivity in them make sure that the devices that you're buying have all seven properties I don't care if they have as your sphere in them or not what I care about is that they're highly secured because we want to
live in a highly secured future let's secure the future thank you [Applause]