-
The installation scripts and provided tools may have bugs, be vulnerable to Man in the Middle (MitM) attacks or other vulnerabilities.
-
Adding additional repositories or tools for installing software extends your trust to those tool providers.
Please keep in mind that using such a VM or VM’s based on the template for security and privacy critical tasks is not recommended.
How to create Penetration Testers Framework (PTF) VM
"The PenTesters Framework (PTF) is a Python script designed for Debian/Ubuntu/ArchLinux based distributions to create a similar and familiar distribution for Penetration Testing.
PTF attempts to install all of your penetration testing tools (latest and greatest), compile them, build them, and make it so that you can install/update your distribution on any machine." (source PTF Readme)
Note PTF works on Debian testing as well as on Debian 8. PTF itself works with Debian 8, but the software tools will have missing dependencies. Metasploit for example requires a newer Ruby version than Debian 8 has in the repositories. Therefore the best way to install PTF is by upgrading a Debian 8 into Debian testing with additional Kali repositories. Instead of installing the tools from Kali, PTF will install and update the newest tools.
Create Debian Based Penetration Testers Framework (PTF) Template
-
Create PTF template
-
Follow Create Debian Based Kali Template till step 7.
-
(Optional) Rename the cloned template to
ptf
-
-
Download PTF
sudo apt-get install git cd /opt sudo git clone https://github.com/trustedsec/ptf.git
-
(Optional) Configure PTF
-
Go to configuration directory
cd /opt/ptf/config
-
Edit the configuration file
for example by using vim:
sudo vim ptf.config
the configuration options are described in the
ptf.config
file
-
-
-
Install PTF
cd /opt/ptf sudo ./ptf
Note: the config file has to be in the same directory as the executable. It is not possible to do sudo ptf/ptf
PTF will put itself into
/usr/local/bin/ptf
. You can useptf
from now on. -
Install/Update modules (tools)
-
Start PTF
sudo ptf
-
Show available modules (tools)
ptf> show modules
-
Install/Update modules (all/)
-
Install/Update all tools
ptf> use modules/install_update_all
-
or by category Install/Update
ptf> use modules/code-audit/install_update_all
-
or individually (example Metasploit)
-
Search for module
ptf> search metasploit [*] Search results below: modules/exploitation/metasploit
-
Use module
ptf> use modules/exploitation/metasploit ptf:(modules/exploitation/metasploit)>
-
Install module
ptf:(modules/exploitation/metasploit)>install
-
Run Metasploit
ptf:(modules/exploitation/metasploit)>exit ptf> quit [*] Exiting PTF - the easy pentest platform creation framework. sudo msfconsole
-
-
-
-
Create an AppVM based on the
ptf
template- (Optional) Attach necessary devices
Alternative Options to PTF
This document was migrated from the qubes-community project
- Page archive
- First commit: 08 Dec 2020. Last commit: 08 Dec 2020.
- Applicable Qubes OS releases based on commit dates and supported releases: 4.0
- Original author(s) (GitHub usernames):
- Original author(s) (forum usernames):
- Document license: CC BY 4.0