500.000 recalled pacemakers 2 billion $ stock value loss - the … · 2019-10-20 · how it all...

58
500.000 recalled pacemakers 2 billion $ stock value loss - The story behind Tobias Zillner

Upload: others

Post on 16-Jul-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 500.000 recalled pacemakers 2 billion $ stock value loss - The … · 2019-10-20 · How it all started • Early 2016 a new medical security company decided to assess pacemakers

500.000 recalled pacemakers2 billion $ stock value loss

- The story behindTobias Zillner

Page 2: 500.000 recalled pacemakers 2 billion $ stock value loss - The … · 2019-10-20 · How it all started • Early 2016 a new medical security company decided to assess pacemakers

2/26/19 2

Page 3: 500.000 recalled pacemakers 2 billion $ stock value loss - The … · 2019-10-20 · How it all started • Early 2016 a new medical security company decided to assess pacemakers

whoami

Tobias Zillner, BSc MMSc Lead IT Security Consultant | Co-Founder

• Expertise: • Industrial Security • IoT security / Embedded • OSINT • Wireless security (SDR) • Threat Modeling

• CISSP, CISA, CEH, OSCP, OSWP, IEC 62443, PRINCE2, COBIT5, ITIL

• Lecturer at FH St. Pölten, Uni Wien

• Speaker at international security conferences

“He’s a cool guy. His name is ‘two beers’.”

”Two beers?”

“Yes, it’s a german name!”

“Ohh! Tobias!”2/26/19 3

Page 4: 500.000 recalled pacemakers 2 billion $ stock value loss - The … · 2019-10-20 · How it all started • Early 2016 a new medical security company decided to assess pacemakers

How it all started

• Early 2016 a new medical security company decided to assess pacemakers

• Goal: Find 0-day vulns in pacemakers

• 4 vendors assessed

• Researcher for St. Jude Medical Project

2/26/19 4

Page 5: 500.000 recalled pacemakers 2 billion $ stock value loss - The … · 2019-10-20 · How it all started • Early 2016 a new medical security company decided to assess pacemakers

The ecosystem

2/26/19 5

Pacemaker

Implanted cardiac device (ICD)Home monitor

Programmer

Merlin Net

Alias “the cloud“

Page 6: 500.000 recalled pacemakers 2 billion $ stock value loss - The … · 2019-10-20 · How it all started • Early 2016 a new medical security company decided to assess pacemakers

First attack vector

2/26/19 6

Pacemaker

Implanted cardiac device (ICD)Home monitor

Programmer

Merlin Net

Alias “the cloud“

Page 7: 500.000 recalled pacemakers 2 billion $ stock value loss - The … · 2019-10-20 · How it all started • Early 2016 a new medical security company decided to assess pacemakers

First attack vector

• New generation is able to communicate wireless

• Medical Implant Communication System (MICS) • low-power, short-range (2 m) • high-data-rate • 401–406 MHz (the core band is 402–405 MHz) • accepted worldwide for transmitting data

to support the diagnostic or therapeuticfunctions associated with medical implant devices. 

• Software Defined Radio / GNURadio

2/26/19 7

Page 8: 500.000 recalled pacemakers 2 billion $ stock value loss - The … · 2019-10-20 · How it all started • Early 2016 a new medical security company decided to assess pacemakers

Information Gathering

• Interviews • Check FCC ID

• Fccid.io • http://www.comsearch.com/articles/emission.pdf • Search for other devices from the vendor

• Google Patent search • Product documentation • RF chip, Firmware, Software • Visual signal inspection • Check frequency bands for legal issues

Page 9: 500.000 recalled pacemakers 2 billion $ stock value loss - The … · 2019-10-20 · How it all started • Early 2016 a new medical security company decided to assess pacemakers

FCC ID

Page 10: 500.000 recalled pacemakers 2 billion $ stock value loss - The … · 2019-10-20 · How it all started • Early 2016 a new medical security company decided to assess pacemakers

FCC ID

Page 11: 500.000 recalled pacemakers 2 billion $ stock value loss - The … · 2019-10-20 · How it all started • Early 2016 a new medical security company decided to assess pacemakers

Google patent

