secure and reliable firewall systems based on minix 3 · secure and reliable firewall systems based...

9
Secure and Reliable Firewall Systems based on MINIX 3 udiger Weis Beuth Hochschule f¨ ur Technik Berlin MINIXCon 2016 udiger Weis Beuth Hochschule f¨ ur Technik Berlin Secure and Reliable Firewall Systems based on MINIX 3

Upload: others

Post on 25-May-2020

6 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Secure and Reliable Firewall Systems based on MINIX 3 · Secure and Reliable Firewall Systems based on MINIX 3 Rudiger Weis Beuth Hochschule fur Technik Berlin MINIXCon 2016 ... Cage

Secure and Reliable Firewall Systems based onMINIX 3

Rudiger Weis

Beuth Hochschule fur Technik Berlin

MINIXCon 2016

Rudiger Weis Beuth Hochschule fur Technik Berlin

Secure and Reliable Firewall Systems based on MINIX 3

Page 2: Secure and Reliable Firewall Systems based on MINIX 3 · Secure and Reliable Firewall Systems based on MINIX 3 Rudiger Weis Beuth Hochschule fur Technik Berlin MINIXCon 2016 ... Cage

Minix3

http://www.minix3.org/

MINIX 3 is initially targeted at the following areas:

Applications where very high reliability is required

Single-chip, small-RAM, low-power, $100 laptops

Embedded systems

Education (e.g., operating systems courses at universities)

Rudiger Weis Beuth Hochschule fur Technik Berlin

Secure and Reliable Firewall Systems based on MINIX 3

Page 3: Secure and Reliable Firewall Systems based on MINIX 3 · Secure and Reliable Firewall Systems based on MINIX 3 Rudiger Weis Beuth Hochschule fur Technik Berlin MINIXCon 2016 ... Cage

Minix3 Features

POSIX compliant

Full C source code supplied under a BSD-type licence.

Networking with TCP/IP

Device drivers run as user processes

High degree of fault tolerance

Rudiger Weis Beuth Hochschule fur Technik Berlin

Secure and Reliable Firewall Systems based on MINIX 3

Page 4: Secure and Reliable Firewall Systems based on MINIX 3 · Secure and Reliable Firewall Systems based on MINIX 3 Rudiger Weis Beuth Hochschule fur Technik Berlin MINIXCon 2016 ... Cage

TFH-Berlin Diplomarbeit: Netfilter

Diplomarbeit, Juli 2007, TFH Berlin

Brian Schuler

Analysis and Porting of a network filteringarchitecture on Minix-3

Rudiger Weis Beuth Hochschule fur Technik Berlin

Secure and Reliable Firewall Systems based on MINIX 3

Page 5: Secure and Reliable Firewall Systems based on MINIX 3 · Secure and Reliable Firewall Systems based on MINIX 3 Rudiger Weis Beuth Hochschule fur Technik Berlin MINIXCon 2016 ... Cage

Minix3 versus Linux

Linux System

Firewall

Linux Kernel

MINIX 3 System

MINIX3 MikrokernelMinix UserspaceMinix Userspace

Minix MicrokernelMinix Microkernel

Firewall

Firewall coupled with Kernel Firewall decoupled from Kernel

Vulnerable Area Secured Area Network Packets

Rudiger Weis Beuth Hochschule fur Technik Berlin

Secure and Reliable Firewall Systems based on MINIX 3

Page 6: Secure and Reliable Firewall Systems based on MINIX 3 · Secure and Reliable Firewall Systems based on MINIX 3 Rudiger Weis Beuth Hochschule fur Technik Berlin MINIXCon 2016 ... Cage

Minix3 Netfilter in USERMODE

Linux Netfilter Minix Netfilter

Crash Attack System Crash Restart Process

Executable Code Owned System Owned Usermode Process

Rudiger Weis Beuth Hochschule fur Technik Berlin

Secure and Reliable Firewall Systems based on MINIX 3

Page 7: Secure and Reliable Firewall Systems based on MINIX 3 · Secure and Reliable Firewall Systems based on MINIX 3 Rudiger Weis Beuth Hochschule fur Technik Berlin MINIXCon 2016 ... Cage

MINIX 3 - Reliability

http://www.minix3.org/reliability.html

Reduce kernel size

Cage the bugs

Limit drivers’ memory access

Restrict access to kernel functions

Restrict access to I/O ports

Restrict communication with OS components

Reincarnate dead or sick drivers

Survive bad pointers

Tame infinite loops

Limit damage from buffer overruns

. . .Rudiger Weis Beuth Hochschule fur Technik Berlin

Secure and Reliable Firewall Systems based on MINIX 3

Page 8: Secure and Reliable Firewall Systems based on MINIX 3 · Secure and Reliable Firewall Systems based on MINIX 3 Rudiger Weis Beuth Hochschule fur Technik Berlin MINIXCon 2016 ... Cage

Firewall Virtualisation

Weis, Schuler, Flemming:

Towards Secure and Reliable Firewall Systemsbased on MINIX 3

Rudiger Weis Beuth Hochschule fur Technik Berlin

Secure and Reliable Firewall Systems based on MINIX 3

Page 9: Secure and Reliable Firewall Systems based on MINIX 3 · Secure and Reliable Firewall Systems based on MINIX 3 Rudiger Weis Beuth Hochschule fur Technik Berlin MINIXCon 2016 ... Cage

Virtualisation

Router Hardware

MINIX3Firewall

Incoming unfilterednetwork traffic

Filte

red

netw

ork

traf

fic Harmless Packets

Malicious Packets

Virtualization Layer

LINUX

Rudiger Weis Beuth Hochschule fur Technik Berlin

Secure and Reliable Firewall Systems based on MINIX 3