Points:I’m very excited to speak at NoConName againDid VoIP phone security talk in 2006 A big thank you to NicoCons take a lot of work and organizationDone out of PASSION and not for $$$$Important work that builds global connections, research opportunities and friendships
Doing security for 10 yearsStarted at Cisco, did internal product hackingAlso worked at TippingPoint, and a few other places…Did some private consultingNow: work and school in academic health centerUniversity of FloridaHospital, medical school, dentistry, pharmacy, nursing, etc.Network operations, some research on medical devicesGetting 2nd master’s degree in Public HealthConference talks and travel when I can
What are medical devicesHow bad are the risksWho is doing research – academic, hackers, companiesHow you can get involved – ideas for your own hacking funTrends and predictionsResources
After this talk, you will hopefully have…. Abetter idea of medical device security risksReal world versus FUD (fear uncertainty, doubt) and media hype Learned about current researchPlayers, trendsGained insight for your own research, careerIdeas / targets for vuln research, conference talksLearned useful medical device security resourcesIndustry knowledge, Keep up to date, follow changes
Points:Some devices are classified as medical devices, some are not.There is a lot of “Grey Area” – for example with a iPad is not a medical device by itself, but if a iPad is used to view a medical image like the picture on the right, then does it become a medical device? It is unclear from a government and regulation position RIGHT NOW….but that will likely change.
Points:Medical devices are in many ways like SCADA systems.SpecializedBuilt on top of COTS – commercial off the shelf systemsLong operational timelinesNo downtime, critical operationsNot designed to be patchedVendor maintained “Black Box”The “Lost Decade” is a reference to a blog post by Dale Peterson at DigitalBond. The main point is that we have let vendors “off the hook” as far as holding them responsible and pushing for more secure SCADA software. We are at more risk than ever, and we really had a chance to make a difference but we blew it…
Points:Notice all of the computers and medical equipment. Most of that is running on Windows, or maybe an embedded Linux.In the near future we will see more devices. We will also see more remote access – specialist doctors will operate from hundreds of kilometers away
Points:Medical networks are very complicated. There are many different devices, operating systems, protocols (including wirelesss)The core network is the same old stuff we are used to – switches, routers, etc.Pay attention to the BAN – Body Area Network – this is going to be a growth area and new personal health devices will now be connecting to the network. Perhaps someday nano sensors in bloodstream – each with a ipv6 address!
And you thought he didn’t have any “heart” (looking for a Spanish word that fits “heart” in this context)It is true, Dick Cheney has no heartbeat. The pump makes a “whhhiirrrr” noise!
This is a scary picture. Marketing guys like this one a lot.But it is a good example of how most people see this technology and how it fits.
Some examples of medical devices that are for personal use.
Grandma’s got a new computer! And it hooks up to her blood pressure machine!This is a Intel product and is in clinical trials and testing.Will provide video conferencing, connection to medical devices like blood pressure, glucose monitors, etc.Will provide medication reminders, alerts, appointment reminders.I predict this will be the first big solution for home medical use. We *might* see this at Defcon 20 ;-)
Software Quality is not great in medical devices and there have been many software recalls alreadyVendors not ensuring product security and it is the “same old story” of security being a afterthought and having to later “Bolt security on, not bake it in” from the beginningMedical devices are complex and it is hard enough just to make devices “work” -- now we must “secure” it?The integration into IT infrastructure means a wider attack surfaceMore devices can lead to interference in wireless frequencies among devices
Points:Now part of integrated information systemsLack of FDA and FCC regulation and oversight, this is changingWho owns the problem? Who pays for the fix? What are the costs and for who?Vendor, integrator, consultant, doctor, patient?
Points:It will get worse before it gets betterToday, there are problems with how we measure and track vulnerabilities in medical devicesRely on medical people to report bugs. Lot of informal reports and stories of bugs, exploitsWe are at the early stages of medical device forensics, being able to recognize a attack or a bugExpect lots of “facepalms” because it is frustrating and we will see a lot of stupid bugs and attacks happen that should have no chance.It is like 1995 as far as security and medical devices. We have not even seen the “ping of death” yet!
Points:A real nightmare possibility is a Stuxnet attack targeting medical equipment – like a radiation machineWho would do this? TerroristsCompetitors trying to hurt each other in the marketEvil hackers, hactivists, disgruntled employeesThis is what the media likes to sensationalize. It is “sexy” and scares people.Reality is this is possible, but not very likely to happen SOON. But we will see this in the next 2-5 years.
Points:So what are the biggest risks to medical devices today?bad softwareWindows box that medical device runs on gets Pwned with a virus/wormEvil or stupid employee – for example, checking webmail account with the browser of a medical device PC….yes, it happens all the time!Other risks are what I talked about in the slide before.
Points:What will hurt you?Things like power outages caused by one guy 300 kilometers away.And of course the back-up generators failed at two hospitals.Had to move people from Intensive Care Unit (most severe ill people) to other hospitals – transport, movement, stress
17 year old student in Florida obtained legitimate I.D.He was discovered because he wanted more access to hospital areas and this raised questions – he also made some weird statements (undercover police office on secret case)These are difficult situation with people this young. Hard to do background check.Maybe he thought he was Frank Abagnale from the movie “Catch me if you can?”
Points:The security guard infected hospital computers with his own special botnet.He also hacked the hospital HVAC (heating and AC)Bragged online about a “Fire Sale” -- same line as from Die Hard 4 and the cyberattack that “everything must go.” This got a lot of attention.Tracked down and busted online by Wesley McGrew.Now in Texas prison for 9 years. And there is no Air Conditioning in Texas prisons.
Points:This was the first major medical device failure caused by a software bug.Killed several people. Injured many others.Root cause was a race condition programming error that would give 125 times normal dose.
Points:McAfee software update put many PCs into a non-bootable state. Each PC had to physically be worked on to recover.This affected many hostpitals.Great example of how complexity is the enemy of security. This is supposed to protect you and instead hurts you!
Points:Kind of a philosophical slide What does it mean to be secure?How can you prove something is secure? You cannot do this!If someone tells you “it is secure” the first question you should as is “secure from what?” In computer security, you can only prove that it resists tested attacks.
Points:Because of academic research and recent hacker conference presentations, medical device security is now HOT.I’m not overly impressed. MEH.
Points:Medical device security may be HOT now, but it has been around for years, at least since 2003.Lots of meetings, best practices documents, “we have to work together”In 2005, FDA provided info on how and when should add patches. The problem with patching medical devices is that if there are changes to the function, it has to go through FDA re-certification, which is expensive, complex and takes time.
Points:This should be the scariest slide. Why? Because this says there is no one really regulating software.FDA does not regulate software. It regulates medical devices.We are back to the question of “what is a medical device?”
Points:But FDA does do some good things, like have reporting databases like MAUDEThis provides tracking of issues, and there are several security-related categories to search
Points:This is an example free-text search for “buffer overflow” and the resulting 10 records.
Points:Will talk about who the “players” are in the field these days.
Points:All of these people have university web pages, papers, etc. online.
Medical device presentations from 2011 Blackhat and Defcon 19Jerome Radcliff – hacked his own insulin pumpTim Elrod and Stephan Morris - Fishnet security guys. Working on Dicomfuzzing tools. See the Fishnet website for more information.
Points:What will we see in the next 2 years?More of what security researchers can get…Personal medical devices (hacking their own)Low-end medical equipment (Ebay)Pharmacy dispenser cabinets (device aftermarket)Home medical equipment (grandmother’s box)Other medical equipment (defibrillator)
Points:Hackers love documentation. It allows them to learn all about the software. Medical device companies typically have VERY tight document control.You will not typically be able to easily find technical manuals, admin guides, etc. Access to devices can be hard. US laws restricts the sale of some types of devices – you have to be a legitimate medical providoe, doctor, etc.There is a very grey aftermarket. If you look hard enough for a device, you can probably find it.Exceptions would be implantable devices…those are very hard to get.
Points:Here are some examples of what I found on US Ebay doing search for “medical ethernet”If I wanted to start targeting devices, I would buy them off of Ebay, and start doing network attacks.If it has a network interface, it’s a target for full port scans, nessus, fingerprinting, etc. Look for any listening services and go after them. Will probably see telnet, etc.Pro Tip: passive sniff the network interface using a hub when you first boot up device. Does it “phone home” over the network?
Points:There are many medical apps available for Apple and Android.Some are just for entering data, like tracking blood pressure and manual data entry.Others apps are viewers for special images like x-raysI think we need a Month of Medical App Bugs to raise awareness. Even better would be a quarter of bugs – that is 90 days, with a bug on a different app for each day.Look at what is happening to SCADA. DerbyCon is a new hacker conference. 100 SCADA bugs in 100 days presentation.
Points:Trends to watchWe are going to see industry and government conflict over medical devicesWhat is a medical device? Who has the power to regulate?Expect politics and lobby money to influence. The medical device industry spends lots of money to lobby politicians.The biggest question of all: Who is legally liable? Who can get sued if something bad happens.US Supreme court ruled that if the device is passed by FDA, then there is “limited liability” – this means the company might have to pay for damages, but not as much as if the damage was because of negligence.We can expect more Fear, Uncertainty, Doubt and Media sensationalism – making the story seem a bigger threat than it really is in the real world.
Points:Notice that in almost all of the research the companies and specific products are not named. If there was full-disclosure a lot more information and company name would be made public.I believe this is because many researchers are afraid of getting sued by companies.Also, University academic researchers want funding money, so they do not want to make companies and industry angry.It is different with some researchers. Jerome Radcliff at first did not name the company in his Blackhat presentation because he was working with them. However, the company Medronic and he have different opinions on fixes and other issues, and now to put more pressure on Medtronic, Jerome has made more information public.This is a situation to watch.
Points:Healthcare security is a hot area. Demand will grow for security professionals in the next few years.Why? Because of new technology (like Electronic Medical Record) and new risks.You have choices where to go: vendors / device makers, be a consultant, work in hospital ITWatch the big security players and medical IT – they are really trying to get into the market!Some cool boutique firms like Fishnet as well.
Points:If you want to do some hacking, why not do a security evaluation of medical apps.Remember there are so many at around 17,000I recommend finding bugs in multiple apps, and publish a “month of medical app bugs”Build a test environment on your PC – use Apple and Android developer kits.What to look for in App bugs?Personal information hidden in AppTry to read, write, modify/change, or destroy data in the AppCrash and get executable code l33tBe a Whitehat hacker and send your bugs to CERT/CC, FDA and FCCWrite a whitepaper, publish your tools, talk at security conferences
Points:Some helpful resources.USENIXHealthSec has papers and some video of talks. Very good resource. Only been going for 2 years, so you know this is a new topic.
Points:Medical Device Security Center – mostly academics here, but some good papersIsolation Guide is how the US department of veteran's affairs handles medical device security – they have 50,000 devices and have created 3,500 separate VLANs. This is a good start, but there is a lot of overhead with managing changes, both in network and new device features.
Points:MDISS – has a very useful question paper to give to medical device vendors – asks them about security in the product in a technical fashion. This document is old and needs updating, but it is a start.North Carolina has a better technical questionnaire document to give to vendors. Use this with the MDISS document and you have a good set of questions.“Killed by code” – is a paper advocating open source code in medical devices. Lots of alwyers in this organization and it is one to watch as more vulnerabilities come to public attention and the lawyers get involved more.Therac-25 – some documents on the first really bad medical device failure that killed people.
Points:I started MedSec on LinkedIn about 2 years ago. The group now has over 200 people. Many of the academic people I mentioned are in the group, and also people from big companies, medical device vendors, consultants, etc. Please send a request to join the group and I will add you. A lot of the information comes from me posting news, papers, talks, research, etc. It is also a good way to contact other researchers and companies.You can email me at firstname.lastname@example.org or email@example.com
Medical Device Security: State of the Art -- NoConName, Barcelona, 2011
Medical Device Security: State of The Art<br />Shawn Merdinger<br />Network Security Analyst<br />University of Florida & Shands Hospital<br />Academic Health Center<br />NoConName, Barcelona<br />16 September, 2011<br />
Thoughts so far….<br />I’m very excited to speak at NoConName again<br />Did VoIP phone security talk in 2006 <br />A big thank you to Nico<br />Cons take a lot of work and organization<br />Done out of PASSION and not for $$$$<br />Important work that builds global connections, research opportunities and friendships<br />
Obligatory Speaker Slide<br />Doing security for 10 years<br />Started at Cisco, did internal product hacking<br />Also worked at TippingPoint, and a few other places…<br />Did some private consulting<br />Now: work and school in academic health center<br />University of Florida<br />Hospital, medical school, dentistry, pharmacy, nursing, etc.<br />Network operations, some research on medical devices<br />Getting 2nd master’s degree in Public Health<br />Conference talks and travel when I can <br />
Talk Overview<br />What are medical devices<br />How bad are the risks<br />Who is doing research<br />How you can get involved<br />Trends and predictions<br />Resources<br />
Talk Goals<br />You will have….<br />A better idea of medical device security risks<br />Real world versus FUD and media hype<br />Learned about current research<br />Players, trends<br />Gained insight for your own research, career<br />Ideas / targets for vuln research, conference talks<br />Learned useful medical device security resources<br />Industry knowledge, Keep up to date, follow changes<br />
What is a Medical Device?<br />Some are obvious<br />Implants, Infusion Pump, Radiation<br />Many grey areas<br />EMR (electronic medical record)<br />Software <br />Apps (iPad, etc.)<br />
SCADA for the Human Body<br />Parallels with SCADA security challenges<br />Specialized devices<br />Built on top of COTS (i.e. Windows, SQL, Java, etc.)<br />Long operational timelines<br />No downtime, critical operations<br />Not designed to be patched<br />Vendor maintained “Black Box”<br />“Lost decade”<br />Missed the opportunity to secure<br />DigitalBondblog post<br />
Implants are very complicated<br />Dick Cheney’s new heart<br />No heartbeat<br />Whirrrrr noise<br />“System Controller”<br />
Home Medical Devices(hrm….what could go wrong?)<br />
Home Medical Devices<br />Blood pressure monitor<br />Pulse Oxemiter<br />Glucose monitor<br />
Home Medical Monitoring<br />Remote<br />Connected<br />Audio / Video<br />
Security Risks to Medical Devices<br />Software Quality<br />Many software recalls already!<br />Vendors not ensuring product security<br />Always an afterthought<br />“Bolt security on, not bake it in”<br />Complexity<br />Hard enough just to make devices “work”<br />Now we must “secure” it?<br />Integration into IT infrastructure = more attack surface<br />Interference in wireless frequencies among devices<br />
Security Risks<br />Now part of integrated information systems<br />Electronic Medical Record, data collectors<br />Lack of FDA and FCC regulation and oversight<br />Increasing, especially medical apps<br />FDA Proposal July, 2011<br />Who owns (pays) for the problem (and fix)?<br />Vendor, integrator, consultant, doctor, patient<br />
It will get worse before it gets better<br />But how do we really know how bad?<br />Formal reporting incidents complex and tedious<br />Lots of anecdotal reports <br />Is it a software flaw? A bug? An attack? <br />Identification of actual hacking is a huge challenge<br />Few formal processes today<br />Expect lots and lots of <br />
It will get worse before it gets better<br />Cyber<br />STUXNET-like attack targeting medical devices<br />Nation-state / terrorism / secondary attack <br />Competitors hacking each other’s devices<br />Evil blackhats, hacktivists, disgruntled employees<br />Possible, but doubtful. FUD alert!!!<br />
So how bad is the risk?<br />It depends….<br />1st biggest risk today is poor software design<br />Errors, crashes, bad user interfaces <br />2nd biggest risk is “collateral damage”<br />COTS software Pwnd by virus, trojans, bots<br />Complexity of environment<br />3rd biggest risk is disgruntled, evil or stupid employees<br />Other risks<br />Competitors, industrial sabotage<br />Terrorism, nation-state, “Cyber” <br />Growing “hacker” and security researcher interest<br />Sexy topic, esoteric new gear, very personal, hot area<br />
Real world threat: Power Outage<br />San Diego Blackout (Arizona + Mexico)<br />1 person made a mistake<br />300km away sub-station Yuma, AZ<br />
Real world threat: Evil Employee<br />Ghostexodus… <br />Security guard <br />“Hacked” hospital HVAC<br />Posted on forums<br />Youtubed his “hack”<br />Pwned by Wesley McGrew <br />
Poor Software: Therac-25<br />First major failed medical device (1980s)<br />Radiation treatment -- linear accelerator<br />Software bug<br />Race condition<br />Result in too much radiation (125 x normal dose)<br />
Secure from What?<br />How do you define “secure”<br />Proving a negative = impossible<br />How do you prove “secure”<br />Cannot prove that a device is secure<br />Can only prove resistance to tested attacks<br />VS.<br />
MedDev Security is Hot!<br />Pacemakers in 2008<br />BlackHat and DEFCON<br />Public exposure<br />US Congress involved<br />meh.<br />
MedDev Security is Not New<br />“Best Practices” Documents<br />Several Working Groups, Consortiums<br />Good info, but no power or stick to drive change<br />“Work together with vendors…blah, blah”<br />HIMSS medical device security workgroup in 2004<br />University HealthSystem Consortium Medical Device Security effort in 2005<br />Formal FDA Statements<br />FDA guidance for COTS software published in 2005<br />Addresses patching for vulnerabilities<br />
Academic Researchers<br />Dr. Kevin Fu, University Massachusetts<br />Heart pacemaker (2008)<br />Dr. Tadayoshi Kohno, University Washington<br />Heart pacemaker (2008)<br />Dr. Mark Gasson, University Reading<br />Infected RFID tag in hand<br />Dr. Nathanael Paul, Oak Ridge National Lab<br />Insulin pump (2010)<br />Steve Hanna, UC Berkeley<br />Automated External Defibrillators<br />BobakMortazavi, UC Los Angeles<br />Pulse Oximeter<br />
Security Researchers<br />People to watch in the near future….<br />
Security Research Predictions<br />What will we see in the next 2 years?<br />More of what security researchers can get…<br />Personal medical devices (hacking their own)<br />Low-end medical equipment (Ebay)<br />Pharmacy dispenser cabinets (device aftermarket)<br />Home medical equipment (grandmother’s box)<br />Other medical equipment (defibrillator)<br />
Hacker Access to Medical Devices<br />Access to MedDev Documentation<br />Hackers love documentation<br />MedDev vendors have tight document control<br />Very difficult to find and download<br />Restricted information, Non-disclosure agreement <br />Access to Devices<br />Difficult to acquire in many cases<br />US Federal Law restricts sale of some devices<br />US aftermarket is a very grey area<br />
Ebay & Medical Devices<br />Medical pharmacy cabinets, patient monitoring, diagnostics systems, data storage, COW (Computer on Wheels), etc.<br />Ebay search results: medical ethernet<br />
Security Research Predictions<br />Apps, Apps, Apps<br />17,000 medical apps<br />Many types<br />Personal health monitoring<br />Specialty (PACS Dicom, Electronic Medical Record)<br />Connected to medical devices (diabetic insulin pumps)<br />Month of Medical App Bugs?<br />Need this for Med Apps -><br />DerbyCon (30 Sept., 2011)<br />
Trends to Watch<br />Expect big industry and gov’t fight<br />What is a medical device?<br />Who has regulatory control?<br />Lobby money, politics, etc.<br />Who owns the problem?<br />Who is legally liable?<br />US Supreme Court “Medtronic ruling” impact?<br />Limits vendor liability if FDA approved device<br />Lots and lots more FUD<br />Fear, Uncertainty, Doubt<br />Media sensationalism<br />
Trends to Watch:Stifled Security Research<br />Researchers are reluctant to name vendors<br />Why?<br />Fear of getting sued by companies<br />Research scares powerful people<br />Media coverage adds to fear<br />Academics want research funding<br />Jerome Radcliff = <br />Public fighting with Medtronic<br />Stay tuned to this….<br />“Cone of Silence”<br />
Careers and Job Outlook<br />Expect growth and demand for security pros<br />Will accelerate in next 1-3 years<br />Industry is building a new ecosystem<br />Vendors, device manufacturers, consultants, hospital IT<br />Hot security areas<br />Healthcare IT Security<br />Hospitals, vendors, consulting<br />Medical mobile apps security analysis<br />Expect a certification process from FDA <br />Big security firms (McAfee, Symantec, etc.)<br />Boutique firms (Fishnet)<br />
Want to hack? Target Mobile Medical Apps. <br />Why?<br />Cheap, accessible platform <br />Ties into other medical devices = broad attack surface<br />Research, attack tools and docs available<br />Security evaluation of multipleapps<br />Development set-up for iPhone / Android<br />Look at marketplace, target popular apps<br />When hacking, look for<br />Personal information disclosure<br />Read, write, modify, destroy data<br />Crash + execute + exploit <br />Send your bugs to CERT/CC and FDA and FCC<br />Write whitepapers, talk at security conferences<br />
Resources<br />USENIX HealthSec Conference<br />http://www.usenix.org/event/healthsec11<br />http://www.usenix.org/event/healthsec10<br />Draft Guidance - Mobile Medical Applications (July, 2011)<br />http://www.fda.gov/downloads/MedicalDevices/DeviceRegulationandGuidance/GuidanceDocuments/UCM263366.pdf<br />IEC 80001‐1: Application of Risk Management for IT‐Networks Incorporating Medical Devices<br />http://www.iso.org/iso/catalogue_detail.htm?csnumber=44863<br />Getting Started with IEC 80001: Essential Information for Healthcare Providers Managing Medical IT‐Networks<br />http://www.aami.org/publications/Books/80001‐GS.html<br />HITSP – Health Information Technology Standards<br />http://www.hitsp.org<br />
Resources<br />Medical Device Security Center<br />www.secure-medicine.org<br />Medical Device Isolation Architecture Guide, Department of Veterans Affairs<br />http://www.himss.org/Content/files/VA_VLAN_Guide_040430.pdf<br />FDA: Cybersecurity for Medical Devices is a Shared Responsibility<br />http://www.fda.gov/MedicalDevices/Safety/AlertsandNotices/ucm189111.htm<br />FDA Medical Device related databases<br />http://www.fda.gov/MedicalDevices/DeviceRegulationandGuidance/Databases/default.htm<br />
Resources<br />HIMSS Manufacturer Disclosure Statement for Medical Device Security – MDS2 (2004)<br />MDISS - Medical device Innovation, Safety and Security Consortium<br />www.mdiss.org<br />North Carolina Healthcare Information & Communications Alliance Vendor Security Matrix (2003)<br />Killed by Code: Software Transparency in Implantable Medical Devices<br />http://www.softwarefreedom.org/resources/2010/transparent-medical-devices.html<br />Therac-25<br />http://www.bowdoin.edu/~allen/courses/cs260/readings/therac.pdf<br />http://sunnyday.mit.edu/papers/therac.pdf<br />http://www.ircrisk.com/blognet/?tag=/cancer<br />
Thanks!<br />MedSec group on LinkedIn – please join <br />Twitter: @shawnmer<br />firstname.lastname@example.org<br />email@example.com<br />