Page 12: 500.000 recalled pacemakers 2 billion $ stock value loss - The … · 2019-10-20 · How it all started • Early 2016 a new medical security company decided to assess pacemakers
Page 13: 500.000 recalled pacemakers 2 billion $ stock value loss - The … · 2019-10-20 · How it all started • Early 2016 a new medical security company decided to assess pacemakers
Page 14: 500.000 recalled pacemakers 2 billion $ stock value loss - The … · 2019-10-20 · How it all started • Early 2016 a new medical security company decided to assess pacemakers

Signal to bits

• Find a signal

• Isolate the channel

• Use filters to remove out-of-band interference

• Detect symbol rate / baud rate

• Syncronize clock

• Symbols to bits

• Encodings: NRZ, NRZI, Manchester, 4b/5b,…

Page 15: 500.000 recalled pacemakers 2 billion $ stock value loss - The … · 2019-10-20 · How it all started • Early 2016 a new medical security company decided to assess pacemakers

First vulns identified :D

• Energy depletion attack

• Crash attack

2/26/19 15https://vimeo.com/180593205

Page 16: 500.000 recalled pacemakers 2 billion $ stock value loss - The … · 2019-10-20 · How it all started • Early 2016 a new medical security company decided to assess pacemakers

First vulns identified :D

• Energy depletion attack

• Crash attack

2/26/19 16https://vimeo.com/180593205

Page 17: 500.000 recalled pacemakers 2 billion $ stock value loss - The … · 2019-10-20 · How it all started • Early 2016 a new medical security company decided to assess pacemakers

We got stuck…

• Reverse engineering is very time intensive

• Researcher time is expensive

• Weak crypto is also hard to crack only with your eyes

• Decision point 1. We go into cryptoanalysis 2. Look for other attack vectors

2/26/19 17

Page 18: 500.000 recalled pacemakers 2 billion $ stock value loss - The … · 2019-10-20 · How it all started • Early 2016 a new medical security company decided to assess pacemakers

We got stuck…

• Reverse engineering is very time intensive

• Researcher time is expensive

• Weak crypto is also hard to crack only with your eyes

• Decision point 1. We go into cryptoanalysis 2. Look for other attack vectors

2/26/19 18

Page 19: 500.000 recalled pacemakers 2 billion $ stock value loss - The … · 2019-10-20 · How it all started • Early 2016 a new medical security company decided to assess pacemakers

What else to attack?

2/26/19 19

Pacemaker

Implanted cardiac device (ICD)Home monitor

Programmer

Merlin Net

Alias “the cloud“

Page 20: 500.000 recalled pacemakers 2 billion $ stock value loss - The … · 2019-10-20 · How it all started • Early 2016 a new medical security company decided to assess pacemakers

What else to attack?

2/26/19 20

Pacemaker

Implanted cardiac device (ICD)Home monitor

Programmer

Merlin Net

Alias “the cloud“

Page 21: 500.000 recalled pacemakers 2 billion $ stock value loss - The … · 2019-10-20 · How it all started • Early 2016 a new medical security company decided to assess pacemakers

Merlin@Home

• Home monitor for patients

• Transmits health data to doctor

• Huge comfort benefits for patient

• Available interfaces • RJ11 jack • USB interface

2/26/19 21

Page 22: 500.000 recalled pacemakers 2 billion $ stock value loss - The … · 2019-10-20 · How it all started • Early 2016 a new medical security company decided to assess pacemakers

A look inside

2/26/19 22

Page 23: 500.000 recalled pacemakers 2 billion $ stock value loss - The … · 2019-10-20 · How it all started • Early 2016 a new medical security company decided to assess pacemakers

2/26/19 23

Page 24: 500.000 recalled pacemakers 2 billion $ stock value loss - The … · 2019-10-20 · How it all started • Early 2016 a new medical security company decided to assess pacemakers

Hardware hacking ongoing

2/26/19 24

Page 25: 500.000 recalled pacemakers 2 billion $ stock value loss - The … · 2019-10-20 · How it all started • Early 2016 a new medical security company decided to assess pacemakers

The hacker‘s perspectiveLive Demo

2/26/19 25

Page 26: 500.000 recalled pacemakers 2 billion $ stock value loss - The … · 2019-10-20 · How it all started • Early 2016 a new medical security company decided to assess pacemakers

