GB2432687A - Preventing spyware/malware from installing in a registry - Google Patents

Preventing spyware/malware from installing in a registry Download PDF

Info

Publication number
GB2432687A
GB2432687A GB0523997A GB0523997A GB2432687A GB 2432687 A GB2432687 A GB 2432687A GB 0523997 A GB0523997 A GB 0523997A GB 0523997 A GB0523997 A GB 0523997A GB 2432687 A GB2432687 A GB 2432687A
Authority
GB
United Kingdom
Prior art keywords
change
computer
recited
registry
rules
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
GB0523997A
Other versions
GB0523997D0 (en
GB2432687B (en
Inventor
Jonathan L Edwards
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
McAfee LLC
Original Assignee
McAfee LLC
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 McAfee LLC filed Critical McAfee LLC
Priority to GB0523997A priority Critical patent/GB2432687B/en
Publication of GB0523997D0 publication Critical patent/GB0523997D0/en
Publication of GB2432687A publication Critical patent/GB2432687A/en
Application granted granted Critical
Publication of GB2432687B publication Critical patent/GB2432687B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/55Detecting local intrusion or implementing counter-measures
    • G06F21/56Computer malware detection or handling, e.g. anti-virus arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Virology (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Storage Device Security (AREA)

Abstract

A method for preventing spyware/malware from installing in a registry comprises identifying an attempt to make a change to a registry of at least one computer 702 and conditionally preventing the change to the registry by comparing the request to a set of rules 704. If any one of the rules is violated 706-710, the change is prevented 714. The rules may involve the name of a key in the registry, a value in the registry, the type of change etc. The change may involve a write operation, a delete value operation, a create subkey operation, a change subkey operation etc. The invention combats spyware and malware by preventing any changes to the registry that may facilitate the installation and/or operation of such software.

Description

<p>PRODUCT FOR PREVENT[NG SPYWARE/MALWARE</p>
<p>FROM INSTALLING IN A REGISTRY</p>
<p>RELATED APPLIcATIQNLS The present application is a continuation-in-part of an application filed June 24, 2004 under application serial number 1 0/876,524, and which is incorporated herein by reference. This application is further related to a co-pending application entitled "SYSTEM, METHOD, AND COMPUTER PROGRAM PRODUCT FOR TAILORING SECURITY RESPONSES FOR LOCAL AND REMOTE FILE OPEN REQUESTS" which was filed June 24, 2004 under application serial number 10/876,523, and which is also incorporated herein by reference.</p>
<p>FIELD OF THE iNVENTION</p>
<p>The present invention relates to computer networking, and more particularly to managing spyware aid/or maiware.</p>
<p>BACKGROUND OF THE INVENTJON</p>
<p>In the space of just a decade, the internet, because it provides access to information, and the ability to publish information, in revolutionary ways, has emerged from relative obscurity to international prominence. Whereas, in general, an internet is a network of networks, the Internet is a global collection of interconnected local, mid-level, and wide-area networks that use the Internet Protocol (IP) as the network layer protocol. Whereas the Internet embraces many local-and wide-area networks, a given local-or wide-area network may or may not form part of the Internet.</p>
<p>As the Internet and its underlying technologies have become increasingly familiar, attention has become focused on internet security and computer network security in general. With unprecedented access to information has also come unprecedented opportunities to gain unauthorized access to data, change data, destroy data, make unauthorized use of computer resources, interfere with the intended use of computer resources, etc. These opportunities have been exploited time and time again by many types of malware including, but is not limited to computer viruses, worms, Trojan horses, etc. As experience has shown, the frontier of cyberspace has its share of scofflaws, resulting in increased efforts to protect the data, resources, and reputations of those embracing intranets and the internet.</p>
<p>Recently, some new types of software have emerged, collectively called "spyware." Spyware, while not as malicious as the aforementioned conventional viruses, Trojan horses, etc., may still cause problems for computer users. For example, spyware may be designed to log keystrokes, track which websites a computer user visits, and/or transmit personal information to a third party.</p>
<p>In the context of the present description, the term spyware is further deemed to include other related types of similar software such as adware, dialer software, other equivalents, and/or any other software that is less malicious than conventional maiware.</p>
<p>For example, adware is typically designed to download and display advertisements on a screen of a computer, and can be veiy intrusive. Dialer software, on the other hand, is designed to redirect a dial-up Tntemet Service Provider (ISP) connection of a computer to a different, more expensive phone number, in exchange for access to something, typically pornography.</p>
<p>Often, this software is marketed as legitimate applications which the computer user ostensibly installs willingly. For example, a free music player application may be come bundled with adware and require that the adware he installed before the music Th player application will work. The owner of the adware conventionally pays the owner of the music player to include the adware.</p>
<p>Although some of these examples olspyware border on legitimacy, many of these applications are poorly written, and cause compatibility problems with other software. Moreover, spyware can he very intrusive, waste network bandwidth, and cause a slew of other problems.</p>
<p>While the distinguishing feature of malware such as a computer virus is still that it replicates from file to file, such maiware has evolved from simply being pieces of code that replicate into tools to enable more targeted violations of computer security.</p>
<p>This trend is seen most clearly in the existence of "zombie" networks. These networks come into being when a virus infects many computers which all then communicate to the maiware author awaiting commands. Once the network is in place, it can be used for many nefarious deeds including launching denial of service attacks, sending SPAM, etc. It is sometimes beneficial for a malware and/or spyware scanner product to contain a true "on-access scanner," which scans files the instant they are created.</p>
<p>Unfortunately, it is not possible for some products to incorporate such an on-access scanner. In these cases, the system is only protected by "on-demand scanning," which is a scan that is run per a certain schedule, for example, once per day. Because such scanning happens infrequently, there is a sizeahie window of opportunity for spyware and/or maiware to cause harm.</p>
<p>There is thus a need for overcoming these and/or other problems associated with</p>
<p>the prior art.</p>
<p>SUMMARY</p>
<p>According to an aspect of the present invention, there is provided a method, comprising: identifying an attempt to make a change to a registry of at least one computer; and conditionally preventing the change to the registry based on a set of rules.</p>
<p>According to another aspect olthe present invention, there is provided a computer program product embodied on a computer readable medium, comprising: computer code for identi'ing an attempt to make a change to a registly of at least one computer; and computer code for conditionally preventing the change to the registry based on at least one rule.</p>
<p>According to a further aspect of the present invention, there is provided a system, compn sing: logic for identifying an attempt to make a change to a registry of at least one computer; and logic for conditionally preventing the change to the registry based on a set of rules.</p>
<p>A system, method and computer program product are provided. In particular, an attempt to make a change to a registry of a computer is first identified. Then, the change to the registry is conditionally prevented based on a set of rules.</p>
<p>In one embodiment, the attempt to make the change to the registry may be received from an application program. Further, such attempt to make the change to the 1 0 registry may involve a request to an operating system of the computer.</p>
<p>In another embodiment, the change may involve a write value operation, a change value operation, a delete value operation, a create subkey operation, a change subkey operation, etc. Further, the rules may involve a name of a process requesting the change, a name of a key in the registry that is being changed, a name of a value in the registry that is being changed, a type of the change, data that is being written to the registry, etc. Still yet, the rules may further involve a key such as the following, for example: * HKLM\ software\microsoft\windows\cUrrefltversion\rufl, * F-IKLM\SOFTWAR E\M icrosoft\Windows NT\CuiTentV ersion\Winl ogon, and/or * lIKLM\software\microsoft\windowS\cu1TentVer5i0fl\eXPl0rer0w helper objects.</p>
<p>In still yel another embodiment, the change may be prevented for precluding installation of spyware on the computer. Further, the change may be prevented for precluding installation of malwa.re on the computer.</p>
<p>As an option, the registry may include a location on the computer for storing information including hardware that is attached to the computer, system options that have been selected, a configuration of memory of the computer, and/or application programs to be present when an operating system of the computer is started.</p>
<p>Strictly as an option, the foregoing technology may be utilized to counter terrorism.</p>
<p>BRIEF DEscRIPTioN OF THE DRAWINGS</p>
<p>Figure 1 illustrates a network architecture, in accordance with one embodiment.</p>
<p>Figure 2 shows a representative hardware environment that may be associated with the data server computers and/or end user computers of Figure 1, in accordance with one embodiment.</p>
<p>Figure 3 illustrates a method for preventing maiware infection, in accordance with one embodiment.</p>
<p>Figure 4 illustrates a method for defining a rule to prevent maiware infection, in accordance with one embodiment.</p>
<p>Figure 5 illustrates an exemplary graphical user interface for defining a rule to prevent malware infection, in accordance with one embodiment.</p>
<p>Figure 6 illustrates a method for combating spyware, malware, etc., in accordance with one embodiment.</p>
<p>Figure 7 illustrates a method for combating spyware, malware, etc., in accordance with another embodiment.</p>
<p>DETAILED DESCRJPTIQ</p>
<p>Figure 1 illustrates a network architecture 100, in accordance with one embodiment. As shown, a plurality of networks 102 is provided, in the context of the present network architecture 100, the networks 102 may each take any form including, but not limited to a local area network (LAN), a wide area network (WAN) such as the Internet, etc. Coupled to the networks 102 are data server computers 104 which are capable of communicating over the networks 102. Also coupled to the networks 102 and the data server computers 104 is a plurality of end user computers 106. In order to facilitate communication among the networks 102, at least one gateway or router 108 is optionally coupled therebetween.</p>
<p>It should be noted that each of the foregoing network devices in the present network architecture 100, as well as any other unillustrated hardware and/or software, may be equipped with various security features. For example, the various data server computers 104 and/or end user computers 106 may be equipped with security functionality in the form of a scanner, a firewall, etc. for purposes that will be set forth hereinafter in greater detail.</p>
<p>Figure 2 shows a representative hardware environment that may be associated with the data server computers 104 and/or end user computers 106 of Figure 1, in accordance with one embodiment. Such figure illustrates a typical hardware configuration of a workstation in accordance with one embodiment having a central processing unit 210, such as a microprocessor, and a number of other units interconnected via a system bus 212 The workstation shown in Figure 2 includes a Random Access Memory (RAM) 214, Read Only Memory (ROM) 216, an I/O adapter 218 for connecting peripheral devices such as disk storage units 220 to the bus 212, a user interface adapter 222 for connecting a keyboard 224, a mouse 226, a speaker 228, a microphone 232, and/or other user interface devices such as a touch screen (not shown) to the bus 212, communication adapter 234 for connecting the workstation to a communication network 235 (e.g., a data processing network) and a display adapter 236 for connecting the bus 212 to a display device 238.</p>
<p>The workstation may have resident thereon any desired operating system. It will be appreciated that an embodiment may also be implemented on platforms and operating systems other than those mentioned. One embodiment may be written using JAVA, C, and/or C++ language, or other programming languages, along with an object oriented programming methodology. Object oriented programming (OOP) has become increasingly used to develop complex applications.</p>
<p>Our course, the various embodiments set forth herein may be implemented utilizing hardware, software, or any desired combination thereof. For that matter, any type of logic may be utilized which is capable of implementing the various functionality set forth herein.</p>
<p>Figure 3 illustrates a method 300 for preventing maiware infection, in accordance with one embodiment. As an option, the present method 300 may he implemented in the context of the architecture and environment of Figures 1 and/or 2.</p>
<p>Of course, however, the method 300 may be carried out in any desired environment It should be noted that the various operations of the method 300 of Figure 3 may be carried out utilizing a virus scanner and/or any other desired module. Moreover, it should be noted that the order of the various operation may he interchanged and the operations may he executed in parallel, per the desires of the user.</p>
<p>In operation 302, mass-mailing-type maiware is prevented from sending electronic messages via a network. In the context of the present description, maiware (i.e. malicious software") may refer to any programming or files that are developed for the purpose of doing harm to a computer and/or network components. Thus, maiware may include, hut is not limited to, computer viruses, worms, Trojan horses, etc. In one embodiment, the mass-mailing-type maiware may he capable of sending a multiplicity of electronic messages to a multiplicity of recipients. Further, the mass-mailing-type malware may he prevented from sending electronic messages by preventing use of a predetermined port. This predetermined port may include port 25.</p>
<p>As an option, the mass-mailing-type maiware may be prevented from sending electronic messages by utilizing a white list for conditionally preventing the sending of 1 5 electronic messages based on a predetermined aspect. For example, such a predetermined aspect may include a recipient address or an application identifier.</p>
<p>Some of the most successful recent viruses were those that talked directly with e-mail servers to send themselves to other people. This communication happens on TCP/IP port 25. Thus, by containing a rule which prevents any application from opening port 25, the present embodiment may provide enhanced security. If a virus evades the other rules and is not detected by virus signatures, it may be able to run, but will not be able to spread to any other systems by e-mail.</p>
<p>Because operation 302 will prevent legitimate e-mail clients from sending e-mail, such operation may incorporate the aforementioned white list of known e-mail clients. Sending c-mail is thus limited to a small number of applications that a person uses In many cases, there may he just one program that is legitimately sending e-mail.</p>
<p>This application may lurther he white listed to prevent false positives. -10-</p>
<p>With reference now to operation 304, the maiware is also prevented from communicating. In one embodiment, the malware may be prevented from communicating by preventing communications over predetermined communication channels. Such predetermined communication channels may include, but is not limited to, a file transfer protocol (FTP), a hypertext transfer protocol (H'E'TP), and/or an internet relay chat (IRC) protocol.</p>
<p>Optionally, the malware may be prevented from communicating by utilizing a white list for conditionally preventing the communicating based on a predetermined aspect. As an example, the predetermined aspect may be an application identifier, etc. Thus, in one specific aspect of the present embodiment, the present operation prevents viruses and Trojans from communicating. Recent viruses and Trojans have needed to communicate in various ways for various reasons. See, for example, Table 1.</p>
<p>Table I</p>
<p>* Some viruses spread in two phases. In the first phase, a small amount of code spreads to a remote system. This code then uses FTP to copy the rest of itself over.</p>
<p>* Some viruses arid Trojans downi oad other Trojans, adware or spyware using HTTP or FTP.</p>
<p>* Some viruses and Trolaris Lnforrn associated masters" where they have spread. They also receve instructions from assocated masters. One common use for this technique s to set up spam networks.' In use, the sparnnler instructs the infected machines to send spam on his beha] f (Lh s cannot be traced back ro him). This commuril cation often happens using [SC prot non I -Il -The present operation 304 thus utilizes rules which block the aforementioned communication channels. While a system may still become infected, the virus will be stifled if it cannot communicate. As with operation 302, white lists of applications that are allowed to communicate may be employed.</p>
<p>As an option, there may be a few more applications which use the aforementioned communication channels. For example, someone may be using MS Internet Explorer , MS Outlook , and/or MS Windows Media Player , all of which use F-ITTP to download content. Thus, the risk of false positives may be higher until the user tunes the rules to his/her environment. Once tuned, however, the triggering of the rules may accurately identify unauthorized downloads.</p>
<p>Still yet, in operation 306, unrecognized attachments are prevented from opening. Optionally, the opening of unrecognized attachments may be prevented by preventing the opening of the unrecognized attachments when residing in a temporary directory.</p>
<p>The prevention of the opening of the unrecognized attachments may further be subject to user tuning. For example, such user tuning may involve limiting the prevention of the opening of the unrecognized attachments to situations where the unrecognized attachments are received via a web page or via an electronic message (i.e. e-mail, etc.).</p>
<p>As an option, operation 306 may work to prevent web browsers and/or e-mail clients from executing unknown attachments. The success of the mass-mailing viruses described above can be attributed to the continuing propensity of people to open attachments that they receive in their mailboxes. Because files have to exist on disk before they can be executed, web browsers and e-mail clients save thc attachment to the system or the user "temp' directory and are then launched from there. -12-</p>
<p>Thus, the present operation 306 employs rules which prevent common web browsers, e-mail clients and archive extracting programs from launching executables directly from any "temp" directory. In the context of the present description, a temporary directory is any directory that is temporary in nature or in any related aspect (i.e. either in name or function).</p>
<p>In operation 308, executable files are prevented from being infected via the network. In one embodiment, executable files may be prevented from being infected via the network by determining whether a request to open the executable files is a local request or a remote request. In this embodiment, the executable files may be prevented from being infected by conditionally allowing the opening thereof based on whether the request is the local request or the remote request.</p>
<p>A very successful class of viruses is that which spreads across corporate 1 5 networks by finding writable shares and infecting executables that they find there. As an option, operation 308 may differentiate between open requests made on behalf of another computer on the network, and thus optimally prevent executable files from being infected over the network. More information regarding such differentiation may be found in the aforementioned related application, which is incorporated herein by reference.</p>
<p>Because of such differentiation, operation 308 can still allow local processes to modify executables which, although sometime suspicious, can occur legitimately (i.e. for example, when operating system patches are applied). In one embodiment, the ability to differentiate between local and network accesses may he used in a way that minimizes false positives, by using various related rules that are tuned to specific directories. See Table 2 for examples of such location-based rules.</p>
<p>Table 2 -13-</p>
<p>On a workstationS it is legitimate for windows update' to update executabies. it is not legitimate for anyone on the network to update any executable. A rule is thus provided which "stops network users from changing any</p>
<p>executable."</p>
<p>On a fileserver: the comment above about windows update' is still true. However, it is okay for users on the network to change some executables (i.e. those i.n directories that are meant to be shared, etc.) . However, it i.s still not legitimate for user to change executables which belong to the operating system. Rules are provided which enforce this (i.e. "stop network users from changing any executable in the directory <c:\windows> and in subdirectories").</p>
<p>The ability to tune the aforementioned rules to specific processes minimizes false positives. Obviously, a rule which said "don't allow anything to execute anything" would be 100% secure, but would make the computer useless. By limiting behavior blocking to just those operations which are most dangerous (i.e. running programs from e-mails or web pages), one can stop the casual execution of viruses while still allowing all other legitimate programs to run.</p>
<p>Figure 4 illustrates a method 400 for defining a rule to prevent rnalware infection, in accordance with one embodiment. As an option, the present method 400 may he implemented in the context of the architecture and environment of Figures 1 and/or 2, and/or in the definition of the rules of the method 300 of Figure 3. Of course, however, the method 400 may be carried out in any desired environment.</p>
<p>In operation 402, a rule is identified. This may be accomplished in any desired manner. For example, a pre-existing or new name may be selected by the user to later identify the rule. -14-</p>
<p>Further, in operations 404 and 406, a process and at least one file or directory is selected to which the rule is to be applied. In the context of the present description, such process may include any functionality associated with code (i.e. an application program, etc.), and the file may include any data that may be stored at a certain location in memory (i.e. directory).</p>
<p>Still yet, in operation 408, at least one action is chosen that triggers the rule to he applied to the selected process and the at least one file or directory. Such action may include either user or computer actions. Even still, in operation 410, an operation is chosen to be carried out in response to the action. Such operation may include any response that is desired, in dealing with the aforementioned action br security purposes.</p>
<p>The present method 400 thus allows the definition of a powerful rule-based mechanism that can be used to not only prevent a computer from becoming infected with a virus that traditional virus scanning components cannot detect, but also prevent an already infected computer from spreading the infection further or from becoming damaged.</p>
<p>More information regarding one exemplary graphical user interface will now be set forth, which may optionally he used to implement the foregoing method 400, in the context of an illustrative, non-limiting example.</p>
<p>Figure 5 illustrates an exemplary graphical user interface 500 for defining a rule to prevent malware infection, in accordance with one embodiment. As an option, the present graphical user interface 500 may be implemented in the context of the architecture and environment of Figures 1 and/or 2, and/or in the definition of the rules of the methods 300 and 400 of Figures 3 and 4. Of course, however, the graphical user interlace 500 may be carried out in any desired environment.</p>
<p>-15 -As shown in Figure 5, a first field 502 associated with the graphical user interface 500 is provided. The first field 502 is adapted for receiving a nile identifier (i.e. see, for example, operation 402, of Figure 4, etc.).</p>
<p>Thus, in one embodiment, this field may simply be used for entering a descriptive name for the rule. If the rule is broken, the rule name may be included in the logs and events that are generated.</p>
<p>Further shown is a second field 504 associated with the graphical user interface 500. in use, the second field 504 is adapted for receiving a selection of a process to which the rule is to be applied (i.e. see, for example, operation 404, of Figure 4, etc.).</p>
<p>Thus, the present field includes the name(s) of the processes covered by the rule.</p>
<p>This can be a single name or cover more than one process through the use of wildcards.</p>
<p>It should be understood that the concept of process name' can readily be extended to lists (i.e. winword.exe,' excel.exe,' etc.), directories (i.e. conceptually "everything installed in c:\program files, " etc.), and subdirectories, etc. Additionally, this feature may optionally be expanded beyond processes, per Se, to other entities that can he represented as such (which are intended to fall within the term "processes," in the present context). For example, two pseudo-processes may be utilized: Systern:Remote' which represents file accesses made by the kernel on behalf of clients on the network, and System' which represents all other files access made by the kernel More information regarding such feature may he found in the aforementioned related application, which is incorporated herein by reference.</p>
<p>Still yet, a third field 506 is associated with the graphical user interface 500.</p>
<p>The third field 506 is adapted for receiving a selection of at least one file or directory to which the rule is to he applied (i.e. see, for example, operation 406, of Figure 4, etc). -16-</p>
<p>This field receives the name of the files and/or directories that are covered by the rule. These are not necessarily files that are protected', or even exist. More information regarding this field will be set forth hereinbelow in the context of a couple of examples. As with the process name, the format to specify the names of files may involve a block that could vary between implementations.</p>
<p>With continuing reference to Figure 5, a fourth field 508 is associated with the graphical user interface 500. The fourth field 506 is adapted for receiving a selection of at least one action that triggers the rule to be applied to the selected process and at least one file or directory (i.e. see, for example, operation 408, of Figure 4, etc.).</p>
<p>The present actions may be those that trigger the rule if the named process(es) attempts such actions. Of course, numerous actions may he performed on a file. Some actions such as write data to the file' cannot occur until another operation (i.e. open file for write access') has occurred. Since the present embodiment may be monitoring open file for write access,' such embodiment does not need to offer write data to the file' as an option to block. Other operations such as rename file' are conceptually similar to the ones listed and the present embodiment may hide the distinction.</p>
<p>Therefore, the list shown is not a definitive list of operations and other implementations may have variations.</p>
<p>When a file operation is attempted, the present embodiment gathers the name of the process that attempted the operation, the name of the directory/file, and the action that was attempted. This information may then he compared against each nile in turn.</p>
<p>If all three pieces of information match, the operation is failed and the present embodiment may log all the pertinent information.</p>
<p>Even still, a fifth field 510 is associated with the graphical user interface 500.</p>
<p>The fifth field 510 is adapted for receiving a selection of an operation to he earned out In TSOflS to the action (i.e. see, for example, operation 410, of Figure 4, etc). -17-</p>
<p>Following are possible examples of use of the graphical user interface 500, which are set forth for illustrative purposes only and should not be construed as limiting in any manner. pkI</p>
<p>One haS a private file (c:\MyData\CreditCard.X1S) that one does not want to share. One can protect this file with the rule: Process: System:Remote Filename: C:\MyData\Credi Card.xls Prevent: Open for read access' Remote is a pseudo process that represents file accesses made onbehalf of computers on the network. If someone on the network attempts to open or copy this file, the process, filename and action wi 11 match those listed in t.he rule and the attempt will be denied.</p>
<p>Example 2</p>
<p>One hears of a new virus that spreads using the filename virus.exe' One can prevent this file being created with the rule: Process: Filename: virus.exe Prevent: Create In th s case, virus. ext is not being protected the computer L5 be nq protec Led from Lb i s H 1 e. T t does riot mat a. which process attempt s to c rca te the fi le Any a H. empt to c rest: a L w I I a More information will now be set forth regarding one exemplary embodiment utilizing various optional features each of which may (or may not) be incorporated with the foregoing technology of Figures 1-5, per the desires of the user.</p>
<p>Figure 6 illustrates a method 600 for combating spyware, maiware, etc., in accordance with one embodiment. As an option, the present method 600 may be implemented in the context of the architecture and environment of Figures 1 and/or 2, and/or the functionality outlined in Figures 3-5. Of course, however, the method 600 may be carried out in any desired environment.</p>
<p>In the context of the present description, malware (i.e. "malicious software") may refer to any programming or files that are developed for the purpose of doing harm to a computer and/or network components. Thus, rnalware may include, but is not limited to various forms of computer viruses, worms, Trojan horses, etc. Further, as mentioned previously, in the context of the present description, the term spyware is deemed to include spyware, adware, dialer software, other equivalents, and/or any other software that is less malicious than conventional maiware, etc. As shown, in operation 602, an attempt to make a change to a registry of a computer (e.g. see computers 104, 106 of Figure 1, for example, etc.) is first identified.</p>
<p>This attempted change can he identified in any desired way that identifies any attempted alteration, modification, adjustment, variation, etc. in the registry.</p>
<p>In one embodiment, the registry may include a location on the computer for storing information such as hardware that is attached to the computer, system options that have been selected, a configuration of memory of the computer, and/or application programs to he present when an operating system of the computer is started. In the specific context of the Microsoft Windows operating system, the registry may include the sections noted in Table 3. -19-</p>
<p>Table 3</p>
<p>* HKEY Classes Root -ffle assoclatons and OLE information * RKEY Current User -aLl preferences set for current U S e r * HKEY User -all the current user information for each user off the system * EKEY Local Machine -settings for hardware, operstang system, and insLeiled appLcati.ons * HKEY Current Confaguration -settings for the display and printers * HKEY Dyn Data -performance dat.a Of course. in the context of the present description, the registry may include any data used by an operating system to store configuration information.</p>
<p>Then, in operation 604, the change to the registry is conditionally prevented based on a set of rules. By this operation; spyware, maiware, etc. maybe combated by preventing any changes to the registry that may facilitate the installation, operation and/or any other aspect of such software.</p>
<p>More information will now be set Iorth regarding one particular embodiment utilizing various optional features each of which may (or may not) he incorporated with the foregoing method 600 of Figure 6, per the desires of the user.</p>
<p>Figure 7 illustrates a method 700 for combating spyware, malware, etc., in accordance with another embodiment. As an option, the present method 700 may he implemented in the context oltbc architecture and environment of Figures 1 and/or 2.</p>
<p>and/or the functionality outlined in Figures 3-6. Of course, however, the method 700 may he calTied out in any desired environment. Th</p>
<p>-20 -As shown in decision 702, an attempt to change the registry is identified.</p>
<p>Monitoring of such attempts may be carried out in any desired manner. It is possible, for example, to provide a filter driver for the registry which operates in a manner similar to a file system filter, in order to detect and control any attempted changes to the registry.</p>
<p>Again, the aforementioned attempted change can be identified in any desired way that identifies any attempted alteration, modification, adjustment, variation, etc. in the registry. Of course, other more specific attempted changes may be monitored. For example, an attempt to make the change to the registry may be received from an application program. Further, such attempt to make the change to the registry may involve a request to an operating system of the computer. Still yet, the change may involve a write value operation, a change value operation, a delete value operation, a create subkey operation, a change subkey operation, etc. Next, the attempted change is compared to a set of rules. Note operation 704.</p>
<p>In one embodiment, the rules may involve a name of a process requesting the change, a name of a key in the registry that is being changed, a name of a value in the registry that is being changed, a type of the change, data that is being written to the registry, etc. Further, the rules may further involve keys such as those set forth in Table 4.</p>
<p>Table 4</p>
<p>* HKM\ * NT\CurrentVerSJOfl\W]flIOqOfl, arid/or * KLM\software\rniCrOSOft\W1fldOWa\CTrer1tver6b0T<P0r8h00w5 helper objects.</p>
<p>Of course, any desired rules may be incorporated See, Ibr example, the rules set forth during the discussion of Figures 3-5. For that matter, any of the functionality of -21 -Figures 3-5 (and the descriptions thereof) may optionally be incorporated with the present embodiment.</p>
<p>In any case, based on the aforemei.tioned comparison of operation 704, it is determined, in decisions 706-710, whether the attempted change(s) violates one or more rules. If any one of the rules is violated, the change is prevented, as indicated in operation 714. If, however, none of the rules is violated, the change may be permitted in operation 712. Three exemplary rules are set forth in Table 5. Of course, such rules are set forth for illustrative purposes only and should not be construed as limiting in any manner. Further, while three decisions (706-710) are shown in Figure 7, it should be noted that any number (e.g. I... n) of rules may be utilized in the context of the present embodiment.</p>
<p>Table 5 1)</p>
<p>Process: All Key name HKLM\ software\m1crosoft\w1ndOWS\C1irrcfltVer5b0n\0 Value name AU Prevent: wrate value, change value. 2)</p>
<p>Process All except wanlogon.exe Key name HKLM\SOFTWARE\MaCrOSOft\1nd0WS NT\ CurrentVersion\Winiogofl Value name Alt Prevent write value, change value, delete value 3) Prc.cess: Ai 1 Key rianie: HK1,M\softwa re\rna cosofl \windows\ curr.entversaon\exp ore\hrowc helper: oblects nuhkey rjame: All -22 -Prevent create suhkey, change subkey In the context of rule #1 in Table 5, for example, all processes that attempt to make changes to the registry may be subject to such rule. Moreover, the key name that may be monitored is as follows: HK.LM\ software\microsoft\windoWs\cUflentver5i0n\run Further, any value that is associated with such key is monitored. Finally, if any process attempts to either write or change any value with respect to the foregoing key, such attempt may violate the present rule, resulting in the prevention of the change, per operation 714.</p>
<p>In the context of rule #2, all processes (except winlogon.exe) that attempt to make changes to the registry may be subject to such rule. Moreover, the key name that may be monitored is as follows: HKLMSOFTWARE\Microsoft\WindOWs NT\CurrentVersion\WinlOgofl. Further, any value that is associated with such key is monitored. Finally, if any process attempts to either write, change or delete any value with respect to the foregoing key, such attempt may violate the present rule, resulting in the prevention of the change, per operation 714.</p>
<p>Finally, in the context of exemplary rule #3, all processes that attempt to make changes to the registry may be subject to such rule. Moreover, the key name that may he monitored is as follows: HKLM\so ftware\microso ft\windows\currentversiOn\exPlOrer\browser helper obj ects.</p>
<p>Further, any subkey that is associated with such key is monitored. Finally, if any process attempts to either create or change any subkey with respect to the foregoing key, such attempt may violate the present rule, resulting in the prevention of the change, per operation 714.</p>
<p>Thus, the change may be prevented for any of a plurality of reasons involving combating spyware, malware, etc. For example, the change may be prevented for precluding installation, execution, etc. of spyware, malware, etc. on the computer.</p>
<p>-23 -Because typical spyware (and much maiware, for that matter) needs to run all the time and not just when the user chooses the spyware to run, the spyware may need to find a way to coerce the operating system into running the same, for example, when the computer is actuated. On the Microsoft Windows operating systems, this procedure involves setting a value at some place in the registry which points to one of the spyware application files. For example, there is a key called If a value is created in association with such key which contains the name of an executable file (e.g. the spyware executable, etc.), the operating system automatically runs such executable file when a user logs on to the computer. Thus, the present embodiment exploits the need for such change, for the purpose of improved management of maiware, spyware, etc. To this end, when an application makes a request to an operating system to make a change to a registry, a filter driver may identify the request first and then allow or reject it based on a set of rules. Not only can these rules prevent the installation/execution of spyware and malware, etc., such rules can also prevent some of the other symptoms that such unwanted software can cause, and trigger scans of the files and/or processes that are requesting a registry change.</p>
<p>in one embodiment, telTorism may be countered utilizing the aforementioned technology. According to the U.S. Federal Bureau of Investigation, cyher-terrorism is any "premeditated, politically motivated attack against information, computer systems, computer programs, and data which results in violence against non-combatant targets by sub-national groups or clandestine agents." A cyber-terrorist attack is designed to cause physical violence or extreme financial harm. According 1;o the U.S. Commission of Critical Infrastructure Protection, possible cyherterrorist targets include the banking industry, military installations, power plants, air traffic control centers, and water systems. Thus. by optionally incorporating the present technology into the cyber-frameworks of the foregoing potential targets, terrorism may he countered by preventing -24 -the infection thereof with malware, which may potentially cause extreme financial harm.</p>
<p>While various embodiments have been described above, it should he understood that they have been presented by way of example only, and not limitation. For example, any of the network elements may employ any of the desired functionality set forth hereinabove. Thus, the breadth and scope of a preferred embodiment should not be limited by any of the above-described exemplary embodiments, but should he defined only in accordance with the following claims and their equivalents</p>

