OS-Circular : A Framework of Internet Client with Xen



Similar documents
HTTP-FUSE PS3 Linux: an internet boot framework with kboot

Rethink Package Components on De-Duplication: From Logical Sharing to Physical Sharing

Professional Xen Visualization

Effects of Memory Randomization, Sanitization and Page Cache on Memory Deduplication

Week Overview. Installing Linux Linux on your Desktop Virtualization Basic Linux system administration

W H I T E P A P E R. Best Practices for Building Virtual Appliances

PARALLELS SERVER 4 BARE METAL README

EXPLORING LINUX KERNEL: THE EASY WAY!

NOC PS manual. Copyright Maxnet All rights reserved. Page 1/45 NOC-PS Manuel EN version 1.3

PARALLELS SERVER BARE METAL 5.0 README

Module I-7410 Advanced Linux FS-11 Part1: Virtualization with KVM

CS197U: A Hands on Introduction to Unix

Comparing Free Virtualization Products

Citrix XenServer 5.6 OpenSource Xen 2.6 on RHEL 5 OpenSource Xen 3.2 on Debian 5.0(Lenny)

Virtualization Management the ovirt way

Consolidated Monitoring, Analysis and Automated Remediation For Hybrid IT Infrastructures. Goliath Performance Monitor Installation Guide v11.

Installing and Configuring Websense Content Gateway

How to Use? SKALICLOUD DEMO

Solution for private cloud computing

Acronis Backup & Recovery 11.5

Virtualization System Vulnerability Discovery Framework. Speaker: Qinghao Tang Title:360 Marvel Team Leader

simplify monitoring Consolidated Monitoring, Analysis and Automated Remediation For Hybrid IT Infrastructures

Migrating to ESXi: How To

Virtual Systems with qemu

Introducing ZENworks 11 SP4. Experience Added Value and Improved Capabilities. Article. Article Reprint. Endpoint Management

Parallels Cloud Server 6.0 Readme

ISERink Installation Guide

Security Advice for Instances in the HP Cloud

Parallels Cloud Server 6.0

JovianDSS Evaluation and Product Training. Presentation updated: October 2015

Deploying Business Virtual Appliances on Open Source Cloud Computing

Analysis of Disk Access Patterns on File Systems for Content Addressable Storage

Options in Open Source Virtualization and Cloud Computing. Andrew Hadinyoto Republic Polytechnic

Virtual Managment Appliance Setup Guide

Date: December 2009 Version: 1.0. How Does Xen Work?

A Highly Versatile Virtual Data Center Ressource Pool Benefits of XenServer to virtualize services in a virtual pool

Testing New Applications In The DMZ Using VMware ESX. Ivan Dell Era Software Engineer IBM

2972 Linux Options and Best Practices for Scaleup Virtualization

