Method and system for the identification and the suppression of executable objects

A method for processing Executable Objects, comprising: (a) providing analysis means capable of non-interfering analysis of data packets transmitted on a communication line between a browser and an HTTP server on the web, said communication line being established through a gateway; (b) analyzing the handshake between said browser and said server, to detect a “GET_” command sent by the user and an HTTP code sent in response by said server; (c) when such an HTTP code is detected, analyzing the data packets transmitted by said server to said browser, by: (c.1) providing ordering means to order data packets received in non-sequential order, and to forward them in sequential order to header checking means; (c.2) checking the data packets so as to analyze the contents of the header of the Executable Object, and to identify the resources of the system that it needs to employ; (c.3) transmitting to said gateway data representing the resources of the system that the Executable Object needs to utilize; (c.4) providing data packet suppressing means coupled to said gateway, such that if the resources of the system that the Executable Object needs to utilize are not permitted according to the security policy set by the administrator, at least one data packet belonging to the Executable Object is suppressed, altered or damaged, so as to prevent the execution thereof by the browser.

Skip to: Description  ·  Claims  · Patent History  ·  Patent History
Description
FIELD OF THE INVENTION

[0001] The present invention relates to the security management of computer networks. More particularly, the invention relates to methods and systems for preventing the downloading and execution of undesirable Executable Objects in a workstation of a computer network.

BACKGROUND OF THE INVENTION

[0002] The Internet has developed very much both in respect of its contents and of the technology employed, since it began a few years ago. In the early days of the Internet, web sites included text only, and after a while graphics was introduced. As the Internet developed, many compressed standards, such as pictures, voice and video files, were developed and with them programs used to play them (called “players”). Initially, such files were downloaded to the user's workstation only upon his request, and extracted only by the appropriate player, and after a specific order from the user.

[0003] When, in the natural course of the development of the World Wide Web the search for a way to show nicer, interactive and animated Web Pages. began, Sun Microsystems Inc. developed Java—a language that allows the webmaster to write a program, a list of commands—Network Executables—that will be downloaded to the user workstation without his knowledge, and executed by his browser at his workstation. The executables are used, e.g., to provide photographic animation and other graphics on the screen of the web surfer. Such executables have some ways approaching the user workstation's resources, which lead to a great security problem. Although some levels of security were defined in the Java language, it was very soon that a huge security hole was found in the language.

[0004] Since Java was developed, Microsoft developed ActiveX, which is another Network Executable format, also downloaded into the workstation. ActiveX has also security problems of the same kind.

[0005] The Internet has been flooded with “Network Executables” which may be downloaded—deliberately or without the knowledge of the users—into workstations within organizations. These codes generally contain harmless functions. Although usually safe, they may not meet the required security policy of the organization.

[0006] Once executed, codes may jam the network, cause considerable irreversible damage to the local database, workstations and servers, or result in unauthorized retrieval of information from the servers/workstations. Such elements may appear on Java applets, ActiveX components, DLLs and other object codes, and their use is increasing at an unparalleled pace. The majority of these small programs are downloaded into the organization unsolicited and uncontrolled. The enterprise has no way of knowing about their existence or execution and there is no system in place for early detection and prevention of the codes from being executed.

[0007] The security problem was solved partially by the browser manufacturers which allow the user to disable the use of executables. Of course this is not a reasonable solution, since all the electronic commerce and advertising are based on the use of executables. The security problem is much more serious once such an executable can approach the enterprise servers, databases and other workstations.

[0008] In a copending patent application of the same applicant herein, IL 120420, filed on Mar. 10, 1997, the specification of which is incorporated herein by reference, a method is described and claimed, for selectively preventing the downloading and execution of undesired Executable Objects in a computer, which comprises the steps of:

[0009] (a) providing one or more Control Centers, each connected to one or more gateways, each gateway serving one or more end user computers;

[0010] (b) providing means coupled to each of said gateways, to detect Executable Objects reaching said gateway, to analyze the header of each of said Executable Objects, and to determine the resources of the computer that the Executable Object needs to utilize;

[0011] (c) providing means coupled to each of said gateways, to store each end user computer Security Policy representing the resources, or combination of resources, that the adminstrator allows or does not allow an Executable Object to utilize within its destination, wherein the Security Policy is received from and/or stored in each of said one or more Control Centers;

[0012] (d) when an Executable Object is detected at the gateway:

[0013] 1. analyzing the header of said Executable Object;

[0014] 2. determining the resources of the computer that the Executable Object needs to utilize;

