pacemakers and implantable cardiac defibrillators ... · pacemakers and implantable ... ieee...

46
U. Washington: D. Halperin T. Kohno UMass Amherst: T. S. Heydt-Benjamin S. Clark B. Defend W. Morgan K. Fu BIDMC/ Harvard: W. H. Maisel, MD Pacemakers and implantable cardiac defibrillators: Software radio attacks and zero-power defenses Ben Ransford [email protected] http://secure-medicine.org/ Ben Ransford, IEEE Security & Privacy ’08

Upload: votram

Post on 01-May-2018

241 views

Category:

Documents


4 download

TRANSCRIPT

Page 1: Pacemakers and implantable cardiac defibrillators ... · Pacemakers and implantable ... IEEE Security & Privacy ’08 Why Care About IMDs? ... and privacy for implantable medical

U. Washington:D. HalperinT. Kohno

UMass Amherst:T. S. Heydt-BenjaminS. Clark B. DefendW. Morgan K. Fu

BIDMC/Harvard:

W. H. Maisel, MD

Pacemakers and implantable cardiac defibrillators:

Software radio attacks and zero-power defenses

Ben [email protected]

http://secure-medicine.org/Ben Ransford, IEEE Security & Privacy ’08

Page 2: Pacemakers and implantable cardiac defibrillators ... · Pacemakers and implantable ... IEEE Security & Privacy ’08 Why Care About IMDs? ... and privacy for implantable medical

Ben Ransford, IEEE Security & Privacy ’08

Neurostimulator

Drug pumpProsthetic

limb

Pharmacyon a chip

Photos: Medtronic, Hearing Loss Assoc. of WA, St. Jude Medical, Otto Bock2

Cardiac Device

Page 3: Pacemakers and implantable cardiac defibrillators ... · Pacemakers and implantable ... IEEE Security & Privacy ’08 Why Care About IMDs? ... and privacy for implantable medical

Ben Ransford, IEEE Security & Privacy ’08

Neurostimulator

Drug pumpProsthetic

limb

Pharmacyon a chip

Photos: Medtronic, Hearing Loss Assoc. of WA, St. Jude Medical, Otto Bock2

Cardiac Device

Page 4: Pacemakers and implantable cardiac defibrillators ... · Pacemakers and implantable ... IEEE Security & Privacy ’08 Why Care About IMDs? ... and privacy for implantable medical

Ben Ransford, IEEE Security & Privacy ’08

Why Care About IMDs?

• Common devices

• Sophisticated devices with radios

• Perform vital functions inside people

• Are they secure?

3

Page 5: Pacemakers and implantable cardiac defibrillators ... · Pacemakers and implantable ... IEEE Security & Privacy ’08 Why Care About IMDs? ... and privacy for implantable medical

Ben Ransford, IEEE Security & Privacy ’08

Trends in Cardiac Devices

Implantabledefibrillator,

2003

• Complex therapies

• Radio interfaces

• Monitoring over Internet

• Algorithms for problem detection

• More storage, better CPU, ...

4

Page 6: Pacemakers and implantable cardiac defibrillators ... · Pacemakers and implantable ... IEEE Security & Privacy ’08 Why Care About IMDs? ... and privacy for implantable medical

Ben Ransford, IEEE Security & Privacy ’08

An Implanted Computer... which is wirelessly reprogrammable

... and contains personal data.

1990–2002: ~2.6 million (US) [JAMA 2006]

5Photos: oldcomputers.net, Wikipedia (“Heart”)

Page 7: Pacemakers and implantable cardiac defibrillators ... · Pacemakers and implantable ... IEEE Security & Privacy ’08 Why Care About IMDs? ... and privacy for implantable medical

Ben Ransford, IEEE Security & Privacy ’08

Contributions

• Study of a real implantable device

• Attacks with software radio

• Prototype energy harvesting defenses

6

Page 8: Pacemakers and implantable cardiac defibrillators ... · Pacemakers and implantable ... IEEE Security & Privacy ’08 Why Care About IMDs? ... and privacy for implantable medical

Ben Ransford, IEEE Security & Privacy ’08

The Next 20 Minutes