Background (

Using Red Hat Network Satellite Server to Manage Dell PowerEdge Servers

Open Source Virtualization

Introducing ZENworks 11 SP4

Operating System Structures

Consolidated Monitoring, Analysis and Automated Remediation For Hybrid IT Infrastructures. Goliath Performance Monitor Installation Guide v11.

OPEN SOURCE VIRTUALIZATION TRENDS. SYAMSUL ANUAR ABD NASIR Warix Technologies / Fedora Community Malaysia

Kaspersky Endpoint Security 8 for Linux INSTALLATION GUIDE

Virtual Web Appliance Setup Guide

TimeIPS Server. IPS256T Virtual Machine. Installation Guide

ISPS & WEBHOSTS SETUP REQUIREMENTS & SIGNUP FORM LOCAL CLOUD

Enabling Technologies for Distributed Computing

Managing Remote Access

Proof of Concept Guide

Chapter 6 Configuring the SSL VPN Tunnel Client and Port Forwarding

EMC Data Domain Management Center

How To Install Project Photon On Vsphere 5.5 & 6.0 (Vmware Vspher) With Docker (Virtual) On Linux (Amd64) On A Ubuntu Vspheon Vspheres 5.4

How To Install Openstack On Ubuntu (Amd64)

Xen Cloud Platform Update

Plug-and-play Virtual Appliance Clusters Running Hadoop. Dr. Renato Figueiredo ACIS Lab - University of Florida

Red Hat Network Satellite Management and automation of your Red Hat Enterprise Linux environment

VMware vsphere Data Protection 6.0

CS5331 Web Security - Assignment 0

GL254 - RED HAT ENTERPRISE LINUX SYSTEMS ADMINISTRATION III

Introduction. What is Unbound and what is DNSSEC. Installation. Manual for Unbound on Windows. W.C.A. Wijngaards, NLnet Labs, October 2010

October Gluster Virtual Storage Appliance User Guide

StruxureWare Data Center Expert Release Notes

Quick Scan Features Setup Guide. Scan to Setup. See also: System Administration Guide: Contains details about setup.

Virtual Appliances. Virtual Appliances: Setup Guide for Umbrella on VMWare and Hyper-V. Virtual Appliance Setup Guide for Umbrella Page 1

Installing & Using KVM with Virtual Machine Manager COSC 495

NetIQ Sentinel Quick Start Guide

Creating Overlay Networks Using Intel Ethernet Converged Network Adapters

Virtualization in Linux

Laboration 3 - Administration

Virtuozzo 7 Technical Preview - Virtual Machines Getting Started Guide

Windows Template Creation Guide. How to build your own Windows VM templates for deployment in Cloudturk.

Computing Service Provision in P2P Clouds

CONNECTING TO DEPARTMENT OF COMPUTER SCIENCE SERVERS BOTH FROM ON AND OFF CAMPUS USING TUNNELING, PuTTY, AND VNC Client Utilities

Converting Linux and Windows Physical and Virtual Machines to Oracle VM Virtual Machines. An Oracle Technical White Paper December 2008

Additional Information: SSH, PuTTY, and VmWare

OnCommand Performance Manager 1.1

ANNEXURE-1 TO THE TENDER ENQUIRY NO.: DPS/AMPU/MIC/1896. Network Security Software Nessus- Technical Details

Virtualization in Linux KVM + QEMU

A quantitative comparison between xen and kvm

Release Notes for Dominion SX Firmware 3.1.6

The QEMU/KVM Hypervisor

Regional SEE-GRID-SCI Training for Site Administrators Institute of Physics Belgrade March 5-6, 2009

FTP Server Configuration

Embedded Linux development training 4 days session

DeployStudio Server Quick Install

Secure Access Using VPN

Managing your Red Hat Enterprise Linux guests with RHN Satellite

The Art of Virtualization with Free Software

ZEN LOAD BALANCER EE v3.04 DATASHEET The Load Balancing made easy

Parallels Cloud Server 6.0

Frequently Asked Questions

Introduction to ovirt

Transcription:

OS-Circular : A Framework of Internet Client with Xen http://openlab.jp/oscircular/ Kuniyasu Suzaki, Toshiki Yagi, Kengo Iijima, Nguyen Anh Quynh National Institute of Advanced Industrial Science and Technology 1

Contents Purpose of Internet Client What is OS Circular? VM-Loader Xenoppix Globalized Virtual Disk HTTP-FUSE CLOOP Split & compressed & Trusted (Measured) Loopback device Requirement of server is HTTP only. Periodically security updated Guest OS Current Implementation & Future Work Trusted Boot with TPM, Trusted Network Connect Linkage of Vulnerability Database Conclusions 2

Purpose of OS Circular Framework of Internet client for anonymous users (OS Migration System). Boot OS on anonymous PC without installation. Deal with Disconnect network for mobile computing Image of OS can be cached on local storage. The OS is periodically updated. But it allows to rollback to previous image. To be trusted service (discuss later) 3

Strategy of deployment Policy Utilize popular/inexpensive Internet service and Client PC. Most researches assume special service on the server. They prevent world wide deployment. Current PC is cheap and powerful. Client Centric System VM is running on a Client. OS Image is obtained via HTTP servers. Reduce requirements for server and makes easy world wide scalability. 4

Related Work (OS Migration) OS Zoo Distribute Virtual Disk files of QEMU for Linux, Minix, Plan9, OpenSolaris, etc. FLOZ (Free Live OS Zoo) The GUI of QEMU is transferred by VNC to Web Browser on Client PC. Server Centric System Bad response because the server exits in Italy Guest OS has no network service because of security & resource Collective [HostOS 03][NSDI 05] Cache based System Management Based on COW image of VMware COW files are shared by NFS over SSH 5

Comparison VM Type of Management Disk Image Differential update Transfer Security on Transfer OS Circular Xen (HVM) Client Centric Trusted HTTP- FUSE CLOOP Log Structured blocks on HTTP-FUSE CLOOP HTTP Blocks are measured on Client Collective VMware Client Centric VMware disk file COW of VMware NFS over SSH SSH OS Zoo QEMU Client Centric QEMU disk file HTTP& FTP FLOZ QEMU Server Centric VNC 6

OS Circular OS Circular is Client Centric System which utilizes virtualization technology. VM Loader + Globalized Virtual Disks Client PC boots with the VM Loader and get Guest-OS images via Globalized Virtual Disks Guest-OS images are updated periodically on the server and they are executed on Client PC. 7

VM Loader VM Loader is consisted of Virtual Machine software and host OS which runs Virtual Machine Virtual Machine offers an Abstraction Layer which is a common PC environment on any PCs. The abstraction is used for other researches of OS migration. SoulPAD [Mobisys 05], VAT of Collective[NSDI 05], Internet Suspend/Resume[WMCSA 02 ] use VMware Full Virtualization enables us to use normal installer and security management for Guest OS. The host OS supports real device drivers KNOPPIX is used [SoulPAD,VAT of Collective], because KNOPPIX automatically detects available devices and loads the appropriate Linux drivers. 8

Xenoppix as VM Loader Xenoppix (2005.09~) = Xen + KNOPPIX(1CD Linux) Old Xenoppix used Para-Virtualizaiton(Xen2.0.6) and included Plan9 & NetBSD. Current Xenoppix runs Para & Full Virtualization of Xen. Xenoppix is renamed to VMKONPPIX. KNOPPIX works on Domain0 of Xen (as host OS). Xen has no device drivers and utilize the drivers of the OS on Domain0. Autoconfig of KNOPPIX detects devices and setup drives. So, Xen and KNOPPIX is the best marriage. 9

Globalized Virtual Disk Virtual Disk is Block Level Abstraction. The requirement for OS Migration. (Pfaff[NSDI 06]) Versioning Partial update & Rollback Globalization World Wilde Deployment Network/Storage Transparent Handle network (dis/re)-connection for mobile computing Security OS itself should maintained by Security Software Virtual disks have to keep validness of contents We developed Trusted HTTP FUSE CLOOP. 10

Trusted HTTP-FUSE CLOOP (1/2) Original block device is split by 256KB and compressed by zlib. Each data is saved to each block file. Block files are managed by index file which includes location information. index file works as a header of CLOOP. Block file name is a SHA1 value of its contents. If there is a same contests blocks, they are held together a same name file and reduce total storage space. The basic idea is resemble to Venti of Plan9 [USENIX 02] Block files are reconstructed to a CLOOP file by FUSE wrapper. FUSE is a User-land File System. http://fuse.sf.net Each block file is measured with the SHA1 file name when it mapped to CLOOP. 11

Block Device 4KB Page ext2 256KB index and block files compressed by zlib index.idx 4ad36ffe8 974daf34a 2d34ff3e1 3310012a The block files are reconstructed as a virtual disk with HTTP-FUSE CLOOP 12

Trusted HTTP-FUSE CLOOP (2/2) When a file is updated or created on an original block device, the relevant block files are newly created with new SHA1 name. The index file are also renewed. Old block files are reusable. HTTP for file deliver Most popular and well designed. Web hosting is inexpensive for world wide deployment. 80 port is usually opened. Other network block devices use special port which is usually closed. Block files are network/storage transparent. Block files are cached and reused on local storage. If necessary block files are stored in a local storage, network connection is not necessary. 13

Block Device (2GB) 4KB Page ext2 CLOOP style CLOOP file 256KB block file style block files named by SHA1 index.idx 4ad36ffe8 974daf34a 2d34ff3e1 3310012a Same files Reusable for FUSE (1) Update apt-get install 4KB Page ext2 256KB index.idx 4ad36ffe8 dd4daf34a 2d34ff3e1 3310012a FUSE driver 14

Obtain in security Contents SEVER block files 4ad36ffe8 974daf34a 2d34ff3e1 3310012a block files /tmp/blocks index.idx CLOOP file(700mb) /cdrom/knoppix header (location data) Loopback(2GB) # losetup /dev/cloop /cdrom/knoppix 4KB Page ext2 Access Each block fie is measured with its file name at reading FUSE driver CLOOP driver cache 64KB decompress extract 15

16

Two type of Security The OS image has to keep security The OS is updated periodically by package manager. yum of Fedora or apt-get of Debian It should be Semi-automatic. The target includes the kernel. We have to use Full Virtualization. The way of distribution Index file is obtained in secure way but the block files are downloadable from un-trusted servers. The contents are measured on a Client. We have to reboot Guest OS to updated OS image. 17

Security Update Index Files Block Files Partial Update New Index file Cache files at local storage Xen HVM Xen HVM Internet Master PC New Block Files HTTP Server On demand download Client PC Xen HVM Updated OS 18 Client PC

World Wide Deployment of Server We utilize inexpensive Web Hosting Service. 5GB/ month from $10 19

DNS-Balance DNS request Resolve select.inetboot.net to shorten latency Client Web server for HTTP-FUSE Xenoppix DNS server: ns.inetboot.net Block files XXX.168.0.10 resolve(dns-balance) select.inetboot.net YYY.10.0.19 ASK the nearest server for select.inetboot.net XXX.168.0.10 YYY.10.0.19 RADB (Routing ASSET DATABASE) 20

Current Implementation of OS Circular VM Loader Xenoppix (Xen 3.0.4 + KNOPPIX 5.1.1) Debian package Trusted HTTP-FUSE CLOOP Setup script for OS Circular OS Images is obtained by Trusted HTTP-FUSE CLOOP Debian GNU/Linux Periodically updated with apt-get command FreeBSD 21

Performance ThinkPAD T60(Core Solo T1300 1.67Ghz) Xen 3.0.4 HVM Domain Debian GNU/Linux boot till GDM 22

To be Trust There are some problems A) Current Version has to trust Xenoppix. Can t prevent Virtual Machine Based Rootkit (Subvirt[SSP 06]) B) Index file have to distribute in secure. C) There is no way to authenticate that vulnerable applications are replaced correctly on the updated OS. 23

