… for you to play around and make mistakes in.
https://en.wikipedia.org/wiki/Virtual_machine
https://en.wikipedia.org/wiki/Hypervisor
Xen:
https://en.wikipedia.org/wiki/Xen
Qubes (Builds on top of Xen):
https://www.qubes-os.org/
Type-2 hypervisors run on/in a conventional operating system
(OS)w
just as other computer programs do.
A guest operating system runs as a process on the
host OS.
Type-2 hypervisors abstract guest operating systems from the host
operating system.
Examples:
VirtualBox:
https://en.wikipedia.org/wiki/VirtualBox
KVM:
https://en.wikipedia.org/wiki/Kernel-based_Virtual_Machine
++++++++++++++++++++++++++++++++++++
Cahoot-02a.1
https://mst.instructure.com/courses/58101/quizzes/54834
This comes in three options:
If you want to use campus computers (Windows CLC),
then open AppsAnywhere, and launch VirtualBox.
Everything should be ready to go.
Use the S-DRIVE (recommended) or your own USB drive (slower) as your
install location,
to store your virtual disk image,
not the C: drive (which forgets your install upon reboot)!
When using the S drive,
you can launch the VM by double-clicking on the virtual box file,
where you stored it, and VirtualBox will automatically open.
If you want to run VirtualBox on your own computer:
If you do not have a Mac, and are running Windows, then open your BIOS
(Mac virtualization is usually enabled by default).
F2, F8, or other function keys, and/or “Advanced Startup” from within
Windows may help.
Use your favorite search engine to find out how for your particular
laptop.
Once you have figured out how to enter your BIOS,
then enable any features that sound like:
virtualization, vt-x, vt-d, AMD-v, AMD-vi, NPT, RVI, etc.
Make sure you have >=20 Gb of free hard drive space, and >=4Gb of
RAM.
Download VirtualBox: https://www.virtualbox.org/wiki/Downloads
If you are running MacOS, then you want VirtualBox version 6.0, not
version 6.1 (VM’s crash).
Install VirtualBox:
Launch and click through all, accepting the defaults (Mac and
Windows).
VirtualBox kernel modules require a restart,
even in Unix-based operating systems (Mac, Linux, BSD, etc).
You could use KVM or Xen instead if you’re on Linux,
and want to be adventurous.
Choose an operating system: 01-02-LinuxBash.html
Then, get your virtual machine installed, either:
From-scratch install in VirtualBox
Typically, you just need the default install options.
From-scratch install on a USB
drive.
Choose a second USB sick or external hard drive as the install
location.
This is useful for network hacking, forensics, file-recovery, password
bypassing, etc.
Though it may be slow to boot, after booting,
this option should be generally faster than a VM,
and so is useful if your computer is slow.
++++++++++++++++++++++++++++++++++++
Cahoot-02a.2
https://mst.instructure.com/courses/58101/quizzes/54835
Host and guest additions
Extension pack is not required, and really only needed
for things like fancy USB-3 peripherals.
Guest additions: helpful for shared folder, for example.
Shared clipboard
Menu: Devices > Shared Clipboard > bidirectional
Shared folders: Platform-dependent (DataStructures will go
over in lab)
In host: in VirtualBox GUI settings for your VM, enable a shared
folder
Choose location in host to share.
Check auto mount and permanent.
Just after installation, but before using your VM for anything, shut
down, and create a snapshot!
bash
scriptipython3
interpreter/shellpython3
script, run it via
ipython3
python3
, ipython3
,
python
?If you’re still curious about virtualization, keep on reading:
../../../../index/Classes/Security/Content/21b-Virtualization.html
Next: 01-02-LinuxBash.html