diff --git a/opsec/qubesos/index.html b/opsec/qubesos/index.html index 5bc535c..267095b 100644 --- a/opsec/qubesos/index.html +++ b/opsec/qubesos/index.html @@ -63,7 +63,7 @@ Previous Page

nihilist - 00 / 00 / 00

Qubes OS guide

Official site of Qubes OS https://www.qubes-os.org

-

When you land into this tutorial, I assume you already have some Linux experience, if not this might not be suitable for you, since Qubes OS is not very user-friendly. I recommend you to try some normal Linux distribution first How to Install Linux as a beginner

+

When you land into this tutorial, I assume you already have some Linux experience, if not this might not be suitable for you, since Qubes OS is not very user-friendly. I recommend you to try some normal Linux distribution first How to Install Linux as a beginner

Qubes OS is a very cutting edge OS that uses virtualization everywhere to compartmentalize your digital life. It is technically not a Linux distribution, it is built on Xen which is a type 1 hypervisor that runs on bare metal, https://en.wikipedia.org/wiki/Xen

First you have Xen hypervisor booted at startup, then you get separate VM for all of your activities. Because all of your activities are separated by VM, one of them get hacked will not compromise the security of your entire system. It is like manage your personal pc like a server, that is why Qubes OS is a highly secure OS if used correctly

If you want to dive into the tech details and concepts about Qubes, official document is the best place https://www.qubes-os.org/intro/

@@ -122,7 +122,7 @@ $ sudo blkid

 $ sudo dd if=file_name.iso of=/dev/sda status=progress
 
-

Warning: dd is a low level tool aka data destroyer, check the parameters carefully and make sure parameters behind "of" points towards your usb, otherwise it might nuke your computer !!!

+

Warning: dd is a low level tool aka data destroyer, check the parameters carefully and make sure parameters behind "of" points towards your usb, otherwise it might nuke your computer !!!

@@ -155,7 +155,7 @@ $ sudo dd if=file_name.iso of=/dev/sda status=progress

If you are installing on a fresh drive just check the three areas on the pictures

Next is to choose a disk encryption password, notice this is the password used to encrypt your disk and is the only thing protects you when FBI kicks your door, so make sure it is strong enough

-

Select "delete all" and "reclaim space", make sure you backed up everything!

+

Select "delete all" and "reclaim space", make sure you backed up everything!

Next create a user with password, this is the password you will use to unlock the screen

diff --git a/opsec/qubesosnetwork/index.html b/opsec/qubesosnetwork/index.html index c8d5ba0..e67a7ec 100644 --- a/opsec/qubesosnetwork/index.html +++ b/opsec/qubesosnetwork/index.html @@ -114,21 +114,21 @@

1.sys-usb

-

A qube that did not connect to network, and is responsible for providing usb service only, if you have usb keyboard or mouse it might also proxy the input for you. In some circumstances when you have an usb wifi dongle it also becomes the factual network qube

+

A qube that did not connect to network, and is responsible for providing usb service only, if you have usb keyboard or mouse it might also proxy the input for you. In some circumstances when you have an usb wifi dongle it also becomes the factual network qube

This is installed by default and is a disposable vm

1.sys-net

This is where everything starts, you need to passthrough your Ethernet adapter(wired or wireless) to a qube, and that qube will be used to as a first part in the network chain

Since it is directly in contact with network adapter and the routers, it should be considered as untrusted because it is exposed to a lot of uncertain stuff

-

It is installed by default and only intended to be used as a basic router and nothing else

+

It is installed by default and only intended to be used as a basic router and nothing else

2.sys-firewall

-

The qube that separate the rest of your network chain from the sys-net for better security, and it is also the qube that enforces firewall rules if you have vpn qube directly behind it.

+

The qube that separate the rest of your network chain from the sys-net for better security, and it is also the qube that enforces firewall rules if you have vpn qube directly behind it.

If you have any public identity it is best to directly connect it to sys-firewall, for example online banking

Each qube can select its own network qube, if none is selected it will not have internet at all. sys-firewall here set sys-net as its network qube

-

And any qube provides network service need to enable "provides network" in advanced tab below "Run in debug mode"

+

And any qube provides network service need to enable provides network in advanced tab below "Run in debug mode"

Any qube directly connect to sys-firewall will have your home isp ip address, best suited for public activity, for example online banking

Let's go back to our qubes manager, click "New qube" in the top left corner

@@ -140,7 +140,7 @@

3.vpn qube

-

A qube setup with vpn profile, redirect all the traffic to your designated vpn server. Ideal for providing a pseudonymous identity. If applied with firewall rules it can be guaranteed leakproof

+

A qube setup with vpn profile, redirect all the traffic to your designated vpn server. Ideal for providing a pseudonymous identity. If applied with firewall rules it can be guaranteed leakproof

Qubes OS works fine with wireguard and openvpn cli programs, but for vpn vendor's own gui there might be problems, sometimes those apps break the dns setup in qubes

Mullvad has a very detailed tutorial on how to setup a vpn qube https://mullvad.net/en/help/wireguard-on-qubes-os. However, iptables mentioned in it is already deprecated by Qubes, but it still works without DNS hijack config.

@@ -152,7 +152,7 @@

First give it a name called "torrent", and I personally prefer this is a medium trust score, so it is given a yellow tag.

We still leave it as appvm, and choose template as debian, since this is the template we just installed transmission

-

Most importantly set the networking to vpn qube you just setup, if you do not want DMCA notice get sent to your home. Then click ok the qube will be created

+

Most importantly set the networking to vpn qube you just setup, if you do not want DMCA notice get sent to your home. Then click ok the qube will be created

For accessing transmission app easily, we will add the transmission app into our "Q" menu which is in the top left corner

Right click the torrent qube in the manager, choose "settings", and choose "application"

@@ -162,7 +162,7 @@

4.whonix qubes

Whonix is the best part of qubes, it makes tor very easy to use. Whonix qubes consists of two parts, first is whonix gateway, which onionize all the network traffic behind it. Whonix workstation is a workstation specifically tuned for anonymity, and is usually disposable for increased security

You can also hook up other non workstation qubes behind whonix gateway in rare circumstances, for example a windows qube, but you should be careful and should have a specialized gateway qube only for this.

-

This is the ideal place for all the high risk activities like all the darknet stuff

+

This is the ideal place for all the high risk activities like all the darknet stuff

You might choose to whether or not to put whonix gateway behind a vpn

Here we use whonix workstation to access tor.taxi for exploring the darknet

@@ -198,10 +198,12 @@

First we created a test file called "new_file"

Then we use "qvm-copy" command, and choose "banking" vm in the dom0 prompt.

+qvm-copy new_file +

Then you can see the new_file in banking vm

-

Files from other VM are all located inside ~/QubesIncoming

+

Files from other VM are all located inside ~/QubesIncoming

Other stuff are inside the official document, no need to rebuild the wheels again

All the qubes "how to" guide