Chapter 2. Getting started

Table of Contents

1. Installing Profense
1.1. Hardware
1.2. Necessary information
1.3. Installation
2. Using the Profense™ web management interface
2.1. Accessing Profense™ web management interface
2.2. Navigating Profense™ web management interface
3. Basic administration
3.1. Definitions
3.2. Getting help
3.3. Change administrator password
3.4. Configuring interfaces
3.5. Configuring for updates
3.6. Installing updates
3.7. Adding a Proxy
3.8. Deleting a proxy
3.9. Developing the Policy
3.10. System monitoring
3.11. Backup and restore

Profense™ management interface contains many features to help you manage the security of your web applications and servers. In this section, we attempt to highlight all of these features, by listing tasks that you should perform to correctly configure Profense™. The information contained in this table presumes that you have successfully installed and configured Profense™ on your hardware.

This section describes most of the basic administration tasks that can be performed via Profense™ management interface.

To manage, add and remove proxies select Proxy -> Manage in the left menu pane. This will take you to the proxy overview page.

To add a new proxy, click on the Add proxy button in the proxy overview page.

The Proxy -> Add section consists of the subsections:

Virtual web server

Enter the HTTP address of the web server you want to proxy connections for including protocol and port. This address is the one you want the web sites visitors to see.

When selecting HTTPS as the protocol a temporary certificate will be generated. When the new proxy is created the certificate can be replaced by importing the real certificate in Proxy -> Manage -> Settings -> Servers .

Real web server

Enter the address of the web server you want Profense™ to redirect allowed client requests to. This address is the address of the web server you want to protect.

Initial operating mode

The proxy can operate in one of the five major modes below:

Pass through

No filtering or learning applied. All requests are passed through to web systems.

Load balancing and acceleration features working as configured.

Learn

All requests are passed through to web systems. Requests and web server responses are analyzed by the learner and a policy is gradually built upon the information learned. When learning thresholds are reached, by default the system will switch to detect mode.

Load balancing and acceleration features working as configured.

Detect

All requests are passed through to web systems but the policy is applied and requests violating the policy are logged. This mode can best be compared to an IDS-system applying a positive policy.

Load balancing and acceleration features working as configured.

Block

All requests are validated against the policy and requests validating the policy are logged and blocked according to the block action configured.

Load balancing and acceleration features working as configured.

Auto

In Auto mode the proxy automatically adapts to changes in the web applications. Auto mode offers instant protection by employing a combination of positive and negative policy rules. At first a general negative policy is enforced but as Profense maps a profile of the web applications and the web site in general the policy becomes more specific and shift towards a positive security model for specific applications.

Auto mode is only available in Profense™ Professional (and trial).

Default selection : License dependent:

Professional and Professional Trial license

Auto mode

Base license

Pass through

Initial policy configuration

Should a basic policy be configured or not? The two options are:

Normal policy configuration

No policy is configured as the policy is expected to be configured automatically by the learner.

Normal policy configuration with basic (loose) policy rules

With this option selected a few very general policy rules are configured.

Default selection: depends on Initial operating mode.

Pass through and Learn: Normal policy configuration.

Detect and Block: Normal policy configuration with basic (loose) policy rules.

Buggy web server options

In some cases (mostly when IIS is envolved) it can be necessary to disable real server keep-alive and/or down grade the real server to HTTP/1.0. You want to start without these options unless you know for certain that they are necessary.

If this is the first proxy you create do not enable any of these options. They can be set later in Proxy -> Manage + Settings -> Servers if necessary.

Disable real server keep alive

In some cases (mostly when IIS is involved) using keep-alive to backend servers can result in "Bad gateway" error (502) being sent to the client due to the web server not handling the keep-alive connection well.

To check if it is necessary to enable this feature look for log lines like "(54)Connection reset by peer: proxy: error reading status line from remote server" in the system core log ( System -> Logs + Core ).

This is an option to compensate for buggy web server implementations. In some cases (mostly when you do not need to enable it) it will force the real server to downgrade to HTTP/1.0 disabling cookies, etc.

Force HTTP 1.0 protocol to real server

As above, this is an option to compensate for buggy web server implementations.

All selections, except for the Virtualhost/IP can be changed later so it is perfectly OK to accept default selections.

The level of automation and the tools and methods available and for developing the policy depends on the license.

The Policy can either be developed automatically using the Learner or manually or using a combination. That is: modifying the automatically generated policy manually. The learner does a pretty good job though and in most cases it is not necessary to post modify the automatically generated policy.

In Profense™ Professional (and trial) Auto mode is available. Auto mode start out with negative filtering and gradually shifts towards positive filtering as the website and web applications are learned.

If you want to build the policy manually please familiarize yourselve with the access policy chapter of the Profense Manual.

Backup and restore can be performed via filesystem, FTP or SCP.

© 2007 Armorlogic