Header
Home | Set as homepage | Add to favorites
  Search the Site     » Advanced Search
Sections
Syndication


Blogroll:

||||| ALL Cisco-Network ARTICLES |||||  
CCIE Journey,
The CCIE Journey,


The SWEEP Micro-Engine

Nov 24,2008 by admin

image

The SWEEP Micro-Engine

All of the SWEEP signatures alarm conditions depend on the count of the Unique parameter. Unique is the threshold parameter that causes the signature to fire the alarm when more than the configured "Unique" number of ports and hosts is seen on the address set within the time period. This process, tracking unique port/host traffic, is referred to as counting. In order for traffic to be put into the counting section, other parameters such as Mask/TcpFlags, IcmpType, WantFrag Boolean, and/or the UDP ports. If the packet conditions are not met and the sweep occurs, review the settings for these parameters and tune as necessary.

The SWEEP micro-engines include the following types.

SWEEP.HOST.*

The SWEEP.HOST.* micro-engines analyze traffic from a single host to many hosts, particularly ICMP and TCP. The two micro-engines are SWEEP.HOST.ICMP and SWEEP.HOST.TCP (see Figures 7.17 and 7.18). The signatures fire when the Unique count of host exceeds the configured setting. Examples of these signature are

Table 7.14 shows the configurable parameters for SWEEP.HOST.ICMP signatures.

Table 7.14: SWEEP.HOST.ICMP Parameters

Parameter

Data Type

Protected

Required

Description

Master parameters

     

Refer to Table 7.1 for the master parameters.

IcmpType

Number

No

Yes

ICMP header type of interest.

Unique

Number 2–40

No

Yes

Maximum Unique connections to the target.

Table 7.15 shows the configurable parameters for SWEEP.HOST.TCP signatures.

Table 7.15: SWEEP.HOST.TCP Parameters

Parameter

Data Type

Protected

Required

Description

Master parameters

     

Refer to Table 7.1 for the master parameters.

Mask

BITSET: FIN/SIN/RST/ PSH/ACK/URG

No

Yes

Mask used for TcpFlags comparison.

TcpFlags

BITSET: FIN/SIN/RST/ PSH/ACK/URG

Yes

Yes

TCP used tomatch when masked by the Mask parameter.

Unique

Number 2–40 connections to the target.

No

Yes

Maximum Unique

SWEEP.PORT.*

The SWEEP.PORT.* micro-engines analyze the traffic between two specific hosts and ports. Like the SWEEP.HOST.* engines, SWEEP.PORT.* engines count unique port connections between the hosts. The two micro-engines that fall into this category are SWEEP.PORT.TCP and SWEEP.PORT.UDP (see Figures 7.19 and 7.20). The signatures fire when the Unique count of port connections exceeds the configured setting. At this time, there are only 14 signatures total in these two micro-engines. They are

Table 7.16 shows the configurable parameters for SWEEP.PORT.TCP signatures.

Table 7.16: SWEEP.PORT.TCP Parameters

Parameter

Data Type

Protected

Required

Description

Master parameters

     

Refer to Table 7.1 for the master parameters.

InvertedSweep

Boolean: True/False

No

NO

Parameter to force the sensor to compare the signature against traffic to the source port instead of the destination port for unique counting.

Mask

BITSET: FIN/SIN/RST/ PSH/ACK/URG

Yes

Yes

Mask used for TcpFlags comparison.

PortRange

Number

No

Yes

Three port range options:(1) for low ports, (2) for high ports, (0) for all ports.

SupressReserve

Boolean: True/False

No

No

Suppresses the alarm when a sweep is going in the opposite direction.

TcpFlags

BITSET: FIN/SIN/RST/ PSH/ACK/URG

Yes

Yes

TCP used to match when masked by the Mask parameter.

Unique

Number 2–40

No

Yes

Maximum Unique connections to the target.

Table 7.17 shows the configurable parameters for SWEEP.PORT.UDP signatures.

Table 7.17: SWEEP.PORT.UDP Parameters

Parameter

Data Type

Protected

Required

Description

Master parameters

     

Refer to Table 7.1 for the master parameters.

PortsInclude

String

Yes

Yes

List of ports and/or ranges for the engine to inspect for sweeps.

Unique

Number 2–40

No

Yes

Maximum Unique connections between two hosts.

SWEEP.RPC

SWEEP.RPC is the final SWEEP micro-engine (Figure 7.21). It analyzes Remote Procedure Call (RPC) traffic between hosts. The signatures that fall under the SWEEP.RPC micro-engine are

Table 7.18 shows the configurable parameters for SWEEP.RPC signatures.

Table 7.18: SWEEP.RPC Parameters

Parameter

Data Type

Protected

Required

Description

Master parameters

     

Refer to Table 7.1 for the master parameters.

RpcProgram

Number

Yes

Yes

RPC program number request.

Unique

Number 2–40

No

Yes

Maximum allowed destination ports receiving RPCs with program number request RpcProgram.

If you would like more information regarding any of the preceding signatures refer to Appendix A or go to Cisco's web site: http://www.cisco.com.

The OTHER Engine

After going through the ten or so different signature series and becoming familiar with the different micro-engines, you may have wondered: what if there is a signature that does not fit the other engines? What happens? Does Cisco just forget about it? Not a chance. What Cisco has done is create an engine for all the signatures that do not fit any other engine protocol decode. It's called the OTHER engine. The OTHER engine does not allow you to define any custom signatures or add any signatures. The signatures that fall into the OTHER engine are

Table 7.19 shows the configurable parameters for the OTHER micro-engine signatures.

Table 7.19: OTHER Micro-Engine Parameters

Parameter

Data Type

Protected

Required

Description

HijackMax OldAck

Number

No

No

Maximum number of old dataless client-to-server ACKs allowed before a Hijack alarm is triggered.

HijackReset

BOOLEAN; True/False

No

No

Hijack signature requires a reset.

ServicePorts

Port Range

No

No

List of ports and/or port ranges the target service may be listening to.

SynFloodMax Embryonic

Number

No

No

The maximum number of simultaneous embryonic connections allowed to any service. Embryonic connections are half-open connections.

TrafficFlow Timeout

NUMBER

No

No

This is the number of seconds that no traffic is detected on the segment.


399 times read

Related news

» Cisco IDS Signature Micro-Engines
by admin posted on Nov 24,2008
» The STRING Micro-Engine
by admin posted on Nov 24,2008
» The FLOOD Micro-Engine
by admin posted on Nov 24,2008
» The STATE.HTTP Micro-Engine
by admin posted on Nov 24,2008
» Signature Severity
by alperen posted on Mar 10,2010
Did you enjoy this article?
(total 0 votes)

comment Comments (0 posted) 

More Top News
CCSP-Cisco Certified Security Professional
Most Popular
Most Commented
Featured Author