qubes-doc/managing-os/kali.md

61 lines
1.7 KiB
Markdown
Raw Normal View History

2016-05-12 02:23:08 -04:00
---
layout: doc
title: How to create a Kali Linux VM
permalink: /doc/kali/
---
How to Create a Kali Linux VM
=============================
2016-05-15 22:06:23 -04:00
This guide is being created to give guidance on ways in which you could implement Kali Pen-Testing distrubution within Qubes-OS.
There are multiple ways in which this can be achieved, for example you could create a HVM and use the ISO to install the system straight to that virtual machine.
2016-05-12 02:23:08 -04:00
Build Based on Debian Template
2016-05-15 22:48:25 -04:00
---
1 - Install debian-8 template (if not already installed)
2016-05-15 22:47:05 -04:00
2 - Clone debian-8 template
2016-05-15 22:47:05 -04:00
3 - Add kali repo to /etc/apt/sources.list:
2016-05-15 22:47:05 -04:00
* deb http://http.kali.org/kali kali-rolling main non-free contrib
2016-05-15 22:47:05 -04:00
4 - Find and add kali signing keys:
2016-05-15 22:47:05 -04:00
* gpg --key-server hkp://key.gnupg.net --recv-key 7D8D0BF6 (this is the key ID I found on Kali web site)
2016-05-15 22:47:05 -04:00
* gpg --list-keys --with-fingerprint 7D8D0BF6
2016-05-15 22:47:05 -04:00
* gpg --export --armor 7D8D0BF6 > kali.asc
2016-05-15 22:47:05 -04:00
* sudo apt-key add kali.asc
2016-05-15 22:47:05 -04:00
* sudo apt-key list
2016-05-15 22:47:05 -04:00
5 - sudo apt-get update
2016-05-15 22:47:05 -04:00
6 - sudo halt
2016-05-15 22:47:05 -04:00
7 - backup template (cloned...)
2016-05-15 22:47:05 -04:00
8 - sudo apt-get apt-get install kali-*** (or similar) --> installs fine but break the template X settings. As mentioned, X packaged need to be masked prior to this, I did not take the time to look-up how to do that...
2016-05-15 22:47:05 -04:00
9 - Create a appvm from the kali template and attach necessary devices.
2016-05-15 22:48:25 -04:00
Note:
If you do not want to modify the sources.list file and add the signing keys yourself, alternatively you can use KATOOLIN after cloning the Debian Template. Guide on how to use KATOOLIN - http://www.tecmint.com/install-kali-linux-tools-using-katoolin-on-ubuntu-debian/
Alternative Options to Kali
2016-05-15 22:48:25 -04:00
---
PenTester Framework (PTF)
2016-05-12 02:23:08 -04:00