The present invention relates in general to network traffic analysis, and more specifically to analyzing server message block (SMB) command packets in a SMB named pipe, and analyzing distributed computing environment/remote procedure call (DCE/RPC) request fragments in a DCE/RPC request, optionally in connection with intrusion detection/prevention.
An SMB command, which is utilized in packet network communications, can be separated into multiple packets that are sent to the target destination, as part of the same SMB named pipe. The multiple packets can be reassembled by the destination to re-create the original SMB command.
Also, a DCE/RPC request utilized in packet network communications can be separated into request fragments which are sent to the destination, as part of the same DCE/RPC request. Each request fragment still belongs to the original DCE/RPC, and can be reassembled by the destination to re-create the original DCE/RPC request.
The inventor has noted that different kinds of operating systems and/or applications have unique methods of SMB packet reassembly and DCE/RPC fragment reassembly. For example, different WINDOWS™ and SAMBA™ versions handle SMB and DCE/RPC processing differently. These methods of reassembling DCE/RPC request fragments and/or SMB command packets can be exploited by attackers.
The conventional IDS/IPS is not sensitive to these differences, and may reassemble the SMB packets, SMB transaction fragments/segments and/or DCE/RPC request fragments differently than the target destination host. The reassembled SMB command or DCE/RPC request analyzed by the IDS/IPS may be different from the SMB command or DCE/RPC request reassembled by the SMB or DCE/RPC processing at the target destination host. Consequently, an attack that successfully exploits these differences in reassembly can cause the IDS/IPS to miss the malicious traffic. An attacker may use such an evasion to exploit a vulnerability and go unnoticed.
Accordingly, one or more embodiments of the present invention provide methods, systems, and computer readable memory mediums, in a processor of an intrusion detection/prevention system (IDS/IPS), for checking for valid packets in an SMB named pipe in a communication network. An embodiment includes receiving, in a processor configured as an IDS/IPS, a packet in a transmission and determining a kind of application of a target of the packet in response to receiving the packet. Also provided is including, in the IDS/IPS, the data in the packet as part of the SMB named pipe data inspected by the IDS/IPS as part of the SMB named pipe on only one of a condition that: (a) the FID in an SMB command header of the packet is valid (i) for segments/fragments in the SMB named pipe and (ii) for the determined kind of application of the target of the packet, as indicated by a reassembly table, and (b) the determined kind of application of the target of the packet does not check the FID, as indicated by the reassembly table.
Another embodiment provides methods, systems and computer readable memory mediums, in a processor of an intrusion detection/prevention system (IDS/IPS), for checking for valid packets in an SMB named pipe in a communication network. The embodiment can include receiving, in a processor configured as an IDS/IPS, a fragment/segment, and determining a kind of application of a target of the fragment/segment in response to receiving the fragment/segment. The embodiment also can include separating, in the IDS/IPS, fragments/segments with a same multiplex ID (MID) as part of a same SMB transaction command from fragments/segments with a different MID, the MID being in the SMB frame header, all for fragments/segments in the same SMB named pipe, when a reassembly table indicates that the kind of application of the target separates based on MID. Also, the embodiment can include processing, in the IDS/IPS, the same SMB transaction command with the same MID as being in a separate SMB transaction command instead of with the fragments/segments with the different MID when the kind of application of the target separates based on MID.
Still another embodiment provides methods, systems and computer readable memory mediums, in a processor of an intrusion detection/prevention system (IDS/IPS), for reassembling distributed computing environment/remote procedure call (DCE/RPC) request fragments. The embodiments can include receiving, in a processor configured as an IDS/IPS, plural request fragments belonging to a single DCE/RPC request. Also, the embodiment can include determining, in the IDS/IPS, the kind of application of a target of the DCE/RPC request. Furthermore, the embodiment can include selecting, in the IDS/IPS, one of the request fragments as a source of a context ID depending on the target kind of application as indicated in a reassembly table. Also, the embodiment can include reassembling, in the IDS/IPS, the plural request fragments into a reassembled request. Further, the embodiment can include inserting, in the IDS/IPS, the context ID from the selected request fragment into the context ID of a DCE/RPC header of the reassembled request.
Yet another embodiment provides methods, systems and computer readable memory mediums, in a processor of an intrusion detection/prevention system (IDS/IPS), for reassembling request fragments. The embodiment can include receiving, in a processor configured as an IDS/IPS, plural request fragments belonging to a single request. Also included is determining, in the IDS/IPS, the kind of application of a target of the request. Also included is selecting, in the IDS/IPS, one of the request fragments as a source of an operation number as indicated in a reassembly table depending on the target kind of application. Further included is reassembling, in the IDS/IPS, the plural request fragments into a reassembled request. Also provided is inserting, in the IDS/IPS, the operation number from a DCE/RPC header of the selected request fragment into the operation number of a DCE/RPC header of the reassembled request.
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.
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.
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 SMB commands which have been split at the SMB level into plural packets, and/or DCE/RPC requests which have been split at the DCE/RPC level into variable sized 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.
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.
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.
Consider the series of steps in the following example in connection with named pipes:
On a very basic level, the IDS/IPS needs to be aware of the different named pipes being written to so that the IDS/IPS does not munge all of the data together. Say an attacker is using FID1 to send an exploit and say the exploit spans two writes:
If the IDS does not separate the data going to each of the named pipes it will likely miss the exploit. It should be separating the data like so:
The UID/TID/FID relationship needs to be understood on a per target basis so an attacker can't slip in invalid data between writes to obscure an attack. Say for the Windows XP case:
The server will not accept the second write, so the IDS should not include the data in the second write for desegmentation/defragmentation and evaluation.
Now, consider the series of steps in the following example in connection with an SMB transaction:
The server will collect these segments until the total data for each SMB transaction is sent and then send to the named pipe. The data should be separated like this:
These and other problems in SMB and DCE/RPC processing can be addressed by various embodiments.
Further in accordance with exemplary embodiments, target-based SMB and/or DCE/RPC processing can provide an IDS/IPS the ability to maintain the same state and to reassemble both segmented SMB requests and/or fragmented DCE/RPC requests as does the target destination host. This can preclude evasion attacks since both the IDS/IPS and the destination host are in the same state and reassemble SMB segments and/or DCE/RPC fragments identically.
Referring now to
An SMB command in a transmission can be segmented at the SMB layer into packets or segments (sometimes referred to herein as fragments or fragments/segments) in accordance with known techniques. Also, a DCE/RPC request can be fragment at the DCE/RPC layer into DCE/RPC request fragments. The packets and segments are sent to the destination 109, and the destination 109 reassembles the packets and fragments into the SMB command or DCE/RPC request, as appropriate. The order in which the destination 109 reassembles packets and fragments is a by-product of the SMB layer processing or DCE/RPC layer processing, alone or in combination with the particular operating system on the destination 109. The method in which packets or fragments are reassembled by an application in combination with a particular operating system can be exploited by the intruder 101. Note that although this illustration assumes an intruder 101 sending transmissions or fragments, transmission or fragments that are analyzed can be sent from anywhere.
The illustrated IDS/IPS 111 includes portions for managing 113 packet reconstruction to handle SMB named pipe instance, managing 115 packet reconstruction to handle transaction tracking, reassembling 117 DCE/RPC fragments with context ID sensitivity, and reassembling 119 DCE/RPC fragments with operation number sensitivity (respectively, first, second, third and fourth embodiments). The IDS/IPS can include a combination of one, two, three, or four of the portions 113, 115, 117, 119. Conveniently, the portions 113, 115, 117, 119 can be provided as a preprocessor to the IDS/IPS, that is, to process data before it is evaluated for intrusion.
A first embodiment for processing SMB commands is discussed in connection with
(First Embodiment)
In accordance with known techniques for an SMB named pipe, a user logs in (is assigned a unique UID), opens a share (is assigned a tree id (TID)), and opens an SMB named pipe (is assigned a file id (FID)). Each of the UID, TID, and FID is unique. The standard SMB header has fields for UID and TID and FID.
Different operating systems and their SMB applications (hereafter, an “OS/application combination”) have different requirements for how to open an SMB named pipe for each of these within an SMB session.
In some OS/application combinations, it does not matter what UID or TID or FID is used—in other combinations, the FID matters, and perhaps the UID and/or TID matter. In some OS/application combinations, when a file is opened, it matters whether particular UIDs and TIDs are used when that FID is opened—others, not. It is ultimately the SMB layer on the target of the SMB request that handles the SMB request. For Windows, because Windows is closed source it unknown whether it is the kernel or a separate application that handles the SMB layer, such as a service host. In LINUX or UNIX, Samba is in an application layer. The present inventor noticed that different applications respond differently to the same UID, TID and FID in an SMB request.
An IDS/IPS traditional includes a preprocessor which formats the data before being evaluated for intrusions, among other things. One of the main purposes of the preprocessor is to do defragmentation, including deciding which named pipe instance a fragment belongs to.
With SAMBA 3.0.22 (as an example), the SMB request only needs the FID (without regard to UID and TID) to always get the same pipe instance.
So, as packets are coming in, one needs to know which named pipe the packet is going to be handled as in the target system in order to properly reassemble and evaluate fragments and packets for different kinds of OS/application combinations. (Both fragments or segments are split into fragmented or segmented packets at the application layer (unlike handling of IP fragments and TCP segments).
The key: as a target system is connected up, some combination of the UID, TID and/or FID may have to be specified, or not, depending on the OS/application combination at the target. It can be important to be able to identify whether or not a particular access is valid, as connections and transactions are tracked that go across that named pipe.
Referring now to
A first embodiment can improve the handling of SMB. A lookup table for SMB named pipe reassembly can be included in the IDS/IPS or its preprocessor, for the combination of OS/application targeted by the SMB request. The OS/Application combination (e.g., Windows 2003) can be looked up and returned by known technology. The lookup table can contain indications of how to process FID, and/or FUD/UID/TID, and even whether or not to check the FID/UIS/TID for each of predetermined OS/application combinations. The IDS/IPS or its preprocessor accordingly can flexibly and accurately handle SMB commands targeted to different OS/application combinations.
The SMB packet is received, and based on its IP address the OS/application (e.g., WINDOWS VISTA) is returned, and then the table is referenced for checking the FID, and/or FID/UID/TID based on the IP address. The named-pipe processing makes sure that the FID (in the appropriate context of the UID and TID, i.e., if required by the OS/application that is processing the SMB request) is valid for the segments/fragments. The lookup table can be set up which stores the UID and TID used to open the FID. Thus, after the pipe is open, checking can be done as to whether the FID is valid, given the UID and TID, further depending on the application on the target that is processing the SMB request.
As a concrete example, for UID, the system can check whether there was a valid login. Also, the system can check whether UID and TID in the request previously were used to open the named pipe, for example, Windows Vista. There are different requirements depending on the OS/application combination at the target as to whether or not the request is valid.
Referring now to
(Second Embodiment)
The second embodiment further considers the effect of the PID (process ID) and/or MID (multiplex ID) on the reassembly of SMB fragments/segments into SMB transaction commands by the IDS/IPS prior to the evaluation of the transaction commands by the IDS/IPS.
The transaction command, such as an SMB command, writes data to the named pipe. The MID and PID fields are important if the transaction is segmented. The application at the target needs to keep track of the secondary transaction commands' MID and PID to make sure the segment is being put into the right place.
A transaction SMB command causes the data to be written to the named pipe only when all of the segments are received by the target. An attacker can interleave an exploit with the secondary transaction commands. Segments for different transaction commands can be interleaved. The MID and PID fields indicate which transaction the segments belong to. In a typical transaction, none of the data is written to the pipe until all of the segments are gotten by the server. If two transactions are going at the same time, the IDS/IPS can more accurately identify intrusion events if it knows which transaction the segments belong to.
At the source end of the named pipe is the DCE/RPC processor.
Referring now to
A second embodiment can improve the handling of SMB. A lookup table for SMB transaction reassembly can be included in the IDS/IPS or its preprocessor, for the combination of OS/application targeted by the SMB request. The OS/Application combination (e.g., Windows 2003) which is on the target can be looked up and returned by known technology. The lookup table can contain predetermined indications of how to separate fragments/segments in the same SMB named pipe and collect them into SMB transaction commands, based on the MID and/or PID, for each of predetermined OS/application combinations. The IDS/IPS or its preprocessor accordingly can flexibly and accurately evaluate SMB transactions which are targeted to different OS/application combinations.
The SMB fragment/segment is received, and based on its IP address the OS/application (e.g., WINDOWS VISTA) is returned, and then the table is referenced for checking the MID and/or PID based on the OS/application of the target. The table can indicate whether the kind of OS/application separates fragments/segments with a different MID and/or PID into different SMB transaction commands.
Referring now to
Compare
(Third Embodiment)
The third embodiment further considers the effect of the context ID on the reassembly of DCE/RPC request fragments into DCE/RPC requests by the IDS/IPS prior to the evaluation of the DCE/RPC requests by the IDS/IPS.
Every DCE/RPC request has a context ID in the DCE/RPC header which is a handle that refers to the interface to which the request is made. If the request is fragmented, each fragment has only a part of the request; each fragment also has a context ID. The fragments are put back together to reassemble the DCE/RPC request. Although the fragments each include a context ID, only one of the fragments needs to have the context ID for the target application to put the fragments back together into the reconstituted request. However, the fragment that the target application selects from which to obtain the context ID is dependent on the target OS/application. For example, WINDOWS(SM) obtains the context ID from the first fragment, but SAMBA contrarily uses the last fragment. The present inventor has performed tests and observed that the fragment to select as providing the source of the context ID varies according to the recipient OS/application. Hence, it can be important to select the context ID from a correct one of the fragments so as to better emulate the target.
The context ID is a known field in the DCE/RPC request header. However, there is no standard which dictates the fragment to use for obtaining the context ID for a reassembled DCE/RPC request.
The context ID identifies a collection of functions for remote procedure calls. In comparison to embodiment 4 (discussed below), the operation number (sometimes referred to as an opnum) identifies a function within that collection of functions. Together, the context ID and operation number identify the service and the function within that service that is being called. By using a context ID and/or operation number as used by the target, the IDS/IPS can determine whether that data in the remote procedure call will exploit a particular vulnerability within that service. If the IDS is not tracking the context ID that is used by the OS/application, then it will not put fragments together the same as the target OS/application (a so-called “DCE/RPC exploit”).
Consider a DCE/RPC exploit spanning a couple of fragments in a DCE/RPC request. The exploit is based on the function call within that service. If the IDS/IPS uses the wrong context ID, then the IDS/IPS is checking a non-existent service or wrong service to identify the exploit, which then could go unnoticed.
The IDS/IPS gathers together the request fragments. If the target is Windows, for example, then the first fragment is stored with its context ID as being the correct context ID. Later, when all of the fragments are reassembled and the request header is added (according to known techniques), the fragment which is the source of the context ID stored into the request header of the reassembled packet, is predetermined and selected based on the recipient OS/application since the fragment the context ID comes from varies depending on the target OS/application.
The third and/or fourth embodiments can be implemented with SMB processing or even TCP connection/non-SMB.
Referring now to
A third embodiment can improve the handling of DCE/RPC request fragments. A lookup table for DCE/RPC context ID (and in some embodiments, a separate lookup table for DCE/RPC op num reassembly) and can be included in the IDS/IPS or its preprocessor, for the combination of OS/application targeted by the DCE/RPC request. The concept of the look table is discussed above. The IDS/IPS or its preprocessor accordingly can flexibly and accurately evaluate DCE/RPC requests reconstructed from fragments.
Referring now to
Compare
(Fourth Embodiment)
The fourth embodiment further considers the effect of the operation number on the reassembly of DCE/RPC request fragments into DCE/RPC requests by the IDS/IPS prior to the evaluation of the DCE/RPC requests by the IDS/IPS. The fourth embodiment is similar to the third embodiment, except that the operation number is referenced instead of the context ID. Hence, most of the discussion of the third embodiment is not repeated here.
The context ID and operation number can be obtained from different fragments, depending on the kind of target. For example, for the context ID, all Windows versions use the first fragment as the source of the context ID, but for the operation number, only Windows Vista uses the first fragment as the source of the context ID.
Referring now to
The processor 807 may comprise one or more microprocessors and/or one or more digital signal processors. The memory 813 may be coupled to the processor 807 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 813 may include multiple memory locations for storing, among other things, an operating system, data and variables 815 for programs executed by the processor 807; computer programs for causing the processor to operate in connection with various functions such as receiving 817 a transmission, determining 819 a kind of application of the target of the transmission, determining 821 a kind of application of the target of the fragment/segment, determining 823 a kind of application of the target of a DCE/RPC request, including 825 data in the packet as named pipe data in certain predetermined situations, determining 827 whether the UID/RID is valid for the FID, and excluding the data from the named pipe data when the UID and/or TID is invalid for the FID, determining 829 whether the data includes an attack spanning plural packets, separating 831 fragments/segments by MID/PID, processing 833 the same SMB transaction command apart from fragments/segments with a different MID/PID, selecting 835 a predetermined one of the request fragments as the source of context ID and selecting a predetermined one of the request fragments as a source of the operating number, reassembling 837 the fragments in a reassembled request, and/or other processing; an SMB named pipe reassembly table 839, an SMB transaction reassembly table 841, a DCE/RPC context ID reassembly table 843, a DCE/RPC operation number reassembly table 845; a kind of application database 847; and a database 849 for other information used by the processor 807. The computer programs may be stored, for example, in ROM or PROM and may direct the processor 807 in controlling the operation of the computer system 801.
The processor 807 optionally may be programmed for receiving 817 a transmission. In the illustrated example, fragments or packets are detected by the sensor 803 connected to the computer system 801 and are supplied to the computer system 801 in accordance with known techniques.
The processor 807 may be programmed for determining 819 a kind of application associated with the target of the packet, determining 821 a kind of application of the target of the fragment/segment, and for determining 823 a kind of application associated with the target of the DCE/RPC request. In the typical situation, the packet or fragment identifies the target, for example as a destination IP address found in the packet header. A kind of application database 847 or table can be maintained for known destinations, which indicates the kind of application associated with a particular target. The kind of host database or table is intended to distinguish between applications and/or operating systems that reassemble segments differently for SMB named pipe processing, for SMB commands, and/or for DCE/RPC requests. Advantageously, a reassembly table or database can indicate whether and how fragments are assembled (such as the order of assembly and whether data in a packet with an invalid FID, TID and/or UID is included in the SMB named pipe data or not). In the illustrated example, the SMB named pipe reassembly table 839 includes two or more fragment reassembly patterns, which can be indexed, for example by the kind of application.
The data can be provided, for example, by parsing the received fragments or packets, by accumulating data from the fragments or packets in storage in the order, or by data from the fragments or packets being provided as input for another process (for example the intrusion detection/prevention unit).
The processor 807 may be programmed for including 825 data in the packet as named pipe data for certain predetermined applications. The data can be included, for example, by accumulating data from the fragments or packets in storage if the reassembly table indicates that it is added, or by data from the fragments or packets being provided as input for another process (for example the intrusion detection/prevention unit).
The processor 807 may be programmed for determining 827 whether the UID/RID is valid for the FID, and excluding the data from the named pipe data when the UID and/or TID is invalid for the FID. Examples are discussed herein.
The processor 807 may be programmed for determining 829 whether the data includes an attack spanning plural packets. Examples are discussed herein.
The processor 807 may be programmed for separating 831 fragments/segments by MID/PID. Examples are discussed herein
The processor 807 may be programmed for processing 833 the same SMB transaction command apart from fragments/segments with a different MID/PID. Examples are discussed herein.
The processor 807 may be programmed for selecting 835 a predetermined one of the request fragments as the source of context ID and selecting a predetermined one of the request fragments as a source of the operation number. Examples are discussed herein.
The processor 807 may be programmed for specifically reassembling 837 the fragments in a reassembled request, and inserting the context ID and operation number into the DCE/RPC header which is added to the reassembled request before it is evaluated by the IDS/IPS for an intrusion. The reassembling can be done by, for example, storing the data from the fragments, in the order, in a storage location, to recreate the transmission. The recreated transmission can be provided for further processing, for example, to the intrusion detection/prevention unit.
An optional intrusion detection/prevention unit (not illustrated) can be included in the processor 807 can be programmed in accordance with known techniques, to evaluate whether the packets or fragments (properly assembled to match the behavior of the target) suggest an attempted intrusion.
The processor 807 may be programmed for various reassembly tables 839, 841, 843, 845. The reassembly tables 839, 841, 843 can be provided for implementing the different reassembly patterns. One or more of the reassembly tables 839, 841, 843, 845 alternatively can be stored in a remote database and accessed as needed.
The processor 807 may be programmed for a kind of application database 847. The kind of application database 847 can be maintained for known destinations, to indicate the kind of application associated with a particular destination. Optionally, the kind of application database 847 can be maintained remotely, and relevant kind of application information can be downloaded as needed. Optionally, the kind of application can be indicated in a table rather than a database.
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).
Referring now to
Referring now to
Referring now to
The process 1101 can receive 1103 a packet in a transmission. The packet is received at the IDS/IPS. Because the packet is being evaluated by the IDS/IPS, the IDS/IPS will attempt to evaluate the packet as it will be interpreted by the target. Therefore, the process 1101 can determine 1105 a kind of application of the target of the packet. For example, the IP address of the target can be used to determine the kind of application/OS combination which is used on the target using known techniques.
So that the IDS/IPS will accurately simulate how the application/OS interprets data in the packets, data in the packets is included as part of the SMB named pipe data which the IDS/IPS inspects only if (A) the FID in the SMB command header of the packet is valid for both the segments/fragments in the SMB named pipe and for the determined kind of application of the target of the packet; or if (B) the kid of application of the target of the packet does not check the FID. Thus, the process 1101 can judge 1107 whether the FID is valid for the segments/fragments in the SMB named pipe, and can judge 1109 whether the FID is valid for the kind of application of the target of the packet. Also, the process 1101 can judge 1111 whether the kind of application of the target checks the FID. Because the data is included in the SMB named pipe data only when the FID is valid for the particular kind of application of the target, or when the target is of the kind that does not check the FID, the SMB named pipe data inspected by the IDS/IPS more accurately simulates the SMB named pipe data at the target. Effectively, the process can exclude 1115 data from the packet as part of the SMB named pipe data and can include 1117 data from the packet as part of the SMB named pipe data which is inspected by the IDS/IPS.
Optionally, the process 1101 can judge 1113 whether the UID and/or TID is valid for the FID. In the event that the UID and/or the TID is not valid for the FID, the data from the packet can be excluded from the SMB named pipe date which is inspected by the IDS/IPS.
Referring now to
The process 1201 can receive 1203 a fragment/segment in a transmission in one SMB named pipe. This has been described previously in sufficient detail.
The process 1201 can determine 1205 a kind of the application of the target of the fragment/segment using any known process, as previously described.
The process 1201 can judge 1207 whether the kind of application of the target separates fragments/segments based on the MID, such as by referring to a reassembly table. For example, the reassembly table can be indexed by the kind of application and can indicate whether to separate fragments based on MID. Equivalents can also be provided. The process 1201 can separate 1209 fragments/segments with the same MID as part of the same SMB transaction command from fragments/segments with a different MID all in the same SMB named pipe. In this case, the fragments/segments which are in the same SMB transaction have the same MID.
The process 1201 can judge 1211 whether the kind of application of the target separates based on PID, for example by referring to a reassembly table which indicates whether to separate fragments based on PID. The process 1201 further can separate 1213 fragments/segments with the same MID and same PID as part of the same SMB transaction command from fragments/segments with a different MID or different PID all in the same SMB named pipe. In this case, the fragments/segments which are in the same SMB transaction have the same MID and PID.
The process 1201 then can process 1215 the same SMB transaction command with the same MID (and perhaps same PID as discussed above) as being a separate SMB transaction, instead of with the different MID or PID, where the fragments/segments are all in the same SMB named pipe.
If the kind of application of the target does not separate based on MID, the process 1201 instead can process 1217 the fragments/segments as part of the SMB transaction.
Referring now to
The process 1301 can receive 1303 fragments belonging to a single DCE/RPC request. Also, the process 1301 can determine 1305 a kind of application of the target of the DCE/RPC request. These have been previously described in detail.
The process 1301 can select 1307 a predetermined request fragment as a source of the context ID. The predetermined request fragment is associated with the kind of the application of the target. Thereby, different kinds of applications can indicate different request fragments. The request fragment could be, e.g., the first (or last) request fragment in order in the DCE/RPC request, the first (or last) request fragment in a DCE/RPC request to be received, or some intermediate request fragment.
The process 1301 can select 1309 a predetermined request fragment as a source of the operation number. The request fragment which is the source of the operation number may be different from the request fragment which is the source of the context ID.
The process 1301 can reassemble 1311 the DCE/RPC request, in accordance with known techniques, and can prepare a DCE/RPC header for the reassembled request. However, in comparison to conventional techniques, the process 1301 can insert 1313 the context ID and the operation number from the selected request fragment(s) into the DCE/RPC header of the reassembled requests.
Then, the process 1301 can evaluate 1315 the reassembled SMB request for intrusion in accordance with available IDS/IPS techniques.
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).
It should be noted that the communication networks of interest include those that transmit information in packets in accordance with SMB or DCE/RPC protocols, where the packets optionally can be formed into SMB segments/fragments or DCE/RPC request fragments, 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/fragments or 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 layers 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 communications capability and/or utilize wireline connections such as cable and/or a connector, or similar.
SMB protocols include those known as SMB, SMB1, SMB2, Samba, Samba TNG, Linux SMB, CIFS, CIFS Client for Solaris, FreeBSD SMB, smbfs, Vision FS, JLAN, RTSMB, and variations and evolutions thereof. Typically, SMB protocol is operated between an SMB client and SMB server as source and destination, with the IDS/IPS being neither. SMB mainly provides access to file, printers, ports, and miscellaneous communications between the SMB client and SMB server.
DCE/RPC refers to a remote procedure call that supports access across multiple computers, as if it were all accessing on the same computer, as specified by the Open Group as DCE RPC 1.1, DCE RPC 1.2.2, DCE/RPC from Samba TNG, FreeDCE, PC/DCE, MSRPC, and variations and evolutions thereof.
Furthermore, the designation “intrusion detection/prevention system” (and IDS/IPS) 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, whether 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 of intrusion, which may occur for example in an IDS, an IPS, or other software or device which incorporates an IDS or IPS function.
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 embodiments) 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.
This application claims the benefit of the following Provisional applications: 61/103,630 filed Oct. 8, 2008, all of which is expressly incorporated herein by reference.
Number | Name | Date | Kind |
---|---|---|---|
4550436 | Freeman | Oct 1985 | A |
4570157 | Kodaira | Feb 1986 | A |
4857912 | Everett et al. | Aug 1989 | A |
4912748 | Horii et al. | Mar 1990 | A |
4985863 | Fujisawa et al. | Jan 1991 | A |
5193192 | Seberger | Mar 1993 | A |
5222081 | Lewis et al. | Jun 1993 | A |
5404488 | Kerrigan et al. | Apr 1995 | A |
5430842 | Thompson et al. | Jul 1995 | A |
5459841 | Flora-Holmquist et al. | Oct 1995 | A |
5495409 | Kanno | Feb 1996 | A |
5497463 | Stein et al. | Mar 1996 | A |
5604910 | Kojima et al. | Feb 1997 | A |
5666293 | Metz et al. | Sep 1997 | A |
5796942 | Esbensen | Aug 1998 | A |
5870554 | Grossman et al. | Feb 1999 | A |
5881269 | Dobbelstein | Mar 1999 | A |
5901307 | Potter et al. | May 1999 | A |
5917821 | Gobuyan et al. | Jun 1999 | A |
5919257 | Trostle | Jul 1999 | A |
5963942 | Igata | Oct 1999 | A |
5987473 | Jorgensen | Nov 1999 | A |
5995963 | Nanba et al. | Nov 1999 | A |
5999937 | Ellard | Dec 1999 | A |
6002427 | Kipust | Dec 1999 | A |
6141686 | Jackowski et al. | Oct 2000 | A |
6199181 | Rechef et al. | Mar 2001 | B1 |
6219786 | Cunningham et al. | Apr 2001 | B1 |
6320848 | Edwards et al. | Nov 2001 | B1 |
6321338 | Porras et al. | Nov 2001 | B1 |
6324656 | Gleichauf et al. | Nov 2001 | B1 |
6334121 | Primeaux et al. | Dec 2001 | B1 |
6343362 | Ptacek et al. | Jan 2002 | B1 |
6393474 | Eichert et al. | May 2002 | B1 |
6415321 | Gleichauf et al. | Jul 2002 | B1 |
6453354 | Jiang et al. | Sep 2002 | B1 |
6477648 | Schell et al. | Nov 2002 | B1 |
6487666 | Shanklin et al. | Nov 2002 | B1 |
6499107 | Gleichauf et al. | Dec 2002 | B1 |
6539381 | Prasad et al. | Mar 2003 | B1 |
6546493 | Magdych et al. | Apr 2003 | B1 |
6587876 | Mahon et al. | Jul 2003 | B1 |
6590885 | Jorgensen | Jul 2003 | B1 |
6678734 | Haatainen et al. | Jan 2004 | B1 |
6678824 | Cannon et al. | Jan 2004 | B1 |
6684332 | Douglas | Jan 2004 | B1 |
6711127 | Gorman et al. | Mar 2004 | B1 |
6754826 | Challenger et al. | Jun 2004 | B1 |
6766320 | Wang et al. | Jul 2004 | B1 |
6772196 | Kirsch et al. | Aug 2004 | B1 |
6789202 | Ko et al. | Sep 2004 | B1 |
6816973 | Gleichauf et al. | Nov 2004 | B1 |
6851061 | Holland et al. | Feb 2005 | B1 |
6957348 | Flowers et al. | Oct 2005 | B1 |
6983323 | Cantrell et al. | Jan 2006 | B2 |
6993706 | Cook | Jan 2006 | B2 |
6999998 | Russell | Feb 2006 | B2 |
7032114 | Moran | Apr 2006 | B1 |
7054930 | Cheriton | May 2006 | B1 |
7058821 | Parekh et al. | Jun 2006 | B1 |
7065657 | Moran | Jun 2006 | B1 |
7073198 | Flowers et al. | Jul 2006 | B1 |
7076803 | Bruton et al. | Jul 2006 | B2 |
7096503 | Magdych et al. | Aug 2006 | B1 |
7113789 | Boehmke | Sep 2006 | B1 |
7133916 | Schunemann | Nov 2006 | B2 |
7134141 | Crosbie et al. | Nov 2006 | B2 |
7152105 | McClure et al. | Dec 2006 | B2 |
7174566 | Yadav | Feb 2007 | B2 |
7181769 | Keanini et al. | Feb 2007 | B1 |
7231665 | McArdle et al. | Jun 2007 | B1 |
7243148 | Keir et al. | Jul 2007 | B2 |
7257630 | Cole et al. | Aug 2007 | B2 |
7305708 | Norton et al. | Dec 2007 | B2 |
7310688 | Chin | Dec 2007 | B1 |
7313695 | Norton et al. | Dec 2007 | B2 |
7315801 | Dowd et al. | Jan 2008 | B1 |
7317693 | Roesch et al. | Jan 2008 | B1 |
7346922 | Miliefsky | Mar 2008 | B2 |
7350077 | Meier et al. | Mar 2008 | B2 |
7363656 | Weber et al. | Apr 2008 | B2 |
7365872 | Lawrence et al. | Apr 2008 | B2 |
7467202 | Savchuk | Dec 2008 | B2 |
7467205 | Dempster et al. | Dec 2008 | B1 |
7467410 | Graham et al. | Dec 2008 | B2 |
7493388 | Wen et al. | Feb 2009 | B2 |
7496662 | Roesch et al. | Feb 2009 | B1 |
7496962 | Roelker et al. | Feb 2009 | B2 |
7519954 | Beddoe et al. | Apr 2009 | B1 |
7539681 | Norton et al. | May 2009 | B2 |
7580370 | Boivie et al. | Aug 2009 | B2 |
7594273 | Keanini et al. | Sep 2009 | B2 |
7596807 | Ptacek et al. | Sep 2009 | B2 |
7644275 | Mowers et al. | Jan 2010 | B2 |
7664845 | Kurtz et al. | Feb 2010 | B2 |
7673043 | Keir et al. | Mar 2010 | B2 |
7680929 | Lyon | Mar 2010 | B1 |
7730011 | Deninger et al. | Jun 2010 | B1 |
7801980 | Roesch et al. | Sep 2010 | B1 |
7805762 | Rowland | Sep 2010 | B2 |
7885190 | Roesch et al. | Feb 2011 | B1 |
7949732 | Roesch et al. | May 2011 | B1 |
8020211 | Keanini et al. | Sep 2011 | B2 |
8041773 | Abu-Ghazaleh et al. | Oct 2011 | B2 |
20010027485 | Ogishi et al. | Oct 2001 | A1 |
20010034847 | Gaul, Jr. | Oct 2001 | A1 |
20020035639 | Xu | Mar 2002 | A1 |
20020066034 | Schlossberg | May 2002 | A1 |
20020083344 | Vairavan | Jun 2002 | A1 |
20020087716 | Mustafa | Jul 2002 | A1 |
20020112185 | Hodges | Aug 2002 | A1 |
20020123995 | Shibuya | Sep 2002 | A1 |
20020143918 | Soles et al. | Oct 2002 | A1 |
20020165707 | Call | Nov 2002 | A1 |
20030009699 | Gupta et al. | Jan 2003 | A1 |
20030014662 | Gupta et al. | Jan 2003 | A1 |
20030046388 | Milliken | Mar 2003 | A1 |
20030065817 | Benchetrit et al. | Apr 2003 | A1 |
20030083847 | Schertz et al. | May 2003 | A1 |
20030093517 | Tarquini | May 2003 | A1 |
20030101353 | Tarquini et al. | May 2003 | A1 |
20030126472 | Banzhof | Jul 2003 | A1 |
20030140250 | Taninaka et al. | Jul 2003 | A1 |
20030195874 | Akaboshi | Oct 2003 | A1 |
20030212779 | Boyter et al. | Nov 2003 | A1 |
20030212910 | Rowland et al. | Nov 2003 | A1 |
20030217283 | Hrastar et al. | Nov 2003 | A1 |
20030229726 | Daseke et al. | Dec 2003 | A1 |
20040010684 | Douglas | Jan 2004 | A1 |
20040015728 | Cole et al. | Jan 2004 | A1 |
20040034773 | Balabine et al. | Feb 2004 | A1 |
20040064726 | Girouard | Apr 2004 | A1 |
20040073800 | Shah et al. | Apr 2004 | A1 |
20040093408 | Hirani et al. | May 2004 | A1 |
20040093582 | Segura | May 2004 | A1 |
20040098618 | Kim et al. | May 2004 | A1 |
20040123153 | Wright et al. | Jun 2004 | A1 |
20040172234 | Dapp et al. | Sep 2004 | A1 |
20040179477 | Lincoln et al. | Sep 2004 | A1 |
20040193943 | Angelino et al. | Sep 2004 | A1 |
20040210756 | Mowers et al. | Oct 2004 | A1 |
20040218532 | Khirman | Nov 2004 | A1 |
20040221176 | Cole | Nov 2004 | A1 |
20040250032 | Ji et al. | Dec 2004 | A1 |
20040268358 | Darling et al. | Dec 2004 | A1 |
20050005169 | Kelekar | Jan 2005 | A1 |
20050015623 | Williams et al. | Jan 2005 | A1 |
20050044422 | Cantrell et al. | Feb 2005 | A1 |
20050076066 | Stakutis et al. | Apr 2005 | A1 |
20050108393 | Banerjee et al. | May 2005 | A1 |
20050113941 | Ii et al. | May 2005 | A1 |
20050114700 | Barrie et al. | May 2005 | A1 |
20050160095 | Dick et al. | Jul 2005 | A1 |
20050172019 | Williamson et al. | Aug 2005 | A1 |
20050188079 | Motsinger et al. | Aug 2005 | A1 |
20050223014 | Sharma et al. | Oct 2005 | A1 |
20050229255 | Gula et al. | Oct 2005 | A1 |
20050240604 | Corl, Jr. et al. | Oct 2005 | A1 |
20050251500 | Vahalia et al. | Nov 2005 | A1 |
20050268331 | Le et al. | Dec 2005 | A1 |
20050268332 | Le et al. | Dec 2005 | A1 |
20050273673 | Gassoway | Dec 2005 | A1 |
20050273857 | Freund | Dec 2005 | A1 |
20060174337 | Bernoth | Aug 2006 | A1 |
20060265748 | Potok | Nov 2006 | A1 |
20060288053 | Holt et al. | Dec 2006 | A1 |
20060294588 | Lahann et al. | Dec 2006 | A1 |
20070027913 | Jensen et al. | Feb 2007 | A1 |
20070058631 | Mortier et al. | Mar 2007 | A1 |
20070143852 | Keanini et al. | Jun 2007 | A1 |
20070162463 | Kester et al. | Jul 2007 | A1 |
20070192286 | Norton et al. | Aug 2007 | A1 |
20070192863 | Kapoor et al. | Aug 2007 | A1 |
20070195797 | Patel et al. | Aug 2007 | A1 |
20070271371 | Singh Ahuja et al. | Nov 2007 | A1 |
20070283007 | Keir et al. | Dec 2007 | A1 |
20070283441 | Cole et al. | Dec 2007 | A1 |
20070288579 | Schunemann | Dec 2007 | A1 |
20080037587 | Roesch et al. | Feb 2008 | A1 |
20080115213 | Bhatt et al. | May 2008 | A1 |
20080127342 | Roesch et al. | May 2008 | A1 |
20080133523 | Norton et al. | Jun 2008 | A1 |
20080168561 | Durie et al. | Jul 2008 | A1 |
20080196102 | Roesch | Aug 2008 | A1 |
20080198856 | Vogel, III et al. | Aug 2008 | A1 |
20080209518 | Sturges et al. | Aug 2008 | A1 |
20080244741 | Gustafson et al. | Oct 2008 | A1 |
20080263197 | Stephens | Oct 2008 | A1 |
20080276319 | Rittermann | Nov 2008 | A1 |
20080289040 | Ithal | Nov 2008 | A1 |
20090019141 | Bush et al. | Jan 2009 | A1 |
20090028147 | Russell | Jan 2009 | A1 |
20090041020 | Gibbons et al. | Feb 2009 | A1 |
20090055691 | Ouksel et al. | Feb 2009 | A1 |
20090164517 | Shields et al. | Jun 2009 | A1 |
20090182864 | Khan et al. | Jul 2009 | A1 |
20090259748 | McClure et al. | Oct 2009 | A1 |
20090271696 | Bailor et al. | Oct 2009 | A1 |
20090282481 | Dow et al. | Nov 2009 | A1 |
20090320138 | Keanini et al. | Dec 2009 | A1 |
20100050260 | Nakakoji et al. | Feb 2010 | A1 |
20100161795 | Deridder et al. | Jun 2010 | A1 |
20110307600 | Polley et al. | Dec 2011 | A1 |
20110314143 | Vogel, III et al. | Dec 2011 | A1 |
Number | Date | Country |
---|---|---|
2166725 | Mar 2010 | EP |
2 432 933 | Jun 2007 | GB |
WO 0137511 | May 2001 | WO |
WO 2004100011 | Nov 2004 | WO |
WO 2005064884 | Jul 2005 | WO |
WO 2006025050 | Mar 2006 | WO |
WO 2009032925 | Mar 2009 | WO |
Number | Date | Country | |
---|---|---|---|
20100088767 A1 | Apr 2010 | US |
Number | Date | Country | |
---|---|---|---|
61103630 | Oct 2008 | US |