•
•
•
•
Web Server
Webapp Webapp Webapp Webapp Webapp
•
•
Web Server
Webapp Webapp Webapp Webapp Webapp
2차 공격
3차 공격
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
Hypervisor(VMM)
app app app app
Hardware
Guest
OS
Guest
OS
Guest
OS
Guest
OS
mgmt
•
•
•
•
•
•
•
Hardware VM A
app app app app
Hardware
Guest
OS
Guest
OS
Guest
OS
Guest
OS
Guest
OS
Hardware VM B
app
•
•
•
•
•
•
Hypervisor(VMM)
app app app app
Hardware
Modified
Guest OS
Modified
Guest OS
Modified
Guest OS
Modified
Guest OS mgmt
•
•
•
•
•
•
•
•
Operating System
Hardware
Server Server Server Server Server
•
• HTTP://EN.WIKIPEDIA.ORG/WIKI/COMPARISON_OF_APPLICATION_VIRTUAL_M
ACHINES
•
•
•
•
Virtual Environment
OS
App App App App App
Resource Virtualization
•
•
•
•
•
•
•
Virtualization Under Linux(1)
•
•
•
•
•
•
•
•
• HTTP://FABRICE.BELLARD.FREE.FR/QEMU/
•
•
•
•
•
•
•
• HTTP://BOCHS.SOURCEFORGE.NET/
•
• HTTP://WWW.VIRTUALBOX.ORG/
•
•
• HTTP://WWW.SWSOFT.COM
• HTTP://WWW.PARALLELS.COM/
• HTTP://OPENVZ.ORG/
•
•
•
•
•
•
•
•
•
•
•
HTTP://WWW.COLINUX.ORG/
•
HTTP://WWW.TOPOLOGILINUX.COM
•
•
• GNUWIN32
• GNUWINII
• UNXUTILS
• UWIN
•
•
•
zfs create -o compress=lz4 -o mountpoint=/usr/jail sys/jail
zfs create sys/jail/.base10x64
wget ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/10.0-RELEASE/base.txz
wget ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/10.0-RELEASE/lib32.txz
wget ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/10.0-RELEASE/games.txz
wget ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/10.0-RELEASE/src.txz
tar -JxvC /usr/jail/.base10x64/ -f base.txz
tar -JxvC /usr/jail/.base10x64/ -f lib32.txz
tar -JxvC /usr/jail/.base10x64/ -f games.txz
tar -JxvC /usr/jail/.base10x64/ -f src.txz
•
•
cp /etc/resolv.conf /usr/jail/.base10x64/etc/
chroot /usr/jail/.base10x64
passwd
mkdir /usr/ports
mkdir /usr/home
ln -s /usr/home /home
cd /etc/mail
make aliases
freebsd-update fetch install
zfs snapshot sys/jail/.base10x64@p0
•
•
jail_enable="YES"
exec.prestart = "/sbin/mount -t nullfs -o ro /usr/ports/ /usr/jail/$name/usr/ports";
exec.start = "/bin/sh /etc/rc";
exec.stop = "/bin/sh /etc/rc.shutdown";
exec.poststop = "/sbin/umount -f /usr/jail/$name/usr/ports";
exec.clean;
mount.devfs;
mount.fstab = "/etc/fstab.$name";
host.hostname = "$name.somehost.example.com";
allow.nomount;

Virtualization