Securebox A Platform for Smarter and Safer Networks · 2016-07-28 · Securebox A Platform for...

36
www.cs.helsinki.fi Securebox A Platform for Smarter and Safer Networks Ibbad Hafeez, Aaron Yi Ding, Lauri Suomalainen, Sasu Tarkoma University of Helsinki 7.26.2016 Faculty of Science Department of Computer Science 1

Transcript of Securebox A Platform for Smarter and Safer Networks · 2016-07-28 · Securebox A Platform for...

Page 1: Securebox A Platform for Smarter and Safer Networks · 2016-07-28 · Securebox A Platform for Smarter and Safer Networks Ibbad Hafeez, Aaron Yi Ding, Lauri Suomalainen, Sasu Tarkoma

www.cs.helsinki.fi

Securebox A Platform for Smarter and

Safer NetworksIbbad Hafeez, Aaron Yi Ding, Lauri Suomalainen,

Sasu TarkomaUniversity of Helsinki

7.26.2016Faculty of ScienceDepartment of Computer Science 1

Page 2: Securebox A Platform for Smarter and Safer Networks · 2016-07-28 · Securebox A Platform for Smarter and Safer Networks Ibbad Hafeez, Aaron Yi Ding, Lauri Suomalainen, Sasu Tarkoma

www.cs.helsinki.fi

Progress

§ Agenda§ Motivation§ Goals§ Platform: § Design, Architecture, Deployment, Implementation

§ Use cases§ Challenges & State of the art

7.26.2016Faculty of ScienceDepartment of Computer Science 2

Page 3: Securebox A Platform for Smarter and Safer Networks · 2016-07-28 · Securebox A Platform for Smarter and Safer Networks Ibbad Hafeez, Aaron Yi Ding, Lauri Suomalainen, Sasu Tarkoma

www.cs.helsinki.fi 7.26.2016 3Faculty of ScienceDepartment of Computer Science

Motivation§ Bring Your Own Device in Enterprises.§ Lack of coordination for network management.

Internet of(too many)Things

Insecure SOHO Networks

Page 4: Securebox A Platform for Smarter and Safer Networks · 2016-07-28 · Securebox A Platform for Smarter and Safer Networks Ibbad Hafeez, Aaron Yi Ding, Lauri Suomalainen, Sasu Tarkoma

www.cs.helsinki.fi

Use Network data for improving network§ (Not so) efficient use of terabytes of network data.

11.4.2016Faculty of ScienceDepartment of Computer Science 4

Page 5: Securebox A Platform for Smarter and Safer Networks · 2016-07-28 · Securebox A Platform for Smarter and Safer Networks Ibbad Hafeez, Aaron Yi Ding, Lauri Suomalainen, Sasu Tarkoma

www.cs.helsinki.fi 7.26.2016 5Faculty of ScienceDepartment of Computer Science

Goals§ Low Cost.

§ Can be deployed at SOHO.§ Easy to manage and deploy.

§ Does not need professionals.§ Scalable.

§ Use as much you want, Pay as much you use.§ Robust.

§ Self improving and healing§ Interactive.

§ Better user experience

Page 6: Securebox A Platform for Smarter and Safer Networks · 2016-07-28 · Securebox A Platform for Smarter and Safer Networks Ibbad Hafeez, Aaron Yi Ding, Lauri Suomalainen, Sasu Tarkoma

www.cs.helsinki.fi

Progress

§ Agenda§ Motivation§ Goals§ Platform: § Design, Architecture, Deployment, Implementation

§ Use cases§ Challenges & State of the art

7.26.2016Faculty of ScienceDepartment of Computer Science 6

Page 7: Securebox A Platform for Smarter and Safer Networks · 2016-07-28 · Securebox A Platform for Smarter and Safer Networks Ibbad Hafeez, Aaron Yi Ding, Lauri Suomalainen, Sasu Tarkoma

