Fortinet Document Library

Version:

Version:

Version:

Version:

Version:

Version:


Table of Contents

Related Videos

sidebar video

Botnet C&C in Intrusion Prevention Systems

  • 2,225 views
  • 3 years ago

Administration Guide

IPS with botnet C&C IP blocking

The Botnet C&C section consolidates multiple botnet options in the IPS profile. This allows you to enable botnet blocking across all traffic that matches the policy by configuring one setting in the GUI, or by the scan-botnet-connections option in the CLI.

To configure botnet C&C IP blocking in the GUI:
  1. Go to Security Profiles > Intrusion Prevention, and click Create New to create a new IPS sensor, or double-click an existing IPS sensor to open it for editing.
  2. Navigate to the Botnet C&C section.
  3. For Scan Outgoing Connections to Botnet Sites, select Block or Monitor.

  4. Configure the other settings as needed.
  5. Click OK to save the IPS sensor.
  6. Add the IPS sensor to a firewall policy.

    The IPS engine will scan outgoing connections to botnet sites. If you access a botnet IP address, an IPS log is generated for this attack.

  7. Go to Log & Report > Intrusion Prevention to view the log.

To configure botnet C&C IP blocking in the CLI:

config ips sensor

edit "Demo"

set scan-botnet-connections {disable | block | monitor}

next

end

Note

The scan-botnet-connections option is no longer available in the following CLI commands:

  • config firewall policy
  • config firewall interface-policy
  • config firewall proxy-policy
  • config firewall sniffer

Botnet IPs and domains lists

To view botnet IPs and domains lists:
  1. Go to System > FortiGuard.
  2. Expand License Information > Intrusion Prevention to view Botnet IPs and Botnet Domains information.
  3. Click View List for more details.

Botnet C&C domain blocking

To block connections to botnet domains:
  1. Go to Security Profiles > DNS Filter, and click Create New, or double-click an existing filter to open it for editing.
  2. Enable Redirect botnet C&C requests to Block Portal.

  3. Configure the other settings as needed.
  4. Click OK.
  5. Add the filter profile to a firewall policy.

Botnet C&C URL blocking

To block malicious URLs:
  1. Go to Security Profiles > Intrusion Prevention, and click Create New, or double-click an existing filter to open it for editing.
  2. Enable Block malicious URLs.

  3. Configure the other settings as needed.
  4. Click OK.
  5. Add the sensor to a firewall policy.

Botnet C&C signature blocking

To add IPS signatures to a sensor:
  1. Go to Security Profiles > Intrusion Prevention, and click Create New, or double-click an existing sensor to open it for editing.
  2. In the IPS Signatures and Filters section, click Create New. A list of available signatures appears.
  3. For Type, select Signature. Select the signatures you want to include from the list.
  4. Configure the other settings as needed.
  5. Click Add Selected.

  6. Click OK to add the IPS signatures to the IPS sensor.
  7. Click OK to save the IPS sensor.
  8. Add the sensor to a firewall policy to detect or block attacks that match the IPS signatures.

Related Videos

sidebar video

Botnet C&C in Intrusion Prevention Systems

  • 2,225 views
  • 3 years ago

IPS with botnet C&C IP blocking

The Botnet C&C section consolidates multiple botnet options in the IPS profile. This allows you to enable botnet blocking across all traffic that matches the policy by configuring one setting in the GUI, or by the scan-botnet-connections option in the CLI.

To configure botnet C&C IP blocking in the GUI:
  1. Go to Security Profiles > Intrusion Prevention, and click Create New to create a new IPS sensor, or double-click an existing IPS sensor to open it for editing.
  2. Navigate to the Botnet C&C section.
  3. For Scan Outgoing Connections to Botnet Sites, select Block or Monitor.

  4. Configure the other settings as needed.
  5. Click OK to save the IPS sensor.
  6. Add the IPS sensor to a firewall policy.

    The IPS engine will scan outgoing connections to botnet sites. If you access a botnet IP address, an IPS log is generated for this attack.

  7. Go to Log & Report > Intrusion Prevention to view the log.

To configure botnet C&C IP blocking in the CLI:

config ips sensor

edit "Demo"

set scan-botnet-connections {disable | block | monitor}

next

end

Note

The scan-botnet-connections option is no longer available in the following CLI commands:

  • config firewall policy
  • config firewall interface-policy
  • config firewall proxy-policy
  • config firewall sniffer

Botnet IPs and domains lists

To view botnet IPs and domains lists:
  1. Go to System > FortiGuard.
  2. Expand License Information > Intrusion Prevention to view Botnet IPs and Botnet Domains information.
  3. Click View List for more details.

Botnet C&C domain blocking

To block connections to botnet domains:
  1. Go to Security Profiles > DNS Filter, and click Create New, or double-click an existing filter to open it for editing.
  2. Enable Redirect botnet C&C requests to Block Portal.

  3. Configure the other settings as needed.
  4. Click OK.
  5. Add the filter profile to a firewall policy.

Botnet C&C URL blocking

To block malicious URLs:
  1. Go to Security Profiles > Intrusion Prevention, and click Create New, or double-click an existing filter to open it for editing.
  2. Enable Block malicious URLs.

  3. Configure the other settings as needed.
  4. Click OK.
  5. Add the sensor to a firewall policy.

Botnet C&C signature blocking

To add IPS signatures to a sensor:
  1. Go to Security Profiles > Intrusion Prevention, and click Create New, or double-click an existing sensor to open it for editing.
  2. In the IPS Signatures and Filters section, click Create New. A list of available signatures appears.
  3. For Type, select Signature. Select the signatures you want to include from the list.
  4. Configure the other settings as needed.
  5. Click Add Selected.

  6. Click OK to add the IPS signatures to the IPS sensor.