Tizen, Security and The Internet of Thingskernsec.org/files/lss2014/schaufler_201408-LinuxSecuritySummit-Tiz… · Tizen Security Basics Smack Capabilities User Based Controls Systemd

Post on 19-Jun-2020

3 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

Transcript

1

Tizen, Security and

The Internet of Things

Casey Schaufler

2

Casey Schaufler

• Security Dinosaur

• Smack Linux Security Module

• Manager Tizen and Linux Kernel Security

3

Tizen

• Linux based operating system

• Project of the Linux Foundation

• Lead by Samsung and Intel

4

Security

• Does what it’s supposed to

• Doesn’t do anything else

• Know the difference

5

Internet of Things

• Collection of computing devices

• Heterogeneous

• Autonomous

6

Things

• Just want to perform their function

• Not primarily computers

7

Things need to communicate

• Willing to talk to anyone

• Wide variety of “networks”

• Free from traditional administration

8

OPEN INTERCONNECT CONSORTIUM

9

How a Device Views the Internet of Things• Wisdom

• Danger

10

Back To Tizen

• Linux distribution for devices

• Collection of profiles

• Common security base

11

Tizen Security Basics

Smack

CapabilitiesUser Based

Controls

Systemd Cynara dbus Buxton Connman

CrosswalkWeston

X11tz-launcherBluetoothOfono

HTML5

Application

Native

Application

Kernel

Services

12

Write

Read

Additional

restrictions

may apply

Tizen Three Domain Security

Floor (“_”)

System

User

HTML5 Application Native Application

13

Tizen Application Privileges

Linux Kernel Services

Cynara

Service

HTML5 Application Native Application

Service

14

Application Privilege Attributes

• Name of the privilege

• http://tizen.org/privilege/vibrator

• Smack label of requester

• RaunchyRhinos

• UID of requestor

• 5001

• Access permitted

• r, rw, …

15

Security Perimeter

15

Internet

4G

Body

Area

Network

BluetoothApplication

16

Native Application Woes

• Use kernel interfaces directly

• Avoid service based controls

17

System Object Attributes

• Smack label

• UID

• GID

• Mode bits

• Smack access rules

18

Running Applications

• Unique Smack label per application

• Unique UID per user account

• Application launcher

top related