Block exploit attempts using intrusion prevention

The intrusion prevention module protects your computers from known and zero-day vulnerability attacks as well as against SQL injections attacks, cross-site scripting attacks, and other web application vulnerabilities.

When patches are not available for known vulnerabilities in applications or operating systems, intrusion prevention rules can intercept traffic that is trying to exploit the vulnerability. It identifies malicious software that is accessing the network and it increases visibility into, or control over, applications that are accessing the network. Therefore your computers are protected until patches that fix the vulnerability are released, tested, and deployed.

Protection is available for file sharing and messaging software such as Skype, but also web applications with vulnerabilities such as SQL injection and cross-site scripting (XSS). In this way, intrusion prevention can also be used as a lightweight web application firewall (WAF).

To enable and configure intrusion prevention, see Set up intrusion prevention.

Intrusion prevention rules

Intrusion prevention rules define a set of conditions that are compared to the payload session and application layers of network packets (such as DNS, HTTP, SSL, and SMTP), as well as the sequence of those packets according to those higher-layer protocols.

Firewall rules examine the network and transport layers of a packet (IP, TCP, and UDP, for example).

When Deep Security Agents scan network traffic and the traffic meets a rule's match conditions, the agent handles it as a possible or confirmed attack and performs one of the following actions, depending on the rule:

  • Replace specifically defined or suspicious byte sequences
  • Completely drop packets
  • Reset the connection

Intrusion prevention rules are assigned to policies and computers. Therefore you can enforce sets of rules on groups of computers based on the policy that they use, and override policies as required. (See Policies, inheritance, and overrides.)

For information about how you can affect the functionality of rules, see Configure intrusion prevention rules.

Application types

Application types organize rules by the application that they are associated with. Application types can also store property values that rules can reference as required, such as protocols used for communications, and port numbers. Some application types have configurable properties. For example, the Database Microsoft SQL application type contains rules that are associated with Microsoft SQL Server. You can configure this application type to specify the ports used to connect to the database.

For more information, see Application types.

Rule updates

Trend Micro creates intrusion prevention rules for application vulnerabilities as they are discovered. Security updates can include new or updated rules and application types. When a rule is already assigned to a policy, and an update includes rules upon which the assigned rule depends, you can choose to automatically assign the updated rules.

Intrusion prevention rules from Trend Micro include information about the vulnerability against which it protects.

Intrusion prevention rules from Trend Micro are not directly editable through Deep Security Manager. However some rules are configurable, and some rules require configuration. (See Setting configuration options (Trend Micro rules only).)

Recommendation scans

You can use recommendation scans discover the intrusion prevention rules that you should assign to your policies and computers. (See Manage and run recommendation scans.)

Use behavior modes to test rules

Intrusion protection works in either Detect or Prevent mode:

  • Detect: Intrusion prevention uses rules to detect matching traffic and generate events, but does not block traffic. Detect mode is useful to test that intrusion prevention rules do not interfere with legitimate traffic.
  • Prevent: Intrusion detention uses rules to detect matching traffic, generate events, and block traffic to prevent attacks.

When you first apply new intrusion prevention rules, use Detect mode to verify that they don't accidentally block normal traffic (false positives). When you are satisfied that no false positives occur, you can use Prevent mode to enforce the rules and block attacks. (See Enable intrusion prevention in Detect mode and Switch to prevent mode.)

Similar to using intrusion prevention in Detect mode, the Deep Security network engine can run in tap mode for testing purposes. In tap mode, intrusion prevention detects rule-matching traffic and generates events, but doesn't block traffic. However, tap mode uses a copy of the packet stream, not the actual stream. Also, tap mode affects the firewall and web reputation modules. You can use Detect mode to test intrusion prevention rules separately.
You use tap mode with intrusion prevention in the same way that tap mode is used for testing firewall rules. See Test firewall rules before deploying them.

Override the behavior mode for rules

You can configure a rule's behavior mode to override the mode that is set for intrusion prevention at the policy or computer level. Overriding is useful for testing new rules that are applied to a policy or computer. For example, when a policy is configured such that intrusion prevention works in Protect mode , you can configure a rule to use Detect mode. For that rule only, intrusion prevention merely logs the traffic, and enforces other rules that do not override the policy's behavior mode. (See Override the behavior mode for a rule.)

Some rules issued by Trend Micro use Detect mode by default. For example, mail client rules generally use Detect mode because in Protect mode they block the downloading of all mail. Some rules trigger an alert only when a condition occurs a large number times, or a certain number of times within a certain period of time. These types of rules apply to traffic that constitutes suspicious behavior only when a condition recurs, and a single occurrence of the condition is considered normal.

To prevent blocking legitimate traffic and interrupting network services, when a rule requires configuration, keep it in Detect mode until you've configured the rule. Switch a rule to Prevent mode only after configuration and testing.

Intrusion prevention events

By default, the Deep Security Manager collects firewall and intrusion prevention event logs from the Deep Security agents and appliancesClosedThe Deep Securty Agent and Deep Security Virtual Appliance are the components that enforce the Deep Security policies that you have defined. Agents are deployed directly on a computer. Appliances are used in VMware vSphere environments to provide agentless protection. They are not available with Deep Security as a Service. at every heartbeat. Once collected by the Deep Security Manager, event logs are kept for a period of time which can be configured. The default setting is one week. (See Log and event storage best practices.) You can configure event logging for individual rules as required. (See Configure event logging for rules.)

Event tagging can help you to sort events. You can manually apply tags to events or automatically tag them. You can also use the auto-tagging feature to group and label multiple events. For more information on event tagging, see Apply tags to identify and group events.

Support for secure connections

The intrusion prevention module supports inspecting packets over secure connections. See Inspect SSL or TLS traffic.

Contexts

Contexts are a powerful way of implementing different security policies depending on the computer's network environment. You typically use contexts to create policies that apply different firewall and intrusion prevention rules to computers (usually mobile laptops) depending on whether that computer is in the office or away.

To determine a computer's location, contexts examine the nature of the computer's connection to its domain controller. For more information, see Define contexts for use in policies.

Interface tagging

You can use interface types when you need to assign firewall or intrusion prevention rules to a specific interface when a machine has multiple network interfaces. By default, firewall and intrusion prevention rules are assigned to all interfaces on a computer. For example, to apply special rules only to the wireless network interface, use interface types to accomplish this. For more information, see Configure a policy for multiple interfaces.