
Paros is a proxy program you can use to evaluate the security of web applications. It's free of charge and runs completely in Java. Through Paros's proxy nature, all HTTP and HTTPS data between server and client, including cookies and form fields, can be intercepted and modified.
In this first article I describe how to install Paros in Ubuntu 8.04 LTS, in a future article I give a description of installing it in OS/X and a brief description of the workings.
But first ensure you have installed Java.
java -versionIf this gives you back a version number you have java installed; otherwise Ubuntu will indicate in which packages java can be found. When you don't have java installed do the following:
sudo apt-get install sun-java6-jdk sudo update-java-alternatives -s java-6-sunAfter that the version should be something like this:
java version "1.6.0_07"Next you must download the unix version of Paros from sourceforge.
wget http://downloads.sourceforge.net/paros/paros-3.2.13-unix.zip?modtime=1155077879&big_mirror=0I like to install my tools in /opt, so after downloading move the archive to /opt and unzip:
sudo mv paros-3.2.13-unix.zip /opt cd /opt sudo unzip paros-3.2.13-unix.zip cd parosNext you can start paros with the following command (on the site they talk about javaw, but you have to use java):
java -jar paros.jarYou will be greeted by the splash screen and after that the main applications starts.
Paros uses two ports. Port 8080 for the proxy connection and port 8443 for internal SSL handling. So, make sure these two ports are not in use by other applications. You can change the ports and other settings in the "Options" tag of the program. You can test if a port is in use with lsof; if it returns nothing the port is not in use.
lsof -i :8080 -i :8443The next step is to configure your browser to use the proxy port (8080). In this example I'm using Firefox 3.
Go to the Edit menu, choose Preferences. In the Preferences panel go to the Advanced tab and choose Network from the tabs below. Click on Settings in the Connection part.
This opens the Connection Settings panel. Choose Manual proxy configuration and put 127.0.0.1 in the HTTP Proxy field and 8080 in the Port field.
Repeat these settings in the SSL Proxy field (use 8080 not 8443).
Click OK and close the Preferences.
When you now surf to a site all traffic between the webserver and the browser will be intercepted by paros. How you can use Paros I will describe in a future article.

Comments