A 3-tier architecture: there can be many different firewall modules running in different locations (security enforcement points) controlled by a central Management Console. Administrators can administer the security system either directly via the console, or by running GUI clients connected to the Management Console through the network from another desktop.
Responsible for:
Runs on:
Inspection Engine uses Stateful Inspection Technology
Responsible for:
Runs on:
Responsible for:
Runs on:
GUI is available only for Win95/98/NT and Motif. The exam focuses on the GUI, not the command line. The 3 different GUIs are: Security Policy Editor for setting up the security settings, Log Viewer for viewing the logs, and System Status tool for viewing the current statistics of different firewall components. Network Object Manager is a function within the Policy Editor. It is used to create objects so that we can place the objects in the rule base and set up corresponding security rules.
For the Single Gateway Product, there is only one Firewall Module controlled by one Management Console, and they have to be installed on the same machine, meaning there is only one security enforcement point. However, you can still run the GUI client form another desktop. For multiple gateway products there could be multiple enforcement points. For example, Firewall Internet Gateway/25 means you can have up to 25 Firewall modules controlled by one Management Console.
To set up the Management Console, first run Configuration Manager on the remote NT management station and create the administrator account(s) via the Administrators tab. Then add the IP addresses of the GUI Clients that can log in to the local gateway via the GUI Clients tab. Finally, log into the Management Console via the GUI Client's Security Policy Login window.
On Unix, set up involves running the command “fwm–a” on the Management Console to add the necessary FireWall-1 administrator accounts. Edit the /etc/fw/conf/gui-clients file on the Management Console and add the IP addresses or hostnames of the GUI Client hosts that are allowed to remotely log in.
GUI client transmits the administrator's username and password to the Management Console. After validating the GUI client's IP address, the Management Console's FWM authenticates the administrator's username/ password and assigns the GUI client its access control rights and sends along the appropriate database information including security policy, object databases, log database, etc.
Administrator can have 4 different levels of access rights:
Communication between the Management Console and the Firewall
Modules
The Firewall Module object must be defined as an Internal object in order for remote management to work.
fwd on the Management Console initiates a connection to fwd on the firewall and sends the encrypted putkey password as compilation of the Security Policy is finished. After validating the Management Console's IP address in the $FWDIR/conf/masters file, fwd authenticates the putkey password and accepts the compiled internal user databases and security policy and installs it in the Inspection Engine.
An authentication key needs to be created on the Management Console for each Firewall Module that this Management Console will remotely be in charge of:
Bouncing the Firewall is the process of stopping and restarting the firewall daemon fwd. This causes fwd to reread the local masters file and allow the Management Console to remotely install security policies.
To remove remote management, you remove the masters file in the
$FWDIR/conf directory from the Firewall Module. Bounce the firewall and then log
into the security policy. Change the location of the Firewall Module to external
and install the policy again.
Placement of SPF File
Rules that make up a Security Policy File (SPF) for a single Firewall Module can be kept in an individual SPF on the Management Console or combined with rules of other Firewall Modules into a combined SPF. To avoid confusion, name the SPF to indicate it includes the combined rules of multiple Firewall Modules. Also, in the Install On column of each rule, specify the particular target(s) of the Firewall Module's object(s) clearly.
For Dual Management Console configuration, SPFs should be maintained on the Primary Management Console PMC. When a change is made to an SPF, that SPF and certain related firewall databases need to be copied to the Secondary Management Console SMC manually by the FW-1 Administrator. Each Firewall Module should include the IP address of both the PMC and SMC in their local master’s file.
Firewall Module will send each log entry to both MCs. All logs from all remote Firewall Modules will be displayed on both MCs in the order they were received. To display specific entries, use the Selection Criteria Manager.
There are seven main steps in configuring router security for a specific router:
1. Configure router interfaces on the router via the console cable following the steps specified by the router manufacturer
2. Configure SNMP on the router
3. Configure the enable password on the router
4. Define the Access Lists properties in the Security Policy Properties window
Available properties for controlling the router:
5. Define the router object in the Network Objects Manager
6. Add security rules for the router in the Security Policy Editor
7. Install the security policy on the router
FireWall-1 encrypts packets traveling between two gateways on the Internet using the following encryption technologies:
Symmetric encryption (DES, 3DES, FWZ-1, RC2, RC4)
Keys should be changed periodically, as cracking the key is possible. This depends on the amount of encrypted data
Certificate Authority Public/Private Key
Diffie-Hellman Public/Private Key
Basic Session Key
Session Key
Data Integrity Key
Packet Key
Certificate Authority (CA)
Digital signature
One Way Hash Functions (128 bit MD4 and MD5, 160 bit SHA-1)
Manual IPSec
FWZ
IPSec
SKIP
SecuRemote Client Encryption
Establishing a FWZ VPN between two FW-1 gateways:
1. Define each gateway's encryption domain
2. Specify FWZ as the encryption method
3. Set up the FWZ public keys on both sides
4. Install Security Policy
5. Exchange public keys between the gateways
6. Add VPN rule to rule base
7. Define FWZ encryption properties for VPN rule
8. Verify and install the rule base
Establishing a Manual IPSec VPN between two FW-1 gateways:
1. Specify each gateway's encryption domain
2. Specify Manual IPSec as the encryption method
3. Create the IPSec SPIs on each gateway
4. Add VPN rule and then IPSEC rule to rule base
5. Define IPSEC encryption properties for VPN rule
6. Verify and install Security Policy
Establishing a SKIP VPN between two FireWall-1 gateways:
1. Specify each gateway's encryption domain
2. Specify SKIP as the encryption method
3. Set up the SKIP public keys on both sides
4. Exchange DH public keys between the gateways
5. Add VPN rule and then the SKIP rule to rule base
6. Define SKIP encryption properties for VPN rule
7. Verify and install Security Policy
For HTTP, when FireWall-1 detects a service request to a Logical Server and determines that the session is to be redirected to a chosen server, it redirects the connection to the Load Balancing daemon (lhttpd) and notifies the HTTP client that the URL is being redirected.
For Non-HTTP, FireWall-1 uses the Address Translation mechanism by modifying the destination IP address of the incoming/outgoing packet and the source IP address of reply packets for the session.
Server Load:
Round Trip:
Round Robin:
Random:
Domain:
Logical server is defined by creating a group object consisting of all the servers that will be providing the given service. A network object of type Logical Server should then be created, with corresponding rules followed in the rule base.
Firewall-1 allows administrators to write their own custom log handling function(s) to meet complex condition. Called User Defined Tracking, a single rule can generate different types of alarms for different conditions.
User Defined functions can be written in different computer programming languages like C/C++, Perl or Bourne Shell, etc.
fwconfig
fw
fwuninstall
fwstart
fwstop
fw load
fw unload
fw logswitch
fw putlic
fw dbload
fw stat
fw log
fw ver
|
Special Thanks to Michael Yu for contributing material for this Cramsession. Make sure to visit his site at: http://michaelyu.freeservers.com/ |