Official Faraday Docker Images

Docker

Faraday News
Faraday
3 min readAug 24, 2015

--

A couple weeks ago we did another post where we talked a bit about Docker.

As we had said before, we are already using Docker as a platform for testing our installation process for our product Faraday

We thought it might be useful for everyone to put together an official image of Docker. For that we are going to base our image in Ubuntu 14.10 which by default comes with Faraday, CoudbDB, and SSH all pre-configured. The username is root and the password toor.

Starting-up Faraday

With this command, we start by running the container with Faraday connecting it to couchdb with a test workspace, with the name “workspace”.
Faraday is started with ./faraday.py -gui=no-gui — update without a graphic environment, it is going to start trying to update Faraday to the newest version in the github repository.

To obtain the IP direction of the container:

Interface Web-UI:

Directing the browser to http://172.17.0.62/reports/_design/reports/index.html you will be able to access Faraday’s Web-UI.

Interface ZSH:

To start to execute commands, we can utilize the ZSH interface, to do this everyone should connect to the SSH with the username root and the password toor.

Interface QT GUI:

To work with the QT GUI we should start running docker another way:

root@isrlab:~/dev# docker run infobyte/faraday /root/run_service.sh

In another console we should run:
To get the IP direction of the container:

* To execute commands, it is important to keep in mind that the tools should be installed inside of the Docker.

Importing reports:

Additionally when executing the commands, one way to incorporate information to the Faraday platform is copying the tools’ output reports.
To go about this, we need to copy, for example, output_nmap.xml to $HOME/.faraday/report/[workspace_name]
Once this has been interpreted and incorporated to the data base, the report is copied to $HOME/.faraday/report/[workspace_name]/process

This we can do by copying the reports to the containers via sftp or we can use a file sharing function between the host server and containers.

Let’s check out an example:

We start running a container sharing the directory of the host server /tmp/workspace in /root/.faraday/report/workspace/

Now we can start using the tools inside the host server and this is going to be interpreted as if it were inside the container for Faraday in the workspace called “workspace”

We are able to copy all types of reports supported by Faraday (+ 40 plugins supported) root@isrlab:~/dev# cp /root/reports/nessusscan.nessus /tmp/workspace/

We hope you thought this was helpful!
Best!

--

--

Faraday News
Faraday

Collaborative Penetration Test and Vulnerability Management