www.cs.helsinki.fi

§ Network Management and Security as a Service.§ Decoupling middleboxes from the network.§ Automated configuration updates for software based

middleboxes.§ Global view of the network for better management and

analysis.§ Automated management, threat detection and

configuration at network vantage points.§ Proactive, collaborative security§ Notifications about network operations, threats

(network and devices) etc.

Design

7.26.2016 7Faculty of ScienceDepartment of Computer Science

Page 8: Securebox A Platform for Smarter and Safer Networks · 2016-07-28 · Securebox A Platform for Smarter and Safer Networks Ibbad Hafeez, Aaron Yi Ding, Lauri Suomalainen, Sasu Tarkoma

www.cs.helsinki.fi

§ SDN-capable access point for network edge.§ Dynamic firewall.

Architecture: Securebox (Sensor at the edge)

7.26.2016Faculty of ScienceDepartment of Computer Science 8

Page 9: Securebox A Platform for Smarter and Safer Networks · 2016-07-28 · Securebox A Platform for Smarter and Safer Networks Ibbad Hafeez, Aaron Yi Ding, Lauri Suomalainen, Sasu Tarkoma

www.cs.helsinki.fi

§ Security and Management Service§ User management.§ Device management.§ Service mobility.

§ Device roaming across APs.

§ Collaborative Security§ Micro security services and virtualized middlebox

deployment.§ Network traffic data analysis.

ArchitectureSecurity and Management Service

7.26.2016Faculty of ScienceDepartment of Computer Science 9

Page 10: Securebox A Platform for Smarter and Safer Networks · 2016-07-28 · Securebox A Platform for Smarter and Safer Networks Ibbad Hafeez, Aaron Yi Ding, Lauri Suomalainen, Sasu Tarkoma

www.cs.helsinki.fi 7.26.2016Faculty of ScienceDepartment of Computer Science 10

Architecture

Serv

ices

Dev

ice

leve

l se

rvic

esU

ser l

evel

se

rvic

esVir

tual

ized

Mid

dleb

oxes

3rd p

arty

se

rvic

es

Anomaly detection engine

Policy development and dissemination

Backup Middleboxes inst.

Database

Logging server

Malware AnalysisMalware Analysis

Threat AnalysisThreat Analysis

Certification AuthorityCertification AuthorityBackup central serverBackup central server

SecureboxSecurebox

Middlebox ManagerMiddlebox Manager

Central ServerCentral Server

Page 11: Securebox A Platform for Smarter and Safer Networks · 2016-07-28 · Securebox A Platform for Smarter and Safer Networks Ibbad Hafeez, Aaron Yi Ding, Lauri Suomalainen, Sasu Tarkoma

www.cs.helsinki.fi

Arc

hite

ctur

eSe

curit

y an

d M

anag

emen

t Ser

vice

7.26.2016Faculty of ScienceDepartment of Computer Science 11

Serv

ices

Dev

ice

leve

l se

rvic

esU

ser l

evel

se

rvic

esVir

tual

ized

Mid

dleb

oxes

3rd p

arty

se

rvic

es

Anomaly detection engine

Policy development and dissemination

Backup Middleboxes inst.

Database

Logging server

Malware AnalysisMalware Analysis

Threat AnalysisThreat Analysis

Certification AuthorityCertification AuthorityBackup central serverBackup central server

SecureboxSecurebox

Middlebox ManagerMiddlebox Manager

Central ServerCentral Server

Page 12: Securebox A Platform for Smarter and Safer Networks · 2016-07-28 · Securebox A Platform for Smarter and Safer Networks Ibbad Hafeez, Aaron Yi Ding, Lauri Suomalainen, Sasu Tarkoma

www.cs.helsinki.fi

Functioning

7.26.2016Faculty of ScienceDepartment of Computer Science 12

Serv

ices

Dev

ice

leve

l se

rvic

es

Use

r le

vel

serv