1. How secure is a real device?

2. Why is this non-trivial to get right?

3. Where should we go from here?

7

Page 9: Pacemakers and implantable cardiac defibrillators ... · Pacemakers and implantable ... IEEE Security & Privacy ’08 Why Care About IMDs? ... and privacy for implantable medical

http://secure-medicine.org/

Ben Ransford, IEEE Security & Privacy ’08

#1: Analysis of aReal Device

8

Page 10: Pacemakers and implantable cardiac defibrillators ... · Pacemakers and implantable ... IEEE Security & Privacy ’08 Why Care About IMDs? ... and privacy for implantable medical

Ben Ransford, IEEE Security & Privacy ’08

We analyzed an ICD.

Heart

• Implantable Cardiac Defibrillator

• Related to pacemaker

• Large shock: resync heart

• Monitors heart waveforms

9

Page 11: Pacemakers and implantable cardiac defibrillators ... · Pacemakers and implantable ... IEEE Security & Privacy ’08 Why Care About IMDs? ... and privacy for implantable medical

Ben Ransford, IEEE Security & Privacy ’08

Implantation Scenario

1. Doctor sets patient info

2. Surgically implants

3. Tests defibrillation

4. Ongoing monitoring

10Photos: Medtronic; Video: or-live.com

Page 12: Pacemakers and implantable cardiac defibrillators ... · Pacemakers and implantable ... IEEE Security & Privacy ’08 Why Care About IMDs? ... and privacy for implantable medical

Ben Ransford, IEEE Security & Privacy ’08

Device Programmer

Implantation Scenario

1. Doctor sets patient info

2. Surgically implants

3. Tests defibrillation

4. Ongoing monitoring

10Photos: Medtronic; Video: or-live.com

Page 13: Pacemakers and implantable cardiac defibrillators ... · Pacemakers and implantable ... IEEE Security & Privacy ’08 Why Care About IMDs? ... and privacy for implantable medical

Ben Ransford, IEEE Security & Privacy ’08

Implantation Scenario

1. Doctor sets patient info

2. Surgically implants

3. Tests defibrillation

4. Ongoing monitoring

10Photos: Medtronic; Video: or-live.com

Page 14: Pacemakers and implantable cardiac defibrillators ... · Pacemakers and implantable ... IEEE Security & Privacy ’08 Why Care About IMDs? ... and privacy for implantable medical

Ben Ransford, IEEE Security & Privacy ’08

Implantation Scenario

1. Doctor sets patient info

2. Surgically implants

3. Tests defibrillation

4. Ongoing monitoring

Home monitor

10Photos: Medtronic; Video: or-live.com

Page 15: Pacemakers and implantable cardiac defibrillators ... · Pacemakers and implantable ... IEEE Security & Privacy ’08 Why Care About IMDs? ... and privacy for implantable medical

Ben Ransford, IEEE Security & Privacy ’08

Attack #1: StealDevice Programmer

• Insider attack

• Thief can reverse engineer, modify...

• Risk: get “root” on many implants

11

Issue: ICD’s trusted computing base is large.

Photo: Medtronic

Page 16: Pacemakers and implantable cardiac defibrillators ... · Pacemakers and implantable ... IEEE Security & Privacy ’08 Why Care About IMDs? ... and privacy for implantable medical

Ben Ransford, IEEE Security & Privacy ’08

Why Steal When You Can Build?

• Software radio

• GNU Radio software, $0

• USRP board, $700

• Daughterboards, antennas: $100

~10 cm(un-optimized)

12

Page 17: Pacemakers and implantable cardiac defibrillators ... · Pacemakers and implantable ... IEEE Security & Privacy ’08 Why Care About IMDs? ... and privacy for implantable medical

Ben Ransford, IEEE Security & Privacy ’08

Attack #2: Eavesdrop Private Info

13Ben Ransford, IEEE Security & Privacy ’08

Page 18: Pacemakers and implantable cardiac defibrillators ... · Pacemakers and implantable ... IEEE Security & Privacy ’08 Why Care About IMDs? ... and privacy for implantable medical

Ben Ransford, IEEE Security & Privacy ’08