Claims (1)

  1. <p>-25 -</p>
    <p>CLAIMS</p>
    <p>1. A method, comprising: identifying an attempt to make a change to a registry of at least one computer; and conditionally preventing the change to the registry based on a set of rules.</p>
    <p>2. The method as recited in claim 1, wherein the attempt to make the change to the registry is received from an application program.</p>
    <p>3. The method as recited in claim 1 or 2, wherein the attempt to make the change to the registly involves a request to an operating system of the computer.</p>
    <p>4. The method as recited in any one of the preceding claims, wherein the rules involve a name of a process requesting the change.</p>
    <p>5. The method as recited in any one of the preceding claims, wherein the rules involve a name of a key in the registry that is attempted to he changed.</p>
    <p>6. The method as recited in any one of the preceding claims, wherein the rules involve a name of a value in the registiy that is attempted to be changed.</p>
    <p>7. The method as recited in any one of the preceding claims, wherein the rules involve a type of the change.</p>
    <p>8. The method as recited in any one of the preceding claims, wherein the rules involve data that is attempted to he written to the registry.</p>
    <p>9. The method as recited in any one olthe preceding claims, wherein the change involves a write value operation -26 - 10. The method as recited in any one of the preceding claims, wherein the change involves a change value operation.</p>
    <p>11. The method as recited in any one of the preceding claims, wherein the change involves a delete value operation.</p>
    <p>12. The method as recited in any one of the preceding claims, wherein the change involves a create subkey operation.</p>
    <p>13. The method as recited in any one of the preceding claims, wherein the change involves a change suhkey operation.</p>
    <p>14. The method as recited in any one of the preceding claims, wherein the rules involve a key including HKLM\ software\micro soft\windows\currentverSiOn\rufl.</p>
    <p>15. The method as recited in any one of the preceding claims, wherein the rules involve a key including HKLM\SOFTWARE\MicroSoft\WifldOWs NT\CurrentVersi on\Winlogon.</p>
    <p>16. The method as recited in any one of the preceding claims, wherein the rules involve a key including HKLM\software\microsOft\Wind ows\currentversi on\expl orer\browser helper ohj ects.</p>
    <p>17. The method as recited in any one of the precedmg claims, wherein the change is prevented for precluding installation of spyware on the computer.</p>
    <p>18. The method as recited in any one of the preceding claims, wherein the change is prevented for precluding installation of rnalware on the computer -27 - 19. The method as recited in any one of the preceding claims, wherein the registry includes a location on the computer for storing information selected from a group consisting of hardware that is attached to at least one said computer, system options that have been selected, a configuration of memory of at least one said computer, and application programs to be present when an operating system of at least one said computer is started.</p>
    <p>20. The method as recited in any one of the preceding claimsl, wherein the registry includes a location on the at least one computer for storing information including hardware that is attached to the computer, system options that have been selected, a configuration of memory of the computer, and application programs to he present when an operating system of the computer is started.</p>
    <p>21. The method as recited in any one of the preceding claims, wherein the method is utilized to counter terrorism.</p>
    <p>22. A computer program product embodied on a computer readable medium, comprising: computer code for identifying an attempt to make a change to a registry of at least one computer; and computer code for conditionally preventing the change to the registry based on at least one rule.</p>
    <p>23. A system, comprising: logic for identifying an attempt to make a change to a registry of at least one computer; and logic for conditionally preventing the change to the registry based on a set of rules.</p>
