From 1e4660434c755d40074f3f6065c5f8ec46c395ea Mon Sep 17 00:00:00 2001 From: Neowutran Date: Sat, 19 Sep 2020 08:59:31 +0200 Subject: [PATCH] [kali] apply recommendations from pull request #989 --- external/os-guides/pentesting/kali.md | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/external/os-guides/pentesting/kali.md b/external/os-guides/pentesting/kali.md index 81a2d58c..8e3ea740 100644 --- a/external/os-guides/pentesting/kali.md +++ b/external/os-guides/pentesting/kali.md @@ -21,7 +21,7 @@ Only use this method if you want the full Kali GUI (desktop, fancy menus, etc.). It comes at the cost of much greater resources consumption. 1. Download the Kali ISO -2. Create a new HVM +2. [Create a new HVM][qubes-new-hvm] 3. Start the HVM with attached CD/DVD ```shell_session $ qvm-start --cdrom :/home/user/Downloads/.iso @@ -37,9 +37,10 @@ If you need to install custom kernel modules (wifi drivers, …) you need to use The steps can be summarized as: 1. Install Qubes stable Debian template -2. Add `testing` and `securitytesting` Qubes repositories -3. Add the Kali repository -4. Update the template +2. Upgrade from Debian `stable` to Debian `testing` for Qubes repositories +3. Add `testing` and `securitytesting` Qubes repositories +4. Replace the content of `/etc/apt/sources.list` file with the Kali repository +5. Update the template Get Kali Linux PGP key ----------------------- @@ -128,8 +129,10 @@ $ qvm-copy kali-key.asc # apt-get remove libgcc-8-dev && apt-get install libc6-dev ``` -**Note:** This kind of dependency issues will pop up and disappear without notice. -It depends on the differences of dependencies between the Kali repository, the testing Qubes repository and the dependency issues related to the upgrade from stable Debian to testing Debian/Kali. +**Note:** This kind of dependency issue will pop up and disappear without notice. +Such issues arise because of the differences of dependencies in packages from +the Kali repository, the Qubes testing repository and the Debian testing +repository. So this step [step 8] is currently needed. But it will not always be the case. 9. Update the template @@ -145,6 +148,7 @@ $ qvm-run -a kali-rolling gnome-terminal Install the Kali tools ------------------------------ At this point you should have a working template and you can install the tools you need. +You can find [a list of Kali Linux Metapackages here](https://tools.kali.org/kali-metapackages) Keep in mind that the tools you will install can easily take more than 10 GB, [so you will need to **grow** the size of the VM system storage.][qubes-resize-disk-image] Alternative Options to Kali Linux @@ -164,6 +168,7 @@ Thanks to the people in [the discussion thread](https://github.com/QubesOS/qubes [qubes-ptf]: /doc/pentesting/ptf/ [qubes-template-debian-install]: /doc/templates/debian/#install [qubes-resize-disk-image]: /doc/resize-disk-image/ +[qubes-new-hvm]: /doc/standalone-and-hvm/ [kali]: https://www.kali.org/ [kali-vbox]: https://www.offensive-security.com/kali-linux-vmware-virtualbox-image-download/