diff --git a/opsec/QEMUKVM Hypervisor/assets/01_rootuser.png b/opsec/QEMUKVM Hypervisor/assets/01_rootuser.png new file mode 100644 index 0000000..df64704 Binary files /dev/null and b/opsec/QEMUKVM Hypervisor/assets/01_rootuser.png differ diff --git a/opsec/QEMUKVM Hypervisor/assets/02_user_account.png b/opsec/QEMUKVM Hypervisor/assets/02_user_account.png new file mode 100644 index 0000000..24b04be Binary files /dev/null and b/opsec/QEMUKVM Hypervisor/assets/02_user_account.png differ diff --git a/opsec/QEMUKVM Hypervisor/assets/03_user_sudo.png b/opsec/QEMUKVM Hypervisor/assets/03_user_sudo.png new file mode 100644 index 0000000..8b61efa Binary files /dev/null and b/opsec/QEMUKVM Hypervisor/assets/03_user_sudo.png differ diff --git a/opsec/QEMUKVM Hypervisor/assets/04_create_console_and_add_user.png b/opsec/QEMUKVM Hypervisor/assets/04_create_console_and_add_user.png new file mode 100644 index 0000000..e196c57 Binary files /dev/null and b/opsec/QEMUKVM Hypervisor/assets/04_create_console_and_add_user.png differ diff --git a/opsec/QEMUKVM Hypervisor/assets/05_installing_requirements.png b/opsec/QEMUKVM Hypervisor/assets/05_installing_requirements.png new file mode 100644 index 0000000..08bba40 Binary files /dev/null and b/opsec/QEMUKVM Hypervisor/assets/05_installing_requirements.png differ diff --git a/opsec/QEMUKVM Hypervisor/assets/06_install_extrepo.png b/opsec/QEMUKVM Hypervisor/assets/06_install_extrepo.png new file mode 100644 index 0000000..640cde8 Binary files /dev/null and b/opsec/QEMUKVM Hypervisor/assets/06_install_extrepo.png differ diff --git a/opsec/QEMUKVM Hypervisor/assets/07_kicksecure_repo_enable.png b/opsec/QEMUKVM Hypervisor/assets/07_kicksecure_repo_enable.png new file mode 100644 index 0000000..b8014fb Binary files /dev/null and b/opsec/QEMUKVM Hypervisor/assets/07_kicksecure_repo_enable.png differ diff --git a/opsec/QEMUKVM Hypervisor/assets/08_install_apt_over_tor.png b/opsec/QEMUKVM Hypervisor/assets/08_install_apt_over_tor.png new file mode 100644 index 0000000..3930c56 Binary files /dev/null and b/opsec/QEMUKVM Hypervisor/assets/08_install_apt_over_tor.png differ diff --git a/opsec/QEMUKVM Hypervisor/assets/09_installs_kicksecure_packges.png b/opsec/QEMUKVM Hypervisor/assets/09_installs_kicksecure_packges.png new file mode 100644 index 0000000..21cb8bf Binary files /dev/null and b/opsec/QEMUKVM Hypervisor/assets/09_installs_kicksecure_packges.png differ diff --git a/opsec/QEMUKVM Hypervisor/assets/10_dev_list_over_onion.png b/opsec/QEMUKVM Hypervisor/assets/10_dev_list_over_onion.png new file mode 100644 index 0000000..e97a685 Binary files /dev/null and b/opsec/QEMUKVM Hypervisor/assets/10_dev_list_over_onion.png differ diff --git a/opsec/QEMUKVM Hypervisor/assets/11_disable_main_repo.png b/opsec/QEMUKVM Hypervisor/assets/11_disable_main_repo.png new file mode 100644 index 0000000..e0da944 Binary files /dev/null and b/opsec/QEMUKVM Hypervisor/assets/11_disable_main_repo.png differ diff --git a/opsec/QEMUKVM Hypervisor/assets/create_VM.png b/opsec/QEMUKVM Hypervisor/assets/create_VM.png new file mode 100644 index 0000000..f3fca4e Binary files /dev/null and b/opsec/QEMUKVM Hypervisor/assets/create_VM.png differ diff --git a/opsec/QEMUKVM Hypervisor/assets/finish.png b/opsec/QEMUKVM Hypervisor/assets/finish.png new file mode 100644 index 0000000..eaf7ad1 Binary files /dev/null and b/opsec/QEMUKVM Hypervisor/assets/finish.png differ diff --git a/opsec/QEMUKVM Hypervisor/assets/forward.png b/opsec/QEMUKVM Hypervisor/assets/forward.png new file mode 100644 index 0000000..e0d1757 Binary files /dev/null and b/opsec/QEMUKVM Hypervisor/assets/forward.png differ diff --git a/opsec/QEMUKVM Hypervisor/assets/keymap_prompt.png b/opsec/QEMUKVM Hypervisor/assets/keymap_prompt.png new file mode 100644 index 0000000..d805fdc Binary files /dev/null and b/opsec/QEMUKVM Hypervisor/assets/keymap_prompt.png differ diff --git a/opsec/QEMUKVM Hypervisor/assets/memory.png b/opsec/QEMUKVM Hypervisor/assets/memory.png new file mode 100644 index 0000000..df4e47f Binary files /dev/null and b/opsec/QEMUKVM Hypervisor/assets/memory.png differ diff --git a/opsec/QEMUKVM Hypervisor/assets/select-vm.png b/opsec/QEMUKVM Hypervisor/assets/select-vm.png new file mode 100644 index 0000000..455bd56 Binary files /dev/null and b/opsec/QEMUKVM Hypervisor/assets/select-vm.png differ diff --git a/opsec/QEMUKVM Hypervisor/assets/space.png b/opsec/QEMUKVM Hypervisor/assets/space.png new file mode 100644 index 0000000..0aae61c Binary files /dev/null and b/opsec/QEMUKVM Hypervisor/assets/space.png differ diff --git a/opsec/QEMUKVM Hypervisor/assets/tor.png b/opsec/QEMUKVM Hypervisor/assets/tor.png new file mode 100755 index 0000000..e150253 Binary files /dev/null and b/opsec/QEMUKVM Hypervisor/assets/tor.png differ diff --git a/opsec/QEMUKVM Hypervisor/assets/virt-manager.png b/opsec/QEMUKVM Hypervisor/assets/virt-manager.png new file mode 100644 index 0000000..9942c19 Binary files /dev/null and b/opsec/QEMUKVM Hypervisor/assets/virt-manager.png differ diff --git a/opsec/QEMUKVM Hypervisor/index.html b/opsec/QEMUKVM Hypervisor/index.html new file mode 100644 index 0000000..2a52406 --- /dev/null +++ b/opsec/QEMUKVM Hypervisor/index.html @@ -0,0 +1,196 @@ + + + + + + + + + + + How to Virtualize Machines (QEMU/KVM Hypervisor) + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+
+ 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 offical website.Using QEMU throught 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 virutal machine. I am creating a debian virtual machince, I already downloaded the .iso image from the offical 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.