ices

Virtualized Middleboxes

3rd

part

y se

rvic

e

Malware AnalysisMalware AnalysisThreat AnalysisThreat Analysis

Certification AuthorityCertification Authority

DatabaseDatabase

vFWvFW

vIDSvIDSvIPSvIPS

Central ServerCentral Server

34

6

Phone 2 Internet

1

5

8

7SecureboxSecurebox

Page 13: Securebox A Platform for Smarter and Safer Networks · 2016-07-28 · Securebox A Platform for Smarter and Safer Networks Ibbad Hafeez, Aaron Yi Ding, Lauri Suomalainen, Sasu Tarkoma

www.cs.helsinki.fi 7.26.2016 13Faculty of ScienceDepartment of Computer Science

Goals (Recap)§ Low Cost

§ Security and Management as a Service based solution with minimal hardware required.

§ Easy to manage and deploy§ Automated management with minimal configuration.

§ Scalable§ Cloud resources to scale.

§ Robust§ Automated analysis, self learning system (with minimal

supervision).§ Interactive

§ User involvement through feedback and notification.

Page 14: Securebox A Platform for Smarter and Safer Networks · 2016-07-28 · Securebox A Platform for Smarter and Safer Networks Ibbad Hafeez, Aaron Yi Ding, Lauri Suomalainen, Sasu Tarkoma

www.cs.helsinki.fi

Deployment Models

7.26.2016Faculty of ScienceDepartment of Computer Science 14

Securebox as AP Securebox as SuperAP

SecureBoxSecureBox

WorkstationWorkstation

PCPC

LaptopLaptop

SmartphoneSmartphone

TabletTablet

Security and Management Service

OF-switchOF-switchSecureBoxSecureBox

WorkstationWorkstation

PCPCLaptopLaptop

SmartphoneSmartphone

TabletTablet

Security and Management Service

WirelessAPWirelessAP

Page 15: Securebox A Platform for Smarter and Safer Networks · 2016-07-28 · Securebox A Platform for Smarter and Safer Networks Ibbad Hafeez, Aaron Yi Ding, Lauri Suomalainen, Sasu Tarkoma

www.cs.helsinki.fi

§ Hardware§ FitPC3 (Mobicom, 2015)§ Raspberry PI (SEC, 2016).

§ Floodlight SDN Controller§ Open vSwitch§ Lightweight policy storage (file-based, SQLite).§ Can be included in IoT hubs.

ImplementationSecurebox

7.26.2016Faculty of ScienceDepartment of Computer Science 15

Page 16: Securebox A Platform for Smarter and Safer Networks · 2016-07-28 · Securebox A Platform for Smarter and Safer Networks Ibbad Hafeez, Aaron Yi Ding, Lauri Suomalainen, Sasu Tarkoma

www.cs.helsinki.fi

ArchitectureSecurity and Management Service

7.26.2016Faculty of ScienceDepartment of Computer Science 16

§ Web application§ User, Device, Securebox management.§ Network policy management.

§ Mobile device notifications.§ Amazon, Google, Azure cloud.§ Kubernetes cluster (Lauri Suomalainen)§ Docker containers.

Page 17: Securebox A Platform for Smarter and Safer Networks · 2016-07-28 · Securebox A Platform for Smarter and Safer Networks Ibbad Hafeez, Aaron Yi Ding, Lauri Suomalainen, Sasu Tarkoma

www.cs.helsinki.fi

Progress

§ Agenda§ Motivation§ Goals§ Platform: § Design, Architecture, Deployment, Implementation

§ Use cases§ Challenges & State of the art

7.26.2016Faculty of ScienceDepartment of Computer Science 17

Page 18: Securebox A Platform for Smarter and Safer Networks · 2016-07-28 · Securebox A Platform for Smarter and Safer Networks Ibbad Hafeez, Aaron Yi Ding, Lauri Suomalainen, Sasu Tarkoma