Attack #2: Eavesdrop Private InfoDiagnosis

13Ben Ransford, IEEE Security & Privacy ’08

Page 19: Pacemakers and implantable cardiac defibrillators ... · Pacemakers and implantable ... IEEE Security & Privacy ’08 Why Care About IMDs? ... and privacy for implantable medical

Ben Ransford, IEEE Security & Privacy ’08

Attack #2: Eavesdrop Private InfoDiagnosis

Hospital

13Ben Ransford, IEEE Security & Privacy ’08

Page 20: Pacemakers and implantable cardiac defibrillators ... · Pacemakers and implantable ... IEEE Security & Privacy ’08 Why Care About IMDs? ... and privacy for implantable medical

Ben Ransford, IEEE Security & Privacy ’08

Attack #2: Eavesdrop Private InfoDiagnosisImplanting

physician

Hospital

13Ben Ransford, IEEE Security & Privacy ’08

Page 21: Pacemakers and implantable cardiac defibrillators ... · Pacemakers and implantable ... IEEE Security & Privacy ’08 Why Care About IMDs? ... and privacy for implantable medical

Ben Ransford, IEEE Security & Privacy ’08

Attack #2: Eavesdrop Private InfoDiagnosisImplanting

physician

Hospital

Also:Device statePatient nameDate of birthMake & modelSerial no.... and more

13Ben Ransford, IEEE Security & Privacy ’08

Page 22: Pacemakers and implantable cardiac defibrillators ... · Pacemakers and implantable ... IEEE Security & Privacy ’08 Why Care About IMDs? ... and privacy for implantable medical

Ben Ransford, IEEE Security & Privacy ’08

Attack #2: Eavesdrop Private Info

In the future:Sophisticated devices may

divulge a lot more data.

Challenge:Can we add encryption?

14Photo: Medtronic

Page 23: Pacemakers and implantable cardiac defibrillators ... · Pacemakers and implantable ... IEEE Security & Privacy ’08 Why Care About IMDs? ... and privacy for implantable medical

Ben Ransford, IEEE Security & Privacy ’08

Attack #3: Sniff Vital Signs

0 500 1000 1500 2000 2500 3000−1

−0.5

0

0.5

1

ICD emits reconstructiblevital signs

Issue: Vital signs can say plenty.15

Eavesdropping setup

Page 24: Pacemakers and implantable cardiac defibrillators ... · Pacemakers and implantable ... IEEE Security & Privacy ’08 Why Care About IMDs? ... and privacy for implantable medical

Ben Ransford, IEEE Security & Privacy ’08

Attack #4: Drain Energy

• Implant designed for infrequent radio use

• Radio decreases battery lifetime

“Are you sleeping?”

“No!”

16

Page 25: Pacemakers and implantable cardiac defibrillators ... · Pacemakers and implantable ... IEEE Security & Privacy ’08 Why Care About IMDs? ... and privacy for implantable medical

Ben Ransford, IEEE Security & Privacy ’08

Simple Replay Attacks• Ours: “Deaf” (transmit-only) attacks

• Caveats: Close range; only one ICD model tested; attacks not optimized; takes many seconds

~10 cm

17Photo: Medtronic

Page 26: Pacemakers and implantable cardiac defibrillators ... · Pacemakers and implantable ... IEEE Security & Privacy ’08 Why Care About IMDs? ... and privacy for implantable medical

Ben Ransford, IEEE Security & Privacy ’08

Attack #5: Turn Off Therapies

• “Stop detecting fibrillation.”

• Device programmer would warn here

Issue: Can quietly change device state.18

Page 27: Pacemakers and implantable cardiac defibrillators ... · Pacemakers and implantable ... IEEE Security & Privacy ’08 Why Care About IMDs? ... and privacy for implantable medical

Ben Ransford, IEEE Security & Privacy ’08

Attack #6: Affect Patient’s Physiology

• Induce fibrillation which implant ignores

• Again, at close range

• In other kinds of implant:

• Flood patient with drugs

• Overstimulate nerves, ...

19

Issue: Puts patient safety at risk.