+ +
+
+
+
+ +
+
+
+
+

Spicing up Debian with KickSecure



+

What is KickSecure and why do we need it?Kicksecure is a hardened operating system designed to be resistant to viruses and various attacks. It is based on Debian in accordance with an advanced multi-layer defense model, thereby providing in-depth security. Kicksecure provides protection from many types of malware in its default configuration with no customization required. We will be morphing our fresh Debian installation.

+

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
+

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.

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

Nihilism

+

+ Until there is Nothing left.



Creative Commons Zero: No Rights Reserved
+ +

+
+ + + +
+

About nihilist

+

Donate XMR: 85fGTpPWivci2dRzJSgvm5QeEuEUZ11ZDbZA6Yc58XdCHSen2oRKLpgbNBr1sv9gacbrfMP3Qw23RcGqYb8V1FN4L67kph6


+
+ +
+ +
+
+ + + + + + + diff --git a/opsec/index.html b/opsec/index.html index cdde9d5..e310164 100644 --- a/opsec/index.html +++ b/opsec/index.html @@ -244,6 +244,7 @@
  • ❌ How to Verify one's Identity while maintaining Anonymity using PGP canaries ?
  • ✅ Gitea .onion Setup (Anonymous Code Repositories and Collaboration)
  • ❌ How to setup Nerostr (Nostr blogging)
  • +
  • ❌ How to setup a .onion Lemmy instance (to replace Reddit)


  • 🧅 Serverside - Anonymous Clearnet Services