What else to attack?

2/26/19 26

Pacemaker

Implanted cardiac device (ICD)Home monitor

Programmer

Merlin Net

Alias “the cloud“

Page 27: 500.000 recalled pacemakers 2 billion $ stock value loss - The … · 2019-10-20 · How it all started • Early 2016 a new medical security company decided to assess pacemakers

What else to attack?

2/26/19 27

Pacemaker

Implanted cardiac device (ICD)Home monitor

Programmer

Merlin Net

Alias “the cloud“

Page 28: 500.000 recalled pacemakers 2 billion $ stock value loss - The … · 2019-10-20 · How it all started • Early 2016 a new medical security company decided to assess pacemakers

What about the programmer?

2/26/19 28

Page 29: 500.000 recalled pacemakers 2 billion $ stock value loss - The … · 2019-10-20 · How it all started • Early 2016 a new medical security company decided to assess pacemakers

Removable HDD

2/26/19 29

Page 30: 500.000 recalled pacemakers 2 billion $ stock value loss - The … · 2019-10-20 · How it all started • Early 2016 a new medical security company decided to assess pacemakers

The final piece in the puzzle

• Unencrypted HD

• Java JAR files :D

• No obfuscation

• Reverse engineering of code

2/26/19 30

Page 31: 500.000 recalled pacemakers 2 billion $ stock value loss - The … · 2019-10-20 · How it all started • Early 2016 a new medical security company decided to assess pacemakers

Merlin@Home as attack device

• Emergency shock

• Disable Tachy

• Vibrate

• T-Shock

• Demo videos released • https://vimeo.com/187962970

2/26/19 31

Page 32: 500.000 recalled pacemakers 2 billion $ stock value loss - The … · 2019-10-20 · How it all started • Early 2016 a new medical security company decided to assess pacemakers

Which message authentication code (MAC) is used?

A. No authentication

B. Propriatery (Let‘s build our own „crypto“)

C. Hardcoded 24 bit RSA

D. 56bit DES

E. 1024bit RSA

2/26/19 32

Page 33: 500.000 recalled pacemakers 2 billion $ stock value loss - The … · 2019-10-20 · How it all started • Early 2016 a new medical security company decided to assess pacemakers

Which message authentication code (MAC) is used?

A. No authentication

B. Propriatery (Let‘s build our own „crypto“)

C. Hardcoded 24 bit RSA

D. 56bit DES

E. 1024bit RSA

2/26/19 33

Page 34: 500.000 recalled pacemakers 2 billion $ stock value loss - The … · 2019-10-20 · How it all started • Early 2016 a new medical security company decided to assess pacemakers

Other crypto mistakes?

A. “homebrewed” cryptographic algorithm

B. Hardcoded “Universal Key” as backdoor

C. one 32-bit RSA public key for all devices

D. Truncate calculated keys because of memory

2/26/19 34

Page 35: 500.000 recalled pacemakers 2 billion $ stock value loss - The … · 2019-10-20 · How it all started • Early 2016 a new medical security company decided to assess pacemakers

Other crypto mistakes?

A. “homebrewed” cryptographic algorithm

B. Hardcoded “Universal Key” as backdoor

C. one 32-bit RSA public key for all devices

D. Truncate calculated keys because of memory

2/26/19 35

Page 36: 500.000 recalled pacemakers 2 billion $ stock value loss - The … · 2019-10-20 · How it all started • Early 2016 a new medical security company decided to assess pacemakers

Technical Summary

• Critical vulnerabilities with potentially lethal impact discovered

• Unauthorized user could remotely access a patients implanted cardiac device over wireless interface

• Very easy debug access to Merlin@home device using an insecure hardware interface

• Insecure storage of source code on the home device/programmer

• Simple replay attacks for battery depletion

• Reprogramming of the pacemaker using wireless

• Static keys everywhere

2/26/19 36

Page 37: 500.000 recalled pacemakers 2 billion $ stock value loss - The … · 2019-10-20 · How it all started • Early 2016 a new medical security company decided to assess pacemakers

What about security certifications?

2/26/19 37

