21
Program Analysis of IoT Applications for Security and Privacy Z. Berkay Celik Penn State University - USENIX Security HoTSec 2018 The most amusing talk award

Program Analysis of IoT Applications for Security …...13 Interaction between IoT apps interacts interacts interacts simulate-occupancy app goodnight app welcome-home app E: light

  • Upload
    others

  • View
    6

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Program Analysis of IoT Applications for Security …...13 Interaction between IoT apps interacts interacts interacts simulate-occupancy app goodnight app welcome-home app E: light

Program Analysis of IoT Applications for Security and Privacy

Z. Berkay Celik

Penn State University - USENIX Security HoTSec 2018The most amusing talk award

Page 2: Program Analysis of IoT Applications for Security …...13 Interaction between IoT apps interacts interacts interacts simulate-occupancy app goodnight app welcome-home app E: light

2

Smart homes–Healthcare– Energy–Farming…

Page 3: Program Analysis of IoT Applications for Security …...13 Interaction between IoT apps interacts interacts interacts simulate-occupancy app goodnight app welcome-home app E: light

h1(){ s.on() d.unlock()}

input (p, presenceSensor, type:device)input (s, switch, type:device)input (d, door, type:device)

subscribe(p, “present”, h1)

Devices

Events

Computation

IoT Apps...

Page 4: Program Analysis of IoT Applications for Security …...13 Interaction between IoT apps interacts interacts interacts simulate-occupancy app goodnight app welcome-home app E: light

4

IoT enables the future (and a whole lot of problems)

Is front door unlocked when user is sleeping?

Is user’s presence leaked to the adversary?

Program analysis helps…

Page 5: Program Analysis of IoT Applications for Security …...13 Interaction between IoT apps interacts interacts interacts simulate-occupancy app goodnight app welcome-home app E: light

Why should we care about program analysis of IoT

applications?

Make IoT safe and secure

Make our lives better

Page 6: Program Analysis of IoT Applications for Security …...13 Interaction between IoT apps interacts interacts interacts simulate-occupancy app goodnight app welcome-home app E: light

Why IoT apps cause safety and security issues?

How program analysis can help prevent those issues?

Page 7: Program Analysis of IoT Applications for Security …...13 Interaction between IoT apps interacts interacts interacts simulate-occupancy app goodnight app welcome-home app E: light

7

Page 8: Program Analysis of IoT Applications for Security …...13 Interaction between IoT apps interacts interacts interacts simulate-occupancy app goodnight app welcome-home app E: light

8

Devices

Page 9: Program Analysis of IoT Applications for Security …...13 Interaction between IoT apps interacts interacts interacts simulate-occupancy app goodnight app welcome-home app E: light
Page 10: Program Analysis of IoT Applications for Security …...13 Interaction between IoT apps interacts interacts interacts simulate-occupancy app goodnight app welcome-home app E: light

10

welcome-home app

E: light turned-on A: activate home-mode

1home-mode app

E: home-modeA: turn on heater and crock-pot, unlock patio-door

2

goodnight app

E: light turned-offA: set alarm at 7 am, turn on coffee machine at 7:15

3

E: EventA: Action

Page 11: Program Analysis of IoT Applications for Security …...13 Interaction between IoT apps interacts interacts interacts simulate-occupancy app goodnight app welcome-home app E: light

simulate-occupancy app

E: specific timesA: turn on lights turn off lights

4

Page 12: Program Analysis of IoT Applications for Security …...13 Interaction between IoT apps interacts interacts interacts simulate-occupancy app goodnight app welcome-home app E: light

What went wrong?

Page 13: Program Analysis of IoT Applications for Security …...13 Interaction between IoT apps interacts interacts interacts simulate-occupancy app goodnight app welcome-home app E: light

13

Interaction between IoT apps

interacts

interacts

interacts

simulate-occupancy app

goodnight app

welcome-home app

E: light turned-on A: activate home-mode

home-mode app

E: home-modeA: turn on heater and crock-pot, unlock patio-door

E: light turned-offA: set alarm at 7 am and turn on coffee machine at 7:15 am

E: tap an app iconA: turn on lights turn off lights

unlocked

turned on

turned on

turned on

When you are not at home

alarm set

Page 14: Program Analysis of IoT Applications for Security …...13 Interaction between IoT apps interacts interacts interacts simulate-occupancy app goodnight app welcome-home app E: light

14

Physical channels…

Light capabilities▪ Intensity

▪ Color - hue - saturation

▪ Brightness

Page 15: Program Analysis of IoT Applications for Security …...13 Interaction between IoT apps interacts interacts interacts simulate-occupancy app goodnight app welcome-home app E: light

15

Physical channels…

Page 16: Program Analysis of IoT Applications for Security …...13 Interaction between IoT apps interacts interacts interacts simulate-occupancy app goodnight app welcome-home app E: light

What went wrong?

Page 17: Program Analysis of IoT Applications for Security …...13 Interaction between IoT apps interacts interacts interacts simulate-occupancy app goodnight app welcome-home app E: light

17

Page 18: Program Analysis of IoT Applications for Security …...13 Interaction between IoT apps interacts interacts interacts simulate-occupancy app goodnight app welcome-home app E: light

The purpose of program analysis is to

ENSURE that the individual behavior of an

app and joint behavior of apps DOES NOT

cause SECURITY and SAFETY issues

Page 19: Program Analysis of IoT Applications for Security …...13 Interaction between IoT apps interacts interacts interacts simulate-occupancy app goodnight app welcome-home app E: light

Thank you for listening!

19

https://beerkay.github.io

berkaycelik

@ZBerkayCelik

?Please come and ask your questions in the coffee break!

Page 20: Program Analysis of IoT Applications for Security …...13 Interaction between IoT apps interacts interacts interacts simulate-occupancy app goodnight app welcome-home app E: light

20

Extra Slides

Page 21: Program Analysis of IoT Applications for Security …...13 Interaction between IoT apps interacts interacts interacts simulate-occupancy app goodnight app welcome-home app E: light

IoT is not magic…

21IoT program

Mobile appConnected devices