diff --git a/opsec/QEMUKVM Hypervisor/index.html b/opsec/QEMUKVM Hypervisor/index.html index 04b79c4..4979401 100644 --- a/opsec/QEMUKVM Hypervisor/index.html +++ b/opsec/QEMUKVM Hypervisor/index.html @@ -56,63 +56,7 @@ -
-
-
-
- Previous Page

nihilist - 00 / 00 / 00

-

Why do we need to Virtualize Machines

- -

First let's start with the reasons why to virtualize a machine. The main reason to virtualize a machine is the ability to run multiple operating systems without impacting the host operating system. Virutal Machines(VMs) offer advantages of manageability and security, as well as the flexibility of running a separate operating system and non-native applications, making them ideal for software developers and testers. For example, a VM is isolated or "sandboxed" from the host system and other VMs, meaning that the software inside a VM can't escape or tamper with the computer itself. This produces an ideal environment for testing other operating systems including beta releases, accessing virus-infected data, creating operating system backups, and running software or applications on operating systems they weren't originally intended for.

-
-
-
-
- - -
-
-
-
-

How to Virtualize Machines(QEMU/KVM Hypervisor)

-

To get things started, we need to download QEMU. What is QEMU? QEMU, short for Quick Emulator,is a free and open-source emulator. You can download it from their official website.Using QEMU through the command line is troublesome, likely a tool called virt-manager makes the process of navigating QEMU much easier. To install virt-manager just type the following command.

- -
sudo apt install virt-manager
-

After the installation is finished, virt-manager will look something like this.

- - - -

Lets create a new virtual machine. I am creating a debian virtual machine, I already downloaded the .iso image from the official debian website. All the steps will be displayed in the following images.

- -
-
-
- -
-
-
- -
-
-
- -
-
-
- -
-
-
- - -

After clicking on "Finish", a virtual disk will be created to act as a hard-disk for the new VM.

-

Once the VM loads, you will go through the default debian installation process.

- -
-
-
-
- +
@@ -122,25 +66,25 @@

First, we need to create a new group called console. Then add the your user to the console group

sudo addgroup --system console
-

I created a new user called user,but that's optional.

+
sudo adduser "your_username" console

After that,we need to install console related packages.

 sudo apt install console-data console-common kbd keyboard-configuration
- +

Now, we will install extrepo to get the kicksecure APT repository. We will also enable the repository

  sudo apt install extrepo 
  sudo extrepo enable kicksecure 
-

To use apt over the tor network we need a package called apt-transport-tor

Next step is to download the kicksecure packages. Note that this will install a desktop environment(Xfce) and other applications

sudo apt install kicksecure-xfce-host
- +

Finally, we need to enable the Kicksecure APT derivative.list in /etc/apt/sources.list.d/derivative.list

-
sudo repository-dist --enable --repository stable
+
sudo repository-dist --enable --repository onion

This command will generate derivative.list file.

Disable the extrepo kicksecure APT repository. This is to avoid a duplicate Kicksecure repository.

 sudo extrepo disable kicksecure
+

That's it! A quick reboot will apply all the new settings and configurations.

diff --git a/opsec/QEMUKVM Hypervisor/just_in_case.html b/opsec/QEMUKVM Hypervisor/just_in_case.html new file mode 100644 index 0000000..7f29087 --- /dev/null +++ b/opsec/QEMUKVM Hypervisor/just_in_case.html @@ -0,0 +1,56 @@ +
+
+
+
+ Previous Page

nihilist - 00 / 00 / 00

+

Why do we need to Virtualize Machines

+ +

First let's start with the reasons why to virtualize a machine. The main reason to virtualize a machine is the ability to run multiple operating systems without impacting the host operating system. Virutal Machines(VMs) offer advantages of manageability and security, as well as the flexibility of running a separate operating system and non-native applications, making them ideal for software developers and testers. For example, a VM is isolated or "sandboxed" from the host system and other VMs, meaning that the software inside a VM can't escape or tamper with the computer itself. This produces an ideal environment for testing other operating systems including beta releases, accessing virus-infected data, creating operating system backups, and running software or applications on operating systems they weren't originally intended for.

+
+
+
+
+ + +
+
+
+
+

How to Virtualize Machines(QEMU/KVM Hypervisor)

+

To get things started, we need to download QEMU. What is QEMU? QEMU, short for Quick Emulator,is a free and open-source emulator. You can download it from their official website.Using QEMU through the command line is troublesome, likely a tool called virt-manager makes the process of navigating QEMU much easier. To install virt-manager just type the following command.

+ +
sudo apt install virt-manager
+

After the installation is finished, virt-manager will look something like this.

+ + + +

Lets create a new virtual machine. I am creating a debian virtual machine, I already downloaded the .iso image from the official debian website. All the steps will be displayed in the following images.

+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ +
+
+
+ + +

After clicking on "Finish", a virtual disk will be created to act as a hard-disk for the new VM.

+

Once the VM loads, you will go through the default debian installation process.

+ +
+
+
+