Page 28: Pacemakers and implantable cardiac defibrillators ... · Pacemakers and implantable ... IEEE Security & Privacy ’08 Why Care About IMDs? ... and privacy for implantable medical

http://secure-medicine.org/

Ben Ransford, IEEE Security & Privacy ’08

#2: Fundamental Challenges

20

Page 29: Pacemakers and implantable cardiac defibrillators ... · Pacemakers and implantable ... IEEE Security & Privacy ’08 Why Care About IMDs? ... and privacy for implantable medical

Ben Ransford, IEEE Security & Privacy ’08

Conventional Solutions?

How about... Non-trivial problem

Authenticate device programmers?

Key management is hard.Revocation?

Encrypt all transmissions?

Under what key?Must fail open!

21

Page 30: Pacemakers and implantable cardiac defibrillators ... · Pacemakers and implantable ... IEEE Security & Privacy ’08 Why Care About IMDs? ... and privacy for implantable medical

Ben Ransford, IEEE Security & Privacy ’08

Cannot fail closed

• Closed: Don’t know the password? No admission!

• Medical personnel need emergency access.

• Challenge: design to fail open.

22

Page 31: Pacemakers and implantable cardiac defibrillators ... · Pacemakers and implantable ... IEEE Security & Privacy ’08 Why Care About IMDs? ... and privacy for implantable medical

Ben Ransford, IEEE Security & Privacy ’08

Security vs. Safety?

• Tensions discussed in [IEEE Pervasive ’08]

• Patient’s health is the top priority

• We seek the sweet spots

23

Page 32: Pacemakers and implantable cardiac defibrillators ... · Pacemakers and implantable ... IEEE Security & Privacy ’08 Why Care About IMDs? ... and privacy for implantable medical

http://secure-medicine.org/

Ben Ransford, IEEE Security & Privacy ’08

3. Defensive Directions

24

Page 33: Pacemakers and implantable cardiac defibrillators ... · Pacemakers and implantable ... IEEE Security & Privacy ’08 Why Care About IMDs? ... and privacy for implantable medical

Ben Ransford, IEEE Security & Privacy ’08

Prototype defenses against some of the attacks.

Main idea: defend without using battery.

25

Page 34: Pacemakers and implantable cardiac defibrillators ... · Pacemakers and implantable ... IEEE Security & Privacy ’08 Why Care About IMDs? ... and privacy for implantable medical

Ben Ransford, IEEE Security & Privacy ’08

B.Y.O.P.• WISP = RFID + computation [Ubicomp ’06]

• WISPer = WISP + our code

• “Maximalist” crypto [RFIDSEC ’07]

• Prototype: 913 MHz RFID band

Goal: External party pays for power.26

Page 35: Pacemakers and implantable cardiac defibrillators ... · Pacemakers and implantable ... IEEE Security & Privacy ’08 Why Care About IMDs? ... and privacy for implantable medical

Ben Ransford, IEEE Security & Privacy ’08

WISPer as Gatekeeper

• Authenticate against WISPer

• WISPer to ICD: “OK to use radio”

• Acoustic patient notification

• How to deter enemies? (Open question!)

27

External party

WISPer

Implant

1

2

3

Page 36: Pacemakers and implantable cardiac defibrillators ... · Pacemakers and implantable ... IEEE Security & Privacy ’08 Why Care About IMDs? ... and privacy for implantable medical

Ben Ransford, IEEE Security & Privacy ’08

How WISPer Could Work

• Auxiliary device (possibly integrated)

• Audible or tactile patient alert

• Patient detects activity: am I in a clinic?

• Fail open: sensible, tactile key exchange

28

Page 37: Pacemakers and implantable cardiac defibrillators ... · Pacemakers and implantable ... IEEE Security & Privacy ’08 Why Care About IMDs? ... and privacy for implantable medical

Ben Ransford, IEEE Security & Privacy ’08

Energy harvesting through tissue is possible.

Testing WISPer: Simulated Torso

29

1 cm bacon

6 cm chuck

WISPer

Page 38: Pacemakers and implantable cardiac defibrillators ... · Pacemakers and implantable ... IEEE Security & Privacy ’08 Why Care About IMDs? ... and privacy for implantable medical

