Hypershell is a practical hypervisor layer guest OS shell that has all of the functionality of a traditional shell, but offers better automation, uniformity and centralized management.
1.Host: Ubuntu 12.04 (linux kernel version small than 3.10)
2.Guest: Debian 6
-
build the kvm-kmod
$ cd kvm-kmod $ ./configure & make
-
build qemu
$ cd sse-qemu $ mkdir build $ cd build $ ../configure --prefix=`pwd` --target-list=i386-softmmu --disable-werror --disable-strip --enable-kvm $ make install
-
build syscall interception module
$ cd sse $ make
-
Recomplie the glibc (not needed)
$ cd glibc $ mkdir build $ cd build $ ../eglibc-2.15/configure --prefix=`pwd` $ make CFLAGS="-O2 -U_FORTIFY_SOURCE -fno-stack-protector"
-
load the new kvm-kmod
cd kvm-kmod & ./load.sh
-
start the VM
sudo ./qemu-i386-system guest.img --enable-kvm -monitor stdio -m 256
In qemu terminal run start-sse
-
run the introspection program
$ cd run $ ./run.sh ps