how to install TrustedSec’s – Pentesters Framework on Ubuntu 18.04

Posted by

Trusted Sec Framework is a collection of scripts that install lots of tools useful do to pentesting tasks. It allows you to create your own attacker server, you can add the modules you want or need at it is really simple to work with.

Screen Shot 2019-04-05 at 16.57.13
Escribir una leyenda

Ubuntu version used,

root@ubuntu:/home# uname -a
Linux ubuntu 4.18.0-16-generic #17~18.04.1-Ubuntu SMP Tue Feb 12 13:35:51 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

First, update the environment:

root@ubuntu:/home# apt-get update
Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Get:2 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [295 kB]
Get:3 http://security.ubuntu.com/ubuntu bionic-security/main i386 Packages [216 kB]
Get:4 http://security.ubuntu.com/ubuntu bionic-security/main Translation-en [106 kB]
Etc…

If needed it, upgrade it:

root@ubuntu:/home# apt-get upgrade

Second, you will need to install “Python” and “Git” as you will clone the project from Github and require Python for coming tasks.

root@ubuntu:/home# apt-get install python
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following additional packages will be installed:
libpython-stdlib python-minimal python2.7 python2.7-minimal
Suggested packages:
python-doc python-tk python2.7-doc binfmt-support
The following NEW packages will be installed:
libpython-stdlib python python-minimal python2.7 python2.7-minimal
0 upgraded, 5 newly installed, 0 to remove and 3 not upgraded.
Need to get 1,719 kB of archives.
After this operation, 5,007 kB of additional disk space will be used.
Do you want to continue? [Y/n] y

root@ubuntu:/home# apt-get install git
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following additional packages will be installed:
git-man liberror-perl
Suggested packages:
git-daemon-run | git-daemon-sysvinit git-doc git-el git-email git-gui gitk
gitweb git-cvs git-mediawiki git-svn
The following NEW packages will be installed:
git git-man liberror-perl
0 upgraded, 3 newly installed, 0 to remove and 3 not upgraded.
Need to get 4,733 kB of archives.
After this operation, 33.9 MB of additional disk space will be used.
Do you want to continue? [Y/n] y

Third, clone the project,

root@ubuntu:/home# git clone URL PATH-TO-CLONE

GitHub Project Link: https://github.com/trustedsec/ptf

root@ubuntu:/home# git clone https://github.com/trustedsec/ptf /opt/ptf
Cloning into ‘/opt/ptf’…
remote: Enumerating objects: 1, done.
remote: Counting objects: 100% (1/1), done.
remote: Total 5356 (delta 0), reused 0 (delta 0), pack-reused 5355
Receiving objects: 100% (5356/5356), 974.23 KiB | 720.00 KiB/s, done.
Resolving deltas: 100% (3789/3789), done.

Fourth, Start the framework,

root@ubuntu:/home# cd /opt/ptf && ./ptf
[*] You can always type ./ptf –no-network-connection to skip the Internet check..
[*] Checking for an Internet connection…
[*] Trying to update myself first.. Then starting framework.
Already up to date.

Screen Shot 2019-04-05 at 16.51.41

All tools are downloaded directly from the developers websites. This tool does not perform any type of source code analysis or verification on the tools so, you should run these after performing your own analysis of the tools and ensure you trust the parties. It only adds tools that are well-known typically in the security industry but that does not negate the risk.

[*] Operating system detected as: DEBIAN
[*] Welcome to PTF – where everything just works…Because..Clowns

For a list of available commands type ? or help

ptf>

Enjoy.

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s