WO2008106084A1 - Timestamp analysis of segments in a transmission control protocol (tcp) session - Google Patents

Timestamp analysis of segments in a transmission control protocol (tcp) session Download PDF

Info

Publication number
WO2008106084A1
WO2008106084A1 PCT/US2008/002454 US2008002454W WO2008106084A1 WO 2008106084 A1 WO2008106084 A1 WO 2008106084A1 US 2008002454 W US2008002454 W US 2008002454W WO 2008106084 A1 WO2008106084 A1 WO 2008106084A1
Authority
WO
WIPO (PCT)
Prior art keywords
timestamp
segments
tcp
target
segment
Prior art date
Application number
PCT/US2008/002454
Other languages
French (fr)
Inventor
Steven Sturges
Judy Hollis Novak
Original Assignee
Sourcefire, Inc.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sourcefire, Inc. filed Critical Sourcefire, Inc.
Publication of WO2008106084A1 publication Critical patent/WO2008106084A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/14Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic
    • H04L63/1408Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic by monitoring network traffic

Definitions

  • the present invention relates in general to network traffic analysis, and more specifically to determining whether segments in a transmission control protocol (TCP) connection are acceptable, optionally in connection with intrusion detection/prevention.
  • TCP transmission control protocol
  • the transport layer protocol utilized in packet network communications can include extensions such as a TCP timestamp option, which is used by many current operating systems.
  • TCP timestamps can provide an indication of when to discard delayed segments - a process known as Protection against Wrapped Sequences (PAWS).
  • PAWS Protection against Wrapped Sequences
  • RFC 1323 summarizes the timestamp as "From the receiver's viewpoint, the timestamp is acting as a logical extension of the high- order bits of the sequence number." Accordingly, a segment which the receiving host regards as delayed per the timestamp can be discarded by the receiving host.
  • an intrusion detection or prevention system utilizes a single method for analyzing and filtering segments based on timestamps, it may not analyze the same reassembled payload as a particular operating system at the destination. Consequently, an attack might successfully employ TCP timestamp value mutations to evade detection. The potential for evasion using TCP timestamps has apparently gone unnoticed.
  • one or more embodiments of the present invention provide methods, systems, and computer readable mediums, optionally for an intrusion detection/prevention system, for determining whether a transmission control protocol (TCP) segment in a TCP connection in a communication network is acceptable, the TCP connection including a plurality of TCP segments beginning with a three way handshake, wherein a TCP segment includes a field for a timestamp.
  • a timestamp policy of plural timestamp policies is identified, the timestamp policy corresponding to a target associated with the segments in a TCP connection.
  • a baseline timestamp is identified based on a three way handshake in the TCP connection. Segments in the TCP connection are monitored.
  • the segments in the TCP connection are filtered as indicated in the timestamp policy corresponding to the target, the timestamp policy indicating whether the segments are to be filtered out or forwarded to the target by comparing the timestamp of the segments to the baseline timestamp.
  • a unit is configured to facilitate determining a kind of host associated with a target, in response to an indication of the target in segments in a transmission control protocol (TCP) connection.
  • a segment filtering unit is configured to facilitate identifying a timestamp policy of plural timestamp policies, the timestamp policy corresponding to the target associated with the segments in the TCP connection, the timestamp policy indicating whether the segments are to be filtered out or retained for the target by comparing the timestamp of the segments to a baseline timestamp, the baseline timestamp being based on a three way handshake in the TCP connection, and providing the segments in the TCP connection if retained.
  • Still other embodiments provide for a computer-readable medium having instructions for execution by a computer, the instructions including a computer-implemented method performed in an intrusion detection/prevention system, for analyzing segments in a transmission control protocol (TCP) connection in a communication network, the TCP connection including TCP segments beginning with a three way handshake, wherein a TCP segment includes a field for a timestamp and a field for a sequence number.
  • the instructions include monitoring a plurality of segments in a TCP connection.
  • the instructions include filtering the segments in the TCP connection as indicated in a timestamp policy corresponding to the target, the timestamp policy indicating whether the segments are to be filtered out or forwarded to the target by comparing the timestamp of the segments to the baseline timestamp and by evaluating sequence numbers identified in the segments to determine whether the timestamp is valid for the target relative to the timestamps of prior segments in the sequence according to the sequence numbers.
  • FIG. 1 is a diagram illustrating a simplified and representative environment associated with timestamp analysis
  • FIG. 2 is a diagram illustrating a simplified packet flow associated with timestamp analysis
  • FIG. 3 is a block diagram illustrating transport TCP/IP layer processing
  • FIG. 4 is a block diagram illustrating portions of an Internet protocol (IP) header in a segment
  • FIG. 5 is a block diagram illustrating portions of a TCP header in a segment
  • FIG. 6 is a block diagram illustrating portions of an exemplary computer system
  • FIG. 7 is a flow chart illustrating an exemplary procedure for determining whether a
  • TCP segment is acceptable
  • FIG. 8 is a flow chart illustrating an exemplary procedure for filtering segments in a
  • the present disclosure concerns analysis of network traffic on communication networks, often referred to as packet switching networks, which support communication from wireless and/or wire line devices to a destination.
  • Such communication networks may carry transmission control protocol (TCP) segments.
  • TCP transmission control protocol
  • inventive concepts and principles are embodied in systems, devices, and methods therein for analyzing segments, optionally in connection with intrusion detection/prevention systems.
  • TCP transmission control protocol
  • inventive concepts and principles are embodied in systems, devices, and methods therein for analyzing segments, optionally in connection with intrusion detection/prevention systems.
  • the instant disclosure is provided to further explain in an enabling fashion the best modes of performing one or more embodiments of the present invention.
  • the disclosure is further offered to enhance an understanding and appreciation for the inventive principles and advantages thereof, rather than to limit in any manner the invention.
  • the invention is defined solely by the appended claims including any amendments made during the pendency of this application and all equivalents of those claims as issued.
  • Relational terms such as first and second, and the like, if any, are used herein solely to distinguish one from another entity, item, or action without necessarily requiring or implying any actual such relationship or order between such entities, items or actions.
  • Some embodiments may include a plurality of processes or steps, which can be performed in any order, unless expressly and necessarily limited to a particular order; i.e., processes or steps that are not so limited may be performed in any order.
  • TCP transmission control protocol
  • IDS intrusion detection system
  • IPS intrusion prevention system
  • the analysis of segments can be target-based, that is, the analysis can consider the operating system and applications at the destination, so that traffic sent to the destination can be analyzed in the same manner as the destination itself analyzes the traffic, or so that improper segments can be filtered out of the traffic. Moreover, segments with deliberately manipulated timestamps are less likely to dupe the intrusion detection/prevention system.
  • the problems posed by timestamps in segments can be address by providing timestamp policies, corresponding to destination systems and/or the kinds of hosts associated with destinations. Thus, the timestamp analysis can select the appropriate one of the timestamp policies depending on the destination, and can filter the segments according to the timestamp policy, thereby reducing evasion attacks that manipulate timestamps.
  • an intruder 101 (such as a computer system) transmits transmissions to a destination 109.
  • the transmission is transmitted via a network 103, a router 105, and a firewall 107 to the destination 109.
  • the communications to the destination 109 can be monitored in accordance with well known techniques by an intrusion detection/prevention system 111, such as with a sensor.
  • an intrusion detection/prevention system 111 such as with a sensor.
  • this illustration provides a sensor behind the firewall 107, the sensor can be provided anywhere before the destination 109.
  • the intrusion detection/prevention system 111 can be provided in-line with the destination 109, or can be incorporated into the destination 109.
  • a transmission can be stamped with a timestamp at the origination, and optionally segmented at the transmission control protocol ("TCP") layer into segments, all in accordance with known techniques.
  • TCP transmission control protocol
  • the TCP connection including the transmission is sent to the destination 109, and the destination 109 reassembles the segments into the transmission.
  • the order in which the destination 109 reassembles segments and whether segments with various timestamps are accepted are both a by-product of processing in the particular operating system on the destination 109, such as whether a timestamp is acceptable in the particular sequence of segments.
  • the method in which segments are dropped or reassembled by a particular operating system can be exploited by the intruder 101. Note that although this illustration assumes an intruder 101 sending transmissions or segments, the transmissions or segments that are analyzed can be sent from anywhere.
  • a TCP connection begins when a client 201 establishes a three-way handshake 205 with a server 203.
  • the client 201 sends a client SYN packet 211
  • the server 203 responds with a server SYN/ACK packet 213
  • the client 201 sends a client ACK packet 215.
  • the client 201 and server 203 can begin communicating by sending/receiving additional packets in the TCP connection.
  • the subsequent ACK packets from the server 203 have been omitted from the illustration for clarity.
  • the three-way handshake establishes a baseline timestamp of 10, for example, all subsequent timestamps are expected to have a timestamp greater than 10 to be valid. Furthermore, segments which arrive include sequence numbers. The timestamps are expected to be chronologically consistent with the sequence numbers. However, this chronological consistency among timestamps and sequence numbers is subject to interpretation in scenarios including, for example, (1) zero/non-zero timestamps, (2) timestamps which are not used, (3) variable establishment of initial baseline timestamp, (4) handling of delayed, out-of-sequence packets, (5) effect of overlapping segments, and (6) running update of baseline timestamp, also referred to herein as an "intermediate comparison" timestamp.
  • Segments 3 A and 3B 219, 221 are considered to be wholly overlapping because they start and end with the same TCP sequence number, but they have a different payload. However, because timestamp processing precedes overlap processing, overlapping segments 3 A and 3B 219, 221 are a target-based concern only if they both have valid timestamps. If, for example, segment 3 A 219 has a timestamp which is older than the baseline timestamp, the receiving host (e.g., server 203) should not accept segment 3 A 219.
  • the receiving host e.g., server 203
  • Packet 1 is Client SYN: TS 0 Packet 2 is Server SYN/ACK TS 2000 Packet 3 is Client ACK TS 0 Packet 4 is Client Segment 1 TS 10 Packet 5 is Client Segment 3A TS 3 Packet 6 is Client Segment 3 B TS 30 Packet 7 is Client Segment 2 TS 20
  • the client 201 has timestamp values of zero on the three-way handshake 205, followed by a segment 1 217 with a timestamp of 10.
  • segments 3 A and 3B 219, 221 wholly overlap each other, but have a different payload and segment 3 A 219 has an old timestamp.
  • delayed segment 2 223 arrives with a timestamp that is valid for its chronological TCP sequence number.
  • a possible expected behavior is that the timestamp of segment 1 217 becomes the initial baseline timestamp and the receiver (e.g., server 203) compares timestamp values found in segments 3A and 3B 219, 221 to this initial baseline timestamp pending the arrival of segment 2 223.
  • the receiver e.g., server 203 compares timestamp values found in segments 3A and 3B 219, 221 to this initial baseline timestamp pending the arrival of segment 2 223.
  • the baseline timestamp can be updated to the timestamp of segment 3 B 221, which is then the intermediate comparison timestamp.
  • a host e.g., server 203
  • the inventors developed a set of tests to study the behavior of various receiving hosts in response to various combinations of modified timestamps. The expected behavior did not always occur. For example, under certain conditions, some operating systems appear to suspend examination of timestamps or ignore the use of timestamps altogether from segments that arrive before a delayed segment.
  • Table 1 illustrates a test referred to as "Round 1, Case 1" or “Rl-Cl”.
  • the client timestamp values on the three-way handshake (“3whs") are zero; segment 1 arrives first and has a timestamp value of 11111.
  • Segments 3 A and 3B contain various timestamp values and options: no timestamp options, old timestamps, or valid timestamps.
  • Delayed segment 2 arrives last with a valid timestamp value of 12345. It is expected that the receiving host will examine segments 3 A and 3B relative to segments 1 's timestamp.
  • Table 2 illustrates a test referred to as "Round 1, Case 2" or "Rl -C2.”
  • the client timestamp values on the three-way handshake are non-zero; segment 1 arrives first and has a timestamp value of 11111.
  • Segments 3 A and 3B contain various timestamp values and options: no timestamp options, old timestamps, or valid timestamps. Delayed segment 2 arrives last with a valid timestamp value of 12345. It is expected that the receiving host will examine segments 3 A and 3B relative to segments l's timestamp.
  • Table 3 illustrates a test referred to as "Round 2, Case 1" or "R2-C1.”
  • the client timestamp values on the three-way handshake are zero; segment 1 arrives first but has no timestamp.
  • Test cases for segments 3 A and 3B remain the same as Round 1.
  • Delayed segment 2 arrives last with a valid timestamp value of 12345. However, there is no "baseline" timestamp to compare segments 3A and 3B timestamps. It is expected that the receiving host will ignore the timestamps completely for the entire session.
  • Table 4 illustrates a test referred to as "Round 2, Case 2" or "R2-C2.”
  • the client timestamp values on the three-way handshake are non-zero; segment 1 arrives first but has no timestamp.
  • test cases for segments 3 A and 3B remain the same as Round 1.
  • Delayed segment 2 arrives last with a valid timestamp value of 12345. This time there is a "baseline" timestamp found in the segments of the three-way handshake. It is expected that the receiving host will compare the timestamps in segments 3 A and 3B to the timestamp in the three-way handshake.
  • segment 1 must arrive first when the three- way handshake values are zero in order for old timestamps in segments 3 A and 3B to be discarded.
  • the tests illustrated above were run to evaluate target-based responses of some current operating systems that support the TCP timestamp options: Windows 2000, Windows 2003, AIX, MacOS/BSD, OpenBSD, FreeBSD, HPUX, Linux, and Solaris. Other operating systems may experience different results. "
  • the timestamp established in the three-way handshake is expected to be used as the initial baseline timestamp.
  • the timestamp in segment 1 is expected to be used as the initial baseline timestamp.
  • current treatment of the tested operating systems is that either the three-way handshake or segment 1 has the initial baseline timestamp.
  • segment 2 is delayed, the current treatment of the tested operating systems is that the timestamp in segment 2 or any subsequent segment never becomes the baseline; the receiving host ignores all subsequent timestamps for the duration of the TCP session.
  • Table 5 summarizes the test results of the tested operating systems, and indicates whether the behavior is expected or unexpected as explained above in connection with Table 1 through Table 4.
  • Table 5 indicates which original timestamp (for example, in three way handshake ("3-whs") or a segment) is used as the initial baseline timestamp.
  • the first column lists the eight series of tests (Rl-Cl is the abbreviation for Round 1, Case 1, and so forth) conducted against each destination host.
  • timestamps on segments 3A/3B should have a baseline timestamp from the three-way handshake segments, or from segment 1 , or no baseline at all so it is expected to revert to favoring segment 3 A or 3B based on the target operating system overlap policy instead of the timestamp.
  • Windows 2003 behaves as expected when there is a nonzero timestamp value on the three-way handshake. It ignores old timestamps when the three-way handshake has zero timestamps. This is expected behavior when there is no timestamp on segment 1. However, the receiving host is expected to compare timestamps on segments 3 A and 3 B to the valid timestamp value on the segment 1 that arrived before segments 3 A and 3B.
  • Windows 2000 Server, AIX, MacOS/BSD/OpenBSD/FreeBSD all respond identically. They all behave as expected.
  • Linux 2.6 is atypical because it does not reflect the existence of the TCP timestamp option when the client sends a timestamp value of zero in the three-way handshake. Otherwise, it follows the expected behavior. Solaris has a quirk where it no longer honors or sends the TCP timestamp option after it receives a segment that does not have a timestamp on it. This behavior was present on all test suites, but this oddity alters the expected outcome only when the three-way handshake timestamp values are non-zero and segment 1 has no timestamp. Finally, HPUX 11 ignores the timestamps on any segment that arrives out of order. All of the tests performed altered the timestamp values on segments with out-of-order TCP sequence numbers so the results appear as if the segments had valid timestamps.
  • one or more embodiments provide for setting the baseline timestamp to the timestamp in the first TCP segment expected after the handshake if properly received, if the timestamp in the three way handshake is zero. Also, one or more embodiments provide for setting the baseline timestamp to the timestamp in the three way handshake, if the timestamp in the three way handshake is non-zero.
  • FIG. 3, FIG. 4 and FIG. 5 illustrate relevant conventions associated with TCP layer processing.
  • FIG. 3 illustrates transport layer processing (sometimes referred to as "TCP layer” processing);
  • FIG. 4 illustrates relevant portions of an Internet protocol (IP) header transporting a segment; and
  • FIG. 5 illustrates relevant portions of a TCP header of a segment.
  • FIG. 3 a block diagram illustrating transport TCP/IP layer processing will be discussed and described. This example illustrates a data link layer 301, an IP layer 303, a transport layer 305, and an application layer 307 which operate on a destination.
  • a packet is received by the destination and processed in accordance with known means at the various layers. For example, an incoming packet is initially received at the data link layer 301; passed to the IP layer 303; passed to the transport layer 305; and then sequentially passed to layers above for additional processing.
  • the segments can be monitored and/or received in accordance with the transport layer protocol, that is, the segments are interpreted in accordance with the transport layer protocol and its formats; more particularly, the transport layer protocol can be a TCP layer protocol. Nevertheless, as explained above, handling of timestamps is not well defined or understood. Typically, timestamp is examined by processing at the transport layer 305. [0060] Accordingly, one or more embodiments provide that the monitoring is performed in accordance with a TCP layer.
  • IP header 413 is a portion of a transmission formatted according to the IP layer, which also includes data.
  • the IP header 413 includes an IP header length 401, an IP datagram length 405, an indication of the source IP address 409, and an indication of the destination IP address 41 1.
  • Other fields 403, 407 typically are included in the IP header 413. These fields are well defined in various industry specifications, as may be modified from time-to-time.
  • the IP datagram length 405 indicates the length of the content of the IP packet.
  • the destination IP address 411 uniquely identifies the system for which the transmission is destined.
  • the source IP address 409 uniquely identifies the system which originated the transmission.
  • FIG. 5 a block diagram illustrating portions of a TCP header 519 in a segment will be discussed and described. Portions of the conventional TCP header 519 which can be referenced include a source port 501, a destination port 503, a TCP sequence number 505, an acknowledgement number 507, TCP options/timestamps field 511, application 515, and miscellaneous other fields 509, 513. These fields also are well defined in various industry specifications, as may be modified from time-to-time.
  • the IP packet including the IP header 519 is wrapped around the TCP packet at the IP layer processing before being transmitted.
  • a transmission which is monitored will include both the IP header 519 and the TCP header (illustrated in FIG. 4).
  • the timestamp is embedded in the options/timestamps field 511 holding the timestamp for a transmission, according to current specifications.
  • the options/timestamps field 511 can indicate that there is no timestamp, according to known conventions.
  • the sequence number 505 is a known field which is utilized in determining the sequence of segments which are to be reassembled.
  • one or more embodiments provide that the segments are formatted according to a TCP layer format. Furthermore, one or more embodiments provide for identifying a kind of host associated with the target, and selecting the timestamp policy which is associated with the kind of host from plural timestamp policies associated with respective kinds of hosts. [0066] Referring to FIG. 6, a block diagram illustrating portions of an exemplary computer system will be discussed and described.
  • the computer system 601 may include one or more controllers 605, which can receive signals from a sensor 603 which senses communications from a network 613 in accordance with known techniques, where the communications are being sent to a destination (not illustrated).
  • the controller 605 can include a processor 607, a memory 615, an optional display 609, and/or an optional user input device such as a keyboard 611.
  • the processor 607 may comprise one or more microprocessors and/or one or more digital signal processors.
  • the memory 615 may be coupled to the processor 607 and may comprise a read-only memory (ROM), a random-access memory (RAM), a programmable ROM (PROM), and/or an electrically erasable read-only memory (EEPROM).
  • ROM read-only memory
  • RAM random-access memory
  • PROM programmable ROM
  • EEPROM electrically erasable read-only memory
  • the memory 615 may include multiple memory locations for storing, among other things, an operating system, data and variables 617 for programs executed by the processor 607; computer programs for causing the processor to operate in connection with various functions such as receiving 619 segments in a transmission, determining 621 a kind of host associated with the target (i.e., destination), identifying 623 the timestamp policy corresponding to the kind of host, identifying 625 a baseline timestamp from a three-way handshake, monitoring 627 segments and filtering according to the timestamp policy, an intrusion detection/prevention unit 629, and/or other processing; a timestamp policy database 631 ; a kind of host database 633; and a database 635 for other information used by the processor 607.
  • the computer programs may be stored, for example, in ROM or PROM and may direct the processor 607 in controlling the operation of the computer system 601.
  • the processor 607 optionally may be programmed for receiving 619 segments in a TCP connection in a transmission.
  • segments are detected by the sensor 603 connected to the computer system 601 and are supplied to the computer system 601 in accordance with known techniques.
  • one or more embodiments may include a receiving unit configured to facilitate receiving segments in the TCP connection, wherein the segments are received in accordance with a TCP layer.
  • the processor 607 may be programmed for determining 621 a kind of host associated with the target, sometimes referred to as a destination host. In the typical situation, the target is identified in the segment, for example as a destination IP address found in the IP header.
  • a kind of host database or table can be maintained for known targets, which indicates the kind of host associated with a particular target.
  • the kind of host database or table can be created, for example by manual configuration or by querying certain targets.
  • the kind of host database or table can be referenced based on the destination identified in the segment to determine the associated kind of host.
  • the segment can include an indication of the kind of host.
  • the kind of host indicates an operating system/platform and optionally a version, for example, HP JetDirect, ATX 2, FreeBSD, HP-UX B 10.20, IRIX 4.0, OpenBSD, Open VMS, OS/2, OSFl, LINUX 2.x, MAC OS, WINDOWS, or similar.
  • the kind of host is intended to distinguish between platforms and/or operating systems that react to timestamps differently.
  • the processor 607 may be programmed for identifying 623 the timestamp policy corresponding to the kind of host. Having determined the kind of host, an associated timestamp policy can be determined.
  • a particular timestamp policy can be applied in connection with one or more kinds of host.
  • a table or database can indicate one of several timestamp policies to be applied for the particular kind of host, hi the illustrated example, the timestamp policy, database 631 includes two or more timestamp policies, which can be indexed, for example by the kind of host.
  • the timestamp policies specify how to handle packets received in certain orders (e.g., with respect to three-way handshakes) with timestamps of various relative zero or non-zero values in connection with sequence number of various relative values, for various kinds of hosts.
  • the processor 607 can identify 625 the initial baseline timestamp from the three-way handshake, or alternatively from the first segment after the three-way handshake.
  • the timestamp policy for the target host data can indicate whether the timestamp in the three-way handshake, or the first properly received segment after the three-way handshake is used as the initial baseline timestamp.
  • the processor 607 can be programmed to monitor 627 segments that are received, and filtering the segments according to the timestamp policy.
  • the timestamp policy can specify, for the kind of host associated with the target, whether a delayed packet is to be passed on for further processing or is to be dropped (that is, filtered out).
  • the optional intrusion detection/prevention unit 629 in the processor 607 can be programmed in accordance with known techniques, to evaluate whether the segments suggest an attempted intrusion.
  • the segments can be filtered as explained above before being passed on, for example to the destination host and/or the intrusion detection/prevention unit 629.
  • the intrusion detection/prevention unit 629 is illustrated as being incorporated into the computer system 601; alternate embodiments can provide that some or all of the intrusion detection/prevention functions are in one or more different computer systems. Further, alternate embodiments provide that the intrusion detection/prevention unit 629 is a host IDS (intrusion detection system) or host IPS (intrusion prevention system); thus the computer system can be the destination.
  • IDS intrusion detection system
  • IPS intrusion prevention system
  • one or more embodiments may provide for a computer system for detecting or preventing intrusion, including (A) a unit configured to facilitate determining a kind of host associated with a target, in response to an indication of the target in segments in a transmission control protocol (TCP) connection; and (B) a segment filtering unit configured to facilitate identifying a timestamp policy of plural timestamp policies, the timestamp policy corresponding to the target associated with the segments in the TCP connection, the timestamp policy indicating whether the segments are to be filtered out or retained for the target by comparing the timestamp of the segments to a baseline timestamp, the baseline timestamp being identified based on a three way handshake in the TCP connection, and providing the segments in the TCP connection if retained.
  • TCP transmission control protocol
  • one or more embodiments may include an intrusion detection/prevention unit to detect an intrusion in the segments, wherein the segment filtering unit provides the filtered segments to the intrusion detection/prevention unit.
  • the processor 607 may be programmed for a timestamp policy database 631.
  • the timestamp policy database 631 can include two or more timestamp policies. Alternatively, separate code can be provided for implementing the different timestamp policies.
  • the timestamp policy database 631 alternatively can be stored in a remote database and accessed as needed.
  • the processor 607 may be programmed for a kind of host database 633.
  • the kind of host database 633 can be maintained for known targets, to indicate the kind of host associated with a particular target.
  • the kind of host database 633 can be maintained remotely, and relevant kind of host information can be downloaded as needed.
  • the kind of host can be indicated in a table rather than a database.
  • plural targets can be provided, where targets are associated with respective kinds of hosts, and respective kinds of hosts corresponding to respective timestamp policies; and the timestamp policy which is identified or used corresponds to the kind of host associated with the target. Accordingly, one or more embodiments provides that a plurality of targets including the target are provided, a target being associated with a kind of host, respective kinds of hosts being associated with respective timestamp policies; and the timestamp policy is associated with the kind of host associated with the target.
  • FIG. 7 and FIG. 8 are flow charts of procedures for analyzing segments.
  • FIG. 7 illustrates an overall procedure for determining whether TCP segments in TCP connections will be acceptable based on timestamps
  • FIG. 8 provides a more detailed illustration of determining whether a particular segment will be filtered out.
  • FIG. 7 and 8 are discussed in more detail below.
  • FIG. 7 a flow chart illustrating an exemplary procedure 701 for determining whether a TCP segment is acceptable will be discussed and described.
  • FIG. 7 addresses an overall flow for handling TCP connections with multiple TCP segments, and determining whether a segment is acceptable based on timestamps in the TCP connection.
  • the process 701 can include monitoring 703 segments in a TCP connection, identifying 705 a timestamp policy corresponding to a target associated with the segments in the TCP connection, identifying 707 a baseline timestamp based on the three-way handshake in the TCP connection, filtering 709 segments in the TCP connection according to the timestamp policy by comparing segment's timestamp to the baseline timestamp, and monitoring segments 711 in the next TCP connection.
  • Targets can be different from one TCP connection to the next, so when there is a next TCP connection, the procedure can loop to identify 705 the timestamp policy for the target in the next connection, and repeat.
  • the process 701 can include monitoring 703 segments in a TCP connection, for example as described above.
  • the process 701 can identify the start of a TCP connection by a three-way handshake.
  • the process 701 can include identifying 705 a timestamp policy corresponding to a target associated with the segments in the TCP connection, for example using the destination specified in the segments, as described above.
  • the process 701 can include identifying 707 an initial baseline timestamp as specified in the timestamp policy for the target.
  • the policy can specify that the initial baseline timestamp is the timestamp in the three-way handshake of the TCP connection, or that the initial baseline timestamp is the timestamp in packet 1 if the timestamp in the three-way handshake is zero or not used, or that the initial baseline timestamp is the timestamp in packet 1 in all cases, or that the timestamp in packet 1 is used only if packet 1 is received first, or similar. Accordingly, one or more embodiments provides that the timestamp in the next segment which is received properly according to the timestamp policy becomes the baseline timestamp; and/or that if the timestamp in the three way handshake is zero, the timestamp in the first TCP segment expected after the handshake becomes the baseline timestamp if properly received.
  • the process 701 can include filtering 709 segments in the TCP connection according to the timestamp policy, for example by comparing a segment's timestamp to the baseline timestamp or to an intermediate comparison timestamp. A further explanation is provided in connection with FIG. 8.
  • the process 701 can include monitoring for segments 711 in the next TCP connection, likely beginning with a three-way handshake.
  • the target in the next TCP connection can be different from the previous target.
  • the procedure can loop to identify 705 the timestamp policy for that target, and repeat.
  • one or more embodiments provides for a method performed in an intrusion detection/prevention system for determining whether a transmission control protocol (TCP) segment in a TCP connection in a communication network is acceptable, the TCP connection including a plurality of TCP segments beginning with a three way handshake, wherein a TCP segment includes a field for a timestamp.
  • TCP transmission control protocol
  • the method includes (A) identifying a timestamp policy of plural timestamp policies, the timestamp policy corresponding to a target associated with the segments in a TCP connection; (B) identifying a baseline timestamp based on a three way handshake in the TCP connection; (C) monitoring segments in the TCP connection; and (D) filtering the segments in the TCP connection as indicated in the timestamp policy corresponding to the target, the timestamp policy indicating whether the segments are to be filtered out or forwarded to the target by comparing the timestamp of the segments to the baseline timestamp.
  • the procedure includes getting 803 the next segment in the TCP connection, evaluating 805 the timestamp in the segment per the timestamp policy; if the timestamp/sequence number is not valid for the target 807, then not forwarding 809 the segment to the destination host; otherwise, forwarding 811 the segment to the destination host, and updating 813 the baseline timestamp to provide an intermediate comparison timestamp per the timestamp policy; getting 815 the next segment in the TCP connection, and if not the end of the TCP connection 817, repeating.
  • the procedure 801 includes getting 803 the next segment in the TCP connection. For example, the next segment can be obtained from a received packet.
  • the procedure 801 also includes evaluating 805 the timestamp in the segment per the timestamp policy 805.
  • the timestamp policy has already been identified, and should correspond to the kind of host which is the target of the TCP connection.
  • the timestamp policy will indicate how a timestamp is to be handled. For example, it may be compared to determine whether it is chronologically after the baseline timestamp. Also, the sequence number for the segment can be referenced to determine if a segment with that sequence number is expected. In addition, the timestamp policy can indicate that the timestamp is ignored for a period of time or for the entire TCP connection, for example if the timestamp is not used.
  • the timestamp policy can also indicate how to handle a segment (e.g., keep or drop) if it is an overlapping segment. Other procedures for handling timestamps can also be accommodated in the timestamp policy.
  • the procedure 801 includes if the timestamp/sequence number is not valid for the target 807, then not forwarding 809 the segment to the destination host. Because segments may arrive out of order even in the usual course of communication, some or all of the segments can be buffered for reassembly. The segments can be dropped, i.e., not buffered and ignored, or alternatively, can be marked as improper or not to be forwarded. Consequently, the ID/PS will not evaluate a segment which the host system it is protecting would ignore.
  • the procedure provides for, if the timestamp/sequence number is valid according to the timestamp policy for the target, forwarding 811 the segment to the destination host. Also, if the timestamp/sequence number is valid, the procedure 801 can provide for updating 813 the baseline timestamp per the timestamp policy, for use as an intermediate comparison timestamp. For example, if segments 1 and 2 have been received and are acceptable, the intermediate comparison timestamp can be updated to segment 2, that is, the last segment in a complete sequence. In some cases the intermediate comparison timestamp can remain the same, such as where segment 3A and 3B are received, but segment 2 is delayed and not yet received.
  • the procedure 801 includes getting 815 the next segment in the TCP connection, and if not the end of the TCP connection 817, repeating the analysis for the next segment. If, however, this was the end of the TCP connection, the procedure 801 ends 819.
  • the filtering further comprises evaluating sequence numbers identified in the segments to determine whether the timestamp is valid for the target, relative to the timestamps of prior segments in the sequence.
  • embodiments include a computer system configured with the foregoing computer-readable medium and/or method(s); and/or a communication network comprising at least one computer system configured with the foregoing computer-readable medium and/or method(s).
  • one or more embodiments provide for a computer-readable medium comprising instructions for execution by a computer, the instructions including a computer- implemented method performed in an intrusion detection/prevention system, for analyzing segments in a transmission control protocol (TCP) connection in a communication network, the TCP connection including a plurality of TCP segments beginning with a three way handshake, wherein a TCP segment includes a field for a timestamp and a field for a sequence number, the instructions for implementing: (A) monitoring a plurality of segments in a TCP connection; and (B) filtering the segments in the TCP connection as indicated in a timestamp policy corresponding to the target, the timestamp policy indicating whether the segments are to be filtered out or forwarded to the target by comparing the timestamp of the segments to the baseline timestamp and by evaluating sequence numbers identified in the segments to determine whether the timestamp is valid for the target relative to the timestamps of prior segments in the sequence according to the sequence numbers.
  • TCP transmission control protocol
  • the communication networks of interest include those that transmit information in packets which can be formed into segments, for example, those known as packet switching networks that transmit data, where data can be divided into packets before transmission, the packets are transmitted, and the packets are routed over network infrastructure devices, which are sent to a destination where the segments of packets can be reassembled into the packets.
  • Such networks include, by way of example, the Internet, intranets, local area networks (LAN), wireless LANs (WLAN), wide area networks (WAN), and others.
  • Protocols supporting communication networks that utilize packets include one or more of various networking protocols having any link Iayer4s that support the TCP transport layer, or any application that rides over the transport layer, and other wireless application protocols or wireline application protocols and/or other protocol structures, and variants and evolutions thereof.
  • Such networks can provide wireless communication capability and/or utilize wireline connections such as cable and/or a connector, or similar.
  • intrusion detection/prevention system is used herein to denote a device or software that passively or actively analyzes network traffic for intrusion. Examples of such devices or software are sometimes referred to as “intrusion detection system” (IDS), “intrusion prevention system” (IPS), “network intrusion detection system” (NIDS), “network intrusion protection system” (NIPS), and the like, and variants or evolutions thereof.
  • IDS intrusion detection system
  • IPS intrusion prevention system
  • NIDS network intrusion detection system
  • NIPS network intrusion protection system
  • An intrusion detection/prevention system may be host-based, or may monitor traffic to a target system using, for example, sensors, anywhere between the target system and the intruder, typically after a final router or firewall.
  • intrusion detection/prevention is used herein to indicate the analysis of network traffic with respect to intrusion, where the analysis is used passively (commonly referred to as “intrusion detection”) or actively (commonly referred to as “intrusion prevention”).
  • detect/prevent is utilized to indicate either passive or active handling or intrusion, which may occur for example in an IDS, an IPS, or other software or device which incorporates an IDS or IPS function, such as a firewall, proxy, or the like.

Abstract

A method performed in an intrusion detection/prevention system, a system or a device for determining whether a transmission control protocol (TCP) segment in a TCP connection in a communication network is acceptable. The TCP connection can include TCP segments beginning with a three way handshake. A TCP segment can include a field for a timestamp. A timestamp policy of plural timestamp policies is identified, the timestamp policy corresponding to a target associated with the segments in a TCP connection. A baseline timestamp is identified based on a three way handshake in the TCP connection. Segments in the TCP connection are monitored. The segments in the TCP connection are filtered as indicated in the timestamp policy corresponding to the target, the timestamp policy indicating whether the segments are to be filtered out or forwarded to the target by comparing the timestamp of the segments to the baseline timestamp.

Description

TlMESTAMP ANALYSIS OF SEGMENTS IN A TRANSMISSION CONTROL PROTOCOL (TCP) SESSION
FIELD OF THE INVENTION
[0001] The present invention relates in general to network traffic analysis, and more specifically to determining whether segments in a transmission control protocol (TCP) connection are acceptable, optionally in connection with intrusion detection/prevention. BACKGROUND OF THE INVENTION
[0002] The transport layer protocol utilized in packet network communications can include extensions such as a TCP timestamp option, which is used by many current operating systems. TCP timestamps can provide an indication of when to discard delayed segments - a process known as Protection Against Wrapped Sequences (PAWS). The current Request for Comments (RFC) addressing TCP extensions for high performance, RFC 1323, summarizes the timestamp as "From the receiver's viewpoint, the timestamp is acting as a logical extension of the high- order bits of the sequence number." Accordingly, a segment which the receiving host regards as delayed per the timestamp can be discarded by the receiving host.
[0003] However, if an intrusion detection or prevention system (IDS/IPS) utilizes a single method for analyzing and filtering segments based on timestamps, it may not analyze the same reassembled payload as a particular operating system at the destination. Consequently, an attack might successfully employ TCP timestamp value mutations to evade detection. The potential for evasion using TCP timestamps has apparently gone unnoticed. SUMMARY OF THE INVENTION
[0004] Accordingly, one or more embodiments of the present invention provide methods, systems, and computer readable mediums, optionally for an intrusion detection/prevention system, for determining whether a transmission control protocol (TCP) segment in a TCP connection in a communication network is acceptable, the TCP connection including a plurality of TCP segments beginning with a three way handshake, wherein a TCP segment includes a field for a timestamp. A timestamp policy of plural timestamp policies is identified, the timestamp policy corresponding to a target associated with the segments in a TCP connection. A baseline timestamp is identified based on a three way handshake in the TCP connection. Segments in the TCP connection are monitored. The segments in the TCP connection are filtered as indicated in the timestamp policy corresponding to the target, the timestamp policy indicating whether the segments are to be filtered out or forwarded to the target by comparing the timestamp of the segments to the baseline timestamp.
[0005] Other embodiments provide methods, computer systems, devices and computer readable mediums for detecting or preventing intrusion. A unit is configured to facilitate determining a kind of host associated with a target, in response to an indication of the target in segments in a transmission control protocol (TCP) connection. A segment filtering unit is configured to facilitate identifying a timestamp policy of plural timestamp policies, the timestamp policy corresponding to the target associated with the segments in the TCP connection, the timestamp policy indicating whether the segments are to be filtered out or retained for the target by comparing the timestamp of the segments to a baseline timestamp, the baseline timestamp being based on a three way handshake in the TCP connection, and providing the segments in the TCP connection if retained.
[0006] Still other embodiments provide for a computer-readable medium having instructions for execution by a computer, the instructions including a computer-implemented method performed in an intrusion detection/prevention system, for analyzing segments in a transmission control protocol (TCP) connection in a communication network, the TCP connection including TCP segments beginning with a three way handshake, wherein a TCP segment includes a field for a timestamp and a field for a sequence number. The instructions include monitoring a plurality of segments in a TCP connection. Also, the instructions include filtering the segments in the TCP connection as indicated in a timestamp policy corresponding to the target, the timestamp policy indicating whether the segments are to be filtered out or forwarded to the target by comparing the timestamp of the segments to the baseline timestamp and by evaluating sequence numbers identified in the segments to determine whether the timestamp is valid for the target relative to the timestamps of prior segments in the sequence according to the sequence numbers.
[0007] Further, the purpose of the foregoing abstract is to enable the U.S. Patent and
Trademark Office and the public generally, and especially the scientists, engineers and practitioners in the art who are not familiar with patent or legal terms or phraseology, to determine quickly from a cursory inspection the nature and essence of the technical disclosure of the application. The abstract is neither intended to define the invention of the application, which is measured by the claims, nor is it intended to be limiting as to the scope of the invention in any way.
BRIEF DESCRIPTION OF THE DRAWINGS
[0008] The accompanying figures, where like reference numerals refer to identical or functionally similar elements and which together with the detailed description below are incorporated in and form part of the specification, serve to further illustrate various exemplary embodiments and to explain various principles and advantages in accordance with the present invention.
[0009] FIG. 1 is a diagram illustrating a simplified and representative environment associated with timestamp analysis;
[0010] FIG. 2 is a diagram illustrating a simplified packet flow associated with timestamp analysis;
[0011] FIG. 3 is a block diagram illustrating transport TCP/IP layer processing;
[0012] FIG. 4 is a block diagram illustrating portions of an Internet protocol (IP) header in a segment;
[0013] FIG. 5 is a block diagram illustrating portions of a TCP header in a segment;
[0014] FIG. 6 is a block diagram illustrating portions of an exemplary computer system;
[0015] FIG. 7 is a flow chart illustrating an exemplary procedure for determining whether a
TCP segment is acceptable; and
[0016] FIG. 8 is a flow chart illustrating an exemplary procedure for filtering segments in a
TCP connection. DETAILED DESCRIPTION
[0017] In overview, the present disclosure concerns analysis of network traffic on communication networks, often referred to as packet switching networks, which support communication from wireless and/or wire line devices to a destination. Such communication networks may carry transmission control protocol (TCP) segments. More particularly, various inventive concepts and principles are embodied in systems, devices, and methods therein for analyzing segments, optionally in connection with intrusion detection/prevention systems. [0018] The instant disclosure is provided to further explain in an enabling fashion the best modes of performing one or more embodiments of the present invention. The disclosure is further offered to enhance an understanding and appreciation for the inventive principles and advantages thereof, rather than to limit in any manner the invention. The invention is defined solely by the appended claims including any amendments made during the pendency of this application and all equivalents of those claims as issued.
[0019] Relational terms such as first and second, and the like, if any, are used herein solely to distinguish one from another entity, item, or action without necessarily requiring or implying any actual such relationship or order between such entities, items or actions. Some embodiments may include a plurality of processes or steps, which can be performed in any order, unless expressly and necessarily limited to a particular order; i.e., processes or steps that are not so limited may be performed in any order.
[0020] Much of the inventive functionality and many of the inventive principles when implemented, are best supported with or in software or integrated circuits (ICs), such as a digital signal processor and software therefore, and/or application specific ICs. It is expected that one of ordinary skill, notwithstanding possibly significant effort and many design choices motivated by, for example, available time, current technology, and economic considerations, when guided by the concepts and principles disclosed herein will be readily capable of generating such software instructions or ICs with minimal experimentation. Therefore, in the interest of brevity and minimization of any risk of obscuring the principles and concepts according to the present invention, further discussion of such software and ICs, if any, will be limited to the essentials with respect to the principles and concepts used by the exemplary embodiments. [0021] As further discussed herein, various inventive principles and combinations thereof are advantageously employed to improve analysis of TCP segments. Different operating systems honor old or unusual TCP timestamps uniquely. This may provide an attacker an opportunity to evade detection, especially when old or unusual TCP timestamps are used in conjunction with overlapping TCP segments. Overlapping segments are discussed in the inventors' application Ser. No. 11/501,776, filed August 10, 2006, "Device, system and method for analysis of segments in a transmission control protocol (TCP) session," expressly incorporated herein by reference. If an intrusion detection system (IDS)/intrusion prevention system (IPS) and target destination host do not reassemble the TCP segments identically, they will not see the same reassembled payload. An attacker can use such an evasion to exploit a vulnerability and go unnoticed.
[0022] The analysis of segments can be target-based, that is, the analysis can consider the operating system and applications at the destination, so that traffic sent to the destination can be analyzed in the same manner as the destination itself analyzes the traffic, or so that improper segments can be filtered out of the traffic. Moreover, segments with deliberately manipulated timestamps are less likely to dupe the intrusion detection/prevention system. [0023] Further in accordance with exemplary embodiments, the problems posed by timestamps in segments can be address by providing timestamp policies, corresponding to destination systems and/or the kinds of hosts associated with destinations. Thus, the timestamp analysis can select the appropriate one of the timestamp policies depending on the destination, and can filter the segments according to the timestamp policy, thereby reducing evasion attacks that manipulate timestamps.
[0024] Referring to FIG. 1 , a diagram illustrating a simplified and representative environment associated with timestamp analysis will be discussed and described. In the illustration, an intruder 101 (such as a computer system) transmits transmissions to a destination 109. In this example, the transmission is transmitted via a network 103, a router 105, and a firewall 107 to the destination 109. The communications to the destination 109 can be monitored in accordance with well known techniques by an intrusion detection/prevention system 111, such as with a sensor. Although this illustration provides a sensor behind the firewall 107, the sensor can be provided anywhere before the destination 109. Alternatively, the intrusion detection/prevention system 111 can be provided in-line with the destination 109, or can be incorporated into the destination 109.
[0025] A transmission can be stamped with a timestamp at the origination, and optionally segmented at the transmission control protocol ("TCP") layer into segments, all in accordance with known techniques. The TCP connection including the transmission is sent to the destination 109, and the destination 109 reassembles the segments into the transmission. The order in which the destination 109 reassembles segments and whether segments with various timestamps are accepted are both a by-product of processing in the particular operating system on the destination 109, such as whether a timestamp is acceptable in the particular sequence of segments. The method in which segments are dropped or reassembled by a particular operating system can be exploited by the intruder 101. Note that although this illustration assumes an intruder 101 sending transmissions or segments, the transmissions or segments that are analyzed can be sent from anywhere.
[0026] Referring to FIG. 2, a diagram illustrating a simplified packet flow associated with timestamp analysis will be discussed and described, hi this example, a TCP connection begins when a client 201 establishes a three-way handshake 205 with a server 203. In accordance with conventional methods for a three-way handshake, the client 201 sends a client SYN packet 211, the server 203 responds with a server SYN/ACK packet 213, and then the client 201 sends a client ACK packet 215. Once the- three-way handshake 205 is established, the client 201 and server 203 can begin communicating by sending/receiving additional packets in the TCP connection. The subsequent ACK packets from the server 203 have been omitted from the illustration for clarity.
[0027] If the three-way handshake establishes a baseline timestamp of 10, for example, all subsequent timestamps are expected to have a timestamp greater than 10 to be valid. Furthermore, segments which arrive include sequence numbers. The timestamps are expected to be chronologically consistent with the sequence numbers. However, this chronological consistency among timestamps and sequence numbers is subject to interpretation in scenarios including, for example, (1) zero/non-zero timestamps, (2) timestamps which are not used, (3) variable establishment of initial baseline timestamp, (4) handling of delayed, out-of-sequence packets, (5) effect of overlapping segments, and (6) running update of baseline timestamp, also referred to herein as an "intermediate comparison" timestamp.
[0028] Consider the example in FIG. 2, where a first client segment 1 217 is received by the server 203, then receipt of a second client segment 2 223 is delayed. Therefore, overlapping third client segments 3 A and 3B 219, 221 are received prior to receipt of second client segment 2 223. [0029] Segments 3 A and 3B 219, 221 are considered to be wholly overlapping because they start and end with the same TCP sequence number, but they have a different payload. However, because timestamp processing precedes overlap processing, overlapping segments 3 A and 3B 219, 221 are a target-based concern only if they both have valid timestamps. If, for example, segment 3 A 219 has a timestamp which is older than the baseline timestamp, the receiving host (e.g., server 203) should not accept segment 3 A 219.
[0030] Now, a more particular example of behavior of the server 203 receiving the segments is examined. Consider the following sequence of packets with timestamps, in the data flow of FIG. 2, which illustrates seven packets 211-223 with the specified timestamp (TS):
Packet 1 is Client SYN: TS 0 Packet 2 is Server SYN/ACK TS 2000 Packet 3 is Client ACK TS 0 Packet 4 is Client Segment 1 TS 10 Packet 5 is Client Segment 3A TS 3 Packet 6 is Client Segment 3 B TS 30 Packet 7 is Client Segment 2 TS 20
[0031] In the above packet sequence example, the client 201 has timestamp values of zero on the three-way handshake 205, followed by a segment 1 217 with a timestamp of 10. Next, segments 3 A and 3B 219, 221 wholly overlap each other, but have a different payload and segment 3 A 219 has an old timestamp. Finally, delayed segment 2 223 arrives with a timestamp that is valid for its chronological TCP sequence number.
[0032] A possible expected behavior is that the timestamp of segment 1 217 becomes the initial baseline timestamp and the receiver (e.g., server 203) compares timestamp values found in segments 3A and 3B 219, 221 to this initial baseline timestamp pending the arrival of segment 2 223. When segment 2 223 is received, then the timestamp of segment 2 223 is compared to the initial baseline timestamp (still the timestamp of segment 1). With all of the segments having been received in sequence, the baseline timestamp can then be updated to the timestamp of the sequentially last acceptable segment (that is, the "intermediate comparison timestamp") for comparison in determining acceptability of subsequent timestamps. In this example, if the arrival of segment 3 is deemed complete by the server 203 (despite the unacceptability of segment 3A), then the baseline timestamp can be updated to the timestamp of segment 3 B 221, which is then the intermediate comparison timestamp. This is just a brief example of the complex data flow combinations that can affect how a host (e.g., server 203) performs timestamp processing. [0033] The inventors developed a set of tests to study the behavior of various receiving hosts in response to various combinations of modified timestamps. The expected behavior did not always occur. For example, under certain conditions, some operating systems appear to suspend examination of timestamps or ignore the use of timestamps altogether from segments that arrive before a delayed segment.
[0034] The current RFC addressing TCP extensions, RFC 1323, does not elaborate how a host should respond when it receives zero timestamp values on the three-way handshake, or when it receives segments with no TCP timestamp option and associated values even though both hosts have negotiated the use of timestamps. The inventors observed that segment 1 (the first sequential segment after a three-way handshake) can have a special yet undocumented value in terms of timestamps. The point of the tests which were conducted was to determine how different kinds of servers respond to different combinations of TCP timestamp values when they receive overlapping segments. [0035] Each timestamp test discussed in the following Table 1 through Table 4 follows the same basic flow illustrated in FIG, 2. The following Table 5 has the results of these tests for different operating systems. The illustrated tests are not intended to be comprehensive but rather illustrate the complexities of combinations of timestamps and sequences. Therefore timestamp policies are not limited to the examples provided herein.
[0036] The data used in the wholly overlapping segments in the tests was selected to return different responses depending on which segments were accepted. If bethone overlapping segment_was we*e-accepted, a non-error response was returned, whereas erroneous responses were returned if eneboth overlapping segment-was were dropped.
[0037] Table 1 illustrates a test referred to as "Round 1, Case 1" or "Rl-Cl". In this test, the client timestamp values on the three-way handshake ("3whs") are zero; segment 1 arrives first and has a timestamp value of 11111. Segments 3 A and 3B contain various timestamp values and options: no timestamp options, old timestamps, or valid timestamps. Delayed segment 2 arrives last with a valid timestamp value of 12345. It is expected that the receiving host will examine segments 3 A and 3B relative to segments 1 's timestamp.
Figure imgf000012_0001
[0039] Table 2 illustrates a test referred to as "Round 1, Case 2" or "Rl -C2." In this test, the client timestamp values on the three-way handshake are non-zero; segment 1 arrives first and has a timestamp value of 11111. Segments 3 A and 3B contain various timestamp values and options: no timestamp options, old timestamps, or valid timestamps. Delayed segment 2 arrives last with a valid timestamp value of 12345. It is expected that the receiving host will examine segments 3 A and 3B relative to segments l's timestamp.
Figure imgf000013_0001
[0041] Table 3 illustrates a test referred to as "Round 2, Case 1" or "R2-C1." In this test, the client timestamp values on the three-way handshake are zero; segment 1 arrives first but has no timestamp. Test cases for segments 3 A and 3B remain the same as Round 1. Delayed segment 2 arrives last with a valid timestamp value of 12345. However, there is no "baseline" timestamp to compare segments 3A and 3B timestamps. It is expected that the receiving host will ignore the timestamps completely for the entire session.
[0042] Table 3 (Round 2, Case 1 ):
Figure imgf000014_0001
[0043] Table 4 illustrates a test referred to as "Round 2, Case 2" or "R2-C2." In this test, the client timestamp values on the three-way handshake are non-zero; segment 1 arrives first but has no timestamp. Again, test cases for segments 3 A and 3B remain the same as Round 1. Delayed segment 2 arrives last with a valid timestamp value of 12345. This time there is a "baseline" timestamp found in the segments of the three-way handshake. It is expected that the receiving host will compare the timestamps in segments 3 A and 3B to the timestamp in the three-way handshake.
[0044] Table 4 (Round 2, Case 2):
Figure imgf000015_0001
[0045] Further tests were conducted in which the above series of four sets of tests were repeated, but the arrival order of segments 1 and 2 were switched. The further tests can be referred to as "Round 3, Case 1" ("R3-C1"), "Round 3, Case 2" ("R3-C2"), "Round 4, Case 1" ("R4-C1") and "Round 4, Case 2" ("R4-C2"). This further series of tests was repeated to try to understand the role of segment 1 as the baseline timestamp tests. In the tests, segment 2 had a valid timestamp of 12345 and it arrived before segments 1, 3 A and 3B. Yet, the test results revealed that the receiving host does not use segment 2 as a baseline timestamp for later segments 3 A and 3B. According to these tests, segment 1 must arrive first when the three- way handshake values are zero in order for old timestamps in segments 3 A and 3B to be discarded. [0046] The tests illustrated above were run to evaluate target-based responses of some current operating systems that support the TCP timestamp options: Windows 2000, Windows 2003, AIX, MacOS/BSD, OpenBSD, FreeBSD, HPUX, Linux, and Solaris. Other operating systems may experience different results. "
[0047] In summary, for a non zero three-way handshake with non-zero timestamp value, the timestamp established in the three-way handshake is expected to be used as the initial baseline timestamp. For a zefθ-three-way handshake with zero timestamp value, the timestamp in segment 1 is expected to be used as the initial baseline timestamp. Thus, current treatment of the tested operating systems is that either the three-way handshake or segment 1 has the initial baseline timestamp. On the other hand, if segment 2 is delayed, the current treatment of the tested operating systems is that the timestamp in segment 2 or any subsequent segment never becomes the baseline; the receiving host ignores all subsequent timestamps for the duration of the TCP session.
[0048] The following Table 5 summarizes the test results of the tested operating systems, and indicates whether the behavior is expected or unexpected as explained above in connection with Table 1 through Table 4. In addition, Table 5 indicates which original timestamp (for example, in three way handshake ("3-whs") or a segment) is used as the initial baseline timestamp. [0049] In Table 5, the first column lists the eight series of tests (Rl-Cl is the abbreviation for Round 1, Case 1, and so forth) conducted against each destination host. The expected behavior is listed underneath: timestamps on segments 3A/3B should have a baseline timestamp from the three-way handshake segments, or from segment 1 , or no baseline at all so it is expected to revert to favoring segment 3 A or 3B based on the target operating system overlap policy instead of the timestamp.
Figure imgf000017_0001
[0051] * Linux does not support a TCP timestamp option when the client TCP timestamp option = 0. ** Solaris stops returning the TCP timestamp option if it receives a segment with no timestamp option.
[0052] As illustrated in Table 5, Windows 2003 behaves as expected when there is a nonzero timestamp value on the three-way handshake. It ignores old timestamps when the three-way handshake has zero timestamps. This is expected behavior when there is no timestamp on segment 1. However, the receiving host is expected to compare timestamps on segments 3 A and 3 B to the valid timestamp value on the segment 1 that arrived before segments 3 A and 3B. [0053] Windows 2000 Server, AIX, MacOS/BSD/OpenBSD/FreeBSD all respond identically. They all behave as expected. As mentioned above, Linux 2.6 is atypical because it does not reflect the existence of the TCP timestamp option when the client sends a timestamp value of zero in the three-way handshake. Otherwise, it follows the expected behavior. Solaris has a quirk where it no longer honors or sends the TCP timestamp option after it receives a segment that does not have a timestamp on it. This behavior was present on all test suites, but this oddity alters the expected outcome only when the three-way handshake timestamp values are non-zero and segment 1 has no timestamp. Finally, HPUX 11 ignores the timestamps on any segment that arrives out of order. All of the tests performed altered the timestamp values on segments with out-of-order TCP sequence numbers so the results appear as if the segments had valid timestamps.
[0054] The test results show that various operating systems respond uniquely to uncommon and common combinations of TCP timestamp values. A savvy attacker who understands a particular target host's behavior can fabricate TCP timestamps to evade an IDS/IPS that is unaware of the subtleties of TCP timestamps. Consequently, it is insufficient for an IDS/IPS to be aware of the use of TCP timestamps. The IDS/IPS can perform better when it knows how a given target-host will react to timestamp combinations and then it can respond appropriately. [0055] These tests showed that the treatment of the timestamp is target-based. Other operating systems may yield other test results in response to various combinations of TCP timestamp values. Newer versions of the operating systems might handle timestamp values differently from the tested operating systems.
[0056] Accordingly, one or more embodiments provide for setting the baseline timestamp to the timestamp in the first TCP segment expected after the handshake if properly received, if the timestamp in the three way handshake is zero. Also, one or more embodiments provide for setting the baseline timestamp to the timestamp in the three way handshake, if the timestamp in the three way handshake is non-zero.
[0057] FIG. 3, FIG. 4 and FIG. 5 illustrate relevant conventions associated with TCP layer processing. FIG. 3 illustrates transport layer processing (sometimes referred to as "TCP layer" processing); FIG. 4 illustrates relevant portions of an Internet protocol (IP) header transporting a segment; and FIG. 5 illustrates relevant portions of a TCP header of a segment. [0058] Referring to FIG. 3, a block diagram illustrating transport TCP/IP layer processing will be discussed and described. This example illustrates a data link layer 301, an IP layer 303, a transport layer 305, and an application layer 307 which operate on a destination. A packet is received by the destination and processed in accordance with known means at the various layers. For example, an incoming packet is initially received at the data link layer 301; passed to the IP layer 303; passed to the transport layer 305; and then sequentially passed to layers above for additional processing.
[0059] Conventions associated with the data link layer 301, the IP layer 303, the transport layer 305 and the application layer 307, and the like are well known. In particular, conventions for formats and protocols of transmissions and of segments in accordance with the transport layer are well known. The segments can be monitored and/or received in accordance with the transport layer protocol, that is, the segments are interpreted in accordance with the transport layer protocol and its formats; more particularly, the transport layer protocol can be a TCP layer protocol. Nevertheless, as explained above, handling of timestamps is not well defined or understood. Typically, timestamp is examined by processing at the transport layer 305. [0060] Accordingly, one or more embodiments provide that the monitoring is performed in accordance with a TCP layer. [0061] Referring to FIG. 4, a block diagram illustrating portions of an Internet protocol (IP) header 413 in a segment will be discussed and described. The illustrated IP header 413 is a portion of a transmission formatted according to the IP layer, which also includes data. The IP header 413 includes an IP header length 401, an IP datagram length 405, an indication of the source IP address 409, and an indication of the destination IP address 41 1. Other fields 403, 407 typically are included in the IP header 413. These fields are well defined in various industry specifications, as may be modified from time-to-time.
[0062] The IP datagram length 405 indicates the length of the content of the IP packet. The destination IP address 411 uniquely identifies the system for which the transmission is destined. The source IP address 409 uniquely identifies the system which originated the transmission. [0063] Referring to FIG. 5, a block diagram illustrating portions of a TCP header 519 in a segment will be discussed and described. Portions of the conventional TCP header 519 which can be referenced include a source port 501, a destination port 503, a TCP sequence number 505, an acknowledgement number 507, TCP options/timestamps field 511, application 515, and miscellaneous other fields 509, 513. These fields also are well defined in various industry specifications, as may be modified from time-to-time.
[0064] In this example, the IP packet including the IP header 519 is wrapped around the TCP packet at the IP layer processing before being transmitted. Hence, a transmission which is monitored will include both the IP header 519 and the TCP header (illustrated in FIG. 4). The timestamp is embedded in the options/timestamps field 511 holding the timestamp for a transmission, according to current specifications. Also, the options/timestamps field 511 can indicate that there is no timestamp, according to known conventions. The sequence number 505 is a known field which is utilized in determining the sequence of segments which are to be reassembled.
[0065] Accordingly, one or more embodiments provide that the segments are formatted according to a TCP layer format. Furthermore, one or more embodiments provide for identifying a kind of host associated with the target, and selecting the timestamp policy which is associated with the kind of host from plural timestamp policies associated with respective kinds of hosts. [0066] Referring to FIG. 6, a block diagram illustrating portions of an exemplary computer system will be discussed and described. The computer system 601 may include one or more controllers 605, which can receive signals from a sensor 603 which senses communications from a network 613 in accordance with known techniques, where the communications are being sent to a destination (not illustrated). The controller 605 can include a processor 607, a memory 615, an optional display 609, and/or an optional user input device such as a keyboard 611. [0067] The processor 607 may comprise one or more microprocessors and/or one or more digital signal processors. The memory 615 may be coupled to the processor 607 and may comprise a read-only memory (ROM), a random-access memory (RAM), a programmable ROM (PROM), and/or an electrically erasable read-only memory (EEPROM). The memory 615 may include multiple memory locations for storing, among other things, an operating system, data and variables 617 for programs executed by the processor 607; computer programs for causing the processor to operate in connection with various functions such as receiving 619 segments in a transmission, determining 621 a kind of host associated with the target (i.e., destination), identifying 623 the timestamp policy corresponding to the kind of host, identifying 625 a baseline timestamp from a three-way handshake, monitoring 627 segments and filtering according to the timestamp policy, an intrusion detection/prevention unit 629, and/or other processing; a timestamp policy database 631 ; a kind of host database 633; and a database 635 for other information used by the processor 607. The computer programs may be stored, for example, in ROM or PROM and may direct the processor 607 in controlling the operation of the computer system 601.
[0068] The processor 607 optionally may be programmed for receiving 619 segments in a TCP connection in a transmission. In the illustrated example, segments are detected by the sensor 603 connected to the computer system 601 and are supplied to the computer system 601 in accordance with known techniques. Accordingly, one or more embodiments may include a receiving unit configured to facilitate receiving segments in the TCP connection, wherein the segments are received in accordance with a TCP layer. [0069] The processor 607 may be programmed for determining 621 a kind of host associated with the target, sometimes referred to as a destination host. In the typical situation, the target is identified in the segment, for example as a destination IP address found in the IP header. A kind of host database or table can be maintained for known targets, which indicates the kind of host associated with a particular target. The kind of host database or table can be created, for example by manual configuration or by querying certain targets. Thus, the kind of host database or table can be referenced based on the destination identified in the segment to determine the associated kind of host. Alternatively, the segment can include an indication of the kind of host. The kind of host indicates an operating system/platform and optionally a version, for example, HP JetDirect, ATX 2, FreeBSD, HP-UX B 10.20, IRIX 4.0, OpenBSD, Open VMS, OS/2, OSFl, LINUX 2.x, MAC OS, WINDOWS, or similar. The kind of host is intended to distinguish between platforms and/or operating systems that react to timestamps differently. [0070] In addition, the processor 607 may be programmed for identifying 623 the timestamp policy corresponding to the kind of host. Having determined the kind of host, an associated timestamp policy can be determined. A particular timestamp policy can be applied in connection with one or more kinds of host. Advantageously, a table or database can indicate one of several timestamp policies to be applied for the particular kind of host, hi the illustrated example, the timestamp policy, database 631 includes two or more timestamp policies, which can be indexed, for example by the kind of host. The timestamp policies specify how to handle packets received in certain orders (e.g., with respect to three-way handshakes) with timestamps of various relative zero or non-zero values in connection with sequence number of various relative values, for various kinds of hosts.
[0071] Once the timestamp policy is identified, the processor 607 can identify 625 the initial baseline timestamp from the three-way handshake, or alternatively from the first segment after the three-way handshake. For example, the timestamp policy for the target host data can indicate whether the timestamp in the three-way handshake, or the first properly received segment after the three-way handshake is used as the initial baseline timestamp. [0072] Also, the processor 607 can be programmed to monitor 627 segments that are received, and filtering the segments according to the timestamp policy. For example, the timestamp policy can specify, for the kind of host associated with the target, whether a delayed packet is to be passed on for further processing or is to be dropped (that is, filtered out). [0073] The optional intrusion detection/prevention unit 629 in the processor 607 can be programmed in accordance with known techniques, to evaluate whether the segments suggest an attempted intrusion. The segments can be filtered as explained above before being passed on, for example to the destination host and/or the intrusion detection/prevention unit 629. The intrusion detection/prevention unit 629 is illustrated as being incorporated into the computer system 601; alternate embodiments can provide that some or all of the intrusion detection/prevention functions are in one or more different computer systems. Further, alternate embodiments provide that the intrusion detection/prevention unit 629 is a host IDS (intrusion detection system) or host IPS (intrusion prevention system); thus the computer system can be the destination. [0074] Accordingly, one or more embodiments may provide for a computer system for detecting or preventing intrusion, including (A) a unit configured to facilitate determining a kind of host associated with a target, in response to an indication of the target in segments in a transmission control protocol (TCP) connection; and (B) a segment filtering unit configured to facilitate identifying a timestamp policy of plural timestamp policies, the timestamp policy corresponding to the target associated with the segments in the TCP connection, the timestamp policy indicating whether the segments are to be filtered out or retained for the target by comparing the timestamp of the segments to a baseline timestamp, the baseline timestamp being identified based on a three way handshake in the TCP connection, and providing the segments in the TCP connection if retained.
[0075] Moreover, one or more embodiments may include an intrusion detection/prevention unit to detect an intrusion in the segments, wherein the segment filtering unit provides the filtered segments to the intrusion detection/prevention unit.
[0076] The processor 607 may be programmed for a timestamp policy database 631. The timestamp policy database 631 can include two or more timestamp policies. Alternatively, separate code can be provided for implementing the different timestamp policies. The timestamp policy database 631 alternatively can be stored in a remote database and accessed as needed. [0077] The processor 607 may be programmed for a kind of host database 633. The kind of host database 633 can be maintained for known targets, to indicate the kind of host associated with a particular target. Optionally, the kind of host database 633 can be maintained remotely, and relevant kind of host information can be downloaded as needed. Optionally, the kind of host can be indicated in a table rather than a database.
[0078] In operation, plural targets can be provided, where targets are associated with respective kinds of hosts, and respective kinds of hosts corresponding to respective timestamp policies; and the timestamp policy which is identified or used corresponds to the kind of host associated with the target. Accordingly, one or more embodiments provides that a plurality of targets including the target are provided, a target being associated with a kind of host, respective kinds of hosts being associated with respective timestamp policies; and the timestamp policy is associated with the kind of host associated with the target.
[0079] It should be understood that various logical groupings of functions are described herein. Different realizations may omit one or more of these logical groupings. Likewise, in various realizations, functions may be grouped differently, combined, or augmented. Furthermore, functions including those identified as optional can be omitted from various realizations. Similarly, the present description may describe or suggest a database or collection of data and information. One or more embodiments can provide that the database or collection of data and information can be distributed, combined, or augmented, or provided locally (as illustrated) and/or remotely (not illustrated).
[0080] FIG. 7 and FIG. 8 are flow charts of procedures for analyzing segments. FIG. 7 illustrates an overall procedure for determining whether TCP segments in TCP connections will be acceptable based on timestamps, and FIG. 8 provides a more detailed illustration of determining whether a particular segment will be filtered out. FIG. 7 and 8 are discussed in more detail below. [0081] Referring to FIG. 7, a flow chart illustrating an exemplary procedure 701 for determining whether a TCP segment is acceptable will be discussed and described. FIG. 7 addresses an overall flow for handling TCP connections with multiple TCP segments, and determining whether a segment is acceptable based on timestamps in the TCP connection. [0082] In overview, the process 701 can include monitoring 703 segments in a TCP connection, identifying 705 a timestamp policy corresponding to a target associated with the segments in the TCP connection, identifying 707 a baseline timestamp based on the three-way handshake in the TCP connection, filtering 709 segments in the TCP connection according to the timestamp policy by comparing segment's timestamp to the baseline timestamp, and monitoring segments 711 in the next TCP connection. Targets can be different from one TCP connection to the next, so when there is a next TCP connection, the procedure can loop to identify 705 the timestamp policy for the target in the next connection, and repeat. These are discussed in more detail below; however, detail is omitted if it has been previously discussed. [0083] The process 701 can include monitoring 703 segments in a TCP connection, for example as described above. For example, the process 701 can identify the start of a TCP connection by a three-way handshake. Also, the process 701 can include identifying 705 a timestamp policy corresponding to a target associated with the segments in the TCP connection, for example using the destination specified in the segments, as described above. [0084] The process 701 can include identifying 707 an initial baseline timestamp as specified in the timestamp policy for the target. For example, the policy can specify that the initial baseline timestamp is the timestamp in the three-way handshake of the TCP connection, or that the initial baseline timestamp is the timestamp in packet 1 if the timestamp in the three-way handshake is zero or not used, or that the initial baseline timestamp is the timestamp in packet 1 in all cases, or that the timestamp in packet 1 is used only if packet 1 is received first, or similar. Accordingly, one or more embodiments provides that the timestamp in the next segment which is received properly according to the timestamp policy becomes the baseline timestamp; and/or that if the timestamp in the three way handshake is zero, the timestamp in the first TCP segment expected after the handshake becomes the baseline timestamp if properly received. [0085] The process 701 can include filtering 709 segments in the TCP connection according to the timestamp policy, for example by comparing a segment's timestamp to the baseline timestamp or to an intermediate comparison timestamp. A further explanation is provided in connection with FIG. 8.
[0086] After the TCP connection is terminated in accordance with known procedures, the process 701 can include monitoring for segments 711 in the next TCP connection, likely beginning with a three-way handshake. The target in the next TCP connection can be different from the previous target. Hence, the procedure can loop to identify 705 the timestamp policy for that target, and repeat.
[0087] Accordingly, one or more embodiments provides for a method performed in an intrusion detection/prevention system for determining whether a transmission control protocol (TCP) segment in a TCP connection in a communication network is acceptable, the TCP connection including a plurality of TCP segments beginning with a three way handshake, wherein a TCP segment includes a field for a timestamp. The method includes (A) identifying a timestamp policy of plural timestamp policies, the timestamp policy corresponding to a target associated with the segments in a TCP connection; (B) identifying a baseline timestamp based on a three way handshake in the TCP connection; (C) monitoring segments in the TCP connection; and (D) filtering the segments in the TCP connection as indicated in the timestamp policy corresponding to the target, the timestamp policy indicating whether the segments are to be filtered out or forwarded to the target by comparing the timestamp of the segments to the baseline timestamp.
[0088] Referring to FIG. 8, a flow chart illustrating an exemplary procedure 801 for filtering segments in a TPC connection will be discussed and described. In overview, the procedure includes getting 803 the next segment in the TCP connection, evaluating 805 the timestamp in the segment per the timestamp policy; if the timestamp/sequence number is not valid for the target 807, then not forwarding 809 the segment to the destination host; otherwise, forwarding 811 the segment to the destination host, and updating 813 the baseline timestamp to provide an intermediate comparison timestamp per the timestamp policy; getting 815 the next segment in the TCP connection, and if not the end of the TCP connection 817, repeating. These are discussed in more detail below; however, detail is omitted if it has been previously discussed. [0089] The procedure 801 includes getting 803 the next segment in the TCP connection. For example, the next segment can be obtained from a received packet.
[0090] The procedure 801 also includes evaluating 805 the timestamp in the segment per the timestamp policy 805. The timestamp policy has already been identified, and should correspond to the kind of host which is the target of the TCP connection. The timestamp policy will indicate how a timestamp is to be handled. For example, it may be compared to determine whether it is chronologically after the baseline timestamp. Also, the sequence number for the segment can be referenced to determine if a segment with that sequence number is expected. In addition, the timestamp policy can indicate that the timestamp is ignored for a period of time or for the entire TCP connection, for example if the timestamp is not used. The timestamp policy can also indicate how to handle a segment (e.g., keep or drop) if it is an overlapping segment. Other procedures for handling timestamps can also be accommodated in the timestamp policy. [0091] The procedure 801 includes if the timestamp/sequence number is not valid for the target 807, then not forwarding 809 the segment to the destination host. Because segments may arrive out of order even in the usual course of communication, some or all of the segments can be buffered for reassembly. The segments can be dropped, i.e., not buffered and ignored, or alternatively, can be marked as improper or not to be forwarded. Consequently, the ID/PS will not evaluate a segment which the host system it is protecting would ignore. [0092] On the other hand, the procedure provides for, if the timestamp/sequence number is valid according to the timestamp policy for the target, forwarding 811 the segment to the destination host. Also, if the timestamp/sequence number is valid, the procedure 801 can provide for updating 813 the baseline timestamp per the timestamp policy, for use as an intermediate comparison timestamp. For example, if segments 1 and 2 have been received and are acceptable, the intermediate comparison timestamp can be updated to segment 2, that is, the last segment in a complete sequence. In some cases the intermediate comparison timestamp can remain the same, such as where segment 3A and 3B are received, but segment 2 is delayed and not yet received. [0093] The procedure 801 includes getting 815 the next segment in the TCP connection, and if not the end of the TCP connection 817, repeating the analysis for the next segment. If, however, this was the end of the TCP connection, the procedure 801 ends 819. [0094] Accordingly, one or more embodiments provide that the filtering further comprises evaluating sequence numbers identified in the segments to determine whether the timestamp is valid for the target, relative to the timestamps of prior segments in the sequence. [0095] Moreover, embodiments include a computer system configured with the foregoing computer-readable medium and/or method(s); and/or a communication network comprising at least one computer system configured with the foregoing computer-readable medium and/or method(s). Therefore, one or more embodiments provide for a computer-readable medium comprising instructions for execution by a computer, the instructions including a computer- implemented method performed in an intrusion detection/prevention system, for analyzing segments in a transmission control protocol (TCP) connection in a communication network, the TCP connection including a plurality of TCP segments beginning with a three way handshake, wherein a TCP segment includes a field for a timestamp and a field for a sequence number, the instructions for implementing: (A) monitoring a plurality of segments in a TCP connection; and (B) filtering the segments in the TCP connection as indicated in a timestamp policy corresponding to the target, the timestamp policy indicating whether the segments are to be filtered out or forwarded to the target by comparing the timestamp of the segments to the baseline timestamp and by evaluating sequence numbers identified in the segments to determine whether the timestamp is valid for the target relative to the timestamps of prior segments in the sequence according to the sequence numbers.
[0096] It should be noted that the communication networks of interest include those that transmit information in packets which can be formed into segments, for example, those known as packet switching networks that transmit data, where data can be divided into packets before transmission, the packets are transmitted, and the packets are routed over network infrastructure devices, which are sent to a destination where the segments of packets can be reassembled into the packets. Such networks include, by way of example, the Internet, intranets, local area networks (LAN), wireless LANs (WLAN), wide area networks (WAN), and others. Protocols supporting communication networks that utilize packets include one or more of various networking protocols having any link Iayer4s that support the TCP transport layer, or any application that rides over the transport layer, and other wireless application protocols or wireline application protocols and/or other protocol structures, and variants and evolutions thereof. Such networks can provide wireless communication capability and/or utilize wireline connections such as cable and/or a connector, or similar.
[0097] Furthermore, the designation "intrusion detection/prevention system" is used herein to denote a device or software that passively or actively analyzes network traffic for intrusion. Examples of such devices or software are sometimes referred to as "intrusion detection system" (IDS), "intrusion prevention system" (IPS), "network intrusion detection system" (NIDS), "network intrusion protection system" (NIPS), and the like, and variants or evolutions thereof. An intrusion detection/prevention system may be host-based, or may monitor traffic to a target system using, for example, sensors, anywhere between the target system and the intruder, typically after a final router or firewall. The designation "intrusion detection/prevention" is used herein to indicate the analysis of network traffic with respect to intrusion, where the analysis is used passively (commonly referred to as "intrusion detection") or actively (commonly referred to as "intrusion prevention"). Likewise, the designation "detect/prevent" is utilized to indicate either passive or active handling or intrusion, which may occur for example in an IDS, an IPS, or other software or device which incorporates an IDS or IPS function, such as a firewall, proxy, or the like.
[0098] This disclosure is intended to explain how to fashion and use various embodiments in accordance with the invention rather than to limit the true, intended, and fair scope and spirit thereof. The invention is defined solely by the appended claims, as they may be amended during the pendency of this application for patent, and all equivalents thereof. The foregoing description is not intended to be exhaustive or to limit the invention to the precise form disclosed. Modifications or variations are possible in light of the above teachings. The embodiment(s) was chosen and described to provide the best illustration of the principles of the invention and its practical application, and to enable one of ordinary skill in the art to utilize the invention in various embodiments and with various modifications as are suited to the particular use contemplated. All such modifications and variations are within the scope of the invention as determined by the appended claims, as may be amended during the pendency of this application for patent, and all equivalents thereof, when interpreted in accordance with the breadth to which they are fairly, legally, and equitably entitled.

Claims

CLAIMSWhat is claimed is:
1. A method performed in an intrusion detection/prevention system for determining whether a transmission control protocol (TCP) segment in a TCP connection in a communication network is acceptable, the TCP connection including a plurality of TCP segments beginning with a three way handshake, wherein a TCP segment includes a field for a timestamp, comprising:
(A) identifying a timestamp policy of plural timestamp policies, the timestamp policy corresponding to a target associated with the segments in a TCP connection;
(B) identifying a baseline timestamp based on a three way handshake in the TCP connection;
(C) monitoring segments in the TCP connection; and
(D) filtering the segments in the TCP connection as indicated in the timestamp policy corresponding to the target, the timestamp policy indicating whether the segments are to be filtered out or forwarded to the target by comparing the timestamp of the segments to the baseline timestamp.
2. The method according to claim 1, wherein a plurality of targets including the target are provided, a target being associated with a kind of host, respective kinds of hosts being associated with respective timestamp policies; and the timestamp policy is associated with the kind of host associated with the target.
3. The method according to claim 1, wherein the timestamp in the next segment which is received properly according to the timestamp policy becomes the baseline timestamp.
4. The method according to claim 1, wherein, if the timestamp in the three way handshake is zero, the timestamp in the first TCP segment expected after the handshake becomes the baseline timestamp if properly received.
5. The method according to claim 1, wherein the monitoring is performed in accordance with a TCP layer.
6. The method according to claim 1, wherein the segments are formatted according to a TCP layer format.
7. The method according to claim 1 , wherein the filtering further comprises evaluating sequence numbers identified in the segments to determine whether the timestamp is valid for the target, relative to the timestamps of prior segments in the sequence.
8. A computer system for detecting or preventing intrusion, comprising:
(A) a unit configured to facilitate determining a kind of host associated with a target, in response to an indication of the target in segments in a transmission control protocol (TCP) connection; and
(B) a segment filtering unit configured to facilitate identifying a timestamp policy of plural timestamp policies, the timestamp policy corresponding to the target associated with the segments in the TCP connection, the timestamp policy indicating whether the segments are to be filtered out or retained for the target by comparing the timestamp of the segments to a baseline timestamp, the baseline timestamp being based on a three way handshake in the TCP connection, and providing the segments in the TCP connection if retained.
9. The computer system according to claim 8, further comprising an intrusion detection/prevention unit to detect an intrusion in the segments, wherein the segment filtering unit provides the filtered segments to the intrusion detection/prevention unit.
10. The computer system according to claim 8, further comprising a receiving unit configured to facilitate receiving segments in the TCP connection, wherein the segments are received in accordance with a TCP layer.
11. The computer system according to claim 8, wherein a plurality of targets including the target are provided, a target being associated with a kind of host, respective kinds of hosts being associated with respective timestamp policies; and the timestamp policy which is identified corresponds to the kind of host associated with the target.
12. The computer system according to claim 8, wherein the timestamp in the next segment which is received properly according to the timestamp policy becomes the baseline timestamp.
13. The computer system according to claim 8, wherein, if the timestamp in the three way handshake is zero, the timestamp in the first TCP segment expected after the handshake becomes the baseline timestamp if properly received.
14. The computer system according to claim 8, wherein the segment filtering unit is further configured to evaluate sequence numbers identified in the segments to determine whether the timestamp is valid for the target, relative to the timestamps of prior segments in the sequence.
15. A computer-readable medium comprising instructions for execution by a computer, the instructions including a computer-implemented method performed in an intrusion detection/prevention system, for analyzing segments in a transmission control protocol (TCP) connection in a communication network, the TCP connection including a plurality of TCP segments beginning with a three way handshake, wherein a TCP segment includes a field for a timestamp and a field for a sequence number, the instructions for implementing:
(A) monitoring a plurality of segments in a TCP connection; and
(B) filtering the segments in the TCP connection as indicated in a timestamp policy corresponding to the target, the timestamp policy indicating whether the segments are to be filtered out or forwarded to the target by comparing the timestamp of the segments to the baseline timestamp and by evaluating sequence numbers identified in the segments to determine whether the timestamp is valid for the target relative to the timestamps of prior segments in the sequence according to the sequence numbers.
16. The computer-readable medium according to claim 15, further comprising instructions for identifying a kind of host associated with the target, and selecting the timestamp policy which is associated with the kind of host from plural timestamp policies associated with respective kinds of hosts.
17. The computer-readable medium according to claim 15, further comprising instructions for setting the baseline timestamp to the timestamp in the next segment which is received properly according to the timestamp policy.
18. The computer-readable medium according to claim 15, further comprising instructions for setting the baseline timestamp to the timestamp in the first TCP segment expected after the handshake if properly received, if the timestamp in the three way handshake is zero.
19. The computer-readable medium according to claim 15, further comprising instructions for setting the baseline timestamp to the timestamp in the three way handshake, if the timestamp in the three way handshake is non-zero.
20. The computer-readable medium according to claim 15, further comprising instructions for receiving the segments in the TCP connection, wherein the segments are received in accordance with a TCP layer.
PCT/US2008/002454 2007-02-28 2008-02-26 Timestamp analysis of segments in a transmission control protocol (tcp) session WO2008106084A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US11/711,876 US8069352B2 (en) 2007-02-28 2007-02-28 Device, system and method for timestamp analysis of segments in a transmission control protocol (TCP) session
US11/711,876 2007-02-28

Publications (1)

Publication Number Publication Date
WO2008106084A1 true WO2008106084A1 (en) 2008-09-04

Family

ID=39717466

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2008/002454 WO2008106084A1 (en) 2007-02-28 2008-02-26 Timestamp analysis of segments in a transmission control protocol (tcp) session

Country Status (2)

Country Link
US (1) US8069352B2 (en)
WO (1) WO2008106084A1 (en)

Families Citing this family (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7496662B1 (en) 2003-05-12 2009-02-24 Sourcefire, Inc. Systems and methods for determining characteristics of a network and assessing confidence
US7539681B2 (en) * 2004-07-26 2009-05-26 Sourcefire, Inc. Methods and systems for multi-pattern searching
US7733803B2 (en) 2005-11-14 2010-06-08 Sourcefire, Inc. Systems and methods for modifying network map attributes
US8272055B2 (en) 2008-10-08 2012-09-18 Sourcefire, Inc. Target-based SMB and DCE/RPC processing for an intrusion detection system or intrusion prevention system
US20100251355A1 (en) * 2009-03-31 2010-09-30 Inventec Corporation Method for obtaining data for intrusion detection
US8683264B2 (en) 2010-04-13 2014-03-25 International Business Machines Corporation Processing execution requests within different computing environments
CA2789824C (en) 2010-04-16 2018-11-06 Sourcefire, Inc. System and method for near-real time network attack detection, and system and method for unified detection via detection routing
US8433790B2 (en) 2010-06-11 2013-04-30 Sourcefire, Inc. System and method for assigning network blocks to sensors
US8671182B2 (en) 2010-06-22 2014-03-11 Sourcefire, Inc. System and method for resolving operating system or service identity conflicts
US8843645B2 (en) * 2010-06-24 2014-09-23 Citrix Systems, Inc. Systems and methods for detecting incomplete requests, TCP timeouts and application timeouts
US8601034B2 (en) 2011-03-11 2013-12-03 Sourcefire, Inc. System and method for real time data awareness
US9947029B2 (en) 2012-06-29 2018-04-17 AppNexus Inc. Auction tiering in online advertising auction exchanges
CN103685410B (en) * 2012-09-18 2016-08-31 华耀(中国)科技有限公司 A kind of method of transparent transmission timestamp
US9794275B1 (en) 2013-06-28 2017-10-17 Symantec Corporation Lightweight replicas for securing cloud-based services
WO2015077586A1 (en) * 2013-11-21 2015-05-28 AppNexus Inc. Methods and methods apparatus for statistical mobile device identification
EP3059922A1 (en) * 2015-02-20 2016-08-24 Thomson Licensing Devices and methods for performing tcp handshakes
US10261489B2 (en) * 2015-04-15 2019-04-16 Indegy Ltd. Detection of mis-configuration and hostile attacks in industrial control networks using active querying
CN106612256A (en) * 2015-10-23 2017-05-03 中兴通讯股份有限公司 Message processing method and message processing device
US20190182286A1 (en) * 2017-12-11 2019-06-13 Xm Cyber Ltd. Identifying communicating network nodes in the presence of Network Address Translation

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040034773A1 (en) * 2002-08-19 2004-02-19 Balabine Igor V. Establishing authenticated network connections
US20050160095A1 (en) * 2002-02-25 2005-07-21 Dick Kevin S. System, method and computer program product for guaranteeing electronic transactions

Family Cites Families (145)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US600427A (en) * 1898-03-08 Drinking-goblet
JPS59195179A (en) 1983-04-20 1984-11-06 Uro Denshi Kogyo Kk Alarming device for intruder
US4550436A (en) 1983-07-26 1985-10-29 At&T Bell Laboratories Parallel text matching methods and apparatus
JPH0797373B2 (en) 1985-08-23 1995-10-18 株式会社日立製作所 Document matching system
JPH0786537B2 (en) 1987-09-26 1995-09-20 松下電工株式会社 Human body detection device
US4857912A (en) 1988-07-27 1989-08-15 The United States Of America As Represented By The Secretary Of The Navy Intelligent security assessment system
JP2790466B2 (en) 1988-10-18 1998-08-27 株式会社日立製作所 Character string search method and apparatus
US5193192A (en) 1989-12-29 1993-03-09 Supercomputer Systems Limited Partnership Vectorized LR parsing of computer programs
US5404488A (en) 1990-09-26 1995-04-04 Lotus Development Corporation Realtime data feed engine for updating an application with the most currently received data from multiple data feeds
US5222081A (en) 1991-06-28 1993-06-22 Universal Data Systems, Inc. Method of performing an autobaud function using a state flow machine
US5430842A (en) 1992-05-29 1995-07-04 Hewlett-Packard Company Insertion of network data checksums by a network adapter
US5497463A (en) 1992-09-25 1996-03-05 Bull Hn Information Systems Inc. Ally mechanism for interconnecting non-distributed computing environment (DCE) and DCE systems to operate in a network system
JP2994926B2 (en) 1993-10-29 1999-12-27 松下電器産業株式会社 Method for creating finite state machine, method for creating pattern matching machine, method for transforming them, and method for driving
GB9326476D0 (en) 1993-12-24 1994-02-23 Newbridge Networks Corp Network
US5459841A (en) 1993-12-28 1995-10-17 At&T Corp. Finite state machine with minimized vector processing
US5666293A (en) 1994-05-27 1997-09-09 Bell Atlantic Network Services, Inc. Downloading operating system software through a broadcast channel
JPH09198398A (en) 1996-01-16 1997-07-31 Fujitsu Ltd Pattern retrieving device
US5870554A (en) 1996-04-01 1999-02-09 Advanced Micro Devices, Inc. Server selection method where a client selects a server according to address, operating system and found frame for remote booting
US5995963A (en) 1996-06-27 1999-11-30 Fujitsu Limited Apparatus and method of multi-string matching based on sparse state transition list
US5901307A (en) 1996-07-22 1999-05-04 International Business Machines Corporation Processor having a selectively configurable branch prediction unit that can access a branch prediction utilizing bits derived from a plurality of sources
US5796942A (en) 1996-11-21 1998-08-18 Computer Associates International, Inc. Method and apparatus for automated network-wide surveillance and security breach intervention
US6477648B1 (en) 1997-03-23 2002-11-05 Novell, Inc. Trusted workstation in a networked client/server computing system
US5999937A (en) 1997-06-06 1999-12-07 Madison Information Technologies, Inc. System and method for converting data between data sets
US5919257A (en) 1997-08-08 1999-07-06 Novell, Inc. Networked workstation intrusion detection system
US5987473A (en) 1997-09-09 1999-11-16 Beologic A/S Interactive configuration via network
US6199181B1 (en) 1997-09-09 2001-03-06 Perfecto Technologies Ltd. Method and system for maintaining restricted operating environments for application programs or operating systems
US6002427A (en) 1997-09-15 1999-12-14 Kipust; Alan J. Security system with proximity sensing for an electronic device
US8225408B2 (en) 1997-11-06 2012-07-17 Finjan, Inc. Method and system for adaptive rule-based content scanners
US6141686A (en) 1998-03-13 2000-10-31 Deterministic Networks, Inc. Client-side application-classifier gathering network-traffic statistics and application and user names using extensible-service provider plugin for policy-based network control
AU3728499A (en) 1998-04-27 1999-11-16 Digital Electronics Corporation Control system, display, host computer for control, and data transmitting method
DE69829645T2 (en) 1998-05-01 2006-03-09 Hewlett-Packard Development Co., L.P., Houston Method for changing dynamic decision trees
US6334121B1 (en) 1998-05-04 2001-12-25 Virginia Commonwealth University Usage pattern based user authenticator
US6684332B1 (en) * 1998-06-10 2004-01-27 International Business Machines Corporation Method and system for the exchange of digitally signed objects over an insecure network
US6324656B1 (en) 1998-06-30 2001-11-27 Cisco Technology, Inc. System and method for rules-driven multi-phase network vulnerability assessment
US6973455B1 (en) 1999-03-03 2005-12-06 Emc Corporation File server system providing direct data sharing between clients with a server acting as an arbiter and coordinator
US6590885B1 (en) 1998-07-10 2003-07-08 Malibu Networks, Inc. IP-flow characterization in a wireless point to multi-point (PTMP) transmission system
US6711127B1 (en) 1998-07-31 2004-03-23 General Dynamics Government Systems Corporation System for intrusion detection and vulnerability analysis in a telecommunications signaling network
US6343362B1 (en) 1998-09-01 2002-01-29 Networks Associates, Inc. System and method providing custom attack simulation language for testing networks
US6219786B1 (en) 1998-09-09 2001-04-17 Surfcontrol, Inc. Method and system for monitoring and controlling network access
US6321338B1 (en) 1998-11-09 2001-11-20 Sri International Network surveillance
US6499107B1 (en) 1998-12-29 2002-12-24 Cisco Technology, Inc. Method and system for adaptive network security using intelligent packet analysis
US6415321B1 (en) 1998-12-29 2002-07-02 Cisco Technology, Inc. Domain mapping method and system
US6393474B1 (en) 1998-12-31 2002-05-21 3Com Corporation Dynamic policy management apparatus and method using active network devices
US6487666B1 (en) 1999-01-15 2002-11-26 Cisco Technology, Inc. Intrusion detection signature analysis using regular expressions and logical operators
US6754826B1 (en) 1999-03-31 2004-06-22 International Business Machines Corporation Data processing system and method including a network access connector for limiting access to the network
US6539381B1 (en) 1999-04-21 2003-03-25 Novell, Inc. System and method for synchronizing database information
US6587876B1 (en) 1999-08-24 2003-07-01 Hewlett-Packard Development Company Grouping targets of management policies
US7073198B1 (en) 1999-08-26 2006-07-04 Ncircle Network Security, Inc. Method and system for detecting a vulnerability in a network
US7310688B1 (en) 1999-08-30 2007-12-18 Ciena Corporation Relative addressing for network elements
US7065657B1 (en) 1999-08-30 2006-06-20 Symantec Corporation Extensible intrusion detection system
US6789202B1 (en) 1999-10-15 2004-09-07 Networks Associates Technology, Inc. Method and apparatus for providing a policy-driven intrusion detection system
US6678824B1 (en) 1999-11-02 2004-01-13 Agere Systems Inc. Application usage time limiter
US6678734B1 (en) 1999-11-13 2004-01-13 Ssh Communications Security Ltd. Method for intercepting network packets in a computing device
US6990591B1 (en) 1999-11-18 2006-01-24 Secureworks, Inc. Method and system for remotely configuring and monitoring a communication device
US6957348B1 (en) 2000-01-10 2005-10-18 Ncircle Network Security, Inc. Interoperability of vulnerability and intrusion detection systems
US7315801B1 (en) 2000-01-14 2008-01-01 Secure Computing Corporation Network security modeling system and method
US6851061B1 (en) 2000-02-16 2005-02-01 Networks Associates, Inc. System and method for intrusion detection data collection using a network protocol stack multiplexor
JP2003529254A (en) 2000-03-27 2003-09-30 ネットワーク セキュリティー システムズ, インコーポレーテッド Internet / network security method and system for checking customer security from a remote device
JP2001285400A (en) 2000-03-29 2001-10-12 Kddi Corp Correcting method of traffic statistics information
US7134141B2 (en) 2000-06-12 2006-11-07 Hewlett-Packard Development Company, L.P. System and method for host and network based intrusion detection and response
US8661539B2 (en) 2000-07-10 2014-02-25 Oracle International Corporation Intrusion threat detection
US20020087716A1 (en) 2000-07-25 2002-07-04 Shakeel Mustafa System and method for transmitting customized multi priority services on a single or multiple links over data link layer frames
US6772196B1 (en) 2000-07-27 2004-08-03 Propel Software Corp. Electronic mail filtering system and methods
US6766320B1 (en) 2000-08-24 2004-07-20 Microsoft Corporation Search engine with natural language-based robust parsing for user query and relevance feedback learning
US7181769B1 (en) 2000-08-25 2007-02-20 Ncircle Network Security, Inc. Network security system having a device profiler communicatively coupled to a traffic monitor
US7032114B1 (en) 2000-08-30 2006-04-18 Symantec Corporation System and method for using signatures to detect computer intrusions
US20020035639A1 (en) 2000-09-08 2002-03-21 Wei Xu Systems and methods for a packet director
US20070192863A1 (en) 2005-07-01 2007-08-16 Harsh Kapoor Systems and methods for processing data flows
US20020066034A1 (en) 2000-10-24 2002-05-30 Schlossberg Barry J. Distributed network security deception system
US7054930B1 (en) 2000-10-26 2006-05-30 Cisco Technology, Inc. System and method for propagating filters
US20020083344A1 (en) 2000-12-21 2002-06-27 Vairavan Kannan P. Integrated intelligent inter/intra networking device
US6792269B2 (en) 2000-12-22 2004-09-14 Bellsouth Intellectual Property Corporation System, method and apparatus for tracking deployment of cellular telephone network sites
JP3672242B2 (en) 2001-01-11 2005-07-20 インターナショナル・ビジネス・マシーンズ・コーポレーション PATTERN SEARCH METHOD, PATTERN SEARCH DEVICE, COMPUTER PROGRAM, AND STORAGE MEDIUM
US7058821B1 (en) 2001-01-17 2006-06-06 Ipolicy Networks, Inc. System and method for detection of intrusion attacks on packets transmitted on a network
US20020165707A1 (en) 2001-02-26 2002-11-07 Call Charles G. Methods and apparatus for storing and processing natural language text data as a sequence of fixed length integers
US7624444B2 (en) 2001-06-13 2009-11-24 Mcafee, Inc. Method and apparatus for detecting intrusions on a computer system
US7096503B1 (en) 2001-06-29 2006-08-22 Mcafee, Inc. Network-based risk-assessment tool for remotely detecting local computer vulnerabilities
US6978223B2 (en) 2001-09-06 2005-12-20 Bbnt Solutions Llc Systems and methods for network performance measurement using packet signature collection
US7406526B2 (en) 2001-09-28 2008-07-29 Uri Benchetrit Extended internet protocol network address translation system
US6999998B2 (en) 2001-10-04 2006-02-14 Hewlett-Packard Development Company, L.P. Shared memory coupling of network infrastructure devices
US20030083847A1 (en) 2001-10-31 2003-05-01 Schertz Richard L. User interface for presenting data for an intrusion protection system
US20030101353A1 (en) 2001-10-31 2003-05-29 Tarquini Richard Paul Method, computer-readable medium, and node for detecting exploits based on an inbound signature of the exploit and an outbound signature in response thereto
US7472167B2 (en) 2001-10-31 2008-12-30 Hewlett-Packard Development Company, L.P. System and method for uniform resource locator filtering
US6546493B1 (en) 2001-11-30 2003-04-08 Networks Associates Technology, Inc. System, method and computer program product for risk assessment scanning based on detected anomalous events
AU2002360844A1 (en) 2001-12-31 2003-07-24 Citadel Security Software Inc. Automated computer vulnerability resolution system
US7257630B2 (en) 2002-01-15 2007-08-14 Mcafee, Inc. System and method for network vulnerability detection and reporting
US6993706B2 (en) 2002-01-15 2006-01-31 International Business Machines Corporation Method, apparatus, and program for a state machine framework
US7152105B2 (en) 2002-01-15 2006-12-19 Mcafee, Inc. System and method for network vulnerability detection and reporting
JP4152108B2 (en) 2002-01-18 2008-09-17 株式会社コムスクエア Vulnerability monitoring method and system
US7076803B2 (en) 2002-01-28 2006-07-11 International Business Machines Corporation Integrated intrusion detection services
US7174566B2 (en) 2002-02-01 2007-02-06 Intel Corporation Integrated network intrusion detection
US20030229726A1 (en) 2002-03-18 2003-12-11 Daseke Michael J. Default device configuration system and method for thin devices
AU2003220582A1 (en) 2002-03-29 2003-10-13 Cisco Technology, Inc. Method and system for reducing the false alarm rate of network intrusion detection systems
JP4047053B2 (en) 2002-04-16 2008-02-13 富士通株式会社 Retrieval apparatus and method using sequence pattern including repetition
US7383577B2 (en) 2002-05-20 2008-06-03 Airdefense, Inc. Method and system for encrypted network management and intrusion detection
WO2003100617A1 (en) 2002-05-22 2003-12-04 Lucid Security Corporation Adaptive intrusion detection system
US6983323B2 (en) 2002-08-12 2006-01-03 Tippingpoint Technologies, Inc. Multi-level packet screening with dynamically selected filtering criteria
US20040064726A1 (en) 2002-09-30 2004-04-01 Mario Girouard Vulnerability management and tracking system (VMTS)
US20040093582A1 (en) 2002-11-01 2004-05-13 Segura Tim E. Method for allowing a computer to be used as an information kiosk while locked
US7363656B2 (en) 2002-11-04 2008-04-22 Mazu Networks, Inc. Event detection/anomaly correlation heuristics
US7454499B2 (en) 2002-11-07 2008-11-18 Tippingpoint Technologies, Inc. Active network defense system and method
KR100456635B1 (en) 2002-11-14 2004-11-10 한국전자통신연구원 Method and system for defensing distributed denial of service
US7350077B2 (en) * 2002-11-26 2008-03-25 Cisco Technology, Inc. 802.11 using a compressed reassociation exchange to facilitate fast handoff
US7353533B2 (en) 2002-12-18 2008-04-01 Novell, Inc. Administration of protection of data accessible by a mobile device
US20040193943A1 (en) 2003-02-13 2004-09-30 Robert Angelino Multiparameter network fault detection system using probabilistic and aggregation analysis
US8561175B2 (en) 2003-02-14 2013-10-15 Preventsys, Inc. System and method for automated policy audit and remediation management
US20040172234A1 (en) 2003-02-28 2004-09-02 Dapp Michael C. Hardware accelerator personality compiler
US7706378B2 (en) 2003-03-13 2010-04-27 Sri International Method and apparatus for processing network packets
US7185015B2 (en) 2003-03-14 2007-02-27 Websense, Inc. System and method of monitoring and controlling application files
US8127359B2 (en) 2003-04-11 2012-02-28 Samir Gurunath Kelekar Systems and methods for real-time network-based vulnerability assessment
US7305708B2 (en) 2003-04-14 2007-12-04 Sourcefire, Inc. Methods and systems for intrusion detection
US7644275B2 (en) * 2003-04-15 2010-01-05 Microsoft Corporation Pass-thru for client authentication
US7349400B2 (en) * 2003-04-29 2008-03-25 Narus, Inc. Method and system for transport protocol reconstruction and timer synchronization for non-intrusive capturing and analysis of packets on a high-speed distributed network
US20040221176A1 (en) 2003-04-29 2004-11-04 Cole Eric B. Methodology, system and computer readable medium for rating computer system vulnerabilities
AU2003225232A1 (en) 2003-04-29 2004-11-26 Threatguard, Inc. System and method for network security scanning
US7317693B1 (en) * 2003-05-12 2008-01-08 Sourcefire, Inc. Systems and methods for determining the network topology of a network
US7089383B2 (en) * 2003-06-06 2006-08-08 Hewlett-Packard Development Company, L.P. State machine and system for data redundancy
US7636917B2 (en) 2003-06-30 2009-12-22 Microsoft Corporation Network load balancing with host status information
US7596807B2 (en) 2003-07-03 2009-09-29 Arbor Networks, Inc. Method and system for reducing scope of self-propagating attack code in network
US7346922B2 (en) 2003-07-25 2008-03-18 Netclarity, Inc. Proactive network security system to protect against hackers
US7133916B2 (en) 2003-07-28 2006-11-07 Etelemetry, Inc. Asset tracker for identifying user of current internet protocol addresses within an organization's communications network
US20050114700A1 (en) 2003-08-13 2005-05-26 Sensory Networks, Inc. Integrated circuit apparatus and method for high throughput signature based network applications
US7467202B2 (en) 2003-09-10 2008-12-16 Fidelis Security Systems High-performance network content analysis platform
US8417673B2 (en) * 2003-10-07 2013-04-09 International Business Machines Corporation Method, system, and program for retaining versions of files
US7725936B2 (en) 2003-10-31 2010-05-25 International Business Machines Corporation Host-based network intrusion detection systems
EP1549012A1 (en) 2003-12-24 2005-06-29 DataCenterTechnologies N.V. Method and system for identifying the content of files in a network
GB2410647A (en) 2004-01-31 2005-08-03 Hewlett Packard Development Co Identifying and Patching Vulnerabilities in a Network
US20050188079A1 (en) 2004-02-24 2005-08-25 Covelight Systems, Inc. Methods, systems and computer program products for monitoring usage of a server application
US7313695B2 (en) 2004-03-23 2007-12-25 Sourcefire, Inc. Systems and methods for dynamic threat assessment
US7761918B2 (en) 2004-04-13 2010-07-20 Tenable Network Security, Inc. System and method for scanning a network
US7366728B2 (en) 2004-04-27 2008-04-29 International Business Machines Corporation System for compressing a search tree structure used in rule classification
WO2005114541A2 (en) * 2004-05-19 2005-12-01 Computer Associates Think, Inc. Systems and methods for minimizing security logs
US20050268331A1 (en) 2004-05-25 2005-12-01 Franck Le Extension to the firewall configuration protocols and features
US8074277B2 (en) 2004-06-07 2011-12-06 Check Point Software Technologies, Inc. System and methodology for intrusion detection and prevention
US7480245B2 (en) 2004-12-11 2009-01-20 International Business Machines Corporation Segmenting data packets for over-network transmission at adjustable fragment boundary
US10015140B2 (en) 2005-02-03 2018-07-03 International Business Machines Corporation Identifying additional firewall rules that may be needed
US7454790B2 (en) 2005-05-23 2008-11-18 Ut-Battelle, Llc Method for detecting sophisticated cyber attacks
US20060294588A1 (en) 2005-06-24 2006-12-28 International Business Machines Corporation System, method and program for identifying and preventing malicious intrusions
US20070027913A1 (en) * 2005-07-26 2007-02-01 Invensys Systems, Inc. System and method for retrieving information from a supervisory control manufacturing/production database
US8077718B2 (en) 2005-08-12 2011-12-13 Microsoft Corporation Distributed network management
US7873025B2 (en) * 2006-02-23 2011-01-18 Cisco Technology, Inc. Network device that determines application-level network latency by monitoring option values in a transport layer message
GB2432933B (en) 2006-03-14 2008-07-09 Streamshield Networks Ltd A method and apparatus for providing network security
US7958227B2 (en) 2006-05-22 2011-06-07 Mcafee, Inc. Attributes of captured objects in a capture system
US7930747B2 (en) 2007-01-08 2011-04-19 Trend Micro Incorporated Host intrusion prevention server
US7936794B2 (en) * 2007-08-07 2011-05-03 Avaya Inc. Clock management between two end points

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050160095A1 (en) * 2002-02-25 2005-07-21 Dick Kevin S. System, method and computer program product for guaranteeing electronic transactions
US20040034773A1 (en) * 2002-08-19 2004-02-19 Balabine Igor V. Establishing authenticated network connections

Also Published As

Publication number Publication date
US20080209518A1 (en) 2008-08-28
US8069352B2 (en) 2011-11-29

Similar Documents

Publication Publication Date Title
US8069352B2 (en) Device, system and method for timestamp analysis of segments in a transmission control protocol (TCP) session
US7701945B2 (en) Device, system and method for analysis of segments in a transmission control protocol (TCP) session
US7948988B2 (en) Device, system and method for analysis of fragments in a fragment train
US10277614B2 (en) Information processing apparatus, method for determining activity and computer-readable medium
US8272055B2 (en) Target-based SMB and DCE/RPC processing for an intrusion detection system or intrusion prevention system
US8095789B2 (en) Unauthorized communication detection method
US9392002B2 (en) System and method of providing virus protection at a gateway
US8793390B2 (en) Systems and methods for protocol detection in a proxy
US20120278492A1 (en) Using a server's capability profile to establish a connection
US20130283366A1 (en) Flexible network security system and method for permitting trusted process
EP3432533B1 (en) Method and system for processing forged tcp data packet
US7472418B1 (en) Detection and blocking of malicious code
EP2213045A1 (en) Security state aware firewall
KR20140122044A (en) Apparatus and method for detecting slow read dos
Yang et al. Manipulating network traffic to evade stepping-stone intrusion detection
US20210014253A1 (en) Device and method for intrusion detection in a communications network
Niemi et al. Evading deep inspection for fun and shell
Hsu et al. CTCP: A transparent centralized TCP/IP architecture for network security
Bukac IDS system evasion techniques
de Carvalho Bertoli et al. Evaluation of netfilter and eBPF/XDP to filter TCP flag-based probing attacks
KR100520102B1 (en) System and method for preventing harmful network traffic
Mizutani et al. The design and implementation of session‐based IDS
Niemi Protect Against Advanced Evasion Techniques

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 08726039

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 08726039

Country of ref document: EP

Kind code of ref document: A1