GB0523997A 2005-11-25 2005-11-25 Product for preventing spyware/malware from installing in a registry Active GB2432687B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
GB0523997A GB2432687B (en) 2005-11-25 2005-11-25 Product for preventing spyware/malware from installing in a registry

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
GB0523997A GB2432687B (en) 2005-11-25 2005-11-25 Product for preventing spyware/malware from installing in a registry

Publications (3)

Publication Number Publication Date
GB0523997D0 GB0523997D0 (en) 2006-01-04
GB2432687A true GB2432687A (en) 2007-05-30
GB2432687B GB2432687B (en) 2011-06-01

Family

ID=35601185

Family Applications (1)

Application Number Title Priority Date Filing Date
GB0523997A Active GB2432687B (en) 2005-11-25 2005-11-25 Product for preventing spyware/malware from installing in a registry

Country Status (1)

Country Link
GB (1) GB2432687B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8392994B2 (en) 2005-01-14 2013-03-05 Mcafee, Inc. System, method and computer program product for context-driven behavioral heuristics
US8621608B2 (en) 2008-04-29 2013-12-31 Mcafee, Inc. System, method, and computer program product for dynamically adjusting a level of security applied to a system
GB2508441A (en) * 2012-12-03 2014-06-04 Inst Information Industry Protecting a computer system from malicious program code
US9237171B2 (en) 2011-08-17 2016-01-12 Mcafee, Inc. System and method for indirect interface monitoring and plumb-lining

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001025953A1 (en) * 1999-10-01 2001-04-12 Infraworks Corporation Registry monitoring system and method
TW439032B (en) * 1999-06-09 2001-06-07 Inventec Corp An email processing system for preventing email viruses
WO2002103498A2 (en) * 2001-06-14 2002-12-27 Okena, Inc. Stateful reference monitor
US20040143749A1 (en) * 2003-01-16 2004-07-22 Platformlogic, Inc. Behavior-based host-based intrusion prevention system
JP2005148814A (en) * 2003-11-11 2005-06-09 Business Eggs:Kk File access monitoring device, method, program, and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW439032B (en) * 1999-06-09 2001-06-07 Inventec Corp An email processing system for preventing email viruses
WO2001025953A1 (en) * 1999-10-01 2001-04-12 Infraworks Corporation Registry monitoring system and method
WO2002103498A2 (en) * 2001-06-14 2002-12-27 Okena, Inc. Stateful reference monitor
US20040143749A1 (en) * 2003-01-16 2004-07-22 Platformlogic, Inc. Behavior-based host-based intrusion prevention system
JP2005148814A (en) * 2003-11-11 2005-06-09 Business Eggs:Kk File access monitoring device, method, program, and storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8392994B2 (en) 2005-01-14 2013-03-05 Mcafee, Inc. System, method and computer program product for context-driven behavioral heuristics
US8621608B2 (en) 2008-04-29 2013-12-31 Mcafee, Inc. System, method, and computer program product for dynamically adjusting a level of security applied to a system
US8955121B2 (en) 2008-04-29 2015-02-10 Mcafee, Inc. System, method, and computer program product for dynamically adjusting a level of security applied to a system
US9237171B2 (en) 2011-08-17 2016-01-12 Mcafee, Inc. System and method for indirect interface monitoring and plumb-lining
GB2508441A (en) * 2012-12-03 2014-06-04 Inst Information Industry Protecting a computer system from malicious program code

