You can configure DNS attack settings
in a DoS profile that already exists, or create a new one.
The BIG-IP® system handles DNS attacks that use malformed
packets, protocol errors, and malicious attack vectors. Protocol error attack detection
settings detect malformed and malicious packets, or packets that are employed to flood
the system with several different types of responses, by detecting packets per second
and detecting percentage increase in packets over time. You can configure settings to
identify and rate limit possible DNS attacks with a DoS profile.
-
On the Main tab, click .
The DoS Profiles list screen opens.
-
Click Create.
The New DoS Profile screen opens.
-
In the Name field, type the name for the profile.
-
Click Finished.
The DoS Protection: DoS Profiles screen opens.
-
Click the name of the DoS profile you want to modify.
-
Select the Threshold Sensitivity.
Select Low, Medium, or
High. A lower setting means the automatic threshold
algorithm is less sensitive to changes in traffic and CPU usage, but will also
trigger fewer false positives.
-
If you have created a whitelist on the system, in the Default
Whitelist field, begin typing the name of the address list to
use as the whitelist, and select the list when the name appears.
-
To configure DNS security settings, click Protocol
Security, and choose DNS Security.
-
To configure enforcement and settings for a DNS vector, in the
Attack Type column, click the vector name.
The vector properties pane opens on the right.
-
From the State list, choose the appropriate enforcement
option.
- Select
Mitigate to enforce the configured DoS vector by
examining packets, logging the results of the vector, learning patterns,
alerting to trouble, and mitigating the attack (watch, learn, alert, and
mitigate).
- Select Detect
Only to configure the vector, log the results of the vector
without applying rate limits or other actions, and alerting to trouble
(watch, learn, and alert).
- Select Learn Only to configure the vector, log
the results of the vector, without applying rate limits or other actions
(watch and learn).
- Select
Disabled to disable logging and enforcement of
the DoS vector (no stat collection, no mitigation).
-
For Threshold Mode, select whether to have the system
determine thresholds for the vector (Fully Automatic),
have partially automatic settings (Manual Detection / Auto
Mitigation), or, you can control the settings (Fully
Manual).
The settings differ depending on the option you select. Here, we describe the
settings for automatic threshold configuration. If you want to set thresholds
manually, select one of the manual options and refer to online Help for details
on the settings.
-
To allow the DoS vector thresholds to be automatically adjusted, for
Threshold Mode, select Fully
Automatic.
-
In the Attack Floor EPS field, type the number
of events per second of the vector type to allow at a minimum, before
automatically calculated thresholds are determined.
Because automatic thresholds take time to be reliably established,
this setting defines the minimum packets allowed before automatic
thresholds are calculated.
-
In the Attack Ceiling EPS field, specify the
absolute maximum allowable for packets of this type before automatically
calculated thresholds are determined.
Because automatic thresholds take time to be reliably established,
this setting rate limits packets to the events per second setting, when
specified. To set no hard limit, set this to
Infinite.
-
To detect IP address sources from which possible attacks originate, enable
Bad Actor Detection.
Note: Bad Actor
Detection is not available for every vector.
-
To automatically blacklist bad actor IP addresses, select Add Source
Address to Category.
Important: For this to work, you need to assign an IP Intelligence
policy to the appropriate context (device, virtual server, or route domain).
For the device, assign a global policy: . For the virtual server or route domain, assign the IP
Intelligence policy on the Security tab.
-
From the Category Name list, select the blacklist
category to which to add blacklist entries generated by Bad Actor
Detection.
-
In the Sustained Attack Detection Time field, specify
the duration in seconds after which the attacking endpoint is blacklisted. By
default, the configuration adds an IP address to the blacklist after one minute
(60 seconds).
-
In the Category Duration Time field, specify the length
of time in seconds that the address will remain on the blacklist. The default is
14400 seconds (4 hours).
-
To allow IP source blacklist entries to be advertised to edge routers so they
will null route their traffic, select Allow External
Advertisement.
Note: To advertise to
edge routers, you must configure a Blacklist Publisher and Publisher Profile
at .
-
Click Update to save your changes.
You have now configured a DoS
Protection profile to provide custom responses to malicious DNS protocol attacks, to
allow such attacks to be identified in system logs and reports, and to allow rate
limiting and other actions when such attacks are detected. DNS queries on particular
record types you have configured in the DNS Query Attack Detection area are detected as
attacks at your specified thresholds and rate increases, and rate limited as
specified.
Associate a DNS profile with a virtual server to enable the virtual server to
handle DNS traffic. Associate the DoS Protection profile with a virtual server to apply
the settings in the profile to traffic on that virtual server.