[0015] 3. comparing the resources of the computer that the Executable Object needs to utilize with the Security Policy and;

[0016] (i) if the resources of the computer that the Executable Object needs to utilize are included in the list of the resources allowed for use by the Security Policy, allowing the Executable Object to pass through the gateway and to reach the computer which has initiated its downloading; and

[0017] (ii) if the resources of the computer that the Executable Object needs to utilize are included in the list of the resources prohibited for use by the Security Policy, preventing the Executable Object from passing through the gateway, thereby preventing it from reaching the computer which has initiated its downloading.

[0018] A Control Center (CC) may be a central control unit, e.g., a PC or other computer which is connected to a plurality of gateways, and which updates the memory means containing relevant date, e.g., the Security Policy. Once the CC is updated, e.g., by the addition of an additional limitation to the Security Policy, all gateways are updated at once. The use of the CC to control the operation of the security elements of the gateways obviates the need (which exists in prior art systems) to update each gateway every time that a change in policy is made.

[0019] A LAN (Local Area Network) may be (but is not limited to), e.g., a network of computers located in an office or building. The LAN is typically connected to outside communications networks, such as the World Wide Web, or to more limited LANs, e.g., of a client or supplier, through one or more gateways. The larger the organization, the larger the number of gateways employed, in order to keep communications at a reasonable speed.

[0020] Generally speaking, a LAN can also be made of a plurality of smaller LANs, located geographically nearby or far apart, but even if small LANs are found within the same organization, the security requirements may vary from one department to the other, and it may be necessary to keep high security levels, including preventing Executables from migrating from one department to the other, even within the same organization.

[0021] The means coupled to each of said gateways, to detect Executable Objects reaching said gateway, to analyze the header of each of said Executable Objects, and to determine the resources of the computer that the Executable Object needs to utilize may be of many different types. Typically, the executable object is “trapped” and analyzed at the gateway by listening on the communication line to the TCP/IP protocol, as well as to the object transfer protocols, such as SMTP, HTTP, FTP, etc. Hooking into the communication line and extracting the contents of the header of the executable object are steps which are understood by the skilled person, and which can be effected by means of conventional programming, and they are therefore not described herein in detail, for the sake of brevity.

[0022] Once the header of the Executable Object (EO) has been analyzed, comparing the resources of the computer that the EO needs to utilize with the Security Policy can be easily done, e.g., by comparing them with a look-up table provided to the gateway by the CC, which represents the Security Policy. Comparison can also be carried out against the data stored in the CC, and in such a case specific memory means and comparing means may not be necessary in the gateway. However, speed and performance considerations will often dictate that such operations be carried out at the gateway itself.

[0023] Prior art solutions provide for the analysis of communication taking place via a single port, Port 80, which is the port commonly employed for web surfing. However, today it is possible to surf the net through ports other than Port 80, while the HTTP server of the user, according to currently available technology, cannot work on a plurality of ports. Therefore, if more than one user employ a gateway simultaneously, prior art systems are ineffective since they are not suitable for the simultaneous analysis of communication taking place via other ports.

[0024] Another severe drawback is that a very strong HTTP server is needed to serve a plurality of users, when operating according to the prior art method.

[0025] The art has so far failed to provide an efficient method for processing EOs, which is independent of the port used, and which does not require an extraordinarily strong server to be implemented. It is therefore clear that such a solution is needed, particularly in view of the ever growing use of the web by many organizations.

SUMMARY OF THE INVENTION

[0026] It is an object of the present invention to provide an efficient method for processing Executable Objects which overcomes the aforesaid drawbacks of prior art systems.

[0027] It is another object of the invention to provide such a method which is easy to implement and which does not require significant hardware changes.

[0028] It is a further object of the invention to provide a method which permits to analyze the executables “on the fly”, and does not hinder the downloading and he operation of harmless executables.

[0029] It is yet another object of the invention to provide apparatus for carrying out the method of the invention.

[0030] Other advantages and objects of the invention will become apparent as the description proceeds.

[0031] The invention is directed, inter alia, to a method for processing Executable Objects, comprising:

[0032] (a) providing analysis means capable of non-interfering analysis of data packets transmitted on a communication line between a browser and an HTTP server on the web, said communication line being established through a gateway;

[0033] (b) analyzing the handshake between said browser and said server, to detect a “GET_” command sent by the user and an HTTP code sent in response by said server;

[0034] (c) when such an HTTP code is detected, analyzing the data packets transmitted by said server to said browser, by:

[0035] (1) providing ordering means to order data packets received in non-sequential order, and to forward them in sequential order to header checking means;

[0036] (2) checking the data packets so as to analyze the contents of the header of the Executable Object, and to identify the resources of the system that it needs to employ;

[0037] (3) transmitting to said gateway data representing the resources of the system that the Executable Object needs to utilize; and

[0038] (4) providing data packet suppressing means coupled to said gateway, such that if the resources of the system that the Executable Object needs to utilize are not permitted according to the security policy set by the administrator, at least one data packet belonging to the Executable Object is suppressed, altered or damaged, so as to prevent the execution thereof by the browser.

[0039] According to a preferred embodiment of the invention, the method further comprises identifying the user communicating through the gateway, and the server to which said user is connected, and coupling all activities and analyses to said user. This procedure is needed at times when more than one user connects through the gateway simultaneously. Then, a plurality users connects to a plurality of servers. Therefore, it is necessary to keep track of the specific user who has requested a specific Executable Object from a specific server, so as to properly handle packets received at the gateway from any individual server.

[0040] In another preferred embodiment of the invention, the method further comprises storing in memory means checksums representing Executable Objects analyzed, together with values indicative of whether any such Executable Object complies or not with the Security Policy, and checking any incoming Executable Object against said stored values, prior or in parallel to analyzing it, whereby to discard any Executable Object identified thereby as being non-compliant with the Security Policy, and allowing Executable Objects identified thereby as being compliant with the Security Policy to pass the Gateway and reach the user. As will be apparent to the skilled person, this procedure may streamline and speedup the analysis of Executable Objects, since verifying a checksum is a procedure which is quicker and simpler than the full analysis procedure of the EO's header.

BRIEF DESCRIPTION OF THE DRAWINGS

[0041] In the drawings:

[0042] FIG. 1 is a schematic representation of a communication mode between a browser and an HTTP server on the web, through a gateway, including additional analysis means, according to a preferred embodiment of the invention; and

[0043] FIG. 2 illustrates the situation existing in an analysis means according to one preferred embodiment of the invention, with respect to the processing of data packets.

DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS

[0044] The method of the invention will now be illustrated with reference to a preferred embodiment thereof. In FIG. 1, a typical situation is shown, in which a browser, BR, (running on an end user's computer) is connected to the web through a gateway, GW. In FIG. 1 only one browser BR is show, for the sake of simplicity, although of course the gateway GW is designed to service a plurality of browsers. Similarly, gateway GW is shown to be connected only to one HTTP server on the web (designated “WEB”), although it can of course be connected to a plurality of servers on the web, and the connection is not a point-to-point connection.

[0045] According to this preferred embodiment of the invention, analyzing means, L, are provided, which are connected to the communication line on the one hand, and to the gateway on the other hand. Analyzing means L are passive means, only capable of “listening” to the talk carried out on the line, between the browser BR and the server WEB. L is further capable of sending a signal to gateway GW.

[0046] Data communication between the browser and the HTTP server is made in small packets, the ensemble of which constitutes an entity, which may or may not be an Executable Object. The packets are not necessarily transmitted sequentially, and this fact makes it even harder to analyze them. Packets are transmitted from WEB to BR as a result of a handshake carried out between the browser and the HTTP server. An executable object is downloaded as a result of a message sent by the user, including the command “GET_”, which command is echoed in the handshake by the HTTP server which sends in response an HTTP code preceding the requested EO.

[0047] Thus, according to the invention, the first step in the process of identifying the data being transmitted as a potentially harmful executable object is to analyze the first four bytes being transmitted by the HTTP server (WEB), and to determine whether they contain a response to the command “GET_” sent by the user, in the form of an HTTP code. If they do, the rest of the transmitted string must also be analyzed to determine whether it contains a Java applet or other undesirable EO. The way in which the packets are processed will be further described below.

[0048] If the analyzing means L determine that an Executable Object is involved as discussed above, then the header of the EO must be analyzed to check it compliance with the security policy set by the user. It should again be emphasized that the analyzing means L only “listen in”, but do not interfere with the transmission of the string.

[0049] The analyzing means comprise different functional elements. In the first part, the packets received are stored and ordered sequentially, so that the header thereof can be analyzed. This is schematically shown in FIG. 2, in which the analyzing means L are seen to comprise ordering means, OM, which receive the packets as they are transmitted, orders them and passes them on in the correct order. For instance, in the example seen in the figure, six packets are seen to have been transmitted, in the order 2, 1, 3, 8, 5, 10. Packets 1, 2, 3 have been ordered sequentially and sent on to the checker, CH, but since packet 4 has not yet been transmitted, the remaining packets (5, 8 and 10) are kept in the OM, until they can be released. Packet 5 will be released only after packet 4 arrives, and packet 8 only after packets 6 and 7 have arrived, and so on. This delay which takes place in the OM, it should once again be emphasized, does not affect the transaction which is taking place between the browser BR and the HTTP server, WEB, and all packets are transferred normally, in their non-sequential order. However, the invention takes advantage of the fact that, even if the packets continue to be transmitted, the EO cannot function if one of the packets is missing or damaged. Therefore, it is sufficient for the gateway to take care of suppressing or damaging one packet, which the gateway does once it receives a signal from the checker indicating that the header of the EO comprises commands which are forbidden according to its security policy. Thus, according to the invention, the transmission of the data is not disturbed, the analysis of the packets is done in a non-interfering manner, and the transmission is only affected if it is desired to prevent an EO from running on the end user's computer. Another advantage of the method of the invention is that only data preceded by a reply to a “GET_” command needs to be analyzed, and furthermore any string needs to be analyzed only up to the point where it can be determined that it does not contain an undesirable EO.

[0050] As stated, according to a preferred embodiment of the invention, as stated, if the resources of the computer that the Executable Object needs to utilize are included in the list of the resources allowed for use by the Security Policy, no steps are taken by the system to prevent the Executable Object from passing through the gateway and reaching the computer which has initiated its downloading. However, if the resources of the computer that the Executable Object needs to utilize are included in the list of the resources prohibited for use by the Security Policy, steps will be taken to prevent the Executable Object from passing through the gateway. Such steps may include, e.g., deleting a packet of the EO, or garbling part of it, so as to make it inoperative, etc.

[0051] The invention is not limited to any specific EO. However, according to a preferred embodiment of the invention, it is desirable to analyze EO's including, inter alia, Java Applets, Active-X, OCX, Win32 Executables, DLLs, or the like executable objects. However, as will be apparent to the skilled person, EO's are constantly developed, and the invention is by no means intended to be limited to the use with specific EOs, and the actual nature of the EO is not of critical importance.

[0052] All the above description of preferred embodiments has been provided for the sake of illustration, and is not intended to limit the invention in any way, except as defined by the claims. Many modifications may be effected in the invention. For instance, a variety of Executable Objects can be monitored, different ordering means and analyzing means can be applied, as well as header analyzing methods, all without exceeding the scope of the invention.

Claims

1. A method for processing Executable Objects, comprising:

(a) providing analysis means capable of non-interfering analysis of data packets transmitted on a communication line between a browser and an HTTP server on the web, said communication line being established through a gateway;
(b) analyzing the handshake between said browser and said server, to detect a “GET_” command sent by the user and an HTTP code sent in response by said server;
(c) when such an HTTP code is detected, analyzing the data packets transmitted by said server to said browser, by:
(1) providing ordering means to order data packets received in non-sequential order, and to forward them in sequential order to header checking means;
(2) checking the data packets so as to analyze the contents of the header of the Executable Object, and to identify the resources of the system that it needs to employ;
(3) transmitting to said gateway data representing the resources of the system that the Executable Object needs to utilize;
(4) providing data packet suppressing means coupled to said gateway, such that if the resources of the system that the Executable Object needs to utilize are not permitted according to the security policy set by the administrator, at least one data packet belonging to the Executable Object is suppressed, altered or damaged, so as to prevent the execution thereof by the browser.

2. A method according to

claim 1, further comprising identifying the user communicating through the gateway, and the server to which said user is connected, and coupling all activities and analyses to said user.

3. A method according to

claim 1 or
2, further comprising storing in memory means checksums representing Executable Objects analyzed, together with values indicative of whether any such Executable Object complies or not with the Security Policy, and che king any incoming Executable Object against said stored values, prior to analyzing it, whereby to discard any Executable Object identified thereby as being non-compliant with the Security Policy, and allowing Executable Objects identified thereby as being compliant with the Security Policy to pass the Gateway and reach the user.

4. A method for processing Executable Objects, substantially as described and illustrated.

Patent History
Publication number: 20010049795
Type: Application
Filed: Jul 17, 2001
Publication Date: Dec 6, 2001
Inventors: Doron Elgressy (Haifa), Asher Jospe (Natanya)
Application Number: 09907360
Classifications
Current U.S. Class: 713/200
International Classification: G06F011/30;