Also Published As

Publication number Publication date
GB0523997D0 (en) 2006-01-04
GB2432687B (en) 2011-06-01

Similar Documents

Publication Publication Date Title
US20060041942A1 (en) System, method and computer program product for preventing spyware/malware from installing a registry
JP6086968B2 (en) System and method for local protection against malicious software
US9917864B2 (en) Security policy deployment and enforcement system for the detection and control of polymorphic and targeted malware
US9325738B2 (en) Methods and apparatus for blocking unwanted software downloads
US7984503B2 (en) System, method and computer program product for accelerating malware/spyware scanning
US7836506B2 (en) Threat protection network
US7917955B1 (en) System, method and computer program product for context-driven behavioral heuristics
US7281268B2 (en) System, method and computer program product for detection of unwanted processes
US7650639B2 (en) System and method for protecting a limited resource computer from malware
US8332946B1 (en) Method and system for protecting endpoints
US20050050337A1 (en) Anti-virus security policy enforcement
Patyal et al. Multi-layered defense architecture against ransomware
WO2007096659A1 (en) Phishing mitigation
WO2005114357A1 (en) Systems and methods for computer security
US7523501B2 (en) Adaptive computer worm filter and methods of use thereof
GB2432687A (en) Preventing spyware/malware from installing in a registry
US7765593B1 (en) Rule set-based system and method for advanced virus protection
Syed Understanding worms, their behaviour and containing them
Guri et al. Limiting access to unintentionally leaked sensitive documents using malware signatures
Ahluwalia et al. Technique For Detecting Advanced Persistent Threat By Monitoring Sensitive Files
Kumar et al. Preventive measures for malware in p2p networks.
Caravut Multiple logs analysis for detecting zero-day backdoor trojans
Huerta et al. Enhancing malware detection in an IM environment
Kumar et al. Analysis and Prevention of Malware in P2P
Bureau The Storm/Nuwar Botnet Everybody’s heard of it, but what is it really?(And does it still matter?)