www.cs.helsinki.fi

§ Securebox deployed as APs.§ Sensors in edge networks.§ Data collection.

§ SMS maintained by a service provider§ User subscribes to the services.§ Micro (security) services.§ Leased middleboxes for traffic analysis.

Home and Small Office NetworksDeployment Preferences

7.26.2016Faculty of ScienceDepartment of Computer Science 18

Page 19: Securebox A Platform for Smarter and Safer Networks · 2016-07-28 · Securebox A Platform for Smarter and Safer Networks Ibbad Hafeez, Aaron Yi Ding, Lauri Suomalainen, Sasu Tarkoma

www.cs.helsinki.fi

§ Automated Network management.§ Enterprise grade security for SOHO users.§ Better device, network management.§ Data usage, data privacy.

§ Block botnet, spam, ransomware.§ User interactive system.§ Notifications, updates,

feedback.

Home and Small Office NetworksAdvantages

7.26.2016Faculty of ScienceDepartment of Computer Science 19

Page 20: Securebox A Platform for Smarter and Safer Networks · 2016-07-28 · Securebox A Platform for Smarter and Safer Networks Ibbad Hafeez, Aaron Yi Ding, Lauri Suomalainen, Sasu Tarkoma

www.cs.helsinki.fi

§ Securebox§ Replace APs at network vantage points.

§ SMS§ Centrally managed.§ In-house deployment for better privacy.

Internet

Warehouse

Sales office

Construction site

Management office

SMS

Securebox 1Securebox 1

Securebox 2Securebox 2

Securebox 3Securebox 3

Securebox 4Securebox 4

Enterprise Gateway

Enterprise EnvironmentsDeployment Preferences

7.26.2016Faculty of ScienceDepartment of Computer Science 20

Page 21: Securebox A Platform for Smarter and Safer Networks · 2016-07-28 · Securebox A Platform for Smarter and Safer Networks Ibbad Hafeez, Aaron Yi Ding, Lauri Suomalainen, Sasu Tarkoma

www.cs.helsinki.fi

§ Central control over the network. § Less management overhead.§ Less human resource required; automated

configuration updates.§ Coherent network policies across enterprise.§ Avoid configuration loopholes.

§ Lower deployment costs.§ Efficient use of enterprise network traffic data.§ Better scalability of networking security

infrastructure i.e. Middleboxes.

Enterprise EnvironmentsAdvantages

7.26.2016Faculty of ScienceDepartment of Computer Science 21

Page 22: Securebox A Platform for Smarter and Safer Networks · 2016-07-28 · Securebox A Platform for Smarter and Safer Networks Ibbad Hafeez, Aaron Yi Ding, Lauri Suomalainen, Sasu Tarkoma

www.cs.helsinki.fi

§ Problem: § Leakage of shared PSK from compromised IoT device.

§ Solution§ Using device specific PSKs e.g. Private PSK, Dynamic

PSK.§ Still does not block device impersonation attacks.

§ Securebox§ Supports device specific PSK with dynamic access

control and other security services.§ Attacker using device impersonation will get limited

access.

Setting up secure Wi-Fi environments

7.26.2016Faculty of ScienceDepartment of Computer Science 22

Page 23: Securebox A Platform for Smarter and Safer Networks · 2016-07-28 · Securebox A Platform for Smarter and Safer Networks Ibbad Hafeez, Aaron Yi Ding, Lauri Suomalainen, Sasu Tarkoma

www.cs.helsinki.fi

§ Setting up Testbeds§ Network models.§ IoT Environments.

§ Testing performance of malware, botnet, spam detection approaches.

§ Develop and testing of software based middleboxes.

ResearchUse cases

11.4.2016Faculty of ScienceDepartment of Computer Science 23

Page 24: Securebox A Platform for Smarter and Safer Networks · 2016-07-28 · Securebox A Platform for Smarter and Safer Networks Ibbad Hafeez, Aaron Yi Ding, Lauri Suomalainen, Sasu Tarkoma