Page 38: 500.000 recalled pacemakers 2 billion $ stock value loss - The … · 2019-10-20 · How it all started • Early 2016 a new medical security company decided to assess pacemakers

The ecosystem

2/26/19 38

Pacemaker

Implanted cardiac device (ICD)Home monitor

Programmer

Merlin Net

Alias “the cloud“

Page 39: 500.000 recalled pacemakers 2 billion $ stock value loss - The … · 2019-10-20 · How it all started • Early 2016 a new medical security company decided to assess pacemakers

Vulnerability disclosure What was special?

2/26/19 39

Page 40: 500.000 recalled pacemakers 2 billion $ stock value loss - The … · 2019-10-20 · How it all started • Early 2016 a new medical security company decided to assess pacemakers

What was special?

• MedSec licensed research to Muddy Waters (Hedge fond)

• Muddy Waters is an investment company known for investigating companies, finding problems like accounting fraud, and profiting by shorting the stock of misbehaving companies.

• Muddy Waters took short position in St.Jude Medical stock and bought shares from competitors

2/26/19 40

Page 41: 500.000 recalled pacemakers 2 billion $ stock value loss - The … · 2019-10-20 · How it all started • Early 2016 a new medical security company decided to assess pacemakers

Muddy Waters published findings report

2/26/19 41

Page 42: 500.000 recalled pacemakers 2 billion $ stock value loss - The … · 2019-10-20 · How it all started • Early 2016 a new medical security company decided to assess pacemakers

Muddy Waters published findings report

• Vulnerability disclosure process?

2/26/19 42

Page 43: 500.000 recalled pacemakers 2 billion $ stock value loss - The … · 2019-10-20 · How it all started • Early 2016 a new medical security company decided to assess pacemakers

Muddy Waters published findings report

• Vulnerability disclosure process?

• No notification to vendor

"We were worried that they would sweep this under the rug or we would find ourselves in some sort of a hush litigation situation where patients were unaware of the risks they were facing," said Bone, an experienced security researcher and the former head of risk management for Bloomberg LP, the parent of Bloomberg News. "We partnered with Muddy Waters because they have a great history of holding large corporations accountable."

2/26/19 43

Page 44: 500.000 recalled pacemakers 2 billion $ stock value loss - The … · 2019-10-20 · How it all started • Early 2016 a new medical security company decided to assess pacemakers

The Impact

• Stock price fell 12% before trading being halted the day they went public

• 2 billion $ value loss

• 2.000.000.000 $ value loss

2/26/19 44

Page 45: 500.000 recalled pacemakers 2 billion $ stock value loss - The … · 2019-10-20 · How it all started • Early 2016 a new medical security company decided to assess pacemakers

Official response

"We have examined the allegations made by Capital and MedSec on August 25, 2016 regarding the safety and security of our pacemakers and defibrillators, and while we would have preferred the opportunity to review a detailed account of the information, based on available information, we conclude that the report is false and misleading. Our top priority is to reassure our patients, caregivers and physicians that our devices are secure and to ensure ongoing access to the proven clinical benefits of remote monitoring. St. Jude Medical stands behind the security and safety of our devices as confirmed by independent third parties and supported through our regulatory submissions."

2/26/19 45

Page 46: 500.000 recalled pacemakers 2 billion $ stock value loss - The … · 2019-10-20 · How it all started • Early 2016 a new medical security company decided to assess pacemakers

The Reaction

• St. Jude disputed vulnerability claims and sued the researches and Muddy Waters

2/26/19 46

Page 47: 500.000 recalled pacemakers 2 billion $ stock value loss - The … · 2019-10-20 · How it all started • Early 2016 a new medical security company decided to assess pacemakers

The Reaction

• In October 2016 an independent 3rd Party verified the claims

2/26/19 47

Page 48: 500.000 recalled pacemakers 2 billion $ stock value loss - The … · 2019-10-20 · How it all started • Early 2016 a new medical security company decided to assess pacemakers

Officiall statements released

2/26/19 48

Page 49: 500.000 recalled pacemakers 2 billion $ stock value loss - The … · 2019-10-20 · How it all started • Early 2016 a new medical security company decided to assess pacemakers

2/26/19 49