http://secure-medicine.org/

Ben Ransford, IEEE Security & Privacy ’08

Medical DevicesNeed Continued

Attention!

30

Page 39: Pacemakers and implantable cardiac defibrillators ... · Pacemakers and implantable ... IEEE Security & Privacy ’08 Why Care About IMDs? ... and privacy for implantable medical

Ben Ransford, IEEE Security & Privacy ’08

Medical Device Trends

• Further computerization of care

• Longer-range communication

• Cooperation among devices

31

Issue: All of these bring risks.

Page 40: Pacemakers and implantable cardiac defibrillators ... · Pacemakers and implantable ... IEEE Security & Privacy ’08 Why Care About IMDs? ... and privacy for implantable medical

Ben Ransford, IEEE Security & Privacy ’08

Related Work• [IEEE Pervasive ’08] D.

Halperin, T. S. Heydt-Benjamin, K. Fu, T. Kohno, and W. H. Maisel: Security and privacy for implantable medical devices. (January 2008)

• [JAMA ’06] W. H. Maisel, M. Moynahan, B. D. Zuckerman, T. P. Gross, O. H. Tovar, D.-B. Tillman, and D. B. Schultz: Pacemaker and ICD generator malfunctions: Analysis of Food and Drug Administration annual reports. (JAMA 295(16))

• [Ubicomp ’06] J. R. Smith, A. P. Sample, P. S. Powledge, S. Roy, and A. Mamishev: A wirelessly-powered platform for sensing and computation.

• [RFIDSEC ’07] H.-J. Chae, D. J. Yeager, J. R. Smith, and K. Fu: Maximalist cryptography and computation on the WISP UHF RFID tag.

• More in paper

32

Page 41: Pacemakers and implantable cardiac defibrillators ... · Pacemakers and implantable ... IEEE Security & Privacy ’08 Why Care About IMDs? ... and privacy for implantable medical

Ben Ransford, IEEE Security & Privacy ’08

Conclusions• Analysis of wirelessly controlled IMD

• Methodologies & defensive directions

‣ Software radio

‣ Energy harvesting gatekeeper

‣ Patient notification (deterrence)

• Many open problems

http://secure-medicine.org/33

Page 42: Pacemakers and implantable cardiac defibrillators ... · Pacemakers and implantable ... IEEE Security & Privacy ’08 Why Care About IMDs? ... and privacy for implantable medical

Ben Ransford, IEEE Security & Privacy ’08

Conclusions

• Many open problems:

• Balance safety & security

• Key management

• Attacks can be improved

• Defenses can be improved

http://secure-medicine.org/34

Page 43: Pacemakers and implantable cardiac defibrillators ... · Pacemakers and implantable ... IEEE Security & Privacy ’08 Why Care About IMDs? ... and privacy for implantable medical

Ben Ransford, IEEE Security & Privacy ’08

Non-Technical Challenges

• Manufacturers beholden only to regulators

• No security regulation

• Safety & effectiveness are FDA’s mandate

• No major interface between FDA & FCC

35

Page 44: Pacemakers and implantable cardiac defibrillators ... · Pacemakers and implantable ... IEEE Security & Privacy ’08 Why Care About IMDs? ... and privacy for implantable medical

Ben Ransford, IEEE Security & Privacy ’08 36

Yet some remarkable changes are on the horizon, said Dr. Larry Wolff, a UC Davis Medical School professor who

specializes in implanting defibrillators. "I believe over time we could make programming changes on

the telephone," he said, although that's not possible now.

Sacramento Bee, May 17, 2008

Page 45: Pacemakers and implantable cardiac defibrillators ... · Pacemakers and implantable ... IEEE Security & Privacy ’08 Why Care About IMDs? ... and privacy for implantable medical

Ben Ransford, IEEE Security & Privacy ’08 37

Page 46: Pacemakers and implantable cardiac defibrillators ... · Pacemakers and implantable ... IEEE Security & Privacy ’08 Why Care About IMDs? ... and privacy for implantable medical

Ben Ransford, IEEE Security & Privacy ’08 37