www.cs.helsinki.fi

§ Goals. § Big trust from little things.§ Run-time secure pairing, device associations, resource

sharing, secure D2D communications.§ Secure sensing and privacy for wearable devices.

SWENbox: Software-defined Wearable Network with Security Analysis

7.26.2016Faculty of ScienceDepartment of Computer Science 24

SWENBox

Management interface

Networking & communication logic

Con

text

pr

oces

sing

en

gine

Sensors

User, Device Trust Management

Cloud-based Management console

Secure Browsing

Security services

Page 25: Securebox A Platform for Smarter and Safer Networks · 2016-07-28 · Securebox A Platform for Smarter and Safer Networks Ibbad Hafeez, Aaron Yi Ding, Lauri Suomalainen, Sasu Tarkoma

www.cs.helsinki.fi

§ Software-defined networking for wearables.§ Secure interactions with untrusted IoT devices.§ Selective isolation of compromised devices.

§ Using context-sensing for:§ Second-factor authentication.§ Trust ensemble using cloud analytics.§ Contextual fencing

§ Mitigate impersonation, replay attacks.w

SWENboxFeatures

7.26.2016Faculty of ScienceDepartment of Computer Science 25

Page 26: Securebox A Platform for Smarter and Safer Networks · 2016-07-28 · Securebox A Platform for Smarter and Safer Networks Ibbad Hafeez, Aaron Yi Ding, Lauri Suomalainen, Sasu Tarkoma

www.cs.helsinki.fi

Progress

§ Agenda§ Motivation§ Goals§ Platform: § Design, Architecture, Deployment, Implementation

§ Use cases§ Challenges & State of the Art

7.26.2016Faculty of ScienceDepartment of Computer Science 26

Page 27: Securebox A Platform for Smarter and Safer Networks · 2016-07-28 · Securebox A Platform for Smarter and Safer Networks Ibbad Hafeez, Aaron Yi Ding, Lauri Suomalainen, Sasu Tarkoma

www.cs.helsinki.fi

§ Latency§ Traffic is analyzed remotely à Design choices (Policy database

updates & local cache (Zipf’s Law))§ Privacy§ Remote analysis of user data à Use minimal data from user

§ Attacks against the system§ Rogue secureboxes launching DDoS à Logging & anomaly

detection. § Request for falsified traffic queries à Human/ Automated

supervision, feedback loop§ False positives§ Threat and Malware analysis à Feedback loop, incentivized

learning

Challenges

7.26.2016Faculty of ScienceDepartment of Computer Science 27

Page 28: Securebox A Platform for Smarter and Safer Networks · 2016-07-28 · Securebox A Platform for Smarter and Safer Networks Ibbad Hafeez, Aaron Yi Ding, Lauri Suomalainen, Sasu Tarkoma

www.cs.helsinki.fi

§ Remote deployment of middleboxes.§ J. Sherry et al. (SIGCOMM, 2012); C. Lan et al. (NSDI,

2016); SENSS (SIGCOMM, 2014)§ Middlebox as a Service.§ Blackbox (SIGCOMM, 2015); DPI-as-a-Service (CoNEXT,

2014) § Improving Home Networks.§ N. Feamster (HomeNets, 2010); Tialong et al., (HotNets

2015); T. Zachariah (HotMobile, 2015); uCap (Ubicomp, 2012); SpaceHub (HotNets, 2015); Contextual Router (SOSR, 2016)

§ IoT Security.§ Z. K. Zhang et al. (ASIA-CCS, 2015); C. Liu et al.

(Elsevier, 2014); E. Farnandes (SOSP, 2016)

State of the Art

7.26.2016Faculty of ScienceDepartment of Computer Science 28