Discussions (1/2) Trusted Boot with TPM (Trusted Platform Module) The boot procedure is measured and the measurements are registered at PCR (Platform Configuration Register) of TPM. The values of PCR are wrapped and reported to Remote Attestation Trusted Network Connect Allow connection for the Client which is authenticated by Remote Attestation The values of PCR are used for authentication of Xenoppix. (A) The index file is obtained using Trusted Network Connect (B) It enables to boot commercial OS on OS Circular. 24

Discussions(2/2) Linkage of Vulnerability Database The update of Guest OS should be link to Vulnerability Databases. CVE (Common Vulnerabilities and Exposures ) http://cve.mitre.org/ We can check that the OS image doesn t include vulnerable software. (C) 25

Conclusions OS Circular is Framework of Internet Client which is consisted of VM Loader Xenoppix and Global Virtual Disk Trusted HTTP-FUSE CLOOP. The current targets are Debian GNU/Linux and FreeBSD. Debian is updated by apt-get semi-automatically. Future work OS Circular will integrate Trusted Boot and guest OS will link to Vulnerability Database. 26

Related Presentation Linux Symposium 2006 HTTP-FUSE Xenoppix http://www.linuxsymposium.org/2006/view_abstract.php?content_key=76 Linux Kongress2006 Trusted Boot of HTTP-FUSE KNOPPIX http://www.linux-kongress.org/2006/abstracts.html#4_2_2 Virtualization Miniconf at Linux.Conf.Au 2007 OS Circulation environment Trusted HTTPFUSE Xenoppix http://mirror.linux.org.au/linux.conf.au/2007/video/monday/monday_1450_virtualisation.pdf Embedded Linux Conference 2007 HTTP-FUSE PS3 Linux which is internet boot framework with kboot http://www.celinux.org/elc2007/ 27