Dynamic Threat Prevention System (DTPS), APSecure, FortiASIC,
FortiBIOS, FortiBridge, FortiClient, FortiGate, FortiGate Unified Threat
Management System, FortiGuard, FortiGuard-Antispam, FortiGuardAntivirus, FortiGuard-Intrusion, FortiGuard-Web, FortiLog, FortiAnalyzer,
FortiManager, Fortinet, FortiOS, FortiPartner, FortiProtect, FortiReporter,
FortiResponse, FortiShield, FortiVoIP, and FortiWiFi are trademarks of
Fortinet, Inc. in the United States and/or other countries. The names of
actual companies and products mentioned herein may be the trademarks
of their respective owners.
This section introduces you to the FortiGate Intrusion Prevention System (IPS)
and the following topics:
•The FortiGate IPS
•About this document
•Fortinet documentation
•Customer service and technical support
The FortiGate IPS
Spam and viruses are not the only threats facing enterprises and small
businesses. Sophisticated, automated attack tools are prevalent on the Internet
today, making intrusion detection and prevention vital to securing corporate
networks. An attack or intrusion can be launched to steal confidential information,
force a costly web site crash, or use network resources to launch other attacks.
The FortiGate IPS detects intrusions by using attack signatures for known
intrusion methods, and detects anomalies in network traffic to identify new or
unknown intrusions. Not only can the IPS detect and log attacks, but users can
choose actions to take on the session when an attack is detected. This guide
describes how to configure and use the IPS and the IPS response to some
common attacks.
This guide describes:
•IPS overview and general configuration
•Predefined signatures
•Custom signatures
•Protocol decoders
•IPS sensors
•DoS sensors
•SYN flood attacks
•ICMP sweep attacks
FortiGate IPS User Guide Version 3.0 MR7
01-30007-0080-200809165
About this documentIntroduction
!
About this document
Document conventions
The following document conventions are used in this guide:
•In the examples, private IP addresses are used for both private and public IP
addresses.
•Notes and Cautions are used to provide important information:
Note: Highlights useful additional information.
Caution: Warns you about commands or procedures that could have unexpected or
undesirable results including loss of data or damage to equipment.
Typographic conventions
FortiGate documentation uses the following typographical conventions:
ConventionExample
Keyboard inputIn the Gateway Name field, type a name for the remote VPN
Menu commandsGo to VPN > IPSEC > Phase 1 and select Create New.
Program outputWelcome!
Variables
Fortinet documentation
peer or client (for example, Central_Office_1).
established; --content "content here";
--no_case)
edit id_integer
set http_retry_count <retry_integer>
set natip <address_ipv4mask>
end
Authentication</TITLE></HEAD>
<BODY><H4>You must authenticate to use this
service.</H4>
<address_ipv4>
The most up-to-date publications and previous releases of Fortinet™ product
documentation are available from the Fortinet Technical Documentation web site
at http://docs.forticare.com.
The following FortiGate product documentation is available:
•FortiGate QuickStart Guide
Provides basic information about connecting and installing a FortiGate unit.
FortiGate IPS User Guide Version 3.0 MR7
601-30007-0080-20080916
Introduction Fortinet documentation
•FortiGate Installation Guide
Describes how to install a FortiGate unit. Includes a hardware reference,
default configuration information, installation procedures, connection
procedures, and basic configuration procedures. Choose the guide for your
product model number.
•FortiGate Administration Guide
Provides basic information about how to configure a FortiGate unit, including
how to define FortiGate protection profiles and firewall policies; how to apply
intrusion prevention, antivirus protection, web content filtering, and spam
filtering; and how to configure a VPN.
•FortiGate online help
Provides a context-sensitive and searchable version of the Administration
Guide in HTML format. You can access online help from the web-based
manager as you work.
•FortiGate CLI Reference
Describes how to use the FortiGate CLI and contains a reference to all
FortiGate CLI commands.
•FortiGate Log Message Reference
Describes the structure of FortiGate log messages and provides information
about the log messages that are generated by FortiGate units.
•FortiGate High Availability User Guide
Contains in-depth information about the FortiGate high availability feature and
the FortiGate clustering protocol.
•FortiGate IPS User Guide
Describes how to configure the FortiGate Intrusion Prevention System settings
and how the FortiGate IPS deals with some common attacks.
•FortiGate IPSec VPN User Guide
Provides step-by-step instructions for configuring IPSec VPNs using the webbased manager.
•FortiGate SSL VPN User Guide
Compares FortiGate IPSec VPN and FortiGate SSL VPN technology, and
describes how to configure web-only mode and tunnel-mode SSL VPN access
for remote users through the web-based manager.
•FortiGate PPTP VPN User Guide
Explains how to configure a PPTP VPN using the web-based manager.
•FortiGate Certificate Management Guide
Contains procedures for managing digital certificates including generating
certificate requests, installing signed certificates, importing CA root certificates
and certificate revocation lists, and backing up and restoring installed
certificates and private keys.
•FortiGate VLANs and VDOMs User Guide
Describes how to configure VLANs and VDOMS in both NAT/Route and
Transparent mode. Includes detailed examples.
FortiGate IPS User Guide Version 3.0 MR7
01-30007-0080-200809167
Customer service and technical supportIntroduction
Fortinet Knowledge Center
Additional Fortinet technical documentation is available from the Fortinet
Knowledge Center. The knowledge center contains troubleshooting and how-to
articles, FAQs, technical notes, and more. Visit the Fortinet Knowledge Center at
http://kc.forticare.com.
Comments on Fortinet technical documentation
Please send information about any errors or omissions in this document, or any
Fortinet technical documentation, to techdoc@fortinet.com.
Customer service and technical support
Fortinet Technical Support provides services designed to make sure that your
Fortinet systems install quickly, configure easily, and operate reliably in your
network.
Please visit the Fortinet Technical Support web site at http://support.fortinet.com
to learn about the technical support services that Fortinet provides.
FortiGate IPS User Guide Version 3.0 MR7
801-30007-0080-20080916
IPS overview and general configuration The FortiGate IPS
IPS overview and general
configuration
This section contains the following topics:
•The FortiGate IPS
•Network performance
•Monitoring the network and dealing with attacks
•Using IPS sensors in a protection profile
The FortiGate IPS
An IPS is an Intrusion Prevention System for networks. While early systems
focused on intrusion detection, the continuing rapid growth of the Internet, and the
potential for the theft of sensitive data, has resulted in the need for not only
detection, but prevention.
The FortiGate IPS detects intrusions by using attack signatures for known
intrusion methods, and detects anomalies in network traffic to identify new or
unknown intrusions. Not only can the IPS detect and log attacks, but users can
choose actions to take on the session when an attack is detected. This guide
describes how to configure and use the IPS and the IPS response to some
common attacks.
Both the IPS predefined signatures and the IPS engine are upgraded through the
FortiGuard Distribution Network (FDN). These upgrades provide the latest
protection against IM/P2P and other threats. Firmware upgrades will update
anomaly options. The FortiGate IPS default settings implement the recommended
settings for all signatures and anomalies. Signature settings and some anomaly
thresholds are pre-set to work best with the normal traffic on the protected
networks. You can create custom signatures for the FortiGate IPS in diverse
network environments.
Administrators are notified of intrusions and possible intrusions through log
messages and alert email.
Packet logging provides administrators with the ability to analyze packets for
forensics and false positive detection.
IPS settings and controls
Configure the Intrusion Protection system using either the web-based manager or
the CLI, then select IPS sensors in individual firewall protection profiles.
Note: If virtual domains are enabled on the FortiGate unit, the Intrusion Protection settings
are configured separately in each VDOM. All sensors and custom signatures will appear
only in the VDOM in which they were created.
FortiGate IPS User Guide Version 3.0 MR7
01-30007-0080-200809169
Network performanceIPS overview and general configuration
To create an IPS sensor, go to Intrusion Protection > IPS Sensor. See “IPS
sensors” on page 39 for details. To access the protection profile IPS sensor
selection, go to Firewall > Protection Profile, select Edit or Create New, and
select IPS.
To create a DoS Sensor, go to Intrusion Protection > DoS Sensor. See “DoS
sensors” on page 45 for details.
When to use IPS
IPS is best for large networks or for networks protecting highly sensitive
information. Using IPS effectively requires monitoring and analysis of the attack
logs to determine the nature and threat level of an attack. An administrator can
adjust the threshold levels to ensure a balance between performance and
intrusion prevention. Small businesses and home offices without network
administrators may be overrun with attack log messages and not have the
networking background required to configure the thresholds and other IPS
settings. In addition, the other protection features in the FortiGate unit, such as
antivirus (including grayware), spam filters, and web filters offer excellent
protection for all networks.
Network performance
The FortiGate IPS is extremely accurate and reliable as an in-line network device.
Independent testing shows that the FortiGate IPS successfully detects and blocks
attacks even under high traffic loads, while keeping latency within expected limits.
This section describes:
•Default signature and anomaly settings
•Default fail open setting
•Controlling sessions
•Setting the buffer size
Default signature and anomaly settings
You can use IPS sensors to apply appropriate IPS signatures to different
protection profiles, then different firewall policies.
Default fail open setting
If for any reason the IPS should cease to function, it will fail open by default. This
means that crucial network traffic will not be blocked and the Firewall will continue
to operate while the problem is resolved.
Change the default fail open setting using the CLI:
config ips global
end
set fail-open [enable | disable]
FortiGate IPS User Guide Version 3.0 MR7
1001-30007-0080-20080916
IPS overview and general configuration Monitoring the network and dealing with attacks
Controlling sessions
Use this command to ignore sessions after a set amount of traffic has passed.
The default is 204800 bytes.
config ips global
set ignore-session-bytes <byte_integer>
end
Setting the buffer size
Set the size of the IPS buffer. The size of the buffer is model-dependent.
config ips global
set socket-size <ips_buffer_size>
end
Monitoring the network and dealing with attacks
After configuring IPS and enabling it in protection profiles, it is time to set up
tracking and notification of attacks. Enabling logging and alert email to maintain
user awareness of attacks on the network.
The next step is dealing with attacks if and when they occur. The FortiGuard
Center at http://www.fortinet.com/FortiGuardCenter/ provides a comprehensive
Attack Encyclopedia to help decide what actions to take to further protect the
network.
This section describes:
•Configuring logging and alert email
•Attack log messages
•The FortiGuard Center
Configuring logging and alert email
Whenever the IPS detects or prevents an attack, it generates an attack log
message that can be recorded or sent as an alert email.
The FortiGate unit categorizes attack log messages by signature or anomaly and
includes the attack name in the log message. Enable logging and alert email for
attack signatures and attack anomalies.
Note: Attack and intrusion attempts occur frequently on networks connected to the Internet.
Reduce the number of log messages and alert email by disabling signatures for attacks that the
system is not vulnerable to (for example, web attacks when not running a web server).
To configure logging and alert email for IPS events using the web-based
manager
1Go to Log&Report > Log Config > Log Setting.
2Select and configure the settings for any logging locations to use.
3Select Apply.
4Go to Log&Report > Log Config > Alert Email.
FortiGate IPS User Guide Version 3.0 MR7
01-30007-0080-2008091611
Monitoring the network and dealing with attacksIPS overview and general configuration
5Select and configure authentication if required and enter the email addresses that
will receive the alert email.
6Enter the time interval to wait before sending log messages for each logging
severity level.
Note: If more than one log message is collected before an interval is reached, the messages
are combined and sent out as one alert email.
7Select Apply.
To access log messages from memory or on the local disk
View and download log messages stored in memory or on the FortiGate local disk
from the web-based manager. Go to Log&Report > Log Access and select the
log type to view.
See the FortiGate Administration Guide and the FortiGate Log Message Reference Guide for more logging procedures.
Attack log messages
Signature
The following log message is generated when an attack signature is found:
Fortinet Attack Encyclopedia in the FortiGuard Center. Copy and paste
the URL from the log message into your browser to go directly to the
signature description in the Attack Encyclopedia.
FortiGate IPS User Guide Version 3.0 MR7
1201-30007-0080-20080916
IPS overview and general configuration Monitoring the network and dealing with attacks
Anomaly
The following log message is generated when an attack anomaly is detected:
Fortinet Attack Encyclopedia in the FortiGuard Center. Copy and paste
the URL from the log message into your browser to go directly to the
signature description in the Attack Encyclopedia.
The FortiGuard Center
The FortiGuard Center combines the knowledge base of the Fortinet technical
team into an easily searchable database. FortiGuard Center includes both virus
and attack information. Go to http://www.fortinet.com/FortiGuardCenter/.
Search for attacks in the FortiGuard Attack Encyclopedia by any of the criteria
shown in Figure 1.
Figure 1: Searching the FortiGuard Attack Encyclopedia
Type in the name or ID of the attack, or copy and paste the URL from the log
message or alert email into a browser.
FortiGate IPS User Guide Version 3.0 MR7
01-30007-0080-2008091613
Using IPS sensors in a protection profileIPS overview and general configuration
Using IPS sensors in a protection profile
IPS can be combined with other FortiGate features – antivirus, spam filtering, web
filtering, and web category filtering – to create protection profiles. Protection
profiles are then added to individual user groups and then to firewall policies, or
added directly to firewall policies.
This section describes:
•Creating a protection profile that uses IPS sensors
•Adding protection profiles to firewall policies
•Adding protection profiles to user groups
Creating a protection profile that uses IPS sensors
To create a protection profile using the web-based manager
1Go to Firewall > Protection Profile.
2Select Create New.
Figure 2: New Protection Profile
3Enter a name for the protection profile.
4Expand the IPS option list.
5Select an IPS sensor from the dropdown list. For information about IPS sensors,
see “IPS sensors” on page 39.
6Configure any other required protection profile options.
7Select OK.
The protection profile can now be added to any firewall policies that require it. The
protection profile can also be added to user groups and these user groups can be
used to apply authentication to firewall policies.
Adding protection profiles to firewall policies
Adding a protection profile to a firewall policy applies the profile settings, including
IPS, to traffic matching that policy.
FortiGate IPS User Guide Version 3.0 MR7
1401-30007-0080-20080916
IPS overview and general configuration Using IPS sensors in a protection profile
Adding protection profiles to user groups
When creating a user group, select a protection profile that applies to that group.
Then, when configuring a firewall policy that includes user authentication, select
one or more user groups to authenticate. Each user group selected for
authentication in the firewall policy can have a different protection profile, and
therefore different IPS settings, applied to it.
FortiGate IPS User Guide Version 3.0 MR7
01-30007-0080-2008091615
Using IPS sensors in a protection profileIPS overview and general configuration
FortiGate IPS User Guide Version 3.0 MR7
1601-30007-0080-20080916
Predefined signatures IPS predefined signatures
Predefined signatures
This section describes:
•IPS predefined signatures
•Viewing the predefined signature list
IPS predefined signatures
Predefined signatures are arranged in alphabetical order. By default, some
signatures are disabled to prevent interference with common traffic, but logging is
enabled for all signatures.
Use the IPS sensor to customize the predefined signatures and apply appropriate
sensors to different protection profiles. For details, see “IPS sensors” on page 39.
Note: By allowing your IPS signature settings to run on default, you may be slowing down
the overall performance of the FortiGate unit. By fine tuning the predefined signature and
logging setting, you can ensure maximum performance as well as maximum protection.
See “Fine tuning IPS predefined signatures for enhanced system performance” on
page 18.
Viewing the predefined signature list
The predefined signature list displays the characteristics of each signature. Use
these characteristics to define which signatures are included in your IPS sensors.
The signature list also displays the default action, the default logging status, and
whether the signature is enabled by default.
Note: If virtual domains are enabled on the FortiGate unit, the Intrusion Protection settings
are configured separately in each VDOM. All sensors and custom signatures will appear
only in the VDOM in which they were created.
To view the predefined signature list, go to Intrusion Protection > Signature >
Predefined. You can also use filters to display the signatures you want to view.
Figure 3: Predefined signature list
FortiGate IPS User Guide Version 3.0 MR7
01-30007-0080-2008091617
Viewing the predefined signature listPredefined signatures
By default, the signatures are sorted by name. To sort the table by another
column, select the required column header name.
Column
Settings
Clear All Filters If you have applied filtering to the predefined signature list display, select
NameThe name of the signature, linked to the FortiGuard Center web page
SeverityThe severity rating of the signature. The severity levels, from lowest to
Tar getThe target of the signature. Servers, clients, or both.
ProtocolsThe protocol the signature applies to.
OSThe operating system the signature applies to.
ApplicationsThe applications the signature applies to.
EnableThe default status of the signature. A green circle indicates the signature
ActionThe default action for the signature. The available actions are pass and
IDA unique numeric identifier for the signature.
LoggingThe default logging behavior of the signature. A green circle indicates
GroupA functional group that is assigned to the signature. This group is only
Packet LogThe default packet log status of the signature. A green circle indicates
RevisionThe revision level of the signature. If the signature is updated, the
Select to customize the signature information displayed in the table. You
can also readjust the column order.
this option to clear all filters and display all the signatures.
about the signature.
highest, are Information, Low, Medium, High, and Critical.
is enabled. A gray circle indicates the signature is not enabled.
drop.
•Pass allows the traffic to continue without any modification. If you
want to determine what effect IPS protection would have on your
network traffic, you can enable the required signatures, set the action
to pass, and enable logging. Traffic will not be interrupted, but you
will be able to examine in detail which signatures were detected.
•Drop prevents the traffic with detected signatures from reaching its
destination.
If logging is enabled, the action appears in the status field of the log
message generated by the signature.
logging is enabled. A gray circle indicates logging is disabled.
for reference and cannot be used to define filters.
packet log is enabled. A gray circle indicates packet log is disabled.
revision number will be incremented.
Fine tuning IPS predefined signatures for enhanced system performance
In FortiOS the FortiGate unit will have most of the predefined signatures enabled
and will log all of them by default. To meet your specific network requirements, you
need to fine tune the signature settings.
By fine tuning the signatures and log settings you can provide the best protection
available but also free up valuable FortiGate resources. Fine tuning enables you
to turn off features that you are not using. By turning off signatures and logs that
you do not use, you allow the FortiGate unit to perform tasks faster thus improving
overall system performance.
Not all systems require you to scan for all signatures of the IPS suite all the time.
By configuring the FortiGate unit to not monitor for these signatures, you will
maintain a high level of security and increase overall performance.
FortiGate IPS User Guide Version 3.0 MR7
1801-30007-0080-20080916
Predefined signatures Viewing the predefined signature list
You should also review exactly how you use the information provided by the
logging feature. If you find that you do not review the information, it is best to turn
off IPS logging. Logging is best used to provide actionable intelligence.
To create an IPS sensor
1Go to Intrusion Protection > IPS Sensor.
2Create a sensor and add IPS filters to it.
FortiGate IPS User Guide Version 3.0 MR7
01-30007-0080-2008091619
Loading...
+ 43 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.