Page 29: Securebox A Platform for Smarter and Safer Networks · 2016-07-28 · Securebox A Platform for Smarter and Safer Networks Ibbad Hafeez, Aaron Yi Ding, Lauri Suomalainen, Sasu Tarkoma

www.cs.helsinki.fi

Products

11.4.2016Faculty of ScienceDepartment of Computer Science 29

F-Secure Sense $199 (inc. 12 month membership)

https://sense.f-secure.com/

Google onHub $199https://on.google.com/hub/

Bitdefender Box $399http://www.bitdefender.com/box/

Dojo $99https://www.dojo-labs.com/product/dojo/#

Page 30: Securebox A Platform for Smarter and Safer Networks · 2016-07-28 · Securebox A Platform for Smarter and Safer Networks Ibbad Hafeez, Aaron Yi Ding, Lauri Suomalainen, Sasu Tarkoma

www.cs.helsinki.fi

§ Isolated and dedicated.§ Difficult to setup and maintain.§ What happens when the attacker is in the network?§ Nothing L

Air gapped (isolated) networks weaknesses

7.26.2016Faculty of ScienceDepartment of Computer Science 30

Page 31: Securebox A Platform for Smarter and Safer Networks · 2016-07-28 · Securebox A Platform for Smarter and Safer Networks Ibbad Hafeez, Aaron Yi Ding, Lauri Suomalainen, Sasu Tarkoma

www.cs.helsinki.fi

Thank You

https://www.cs.helsinki.fi/group/close/secDemo/[email protected]

7.26.2016Faculty of ScienceDepartment of Computer Science 31

Page 32: Securebox A Platform for Smarter and Safer Networks · 2016-07-28 · Securebox A Platform for Smarter and Safer Networks Ibbad Hafeez, Aaron Yi Ding, Lauri Suomalainen, Sasu Tarkoma

www.cs.helsinki.fi

Latency

7.26.2016Faculty of ScienceDepartment of Computer Science 32

Page 33: Securebox A Platform for Smarter and Safer Networks · 2016-07-28 · Securebox A Platform for Smarter and Safer Networks Ibbad Hafeez, Aaron Yi Ding, Lauri Suomalainen, Sasu Tarkoma

www.cs.helsinki.fi

Latency

7.26.2016Faculty of ScienceDepartment of Computer Science 33

Page 34: Securebox A Platform for Smarter and Safer Networks · 2016-07-28 · Securebox A Platform for Smarter and Safer Networks Ibbad Hafeez, Aaron Yi Ding, Lauri Suomalainen, Sasu Tarkoma

www.cs.helsinki.fi

No collaboration

11.4.2016Faculty of ScienceDepartment of Computer Science 34

N1 N2

N3 N4

Page 35: Securebox A Platform for Smarter and Safer Networks · 2016-07-28 · Securebox A Platform for Smarter and Safer Networks Ibbad Hafeez, Aaron Yi Ding, Lauri Suomalainen, Sasu Tarkoma

www.cs.helsinki.fi

Collaboration

11.4.2016Faculty of ScienceDepartment of Computer Science 35

N1 N2

N3 N4

Page 36: Securebox A Platform for Smarter and Safer Networks · 2016-07-28 · Securebox A Platform for Smarter and Safer Networks Ibbad Hafeez, Aaron Yi Ding, Lauri Suomalainen, Sasu Tarkoma

www.cs.helsinki.fi

Images

• https://upload.wikimedia.org/wikipedia/commons/thumb/c/c6/Botnet.svg/500px-Botnet.svg.png

• https://s3.amazonaws.com/ydtimages/~yourdai7/wp-content/uploads/2016/03/09094045/iot.jpg

• http://tlists.com/wp-content/uploads/2016/01/How-to-secure-your-home-network.png

• http://blogs.cisco.com/wp-content/uploads/wireless-network.png

• https://cdn.meme.am/instances/47510205.jpg

11.4.2016Faculty of ScienceDepartment of Computer Science 36