Red_Hat_Enterprise_Linux-7-Virtualization_Security_Guide-en-US.pdf

(342 KB) Pobierz
Red Hat Enterprise Linux 7
Virtualization Security Guide
Securing your virtual environment
Scott Radvan
Tahlia Richardson
Thanks go to the following people for enabling the creation of this guide:
Paul Moore
Kurt Seifried
David Jorm
Red Hat Enterprise Linux 7 Virtualization Security Guide
Securing your virtual environment
Sco tt Radvan
Red Hat Engineering Co ntent Services
sradvan@redhat.co m
Tahlia Richardso n
Red Hat Engineering Co ntent Services
trichard@redhat.co m
Paul Mo o re
Red Hat Engineering
Kurt Seifried
Red Hat Engineering
David Jo rm
Red Hat Engineering
Thanks go to the fo llo wing peo ple fo r enabling the creatio n o f this guide:
Legal Notice
Copyright © 2012, 2014 Red Hat, Inc.
T his document is licensed by Red Hat under the
Creative Commons Attribution-ShareAlike 3.0 Unported
License.
If you distribute this document, or a modified version of it, you must provide attribution to Red
Hat, Inc. and provide a link to the original. If the document is modified, all Red Hat trademarks must be
removed.
Red Hat, as the licensor of this document, waives the right to enforce, and agrees not to assert, Section
4d of CC-BY-SA to the fullest extent permitted by applicable law.
Red Hat, Red Hat Enterprise Linux, the Shadowman logo, JBoss, MetaMatrix, Fedora, the Infinity Logo,
and RHCE are trademarks of Red Hat, Inc., registered in the United States and other countries.
Linux ® is the registered trademark of Linus T orvalds in the United States and other countries.
Java ® is a registered trademark of Oracle and/or its affiliates.
XFS ® is a trademark of Silicon Graphics International Corp. or its subsidiaries in the United States
and/or other countries.
MySQL ® is a registered trademark of MySQL AB in the United States, the European Union and other
countries.
Node.js ® is an official trademark of Joyent. Red Hat Software Collections is not formally related to or
endorsed by the official Joyent Node.js open source or commercial project.
T he OpenStack ® Word Mark and OpenStack Logo are either registered trademarks/service marks or
trademarks/service marks of the OpenStack Foundation, in the United States and other countries and
are used with the OpenStack Foundation's permission. We are not affiliated with, endorsed or
sponsored by the OpenStack Foundation, or the OpenStack community.
All other trademarks are the property of their respective owners.
Abstract
T his guide provides an overview of virtualization security technologies provided by Red Hat. It also
provides recommendations for securing hosts, guests, and shared infrastructure and resources in
virtualized environments.
Table of Contents
Table of Contents
⁠
C . . . . . . . Introduction
. .hapter. 1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 . . . . . . . .
.
⁠
1.1. Virtualized and Non-Virtualized Environments
2
⁠
1.2. Why Virtualization Security Matters
3
⁠
1.3. Leveraging SELinux with sVirt
3
⁠
C . . . . . . . Host . . . . . . .
. .hapter. 2. . . . . . Security. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 . . . . . . . .
.
⁠
2.1. Why Host Security Matters
4
⁠
2.2. Host Security Recommended Practices for Red Hat Enterprise Linux
4
⁠
2.3. Host Security Recommended Practices for Red Hat Enterprise Virtualization
5
⁠
C . . . . . . . . . . . . . . . . . . .
. .hapter. 3. Guest. Security. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 . . . . . . . .
.
⁠
3.1. Why Guest Security Matters
7
⁠
3.2. Guest Security Recommended Practices
7
⁠
C . . . . . . sVirt
. .hapter. 4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 . . . . . . . .
.
⁠
4 .1. Introduction
8
⁠
4 .2. SELinux and Mandatory Access Control (MAC)
8
⁠
4 .3. sVirt Configuration
9
⁠
4 .4. sVirt Labeling
10
⁠
C . . . . . . . Network . . . . . . . . . a . . . . . . . . . . . . . . . . . . . .
. .hapter. 5. . . . . . . . . Security. in . . Virtualized. Environment. . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 . . . . . . . .
..
⁠
5.1. Network Security Overview
12
⁠
5.2. Network Security Recommended Practices
12
Further . . . . . . . . . .
. . . . . . . .Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 . . . . . . . .
..
⁠
A.1. SELinux and sVirt
13
⁠
A.2. Virtualization Security
13
Revision History
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14 . . . . . . . .
..
1
Zgłoś jeśli naruszono regulamin