Presentation is loading. Please wait.

Presentation is loading. Please wait.

CloudWatcher: Network Security Monitoring Using OpenFlow in Dynamic Cloud Networks or: How to Provide Security Monitoring as a Service in Clouds? Seungwon.

Similar presentations


Presentation on theme: "CloudWatcher: Network Security Monitoring Using OpenFlow in Dynamic Cloud Networks or: How to Provide Security Monitoring as a Service in Clouds? Seungwon."— Presentation transcript:

1 CloudWatcher: Network Security Monitoring Using OpenFlow in Dynamic Cloud Networks or: How to Provide Security Monitoring as a Service in Clouds? Seungwon Shin and Guofei Gu SUCCESS LAB Texas A&M University

2 Contents Background Problem domain CloudWatcher Future work Conclusion

3 Background Cloud is large and complicated – A lot of VMs in a cloud network “Amazon seems to operate nearly half million servers for a cloud network” – Each server may run more than 10 VMs inside Thus, Amazon may operate around 5 million VMs – A lot of tenants use cloud services They have different network or server configurations Cloud is dynamic – VMs can move any server in a cloud network

4 Problem Domain How to monitor cloud networks for security purposes – Each tenant will want to have different network configurations – VM can move from a host to a host – Current flow control methods do not consider security devices

5 Example Scenario Routing from VM1 to VM3 Routing from VM1 to VM3 considering NIDS H1 H2 H3 R1R2 R3 R4 R5 R1R2 R3 R4 R5

6 Goal Provide routing algorithms – The algorithms guarantee that specified network security devices can monitor specific network flows Provide a script language – A network administrator can easily register security devices – Ad network administrator can easily define security policies

7 SDN and OpenFlow SDN : Software Defined Networking – Separate network control plane and data plane – Intelligent control plane – Simple (and fast) data plane – We can program network Control network flows (e.g., decide routing paths) OpenFlow – One of the popular SDN technologies

8 OpenFlow Overview OpenFlowSwitch.org OpenFlow Switch specification Controller OpenFlow Switch Flow Table Secure Channel PC OpenFlow Protocol SSL hw sw Add/delete flow entries Encapsulated packets Controller discovery Figure from Stanford OpenFlow tutorial

9 SDN and OpenFlow People try to apply this technology to a cloud network – Network virtualization E.g., Nicira - NVP – Network Infrastructure as a Service E.g., OpenFlow interface with OpenStack

10 CloudWatcher A new framework – Provide monitoring services for large and dynamic cloud networks – Automatically detours network packets to be inspected by pre-installed network security devices OpenFlow – Provide a script to operate this framework

11 Operating Scenario Register Security Devices Create Security Policies Parse Security Policies Create Routing Rules Enforce Flow Rules into Routers Translate Routing Rules into OpenFow Rules Administrator Router (Device ID = 8) {ID, TYPE, LOCATION, MODE, Func} {1, NIDS, 8, PASSIVE, Detect HTTP} NIDS (ID = 1) {FLOW CONDITON, DEVICE SET} {  , {1}}

12 How to Control Flows 4 approaches – Multipath naïve – Shortest through – Multipath shortest – Shortest inline - Sample network - S: start node, E: end node R: router, C: security device

13 Simple Shortest Path Basic routing scheme (NOT CloudWatcher’s idea) – Find the shortest path between a start host and an end host – Path: S  R1  R5  R6  E

14 Multipath Naïve (algorithm 1) Find multiple paths – Shortest path between S and E – Shortest path between S and C – Path S  R1  R5  R6  E S  R1  R2  R3  R4 OpenFlow provides a function to send packets to multiple outputs – E.g., R1  {R2, R5}

15 Shortest Through (algorithm 2) Find the shortest path passing through R4 – Shortest path between S and R4 – Shortest path between R4 and E – Path: S  R1  R2  R4  R4  R6  E

16 Multipath Shortest (algorithm 3) Improved version of multipath naïve Two phase – Find the shortest path (P1) S  R1  R5  R6  E – Find the shortest path between routers on the path P1 and R4 R6  R4 R6  {R4, E}

17 Shortest Inline (algorithm 4) Find a path passing through (a) specific link(s) (not node) Good for delivering network packets to inline devices – E.g., IPS (intrusion prevention system)

18 Summary for Flow Control Methods ProsConsWhen to use Multipath Naïve Simple and fastRedundant flowsEnough network capacity, delay is important Shortest Through EfficientComputation overhead, when multiple devices Not enough network capacity, delay is not so important Multipath Shortest EfficientComputation overhead Not many hops (e.g., communication between inside VMs) Shortest Inline Guarantee passing through a specific link Computation overhead, when multiple devices For an inline security device (e.g., IPS)

19 Implementation and Evaluation CloudWatcher is implemented – As an OpenFlow application Running on NOX controller Implemented in Python Verify each algorithm on emulated networks – Use Mininet to emulate networks supporting OpenFlow

20 Evaluation Results Flow rule generation time Flow rule generation time (12 routers) Shortest: Dijkstra algorithm to find the shortest path Algorithm1: Multipath naive Algorithm2: Shortest Through Algorithm3: Multipath Shortest Algorithm4: Shortest Inline

21 Future Work Optimize algorithms Dynamic path selection Provide security response strategies Verify the proposed ideas on a large scale system

22 Conclusion CloudWacther provides a new framework to monitor cloud networks – With the help of the SDN technology A cloud administrator can select algorithms based on network status A cloud administrator can monitor his network by writing simple scripts

23


Download ppt "CloudWatcher: Network Security Monitoring Using OpenFlow in Dynamic Cloud Networks or: How to Provide Security Monitoring as a Service in Clouds? Seungwon."

Similar presentations


Ads by Google