I'm going to introduce myself. I am V, otherwise known as Poison Pixie, which is a recent name. Because apparently if you have a whole lot of malware, you tend to be poisonous. So I'm going to give you guys a backstory of who I am and where I fit in. So I received my first pacemaker at the age of 19. Can't you hear me better? Can you? Okay. I'm going to try my best, but I have a very soft voice. So I apologize. It's got to do with my stature. I think everything except my personality comes in small portions. So I'm going to talk to you guys a little bit about work that I've done, mostly from my ICU bed in hospital. Because we all know there's nothing more to do in the cardiac ICU than fiddle with machines around you. Yes? I only hack my own devices or devices connected to myself. That's the ethical way to do it. So we're going to talk a little bit about things, the Internet of Medicine, and how the hypothesis is that it is the next step to ultimately looting a human being. The vulnerabilities that we will be discussing is simply connected to flesh. It's not just ones and zeros the way that we used to. Because devices are moving. They're moving along. Is there any medical device company representatives here? Okay, good. If there's anyone opposed to me using the word fuck, unfortunately, you guys should leave because that might happen. Okay, so let's get started. So that's actually my device. That is in my chest. I refer to myself as a Gen 1 cyborg. I am no longer human. Choose or Android, whichever one you prefer. But I think it's exciting times. Okay. So in my research that I've done while lying in ICU one week with my device not quite functioning the way that it should and missing and sensing beats, I noticed that all the devices from my ICU room was connected to a central hub in the middle of the hospital. So everything feeds a real-time sensor to the medical staff to tell them exactly what dosage of medicine you have been given with your infusion pump, what your heart rate is, what your oxygen is. Now we all know hospitals are not well known for their equipment. They're not well known for their security practices. We've seen this with the attacks that's happened. But here's the interesting thing. I refer to it, as you can see there, the web transforms us. We become data and code. We place ourselves into the cloud. Everyone has got two personalities. You've got the personality that you're sitting here that's flesh and the one that you've got online. Everything is online these days. But we should manage, in my opinion, and this is certainly my personal opinion, what we put online. I'm going to ask the question to the room. Should medical devices be put on the internet of things? Every medical device, pacemaker, insulin pump, anyone? Yes, of course. But I agree with you. But at the way that security stands at the moment, I don't think we're ready to put everything on. We are chasing innovation in medicine. That's all you hear when a medical company says, you know, we are there to be the next innovative source of medical technology. Nowhere do you hear them saying, we want to innovate security of medical devices. The two are never interconnected. And I'll explain that a little later where I think they are failing at it. So my opinion on this, and this is, no, not yet. I think we should take a step back, relax, and do the basics right first. Okay? So here's the thing with medical devices, and this is where I think they should be on, because we need interconnectivity within our hospitals to communicate patient data amongst various groups. So for example, have real-time information on scans coming in to diagnose on the rapid. And I'll tell you why in my experience this has worked. When my mother was in hospital in December, we managed to go from, we don't know what's wrong with you to terminal cancer within 10 hours due to all systems being interconnected. So there is generally a case for having interconnected medical equipment, but I think we should be doing the basics right. I'm not going to follow the slides a lot. I rather want an interactive communication with everyone. So one thing that we've noticed in hospitals is that we've got a lot of vendors involved. We've got a lot of third party. So it makes it an absolute epic failure for people to manage that. The security teams are not well-equipped to manage proprietary software. So another thing that's happened is, while walking through the walls of a medical hospital, in the passageways, with sticky notes, with usernames and passwords, with SharePoint directories, and who the IT individual is to contact if you've got a problem. This logs onto the mainframe within the hospital, allowing you access to everything, because their networks were not segregated. Now that's no complicated attack. That is a basic fundamental flaw in human nature, where we put everything on a sticky note to make it easy to remember. Who here has been in a hospital connected to a heart monitor? Again, it collects data on everything. Your oxygen, your heart rate. Who here has been defibrillated? Do you know that it actually keeps logs on whether or not the defibrillator worked? As well as the patient that it shocked. That is connected to a wireless network that communicates that through to the vendor. Now you can see why the problem is there. If that system is compromised, you can control the rate in which it defibrillates. Now who here knows what a defibrillator does? Okay, so it actually uses a set voltage to shock your heart muscle to contract again. Now a heart muscle is a very sensitive portion of your heart, because if you damage that, effectively it dies. There's no coming back from it. So this is one device that effectively has the capability to damage a portion of your heart that you cannot fix. And that is what I've got in my chest. So I've got what is called a defibrillator, an ICD, but also a pacemaker. My device is wirelessly communicating. How it is set up is that it needs to connect to a home monitor, which is connected to my wireless that sends data to my doctor. Obviously I don't make use of this, because for me it became a concern with privacy and access, because it authenticates at a regular time at 2 a.m. in the morning, because it needs to test the device. So for me, that is an instance where we have not gotten anything right yet, but we are running innovation ahead of time. And this is where the community for me comes in, because the medical companies will not be fixing this. Independent research needs to be done on these devices. This is where I am so happy to be at DEFCON, because the key to fixing the problems are in this room. It's not in some corporate office. It is literally everyone sitting here taking up that challenge and starting to break things to fix them. Okay, so just to give you an idea, these are devices that I identified with in my hospital, which is in fact connected to their VLAN, their wireless, MRI machines. MRI machines connect to a DEFCON server which notes all the images that it has taken. CT scanners, again, everything to a centralized server. There are infusion pumps where the nurse on a regular basis can take the sugar of the patient and distribute the insulin as needed. Also on the wireless LAN. Heart pumps, which is a device that is used to pump the heart that is insufficient to pump on its own. It's not a pacemaker. It literally is there for 24 hours to keep a patient alive. External pacemakers. Robotic surgery arms. Now this is a new area of research that I'm busy looking at is the effects that this has, because they have regular firmware updates. Firmware is not pushed via hardware. It's pushed by wireless. Therefore that makes it a big vulnerability that these devices can have bad firmware put on. Because here's the kicker of it all. A lot of companies don't have signed firmware. That means these devices are incapable of distinguishing between what is real and what is malicious. Not all of them. There are a couple of companies that have started proactively signing firmware, but not all. Remote patient monitoring devices. Those are the ones that I told you about that effectively I was connected to. I went on to Shodan just before I came to DEF CON for interest's sake to see whether devices are connected. I managed to get fetal heart rate monitors and pediatric monitors that are connected to the internet. Which I don't think is a good thing. Those are devices that should never be internet facing. And most of them are. Okay. Now this is the real interesting thing. I did research to see where medicine's going. In 2050, we will all be implanted with medical sensors communicating to our centralized doctor or medical officers telling them ahead of time whether you're going to have a heart attack, stroke, whether anything biologically changes within you. Again, these devices need to communicate out somewhere. It needs to beacon that information out. And the proposal that they've got is that they will be connecting on the medical wireless band and communicating out. But recent research has shown that this has been prone to cross signaling with other devices like ham radios. Which is a big problem for me in that. Smart sensors. Everything by 2050 will be centralized, integrated into IOT. We have until then to fix it. Because there's no stopping it at this stage. Let's see if anyone's paying attention. Thank you. Come see me for a badge when I'm done, okay? Okay, just so you guys know, if I catch you talking, I will be distributing asshole patches. Okay? Okay. So I think the interesting thing for me in being in a hospital and being a patient is that I see it from both angles. I have a device that I can tell you now is more fucking broken than it works. And I know this because I have numerous times nearly died and had to have resuscitation at hospital. My poor husband finds me more on the floor than he finds me, you know, walking around. And that is due to advanced software development that's riddled with bugs. So to give you an idea, who here thinks machine learning is an excellent idea in medical devices? Can I tell you why not? Okay, my condition? I need to have a heartbeat of 60 and no more than 140. That machine cannot distinguish between what is a relevant heartbeat and when my heart's gonna fuck up. So what's been happening, it's been saying, oh, no, this looks normal. And then it flatlines. And there is no way for it to learn in time to be able to distinguish that. I think with medical devices, there should be clear parameters according to a patient. We shouldn't be handing that off. This is an organ that keeps me here. It's an organ that keeps me alive. Without it, I'll be dead. I would be dead. My heart cannot function on its own. But again, we are chasing the innovation of medicine to be the next big thing. But security is left behind. I want to see medical companies saying, we are gonna have the next device that's got security in it. Usability and access. The triad. We want it to be accessible. We need it to be secure. And we need it to be usable. Now, I promised I would tell you guys why security is a problem in medical devices. My pacemaker... Oi! Thank you. My medical device has got a lifespan of maximum 12 years. Minimum eight. It is capable of AES encryption. But who here can tell me what effect that would have on the device? My battery will run out in about five years. Who here knows how to actually... how they change a pacemaker's battery? I don't have a little tag that they flip open, take it out, put new batteries in. I wish they did. They cut me open, they carefully remove the pacemaker, hoping they don't yank too hard on the two wires connected to my heart, and replace the whole device. That is how batteries are changed. And you have about a six-month recovery process where you feel like you've had a drinking spree of about six months. It's a hangover of note. And that is how you recover. That is the main challenge that medical companies face, is that we cannot have this amazingly secure device, but we have a battery that does not last. I've been asked the question, why don't they put usernames and passwords on? Well, think of it, yeah. I'm lying. I'm basically dying. I'm going to say to the paramedic, oi, let me give you my username and password before, you know, I pass away. Can't do that. Or I'm in the U.S. I don't have a doctor here. Something happens. They need to be able to authenticate globally to these devices. And this includes all devices in hospitals. You'll find they have a default username and password, which you can find in the manual, which you can find online. So one medical manufacturer, when I was doing my research, I thought, let's go look at their websites. Let's go see what's publicly accessible. Because how do we hack things? Reconnaissance, right? We do our research. We understand what boards are connected to the device, how the protocol works. That's how we do it. Do you think that these medical, technical manuals are available free online? Have you guys looked? Infusion pumps, robotic arms, MRI. I'm sitting within the excess of 300 technical manuals, giving me the specifications of the boards, the protocols used, and the usernames and passwords of the devices. I effectively can take over every hospital, every device connected to someone. Yes, I need to be in close proximity. But I think the furthest that they've tested RF has been 50 feet. That's far enough. We've all seen, I don't know, has anyone heard of the vulnerabilities in the infusion pumps, the wireless infusion pumps? Not? These devices are what is used in oncology, for example, where they have to administer morphine on a regular basis in a controlled environment. They are prone to buffering after overflow attacks, meaning you send it a message, it counts one, two, up to nine, and restarts itself. It has no way to distinguish whether it is receiving legitimate packets or communication and the amount that is allowed. And that for me is a fundamental flaw in how it was built. Because we all know, how do you deplete a battery? You just keep communicating with it. Eventually it starts running down. Improper certification. This is where I explained to you that the firmware of these devices that are on them are not digitally signed. Meaning if you authenticate onto the device, there's the potential that you can replace it with malicious code. I saw it happen at Black Hat. Ironically enough, my manufacturer said, that is impossible. Well, no, I saw it happening yesterday. Again, we're having to bridge this, what the manufacturers are telling us when they've tested it in a lab, versus when you have hackers have at it. Guys! Okay, the other thing that is interesting is I said to you guys the hard-coded credentials. These devices all have basic default passwords whether you're in South Africa, Australia, United States. And there's a nice note from the manufacturer. If you change this, you void any online support to these devices. So we have manufacturers telling medical staff to not change usernames and passwords. Who here can tell me when you have a Cisco device, for example, what's the first thing it tells you to do? Change the password. And you still have Cisco support. So why are we letting medical companies get away with this shit to tell us that you're not allowed to do it because it's extra work for us to fix? It's basic fundamentals again that companies are getting wrong. Interesting thing, in the infusion pump, the configuration field has got your password and key of text. Which makes it very easy once you've got the configuration file to access the device. As I mentioned, improper access control. These are some of the steps that they have identified to fix the problem. I don't think it's good enough. They've said that static IPs have to be addressed. Monitor for rogue DNS and DHCP. But again, this is not stopping things. This is things how we monitor them. So when you monitor something, something's already happened. You can't monitor for something before it happens. You can only monitor for it after it's happened. So for me, these remedial steps are again to try and identify something that has happened, not something that is going to happen. It's a very reactive approach versus a proactive approach. So the interesting thing, my device, the home system that my device is supposed to be having, has got actual hard-coded credentials. And infrastructure data within the backend. My remote monitor runs, you can guess which OS. I'll give you a badge if you can guess the OS right. Come see me. Windows XP. And we all know how secure XP is. It's very secure. It's the best. These are some interesting things that have happened when firm code gets exploited. Again, because the home monitor device that authenticates onto my device and can change my therapies is running XP with hard-coded credentials and unsigned firmware. Anyone else see the problem? Or am I paranoid? Have you upgraded to Windows 10? I don't think there's support for medical devices on Windows 10 yet. I have a theory, and I apologize, this might sound fairly scary, but we had this discussion with friends of ours. If you go into a cardiologist's office and they authenticate onto your device, they can initiate a firmware update. But using a man-in-the-middle attack, stepping in between the telemetry device and the pacemaker, you can effectively take control of it. We've seen that the firmware is unsigned, so we can technically upload our own malicious firmware that authenticates automatically out to other devices it comes into connection with within the hospital, reloads the firmware, and that way you have a self-replicating worm and a zombie of pacemakers at your disposal. That is the one idea that we've had and we've been playing around with. And we've been seeing that it's much easier than what we've actually anticipated it to be. The file system is not encrypted, as I explained to you about these devices. And this includes the programmer, the home device, and the pacemaker. And this is one subset of medical devices. This is basics. Who here is in software development? Okay. Am I wrong? This is basic things we're getting wrong? You hear me? This is what we're taught at varsity or college to get right. There's no command whitelisting, meaning you can tell it to do what it needs. It's a very giving device. It takes instruction very well. And that worries me because you would think that these devices need to have a set of commands it will accept versus what not to accept. But again, we're focusing on making this device the best device out there without effectively securing it. And this is where I said you have power versus security. Okay. Those are all the devices in a single hospital room connected to one or another protocol. We see Bluetooth there. That doesn't make us worried. Smart prosthetics makes use of Bluetooth to connect to a cellular phone, to an app, that you can program it. Then you have devices on Wi-Fi. You have, you know, linked hard SNH points. Who here thinks that ransomware or medical devices is going to happen soon? Me too. Who's going to rather pay? Are you going to pay for your data or are you going to pay for your organs? Okay. It's a money market. But we're not securing these devices. We've seen their firmware is not signed. We've seen that it accepts certain things very much easy. Therefore, I think medical malware is going to be the next big threat. Never mind hacking devices. The malware scope is going to start moving into it and we are going to see ransomware. Things like WannaCry, things like Petya, Cerbera, Locky. That was not me. Running on medical devices. Okay. So I did a bit of Shodan work and these are devices, medical devices, Dicom servers, V4 monitors, all connected to the Internet, running the vulnerability MS17-010, which should have been fixed a long, long time. That's more than makes me comfortable. I don't know. I was hoping to see three and it's like, yeah, that's an acceptable risk. And now I'm going to go on a soapbox and I apologize for it. I have a real problem with the fact that the FDA is more strict on drug testing than medical devices. With drug testing you have to go through two large clinical trials versus one pre-market assessment for medical devices. Okay. So you can, you know, the pool that you pop is safer than the device in my chest. And that to me is fundamentally wrong in so many levels. Okay. Healthcare has been a massive, massive target with malware recently, but not just malware attacks. Because if you take away a hospital's capabilities to run, you effectively can kill off half their patients because all their records are electronic. We don't do paper or notepads anymore. If you cannot administer someone's correct insulin dosage at the right time or have access to that information, you could effectively have a patient that passes away. If you do not have access to certain specific treatments or diagnosis of a patient, you run the risk of that patient dying away. My theory is that if we only have things on the internet of things in terms of medical devices, medical records, what do we do when disaster strikes? When that moment occurs, it's no longer looking back and saying, oh, shucks, what do we do now? Because by means, you're pretty fucked at that point. Okay. This is what I found at a local hospital doing a pen test in a VA. We found that most of the staff there are not aware of network awareness. Don't just come in and plug any device into the network. It's not bring your own device day. It's keep your own device day. There's a lack of monitoring and logging. Most logs are kept about in excess of 30 days. Who here can tell me, I think sans that a study takes about 290 days before you will see a threat that has occurred or an instance that has occurred on your network. That means 30 days has passed and you no longer have logs of an attack. The network infrastructure is insecure and broken. There's no access control. Because again, as I explained, in an emergency room, you cannot have authentication going on. It's a fast-paced world where lives are at stake. Legacy systems. Most MRI machines still run on XP due to a chip that's no longer manufactured. And that chip is only compatible with Windows XP. There's just legacy devices. I think that is the pain of my existence because I'm in forensics and security. The worst thing for me is legacy devices. I think they suck. Remote access. So you guys will see in, showed in later on, I looked for medical devices that have got remote access. RDP with default credentials. I found about 11,500 devices and 122 devices. Did not log in just for the record. Don't want to get into trouble. I just looked. As I said, insecure vendors and so forth. Okay. These are some of the things that I've identified from showed in. That has been a problem for me. Medical equipment with enabled protocols with default usernames and passwords. We had Telnet, RDP, UPNP, SMB, and DICOM. Now who here knows what DICOM is? Okay. It is a medical protocol that is used for most imaging devices. Okay. This is what the hospitals will look like by 2050. We'll have a central hub that connects everything out. The centralized server, so meaning your doctor can send you your prescription on your phone saying, you just go get this, or this is your test result. So every single point in a hospital will no longer be pen and paper, but will be connected. Okay. Now we get into the fun stuff. So these are one of the attacks that we actually tested in the hospitals in South Africa. We actually circumvented the perimeter of an external facing server from a vendor with a legacy XP machine. Now you guys should know that opens you up to a whole host of vulnerabilities when you use XP. What we did next is what anyone does, you pivot in the network, you see how far you can get up the food chain. We probed to identify medical devices and accessed it because we had the default username and password. And these are not sophisticated attacks that takes a rocket scientist to do it. You had a forensics person do it. I am not the best hacker. I will admit it to you, but I'm shit hot in forensics. So I can tell you after the fact what's gone wrong. This is one that I tested in the cardiologist's offices. I said, who here knows what a black box technique is? You just listen. You do nothing. We listened. And we could pick up RF frequencies of devices that he's changing. So we could capture it all. Very easy. Do you think that someone with a hoodie and a backpack looks out of place in a hospital? No, because everyone wears it. So in my backpack I had RF equipment. And I blended in with everyone. Everyone just assumed I'm waiting there for someone sitting working on my computer. Everyone's thinking, ah, maybe she's a business person that's waiting for a doctor. And these are all soft skills, human skills that are being used. What we did is we looked for a render-specific platform. In this case, it was a coffee machine connected to the wireless. We could prove it in the network and actually gain access to hospital records. This was just for the record. This was all done with permission before I get stopped at the airport again. I will share a story. It's my second time in the U.S. I'm from South Africa. I had a Freedom Fondle at every point on my trip. At O.R. Tambo they stopped and checked my bag again because apparently I'm flagged as a high-risk traveler for some reason. Secondly, at London, I had the Freedom Fondle again. And thirdly, when I landed in Las Vegas. So if you think about it, coffee machine on the Wi-Fi, why? I don't think it's needed. Same with your fridge. Why do you need this? I'm all for the I.O.T. but people, logic is there. You don't need your coffee machine on the network. Because it's going to open the door for people that are not as nice as me to come screw around with your life. It's basics. It's... And this is the electronic health care records. Big surprise there. It's vulnerable to XSS. You can still do cross-site scripting on the controls. Can you guys hear me fine? Because the room back there is very noisy. Okay. This is the thing that I do whenever I talk, except for DEF CON. I didn't want to risk it because I generally drop a key logger wherever I have a conference or a talk. The key logs back to me just to teach people that you don't plug in every device. In the hospital, we dropped a key logger and walked away. Generally. And you go. And we dropped five devices. How many of these devices do you think got plugged in? Five. If there was ten, there would be ten. But yes. And the lesson there, that's not sophisticated, but we still have bring your own device or come charge your phone, you know, on the hospital records server. We had a nurse that wasn't quite aware of network security bring a device that's got P... You know these PCAP and big fish games with the cracks and the key gems that run the Trojan in the back? Or a rat, for example? Yeah. She was playing this into the server by her desk that's got the electronic hospital records on and they could not understand where this rat came from. Well, you're opening your USB ports for no reason. They don't use it. So why have it active? It's small things that they are getting wrong. So interesting thing. 6.4 billion devices will be connected to the Internet of Things by the end of this year. That is 6.4 devices connected to a human being connected to the unsecured Internet open to attack. The only reason we have not seen these attacks yet is A, we don't know about them because again, when someone dies with a medical device, they don't necessarily check it. They don't check the logs to see, oh, you know, did my device fuck up or did the person really just die? I had this conversation and said, what is your plan when stuff goes wrong? Well, to our knowledge, nothing has gone wrong. That says to me that you have not thought that something's going to go wrong. Now, I got asked the question, who would kill someone by hacking a device? Well, who would stab someone and kill them in everyday life? This way, you actually don't have to physically do it, well, you do it yourself, but you don't stand next to someone and stab them. It's opening it up for more and more problems. We asked a survey that was done, 85% of the hospitals and enterprises stated that they are planning to go full IoT, Internet of Medicine. But, big surprise, only 10% could say, we are confident that we know we're not going to fuck it up. But 85% of them is going to do it. So, 75% know they shouldn't be doing it, yet they're still going to be doing it. Because we're chasing innovation. We want to be the next new kid on the block. These are suggestions not given by me, these are suggestions given by vendors on how you will fix it, fix everything. You split your network into smaller portions, you have a firewall dedicated for each device, you have a breach detection system, IPS, IDS, patch management, but for me, this is almost the approach of let's just throw everything at it and see what sticks. We aren't thinking what the Internet of Things are, we're not actually thinking the design out from the start. . . I want to ask you guys a question, and this is a serious one. When we talk about medical device vulnerabilities, do you guys see the ones and the zeros, or do you guys realize that behind that device is someone like me that actually needs that device? Because I think in security we tend to forget that it's not all about ones and zeros. It is about someone's life. And if we plan to put things on the Internet of Medicine, we have to ensure that this stuff is as secure as we can make it. Because let's face it, nothing is unhackable, nothing is unbroken. That is still pretty much the way that we need to go. We need to start thinking on how to break things to fix them, because the only way to know what is wrong with a network or a device is to find out how to break in. You're not going to try and break out of your network. You're going to try and break in. Okay. This is something fun that I wrote for everyone. I have a saying for me that is pretty much me and my life story. So if you want to copy this out, or maybe there's someone that can figure it out. There's a badge in play if you figure out what the key is to do the Caesar cipher. Anyone? Should I give you guys two minutes? I'm disappointed. A whole room full of hackers and no one can solve it. Do I code that bad? But guys, seriously, thanks for having me. I'm done.