Page 50: 500.000 recalled pacemakers 2 billion $ stock value loss - The … · 2019-10-20 · How it all started • Early 2016 a new medical security company decided to assess pacemakers

FDA - Official statement

The FDA has reviewed information concerning potential cybersecurity vulnerabilities associated with St. Jude Medical's RF-enabled implantable cardiac pacemakers and has confirmed that these vulnerabilities, if exploited, could allow an unauthorized user (i.e. someone other than the patient's physician) to access a patient's device using commercially available equipment. This access could be used to modify programming commands to the implanted pacemaker, which could result in patient harm from rapid battery depletion or administration of inappropriate pacing.

2/26/19 50

Page 51: 500.000 recalled pacemakers 2 billion $ stock value loss - The … · 2019-10-20 · How it all started • Early 2016 a new medical security company decided to assess pacemakers

Official security update

2/26/19 51

Page 52: 500.000 recalled pacemakers 2 billion $ stock value loss - The … · 2019-10-20 · How it all started • Early 2016 a new medical security company decided to assess pacemakers

The end?

2/26/19 52

Page 53: 500.000 recalled pacemakers 2 billion $ stock value loss - The … · 2019-10-20 · How it all started • Early 2016 a new medical security company decided to assess pacemakers

VulnDisclosure - The traditional way

• Billy Rios & Jonathan Butts

• Security assessment of Medtronic Pacemakers

• Disclosed bugs they had discovered in Medtronic's software delivery network

• Discovered a chain of vulnerabilities in Medtronic's infrastructure that an attacker could exploit to control implanted pacemakers remotely, deliver shocks patients don't need or withhold ones they do, and cause real harm.

• Medtronic took 10 months to vet the submission, at which point it opted not to take action to secure the network. 

2/26/19 53

Page 54: 500.000 recalled pacemakers 2 billion $ stock value loss - The … · 2019-10-20 · How it all started • Early 2016 a new medical security company decided to assess pacemakers

Vendor response

• "Medtronic has assessed the vulnerabilities per our internal process," the company wrote in February. "These findings revealed no new potential safety risks based on the existing product security risk assessment. The risks are controlled, and residual risk is acceptable.”

• "Medtronic deploys a robust, coordinated disclosure process and takes seriously all potential cybersecurity vulnerabilities in our products and systems. ... In the past, WhiteScope, LLC has identified potential vulnerabilities which we have assessed independently and also issued related notifications, and we are not aware of any additional vulnerabilities they have identified at this time."

2/26/19 54

Page 55: 500.000 recalled pacemakers 2 billion $ stock value loss - The … · 2019-10-20 · How it all started • Early 2016 a new medical security company decided to assess pacemakers

Communication issues

"The time period Medtronic spent discussing this with us, if they had just put that time into making a fix they could have solved a lot of these issues," Butts says. "Now we’re two years down the road and there are patients still susceptible to this risk of altering therapy, which means we could do a shock when we wanted to or we could deny shocks from happening. It’s very frustrating."

2/26/19 55

Page 56: 500.000 recalled pacemakers 2 billion $ stock value loss - The … · 2019-10-20 · How it all started • Early 2016 a new medical security company decided to assess pacemakers

18 month after initial discloure

• Still unpatched vulnerabilities

• Medtronic downplays the findings • No firmware signing • Plaintext username / password on the devices

• Some vulnerabilities are even neglected

What is the better way?2/26/19 56

Page 57: 500.000 recalled pacemakers 2 billion $ stock value loss - The … · 2019-10-20 · How it all started • Early 2016 a new medical security company decided to assess pacemakers

Key take aways

• If it is not secure, it is not safe

• ISO 27001 certificate is not equal „I am secure“

• Lot‘s of potential attack vectors

• New way of monetising vulnerabilities

• Is it ethical to profit from shorting stock while dropping 0day?

2/26/19 57

Page 58: 500.000 recalled pacemakers 2 billion $ stock value loss - The … · 2019-10-20 · How it all started • Early 2016 a new medical security company decided to assess pacemakers

Everybody needs a hacker!Alpha Strike Labs GmbH Mail: [email protected]

Web: www.alphastrike.io

Mobile: +43 (0) 664 8829 8290

Fax: You think I have fax?