首页 / 专利库 / 电脑零配件 / 计算机系统 / SYSTEM AND METHOD FOR MONITORING A COMPUTER SYSTEM USING MACHINE INTERPRETABLE CODE

SYSTEM AND METHOD FOR MONITORING A COMPUTER SYSTEM USING MACHINE INTERPRETABLE CODE

阅读:724发布:2021-05-18

专利汇可以提供SYSTEM AND METHOD FOR MONITORING A COMPUTER SYSTEM USING MACHINE INTERPRETABLE CODE专利检索,专利查询,专利分析的服务。并且A computer implemented method of monitoring a collector computer system includes receiving machine interpretable code that is configured for interpretation by the interpreter that includes: information identifying a first set of one or more monitoring targets within the collector computer system, a method for monitoring the first set of one or more monitoring targets, and predefined reporting criteria. The method also includes interpreting the machine interpretable code with an interpreter; monitoring at least a subset of the first set of one or more monitoring targets for candidate activity that satisfies the predefined reporting criteria by executing compiled instructions that correspond to the method for monitoring the first set of one or more monitoring targets; obtaining candidate event information that is associated with the candidate activity; and reporting the candidate event information to a computer system that is distinct from the collector computer system.,下面是SYSTEM AND METHOD FOR MONITORING A COMPUTER SYSTEM USING MACHINE INTERPRETABLE CODE专利的具体信息内容。

What is claimed is:
1. A computer implemented method of monitoring a collector computer system, the collector computer system comprising one or more processors and memory storing an interpreter and compiled instructions for execution by the one or more processors, said method comprising:
receiving machine interpretable code that is configured for interpretation by the interpreter, wherein the machine interpretable code is not directly executable by the one or more processors and the machine interpretable code includes: information identifying a first set of one or more monitoring targets within the collector computer system, a method for monitoring the first set of one or more monitoring targets, and predefined reporting criteria; interpreting the machine interpretable code with the interpreter to obtain the first set of one or more monitoring targets, the method for monitoring the first set of one or more monitoring targets, and the predefined reporting criteria;
monitoring, using the one or more processors, at least a subset of the first set of one or more monitoring targets for candidate activity that satisfies the predefined reporting criteria by executing compiled instructions that correspond to the method for monitoring the first set of one or more monitoring targets;
obtaining candidate event information that is associated with the candidate activity; and
reporting the candidate event information to a computer system that is distinct from the collector computer system.
2. The method of claim 1, wherein the machine interpretable code is in a script language.
3. The method of claim 1 or 2, wherein the first set of one or more monitoring targets includes one or more of: one or more applications running on the collector computer system, one or more types of operations or services within the collector computer system, one or more regions of the memory, one or more registry entries, one or more network connection points, one or more mutex objects, and one or more memory operations.
4. The method of any of claims 1-3, wherein the predefined reporting criteria include types of information for reporting, the types of information including one or more of: a timestamp, one or more file names associated with the candidate activity, one or more process names associated with the candidate activity, one or more network connection points, one or more registry paths, one or more mutex objects, one or more library names, and one more thread numbers and/or process numbers.
5. The method of any of claims 1-4, wherein the receiving, the interpreting, the monitoring, and the obtaining are performed while the collector computer system is in a first state, the method further including:
while the collector computer system is in a second state that is distinct from the first state:
receiving machine executable code that is configured for execution by the one or more processors and that is not configured for interpretation by the interpreter, wherein the machine executable code includes information identifying a second set of one or more monitoring targets, and second predefined reporting criteria;
monitoring using the one or more processors, the second set of the one or more monitoring targets for additional candidate activity that satisfies the second predefined reporting criteria by executing the machine executable code;
obtaining additional candidate event information that is associated with the additional candidate activity; and
reporting the additional candidate event information to the computer system that is distinct from the collector computer system.
6. The method of any of claims 1-5, wherein the compiled instructions are stored within the collector computer system prior to receiving the machine interpretable code.
7. The method of any of claims 1-5, wherein the compiled instructions are received by the collector computer system in conjunction with receiving the machine interpretable code.
8. The method of any of claims 1-7, further comprising:
subsequent to reporting the obtained information:
receiving instructions to terminate the candidate activity; and
terminating the candidate activity.
9. The method of any of claims 1-8, wherein the interpreter is located within the kernel and interpretation of the machine interpretable code is performed without rebooting the collector computer system subsequent to receiving the machine interpretable code.
A collector computer system, comprising one or more processors; and
memory storing one or more programs that include an interpreter and compiled instructions, the one or more programs, when executed by the one or more processors, cause the collector computer system to:
receive machine interpretable code that is configured for interpretation by the interpreter, wherein the machine interpretable code is not directly executable by the one or more processors and the machine interpretable code includes: information identifying a first set of one or more monitoring targets within the collector computer system, a method for monitoring the first set of one or more monitoring targets, and predefined reporting criteria; interpret the machine interpretable code with the interpreter to obtain the first set of one or more monitoring targets, the method for monitoring the first set of one or more monitoring targets, and the predefined reporting criteria;
monitor, using the one or more processors, at least a subset of the first set of one or more monitoring targets for candidate activity that satisfies the predefined reporting criteria by executing compiled instructions that correspond to the method for monitoring the first set of one or more monitoring targets;
obtain candidate event information that is associated with the candidate activity; and report the candidate event information to a computer system that is distinct from the collector computer system.
11. A non-transitory computer readable storage medium, storing one or more programs that include an interpreter and compiled instructions for execution by one or more processors of a collector computer system, the one or more programs including instructions for:
receiving machine interpretable code that is configured for interpretation by the interpreter, wherein the machine interpretable code is not directly executable by the one or more processors and the machine interpretable code includes: information identifying a first set of one or more monitoring targets within the collector computer system, a method for monitoring the first set of one or more monitoring targets, and predefined reporting criteria; interpreting the machine interpretable code with the interpreter to obtain the first set of one or more monitoring targets, the method for monitoring the first set of one or more monitoring targets, and the predefined reporting criteria;
monitoring, using the one or more processors, at least a subset of the first set of one or more monitoring targets for candidate activity that satisfies the predefined reporting criteria by executing compiled instructions that correspond to the method for monitoring the first set of one or more monitoring targets;
obtaining candidate event information that is associated with the candidate activity; and
reporting the candidate event information to a computer system that is distinct from the collector computer system.
12. A collector computer system, comprising:
one or more processors; and
memory storing one or more programs that include an interpreter and compiled instructions, the one or more programs, when executed by the one or more processors, causing the collector computer system to perform any method of claims 1-9.
13. A non-transitory computer readable storage medium, storing one or more programs that include an interpreter and compiled instructions for execution by one or more processors of a collector computer system, the one or more programs including instructions for performing any method of claims 1-9.
14. A computer implemented method of monitoring a collector computer system by one or more controller computer system, at least a controller computer system comprising one or more processors and memory storing instructions for execution by the one or more processors, said method comprising:
sending to the collector computer system machine interpretable code that is configured for interpretation by an interpreter stored within the collector computer system, wherein the machine interpretable code is not directly executable by one or more processors of the collector computer system and the machine interpretable code includes information identifying a first set of one or more monitoring targets within the collector computer system, a method for monitoring the first set of one or more monitoring targets by the collector computer system, and predefined reporting criteria; and,
subsequent to sending to the collector computer system the machine interpretable code, receiving from the collector computer system candidate event information that is associated with a candidate activity with the first set of one or more monitoring targets.
15. The method of claim 14, further comprising: sending to the collector computer system compiled instructions for execution by the one or more processors of the collector computer system to monitor the first set of one or more monitoring targets.
16. The method of claim 15, including:
sending to the collector computer system the compiled instructions prior to sending the machine interpretable code.
17. The method of claim 15, including:
sending to the collector computer system the compiled instructions in conjunction with sending the machine interpretable code.
18. The method of any of claims 14-17, wherein the machine interpretable code is in a script language.
19. The method of any of claims 14-18, wherein the first set of one or more monitoring targets include one or more of: one or more applications running on the collector computer system, one or more types of operations or services within the collector computer system, one or more regions of the memory, one or more registry entries, one or more network connection points, one or more mutex objects, and one or more memory operations.
20. The method of any of claims 14-19, wherein the predefined reporting criteria include types of information for reporting, the types of information including one or more of: a timestamp, one or more file names associated with the candidate activity, one or more process names associated with the candidate activity, one or more network connection points, one or more registry paths, one or more mutex objects, one or more library names, and one or more thread numbers and/or process numbers.
21. The method of any of claims 14-20, wherein the machine interpretable code is sent for the collector computer system operating in a first state, the method further including:
for the collector computer system operating in a second state that is distinct from the first state:
sending machine executable code that is configured for execution by the one or more processors of the collector computer system and that is not configured for interpretation by the interpreter, wherein the machine executable code includes information identifying a second set of one or more monitoring targets and second predefined reporting criteria; and, subsequent to sending to the collector computer system the machine executable code, receiving additional candidate event information that is associated with the second set of one or more monitoring targets and that satisfies the second predefined reporting criteria.
22. The method of any of claims 14-21, further comprising:
subsequent to receiving the information, sending to the collector computer system instructions to terminate the candidate activity on the collector computer system.
23. A controller computer system, comprising:
one or more processors; and
memory storing one or more programs, which, when executed by the one or more processors, cause the controller computer system to:
send to the collector computer system machine interpretable code that is configured for interpretation by an interpreter stored within the collector computer system, wherein the machine interpretable code is not directly executable by one or more processors of the collector computer system and the machine interpretable code includes information identifying a first set of one or more monitoring targets within the collector computer system, a method for monitoring the first set of one or more monitoring targets by the collector computer system, and predefined reporting criteria; and,
subsequent to sending to the collector computer system the machine interpretable code, receive from the collector computer system candidate event information that is associated with a candidate activity with the first set of one or more monitoring targets.
24. A non-transitory computer readable storage medium, storing one or more programs execution by one or more processors of a controller computer system, the one or more programs including instructions for:
sending to the collector computer system machine interpretable code that is configured for interpretation by an interpreter stored within the collector computer system, wherein the machine interpretable code is not directly executable by one or more processors of the collector computer system and the machine interpretable code includes information identifying a first set of one or more monitoring targets within the collector computer system, a method for monitoring the first set of one or more monitoring targets by the collector computer system, and predefined reporting criteria; and, subsequent to sending to the collector computer system the machine interpretable code, receiving from the collector computer system candidate event information that is associated with a candidate activity with the first set of one or more monitoring targets.
25. A controller computer system, comprising:
one or more processors; and
memory storing one or more programs, which, when executed by the one or more processors, cause the controller computer system to perform any method of claims 14-22.
26. A non-transitory computer readable storage medium, storing one or more programs execution by one or more processors of a controller computer system, the one or more programs including instructions for performing any method of claims 14-22.
说明书全文

System and Method for Monitoring a Computer System

Using Machine Interpretable Code

TECHNICAL FIELD

[0001] This application relates generally to systems and methods for monitoring computer networks, including but not limited to systems and methods for monitoring one or more computer systems over computer networks.

BACKGROUND

[0002] An increasing number of computers are connected to computer networks (e.g., the Internet). Networked computers provide a significant benefit of accessing and sharing data over the networks. However, these networked computers are also vulnerable to attacks, unwanted intrusions, and unauthorized access.

[0003] Certain existing network security systems have been developed to protect computers from attacks, unwanted intrusions, unauthorized access, and other malicious activities. Such network security systems typically include a firewall to prevent unauthorized access to the network or its computers. Exemplary network security systems also include intrusion detection systems (IDS) and intrusion prevention systems (IPS) that typically contain a library of malware fingerprints (e.g., fingerprints of malware payloads and other unauthorized activities). By using the malware fingerprints, the IDS or the IPS can detect attempts to access computer systems without authorization. When a connection is attempted to a network port, the IDS or IPS examines the low-level IP data packets and compares them to its library of fingerprints for a match. When a match is identified, the IDS or IPS provides notification of the match and/or prevents further access. Therefore, the malware fingerprints play a critical role in network security.

[0004] A critical threat to computer networks is the so-called zero-day attack that exploits security vulnerabilities previously unknown to software developers or system operators. Because the security vulnerabilities are unknown to the software developers or system operators, often the fingerprints of such zero-day attacks are unavailable for comparison. Until the fingerprints are identified, attacks exploiting the same security vulnerabilities continue without detection by the network security systems. However, identifying the fingerprints of malicious activities in the middle of numerous other non- malicious processes is not a trivial task.

[0005] In addition, malicious processors can be better detected at a low level in a computer system (e.g., within an operating system of the computer system). However, distributing detection tools that operate at a low level in computer systems are challenging, because any errors in the detection tool operation at the low level of the computer system may cause a system failure or crash. In addition, distribution of a detection tool that operates at a low level often requires rebooting the computer system, which is not suitable for computer systems that require continuous and uninterrupted operations.

[0006] Thus, there is a great need for improved methods of distributing detection tools for detecting malicious activities on computer systems. In addition, there is a great need for improved methods for monitoring computer systems for other purposes, such as monitoring the performance of computer systems, monitoring the performance of particular software applications on computer systems, and debugging software applications.

SUMMARY

[0007] A number of embodiments that address the limitations and disadvantages described above are presented in more detail below. These embodiments provide improved methods and systems for monitoring a computer system.

[0008] As described in more detail below, some embodiments involve a computer- implemented method performed at a collector computer system having one or more processors and memory storing one or more programs an interpreter and compiled

instructions for execution by the one or more processors. The method includes receiving machine interpretable code that is configured for interpretation by the interpreter. The machine interpretable code is not directly executable by the one or more processors and the machine interpretable code includes: information identifying a first set of one or more monitoring targets within the collector computer system, a method for monitoring the first set of one or more monitoring targets, and predefined reporting criteria. The method also includes interpreting the machine interpretable code with the interpreter to obtain the first set of one or more monitoring targets, the method for monitoring the first set of one or more monitoring targets, and the predefined reporting criteria. The method further includes monitoring, using the one or more processors, at least a subset of the first set of one or more monitoring targets for candidate activity that satisfies the predefined reporting criteria by executing compiled instructions that correspond to the method for monitoring the first set of one or more monitoring targets; obtaining candidate event information that is associated with the candidate activity; and reporting the candidate event information to a computer system that is distinct from the collector computer system.

[0009] In accordance with some embodiments, a collector computer system includes one or more processors; and memory storing one or more programs that include an interpreter and compiled instructions. The one or more programs, when executed by the one or more processors, cause the collector computer system to perform the above-described method.

[0010] In accordance with some embodiments, a non-transitory computer readable storage medium, stores one or more programs that include an interpreter and compiled instructions for execution by one or more processors of a collector computer system. The one or more programs include instructions for performing the above-described method.

[0011] In accordance with some embodiments, a collector computer system includes one or more processors; and memory storing one or more programs that include an interpreter and compiled instructions. The one or more programs, when executed by the one or more processors, cause the collector computer system to receive machine interpretable code that is configured for interpretation by the interpreter. The machine interpretable code is not directly executable by the one or more processors and the machine interpretable code includes: information identifying a first set of one or more monitoring targets within the collector computer system, a method for monitoring the first set of one or more monitoring targets, and predefined reporting criteria. The one or more programs also cause the collector computer system to interpret the machine interpretable code with the interpreter to obtain the first set of one or more monitoring targets, the method for monitoring the first set of one or more monitoring targets, and the predefined reporting criteria; monitor, using the one or more processors, at least a subset of the first set of one or more monitoring targets for candidate activity that satisfies the predefined reporting criteria by executing compiled instructions that correspond to the method for monitoring the first set of one or more monitoring targets;

obtain candidate event information that is associated with the candidate activity; and report the candidate event information to a computer system that is distinct from the collector computer system.

[0012] In accordance with some embodiments, a non-transitory computer readable storage medium, storing one or more programs that include an interpreter and compiled instructions for execution by one or more processors of a collector computer system. The one or more programs include instructions for receiving machine interpretable code that is configured for interpretation by the interpreter. The machine interpretable code is not directly executable by the one or more processors and the machine interpretable code includes: information identifying a first set of one or more monitoring targets within the collector computer system, a method for monitoring the first set of one or more monitoring targets, and predefined reporting criteria. The one or more programs also include instructions for interpreting the machine interpretable code with the interpreter to obtain the first set of one or more monitoring targets, the method for monitoring the first set of one or more monitoring targets, and the predefined reporting criteria; monitoring, using the one or more processors, at least a subset of the first set of one or more monitoring targets for candidate activity that satisfies the predefined reporting criteria by executing compiled instructions that correspond to the method for monitoring the first set of one or more monitoring targets; obtaining candidate event information that is associated with the candidate activity; and reporting the candidate event information to a computer system that is distinct from the collector computer system.

[0013] In accordance with some embodiments, a computer implemented method of monitoring a collector computer system by one or more controller computer system involves at least a controller computer system comprising one or more processors and memory storing instructions for execution by the one or more processors. The method includes sending to the collector computer system machine interpretable code that is configured for interpretation by an interpreter stored within the collector computer system. The machine interpretable code is not directly executable by one or more processors of the collector computer system and the machine interpretable code includes information identifying a first set of one or more monitoring targets within the collector computer system, a method for monitoring the first set of one or more monitoring targets by the collector computer system, and predefined reporting criteria. The method also includes, subsequent to sending to the collector computer system the machine interpretable code, receiving from the collector computer system candidate event information that is associated with a candidate activity with the first set of one or more monitoring targets. In some embodiments, the method includes sending to a group of collector computer systems the machine interpretable code and receiving from the group of collector computer systems the candidate event information. [0014] In accordance with some embodiments, a controller computer system includes one or more processors; and memory storing one or more programs, which, when executed by the one or more processors, cause the controller computer system to perform the above- described method.

[0015] In accordance with some embodiments, a non-transitory computer readable storage medium stores one or more programs execution by one or more processors of a controller computer system. The one or more programs include instructions for performing the above-described method.

[0016] In accordance with some embodiments, a controller computer system includes one or more processors; and memory storing one or more programs, which, when executed by the one or more processors, cause the controller computer system to: send to the collector computer system machine interpretable code that is configured for interpretation by an interpreter stored within the collector computer system. The machine interpretable code is not directly executable by one or more processors of the collector computer system and the machine interpretable code includes information identifying a first set of one or more monitoring targets within the collector computer system, a method for monitoring the first set of one or more monitoring targets by the collector computer system, and predefined reporting criteria. The one or more programs also cause the controller computer system to, subsequent to sending to the collector computer system the machine interpretable code, receive from the collector computer system candidate event information that is associated with a candidate activity with the first set of one or more monitoring targets. In some embodiments, the one or more programs cause the controller computer system to send to a group of collector computer systems the machine interpretable code and receive from the group of collector computer systems the candidate event information.

[0017] In accordance with some embodiments, a non-transitory computer readable storage medium stores one or more programs execution by one or more processors of a controller computer system. The one or more programs include instructions for: sending to the collector computer system machine interpretable code that is configured for interpretation by an interpreter stored within the collector computer system. The machine interpretable code is not directly executable by one or more processors of the collector computer system and the machine interpretable code includes information identifying a first set of one or more monitoring targets within the collector computer system, a method for monitoring the first set of one or more monitoring targets by the collector computer system, and predefined reporting criteria. The one or more programs also include instructions for, subsequent to sending to the collector computer system the machine interpretable code, receiving from the collector computer system candidate event information that is associated with a candidate activity with the first set of one or more monitoring targets. In some embodiments, the one or more programs cause the controller computer system to send to a group of collector computer systems the machine interpretable code and receive from the group of collector computer systems the candidate event information.

[0018] In accordance with some embodiments, a group of controller computer systems collectively includes multiple processors; and memory storing one or more programs, which, when executed by at least a subset of the multiple processors, cause the group of controller computer systems to: send to the collector computer system machine interpretable code that is configured for interpretation by an interpreter stored within the collector computer system. The machine interpretable code is not directly executable by one or more processors of the collector computer system and the machine interpretable code includes information identifying a first set of one or more monitoring targets within the collector computer system, a method for monitoring the first set of one or more monitoring targets by the collector computer system, and predefined reporting criteria. The one or more programs also cause the group of controller computer systems to, subsequent to sending to the collector computer system the machine interpretable code, receive from the collector computer system candidate event information that is associated with a candidate activity with the first set of one or more monitoring targets. In some embodiments, the one or more programs cause the group of controller computer systems to send to a group of collector computer systems the machine interpretable code and receive from the group of collector computer systems the candidate event information. An exemplary group of controller computer systems includes a first computer system dedicated for sending machine interpretable code and a second computer system dedicated for receiving the candidate event information. For example, an IDS/IPS can be used for receiving the candidate event information.

[0019] In some embodiments, these embodiments are used to identify unauthorized activities (also called herein malicious activities). The data (e.g., the candidate event information) collected by these embodiments can be used to generate fingerprint data in response to the zero-day attacks (e.g., to prevent future attacks). Details of such methods and systems are described in U.S. Patent Application Serial No. 13/163,590, filed June 17, 2011, entitled "System and Method for Identifying Unauthorized Activities on a Computer System Using a Data Structure Model," which is incorporated by reference herein in its entirety. In some embodiments, the above-described embodiments are used to monitor a computer system (e.g., a collector computer system) or a group of computer systems (e.g., a group of collector computer systems) in general.

[0020] The described embodiments provide computer systems and methods for monitoring a collector computer system by using machine interpretable code (e.g., based on a script language). Because information extracted from the machine interpretable code is used with a verified set of compiled instructions, the risk of a system failure or crash is reduced. Thus, the described computer systems and methods allow software developers to test various monitoring parameters without causing system failures or crashes, which is particularly advantageous for developing applications on production systems (e.g., computer systems that are accessed by users for practical applications, and not for testing purposes only). Once a certain set of monitoring parameters is selected, the selected set of monitoring parameters can be included in executable instructions for subsequent distribution, thereby improving the performance in monitoring a collector computer system (e.g., the monitoring operation is performed faster or less computer resources are required for the monitoring operation). In some cases, the code in the script language is compiled and then converted to computer executable instructions, which further facilitates generation of the executable instructions.

BRIEF DESCRIPTION OF THE DRAWINGS

[0021] For a better understanding of the aforementioned aspects as well as additional aspects and embodiments, reference should be made to the Description of Embodiments below, in conjunction with the following drawings in which like reference numerals refer to corresponding parts throughout the figures.

[0022] Figure 1 is a high-level block diagram illustrating an exemplary distributed computer system in accordance with some embodiments.

[0023] Figure 2 is a block diagram illustrating a collector network device, in accordance with some embodiments. [0024] Figure 3 is a block diagram illustrating a controller network device, in accordance with some embodiments.

[0025] Figure 4 is a high-level flow chart representing a method of monitoring a collector computer system, in accordance with some embodiments.

[0026] Figures 5A-5B are flowcharts representing a method of monitoring a collector computer system, in accordance with some embodiments.

[0027] Figures 6A-6B are flowcharts representing a method of monitoring a collector computer system by a controller computer system, in accordance with some embodiments.

DESCRIPTION OF EMBODIMENTS

[0028] Embodiments of various systems and methods for monitoring computer systems are described below. Reference will be made to certain embodiments, examples of which are illustrated in the accompanying drawings. While the invention will be described in conjunction with certain embodiments, it should be understood that these particular embodiments are not intended to limit the invention. Instead, the claims are intended to cover alternatives, modifications and equivalents that are within the spirit and scope of the principles described herein. Moreover, in the following description, numerous specific details are set forth to provide a thorough understanding of these embodiments. However, it will be apparent to one of ordinary skill in the art that the embodiments described herein may be practiced without these particular details. In other instances, methods, procedures, components, and networks that are well-known to those of ordinary skill in the art are not described in detail to avoid obscuring aspects of the described embodiments.

[0029] Figure 1 illustrates an exemplary distributed computer system 100, according to some embodiments. The system 100 includes a communications network 148 and a computer network 104. Various embodiments of the computer network 104 implement the methods (e.g., methods for monitoring a computer system) described in this document.

[0030] In some embodiments, the systems on the computer network 104 are accessed by client computers 101. The client computers 101 can be any of a number of computing devices (e.g., desktop computer, laptop computer, Internet kiosk, personal digital assistant, cell phone, gaming device, handheld computer, or combinations thereof) used to enable the activities described below. The client computer(s) 101 are also referred to herein as client(s). In some embodiments, the client(s) 101 are connected to network devices 136 (e.g., 136-1, 136-2, and 136-n) via the communications network 148 (e.g., some of the network devices 136 are web servers that provide web services to the clients 101).

[0031] The network devices 136 may include any of a number of computing devices

(e.g., server computers, desktop computer, laptop computer, Internet kiosk, personal digital assistant, cell phone, gaming device, handheld computer, or combinations thereof). In some embodiments, the network devices 136 include one or more virtual machines on a computing device. The network devices 136-1 through 136-n are accessible from the network 148 by one or more authorized users using the clients 101 (e.g., the network devices can be servers providing services for webpages, email, files, web applications, etc.). Typically, the computer network 104 includes a firewall/router 198 to prevent unauthorized accesses to the network devices 136 and route network traffic to and from the network devices 136, as illustrated in Figure 1. Alternatively, the firewall/router 198 can protect only certain devices/sy stems in the computer network 104 (e.g., the IDS/IPS system 142 and/or the controller computer system 300).

[0032] In some embodiments, the computer network 104 also includes an IDS/IPS system 142 (intrusion detection and prevention system). The IDS/IPS system 142 includes, or has access to, one or more fingerprint libraries. The fingerprint libraries include fingerprints of unauthorized activities. The IDS/IPS system 142 identifies unauthorized activities based on the fingerprints stored in the fingerprint library, and provides notification to a user or a system administrator, and/or prevents unauthorized activities matching the stored fingerprints by modifying the network devices 136 and/or the firewall/router 198. Suitable IDS/IPS systems 142 include Cisco Systems' IPS 4200 Series, Juniper's IDP 200, and Enterasys' Dragon IDS Network Sensor.

[0033] As explained above, in some embodiments, the IDS/IPS system 142 is coupled to the firewall/router 198 such that the IDS/IPS system can reconfigure the firewall/router 198 to protect the network devices 136 in the computer network 104 from attacks. In some embodiments, the IDS/IPS and the firewall are located in a single combined device.

[0034] In some embodiments, the computer network 104 includes a controller computer system 300. The controller computer system 300 provides to one or more network devices 136 information used for monitoring their activities. In some

embodiments, the controller computer system 300 is included in the IDS/IPS system 142. In some embodiments, the controller computer system 300 is located outside the computer network 104 (e.g., in a computer network distinct from the computer network 104). Details of the controller computer system 300 are described further with respect to Figure 3.

[0035] In some embodiments, one or more of the network devices 136 operate as collector network device(s). In some embodiments, all of the network devices 136 operate as collector network devices. A collector network device is a computer system that is monitored to collect event information (e.g., information of unauthorized or malicious activities). In some embodiments, the collector network device is intentionally kept vulnerable to unauthorized or malicious activities (e.g., known security weaknesses may be intentionally left unfixed or unpatched, and/or other security components, such as firewalls, are intentionally not installed). Such devices do not contain valuable data, and thus, the risk of losses associated with having attacks on such devices is low. On the other hand, draw attacks on the devices can generate valuable fingerprints, which can be used to prevent future attacks. In other embodiments, the collector network device includes security devices and software applications like other network devices (e.g., the collector network device may be protected by the firewall/router 198 and any other security measures included in the network devices 136). One of the purposes of the collector network device is to monitor attacks on the collector network device, so that the pattern of the attack can be collected and analyzed to generate a fingerprint. This fingerprint of the attack can be used to prevent similar attacks on the collector network device and/or other computers (e.g., other network devices 136).

[0036] Attackers can initiate attacker activities over the communications network(s)

148 on the computer network 104. Ideally, the firewall/router 198 or security software on the network devices 136 will protect the network devices 136 from at least some of the attacker activity(s). In some embodiments, a collector network device is exposed to the attacker activity(s) in order to attract the attacks. In some embodiments, the collector network device (e.g., the network device 136-1) is protected by the firewall/router 198 and/or security software. In some embodiments, all of the network devices 136 are used as collector network devices.

[0037] Although Figure 1 illustrates that the controller computer system 300 is located within the computer network 104, in some embodiments, the controller computer system 300 is located outside the computer network 104. For example, the computer network 104 may be a corporate computer network for Company A. In some embodiments, the controller computer system 300 is located within the corporate computer network for Company A. In some embodiments, the controller computer system 300 may be located in a corporate computer network for Company B that is distinct from Company A. In some embodiments, the controller computer system 300 is located at a computer security service provider (e.g., a network security service company). In some embodiments, the controller computer system 300 (e.g., at a network security service company) receives candidate event information from a network device 136 in the corporate computer network for Company A, and provides update instructions to network devices in the corporate computer network for Company A and/or other computer networks.

[0038] Figure 2 is a block diagram illustrating a collector network device 200 in accordance with some embodiments. The collector network device 200 is also referred to herein a collector computer system. In some embodiments, a collector network device 200 is implemented in any of the network devices 136 in Figure 1. The collector network device 200 typically includes one or more processing units (CPUs) 202 (also called herein processors), one or more network or other communications interfaces 204, memory 206, and one or more communication buses 208 for interconnecting these components. In some embodiments, the communication buses 208 include circuitry (sometimes called a chipset) that interconnects and controls communications between system components. In some other embodiments, the collector network device 200 includes a user interface (not shown) (e.g., a user interface having a display device, a keyboard, and a mouse or other pointing device), but when implemented as a server, the collector network device 200 is typically controlled from and accessed via various client systems (e.g., the client 101 in Figure 1; and more typically, a client connected through a secure private network).

[0039] The memory 206 of the collector network device 200 includes high-speed random access memory, such as DRAM, SRAM, DDR RAM or other random access solid state memory devices; and may include non-volatile memory, such as one or more magnetic disk storage devices, optical disk storage devices, flash memory devices, or other non-volatile solid state storage devices. The memory 206 may optionally include one or more storage devices remotely located from the CPU(s) 202. The memory 206, or alternately the nonvolatile memory device(s) within the memory 206, comprises a non-transitory computer readable storage medium. The memory 206 or the computer readable storage medium of the memory 206 stores one or more of the following programs: • a network communication module (or instructions) 212 that is used for connecting the collector network device 200 to computer networks (e.g., communication network(s) 148, collector computer network 102, and computer network 104), and/or other computers (e.g., the client 101) via the one or more communications interfaces 204 and one or more communications networks 148, such as the Internet, a wireless network (e.g., Wi-Fi, WiMAX, 3G, 4G, etc.), any local area network (LAN), wide area network (WAN), metropolitan area network, or a combination of such networks;

• an operating system 210 that includes procedures for handling various basic system services and for performing hardware dependent tasks;

• protected data 232 that is typically accessible by preselected modules, such as

modules in the operating system 210 (e.g., kernel 214 and/or monitor module 216); and

• one or more applications 238, such as client applications (e.g., a web browser, a word processing software, and a movie player), server applications (e.g., database applications, services applications, etc.), and/or security applications (e.g., packet analysis software application, etc.).

[0040] In some embodiments, the operating system 210 includes one or more of the following:

• a kernel 214 that typically manages input output requests from the one or more

applications 238 and sends data processing instructions to the one or more processors 202; and

• a monitor module 216 that monitors the collector network device 200 (e.g., for

malicious activity).

[0041] Although the monitor module 216 and the kernel 214 are shown as separate modules in Figure 2, in some embodiments, the monitor module 216 is embedded in the kernel 214. In some embodiments, the kernel 214 includes a portion of the monitor module 216 and does not include a remaining portion of the monitor module 216.

[0042] In some embodiments, the monitor module 216 includes one or more of the following:

• an interpreter 218 that (i) converts one or more non-executable instructions in

machine interpretable code (e.g., machine interpretable code 234) into machine executable instructions, (ii) performs operations specified in the one or more nonexecutable instructions by identifying machine executable instructions that correspond to the one or more non-executable instructions; or (iii) obtains (or extracts) information stored in the machine interpretable code;

• compiled instructions 220 that include machine code configured for execution by the one or more processing units 202 without further use of a compiler or an interpreter;

• receiving module 224 that receives machine interpretable code and/or machine

executable code from another computer system (e.g., a network device 136 of Figure i);

• collection module 226 that obtains candidate event information associated with a

candidate activity, optionally in accordance with predefined reporting criteria;

• reporting module 228 that reports the candidate event information to another

computer system (e.g., the controller computer system 300, the IDS/IPS system 142 and/or network devices 136 of Figure 1); and

• machine executable code 230, which includes machine code configured for execution by the one or more processing units 202 without further use of a compiler or an interpreter. In some embodiments, the machine executable code 230 is distinct from the compiled instructions 220.

[0043] In some embodiments, the compiled instructions 220 include a plurality of sets of instructions, such as a first set of instructions 222-1 that corresponds to a first method (e.g., monitoring all calls that request creation of a new file) and a second set of instructions 222-2 that is distinct from the first set of instructions 222-1 and that corresponds to a second method (e.g., monitoring all calls that request launching a particular application) that is distinct from the first method.

[0044] Although the compiled instructions 220 are shown as part of the monitor module 216 in Figure 2, in some embodiments, the compiled instructions 220 are included in the protected data 232.

[0045] In some embodiments, the protected data 232 includes one or more of the following:

• machine interpretable code 234, which typically includes information identifying one or more of: one or more monitoring targets within the collector computer system, a method for monitoring the first set of one or more monitoring targets, and predefined reporting criteria;

• candidate event information 236, which includes one or more of: a timestamp, one or more file names associated with the candidate activity, one or more process names associated with the candidate activity, one or more network connection points, one or more registry paths, one or more mutex objects, one or more library names, and one or more thread numbers and/or process numbers; and

• other protected data, such as access-controlled information (e.g., user information, financial records, private records, etc.).

[0046] In some embodiments, the machine interpretable code 234 is in a script language.

[0047] In some embodiments, the candidate event information 236 also include information identifying associations between candidate activities. Such data structures are described in detail in U.S. Patent Application Serial No. 13/163,590, filed June 17, 2011, which is incorporated by reference herein in its entirety.

[0048] Each of the above identified modules, components, and applications in Figure

2 corresponds to a set of instructions for performing one or more functions described herein. These modules (i.e., sets of instructions) need not be implemented as separate software programs, procedures or modules, and thus various subsets of these modules may be combined or otherwise re-arranged in various embodiments. In some embodiments, the memory 206 may store a subset of the modules and data structures identified above.

Furthermore, the memory 206 may store additional modules and data structures not described above.

[0049] Figure 3 is a block diagram illustrating a controller network device 300, in accordance with some embodiments. The controller network device 300 is also called herein a controller computer system. In some embodiments, the controller network device 300 is implemented in the IDS/IPS system 142 (Figure 1). In some embodiments, the controller network device 300 is distinct and separate from the IDS/IPS system 142. In some embodiments, the controller network device 300 is implemented in a network device 136 (Figure 1). In some embodiments, the controller network device 300 is distinct and separate from a network device 136 as shown in Figure 1. [0050] The controller network device 300 typically includes one or more processing units (CPUs) 302 (also called herein processors), one or more network or other

communications interfaces 304, memory 306, and one or more communication buses 308 for interconnecting these components. In some embodiments, the communication buses 308 include circuitry (sometimes called a chipset) that interconnects and controls communications between system components. In some other embodiments, the controller network device 300 includes a user interface (not shown) (e.g., a user interface having a display device, a keyboard, and a mouse or other pointing device), but when implemented as a server, the controller network device 300 is more typically controlled from and accessed by various client systems (e.g., the client 101 in Figure 1; and more typically, a client connected through a secure private network).

[0051] The memory 306 of the controller network device 300 includes high-speed random access memory, such as DRAM, SRAM, DDR RAM or other random access solid state memory devices; and may include non-volatile memory, such as one or more magnetic disk storage devices, optical disk storage devices, flash memory devices, or other non-volatile solid state storage devices. The memory 306 may optionally include one or more storage devices remotely located from the CPU(s) 302. The memory 206, or alternately the nonvolatile memory device(s) within the memory 306, comprises a non-transitory computer readable storage medium. The memory 306 or the computer readable storage medium of the memory 306 stores one or more of the following programs:

• the network communication module (or instructions) 312 that is used for connecting the controller network device 300 to computer networks (e.g., communication network(s) 148, and computer network 104), and/or other computers (e.g., network devices 136 and/or the client 101) via the one or more communications interfaces 304 and one or more communications networks 148, such as the Internet, a wireless network (e.g., Wi-Fi, WiMAX, 3G, 4G, etc.), any local area network (LAN), wide area network (WAN), metropolitan area network, or a combination of such networks;

• the operating system 310 that includes procedures for handling various basic system services and for performing hardware dependent tasks;

• one or more applications 314 that include a monitor application 316, and optionally additional application(s); and

• one or more databases 342. [0052] In some embodiments, the monitor application 316 includes one or more of the following:

• a machine interpretable code module 318 that sends machine interpretable code to one or more collector computer systems 200;

• a candidate event information module 326 that receives candidate event information from one or more collector computer systems 200; and

• a machine executable code module 334 that sends machine executable code to one or more collector computer systems 200.

[0053] In some embodiments, the machine interpretable code module 318 includes one or more of the following:

• an input module 320 that receives human interpretable instructions (e.g., instructions in a script language, such as Python) as a file or through an input device, such as a keyboard;

• a translation module 322 that translates the human interpretable instructions to

machine interpretable code (e.g., translating code in Python to instructions in extensible markup language (XML) or Protocol Buffers); and

• a sending module 324 that sends the machine interpretable code to one or more

collector computer systems 200.

[0054] In some embodiments, the candidate event information module 326 includes one or more of the following:

• a receiving module 328 that receives candidate event information from one or more collector computer systems 200;

• an analysis module 330 that analyzes the candidate event information from the one or more collector computer systems 200; and

• a response module 332 that provides instructions to a collector computer system 200 so that the collector computer system 200 can respond to an activity on the collector computer system 200 (e.g., deleting a file, deleting a registry entry, stopping a process, etc.).

[0055] In some embodiments, the machine executable code module 334 includes one or more of the following: • a device identifier module 336 that receives an identification of a collector computer system 200 (e.g., a type of a machine for the collector computer system 200, a type of a processor of the collector computer system 200, a type of an operating system running on collector computer system 200, etc.);

• a compiler module 338 that provides machine executable code that is executable by a processor of the collector computer system 200 by either compiling non-executable instructions for the collector computer system 200 or identifying the machine executable code that is executable by a processor of the collector computer system 200 based on the identification of the collector computer system; and

• a sending module 340 that sends the machine executable code that is executable by a processor of the collector computer system 200.

[0056] In some embodiments, the one or more databases 342 include one of more of the following:

• machine interpretable instructions 344, which typically includes a collection of

machine interpretable instructions sent to one or more collector computer systems 200;

• machine executable instructions 346, which typically includes a collection of machine executable code sent to one or more collector computer systems 200;

• candidate event information 348 that has been received from one or more collector computer systems 200; and

• fingerprint 350 that typically includes a set of characteristics of unauthorized

activities.

[0057] Each of the above identified modules, components, and applications in Figure

3 corresponds to a set of instructions for performing one or more functions described herein. These modules (i.e., sets of instructions) need not be implemented as separate software programs, procedures or modules, and thus various subsets of these modules may be combined or otherwise re-arranged in various embodiments. In some embodiments, the memory 306 may store a subset of the modules and data structures identified above.

Furthermore, the memory 306 may store additional modules and data structures not described above. [0058] The actual number of computer systems used to implement the controller network device 300 and how features are allocated among them will vary from one implementation to another, and may depend in part on the amount of data traffic that the system must handle during peak usage periods as well as during average usage periods, and may also depend on the amount of data processed by the collector network device 200.

[0059] Moreover, one or more of the blocks in Figures 2 and 3 may be implemented on one or more computer systems designed to provide the described functionality. For example, the controller network device 300 may be implemented on two distinct computing devices: a control device and an analysis device. The control device includes the machine interpretable code module 318 and the machine executable code module 334, and processes and modules therein. The analysis device includes the candidate event information module 326. In such configuration, the control device sends instructions to be performed by the collector network device 200 and the analysis device 300 collects and analyzes unauthorized activity data, optionally generates fingerprints.

[0060] Notwithstanding the discrete blocks in Figures 2 and 3, these figures are intended to be a functional description of some embodiments rather than a structural description of functional elements in the embodiments. One of ordinary skill in the art will recognize that an actual implementation might group or split the functional elements among various components. In practice, and as recognized by those of ordinary skill in the art, items shown separately could be combined and some items could be separated. For example, in some embodiments, the protected data 232 (Figure 2) is stored within the operating system 210 (Figure 2). In some embodiments, the interpreter 218 (Figure 2) is implemented separate from the monitor module 216 (Figure 2).

[0061] Figure 4 is a high-level flow chart representing a method of monitoring a collector computer system, in accordance with some embodiments. The method illustrated in Figure 4 involves a controller computer system 300 and one or more collector computer systems 200.

[0062] In some embodiments, the collector computer system 200 maintains (402) compiled instructions for monitoring one or more targets. For example, the compiled instructions have been preinstalled on the collector computer system 200.

[0063] In some embodiments, the controller computer system 300 sends compiled instructions to the collector computer system 200. In some embodiments, the controller computer system 300 sends (404) compiled instructions to the collector computer system 200 prior to sending machine interpretable code to the collector computer system 200, and the collector computer system 200 receives (406) the compiled instructions. In some embodiments, the compiled instructions are loaded to the collector computer system 200 from media (e.g., compact disc (CD), digital video disc (DVD), or any other portable storage device, such as a flash drive). In some embodiments, the controller computer system 300 sends (412) compiled instructions to the collector computer system 200 in conjunction with sending machine interpretable code to the collector computer system 200 (e.g., immediately before or after sending the machine interpretable code or concurrently with sending the machine interpretable code), and the collector computer system 200 receives (414) the compiled instructions. Alternatively, the collector computer system 200 receives the compiled instructions from a server that is distinct from the controller computer system 300 (e.g., a file server).

[0064] The controller computer system 300 sends machine interpretable code to the collector computer system 200. The machine interpretable code typically includes information identifying what to monitor (e.g., one or more monitoring targets), how to monitor (e.g., which instructions to use for monitoring), and predefined reporting criteria (e.g., when and/or what to report). For example, particular machine interpretable code corresponds to a script language "monitor write() function with write_hook()."

[0065] The collector computer system 200 receives (410) the machine interpretable code, and interprets (416) the machine interpretable code. For example, the interpreter of the collector computer system 200 is used to interpret Protocol Buffers code to identify one or more of: the one or more monitoring targets, instructions to use for monitoring, and the predefined reporting criteria.

[0066] Based on the information in the machine interpretable code, the collector computer system 200 monitors (418) one or more monitoring targets (e.g., one or more processes, services, or applications; one or more files; one or more registry entries; and one or more portions of memory, such as one or more particular memory addresses, etc.). For example, the collector computer system 200 uses the write_hook() function to monitor activity associated with the write() function (e.g., parameters passed to the write() function in the operating system). [0067] The collector computer system 200 obtains (420) candidate event information associated with a candidate activity (e.g., a suspicious activity or any other activity associated with one or more monitoring targets). For example, the collector computer system 200, by using the write_hook() function, obtains names of files accessed by the write() function and data written by the write() function (from the parameters passed to the write() function in the operating system).

[0068] The collector computer system 200 reports (422) the candidate event information (e.g., based on the predefined reporting criteria), and the controller computer system 300 receives (424) the candidate event information.

[0069] Thus, information needed for monitoring is provided separately from compiled instructions that are used for monitoring, thereby providing flexibility as to changing monitoring targets, methods of monitoring targets, and when and/or what to report. This is useful for monitoring a suspicious activity and for other purposes. More importantly, this allows changing the monitoring conditions without restarting or rebooting the collector computer system 200, while taking advantages of the benefits of compiled instructions that can operate at a low level (e.g., within a kernel or at a kernel level) and can perform generally faster than interpreted instructions.

[0070] Figures 5A-5B are flowcharts representing a method 500 of monitoring a collector computer system 200, in accordance with some embodiments. The method 500 is performed by the collector computer system 200 that includes one or more processors 202 and memory 206 storing an interpreter 218 and compiled instructions 220 for execution by the one or more processors 202.

[0071] The collector computer system 200 receives (502) machine interpretable code that is configured for interpretation by the interpreter. The machine interpretable code is not directly executable by the one or more processors. For example, the machine interpretable code requires an interpretation by an interpreter to be executable. In comparison, executable code (e.g., an executable file) is configured for execution without further compilation or interpretation. In some embodiments, the machine interpretable code is a configuration file. The machine interpretable code includes: information identifying a first set of one or more monitoring targets within the collector computer system (e.g., a file creation operation), a method for monitoring the first set of one or more monitoring targets (also referred to herein as a monitoring protocol, such as functions or routines to use for monitoring the first set of one or more monitoring targets, or hooks for monitoring the first set of one or more monitoring targets), and predefined reporting criteria (e.g., conditions for reporting candidate event information). In some embodiments, the predefined reporting criteria include one or more state machines representing the conditions for reporting candidate event information. For example, the one or more state machines may indicate that, subsequent to a file creation operation is requested, the file creation operation is to be reported if the file creation operation is initiated by a notepad application and the file creation operation is not to be reported if the file creation operation is initiated by an application other than the notepad application. In another example, the one or more state machines may indicate that a combination of events, such as the file creation operation, of a file, requested by the notepad application followed by a file open operation, of the same file, requested by a word processing application (e.g., winword.exe), is to be reported. In some embodiments, although the machine interpretable code includes information identifying a function or routine to use for monitoring the first set of one or more monitoring targets, the machine interpretable code does not include the function or routine itself. In some embodiments, the collector computer system 200 receives the machine interpretable code without receiving any machine executable instructions.

[0072] In some embodiments, the machine interpretable code is (504) in a script language (e.g., Python, XML, etc.). In some embodiments, the machine interpretable code is an intermediary representation of instructions (e.g., Protocol Buffers, etc.).

[0073] In some embodiments, the first set of one or more monitoring targets includes

(506) one or more of: one or more applications running on the collector computer system, one or more types of operations (e.g., processes) or services within the collector computer system, one or more regions of the memory, one or more registry entries, one or more network connection points (e.g., Internet protocol addresses and/or network port numbers), one or more mutex objects (e.g., program objects typically used for coordinating mutually exclusive access to a shared computer resource), and one or more memory operations.

[0074] In some embodiments, the predefined reporting criteria include (508) types of information for reporting. The types of information include one or more of: a timestamp (e.g., a timestamp of a candidate activity), one or more file names associated with the candidate activity (e.g., a file that is executed to perform a target operation, such as creating a file), one or more process names associated with the candidate activity (e.g., a process that requests to access a target memory address), one or more network connection points (e.g., Internet protocol addresses and/or network port numbers), one or more registry paths, one or more mutex objects (e.g., mutex object names), one or more library names, and one or more thread numbers and/or process numbers. In some embodiments, the types of information include a path of a file name associated with the candidate activity and attributes of a file associated with the candidate activity. In some embodiments, the types of information include an association of the candidate activity with other activities (e.g., which process created a file that is associated with the candidate activity, which files the candidate activity has created, etc.).

[0075] The collector computer system 200 interprets (510) the machine interpretable code with the interpreter to obtain the first set of one or more monitoring targets, the method for monitoring the first set of one or more monitoring targets, and the predefined reporting criteria. For example, the collector computer system 200 extracts from the machine interpretable code the first set of one or more monitoring targets, the method for monitoring the first set of one or more monitoring targets, and the predefined reporting criteria. In some embodiments, the collector computer system 200 obtains one or more of, but less than all of: the first set of one or more monitoring targets, the method for monitoring the first set of one or more monitoring targets, and the predefined reporting criteria.

[0076] In some embodiments, the interpreter is located (512) within the kernel and interpretation of the machine interpretable code is performed without rebooting the collector computer system subsequent to receiving the machine interpretable code. As explained above, operations within the kernel may be hidden from unauthorized users (e.g., attackers), thereby preventing the unauthorized users from finding out that the controller computer system 200 is being monitored. In addition, monitoring unauthorized activities from within the kernel facilitates detection of unauthorized activities, because most, if not all, input/output activities are ultimately handled by the kernel.

[0077] The collector computer system 200 monitors (514, Figure 5B), using the one or more processors, at least a subset of the first set of one or more monitoring targets for candidate activity that satisfies the predefined reporting criteria by executing compiled instructions that correspond to the method for monitoring the first set of one or more monitoring targets (e.g., the compiled instructions are configured to cause the collector computer system 200, when executed by one or more processors of the collector computer system 200, to perform the method for monitoring the first set of one or more monitoring targets). For example, the collector computer system 200 inserts a hook and monitors system calls, keyboard or mouse events, and/or monitoring values stored in the memory.

[0078] In some embodiments, the compiled instructions are stored (516) within the collector computer system 200 prior to receiving the machine interpretable code. For example, the compiled instructions are preinstalled on the collector computer system 200 and/or received prior to receiving the machine interpretable code at a point in time independent of receiving the machine interpretable code (e.g., installed from mixed media, such as a DVD).

[0079] In some embodiments, the compiled instructions are received (518) by the collector computer system in conjunction with receiving the machine interpretable code (e.g., from the controller computer system or another computer system). For example, the compiled instructions are received concurrently, or immediately before or immediately after, receiving the machine interpretable code. In some cases, the compiled instructions are received before or after receiving the machine interpretable code (e.g., with a certain time interval).

[0080] The collector computer system 200 obtains (520) candidate event information that is associated with the candidate activity. For example, the collector computer system 200 obtains a file name, a path of the file name, a process name, a process number, a library name, a timestamp, a network connection point, a registry path, a mutex object, etc. associated with the candidate activity.

[0081] The collector computer system 200 reports (522) the candidate event information to a computer system that is distinct from the collector computer system 200 (e.g., the controller computer system 300). In some embodiments, the candidate event information is reported for inclusion in a fingerprint used to prevent subsequent malicious activity on other computers (e.g., other network devices 136 in Figure 1).

[0082] In some embodiments, the receiving, the interpreting, the monitoring, and the obtaining are performed (524) while the collector computer system 200 is in a first state (e.g., a development mode). The collector computer system 200, while the collector computer system 200 is in a second state (e.g., a production mode) that is distinct from the first state, receives machine executable code that is configured for execution by the one or more processors and that is not configured for interpretation by the interpreter. For example, the machine executable code is obtained by compiling a programming language (e.g., the C programming language) for the collector computer system 200. The machine executable code includes information identifying a second set of one or more monitoring targets, and second predefined reporting criteria. The collector computer system 200 also monitors, using the one or more processors, the second set of the one or more monitoring targets for additional candidate activity that satisfies the second predefined reporting criteria by executing the machine executable code; obtains additional candidate event information that is associated with the additional candidate activity; and reports the additional candidate event information to the computer system that is distinct from the collector computer system.

[0083] In some embodiments, while the collector computer system 200 is in the second state (e.g., a production mode), the collector computer system 200 receives a profile (e.g., an XML configuration file that includes information identifying the second set of one or more monitoring targets and a method for monitoring the second set of one or more monitoring targets, such as one or more hooks), and monitors the second set of one or more monitoring targets using the compiled instructions (e.g., received as a mini driver).

[0084] In some embodiments, while the collector computer system 200 is in the first state (e.g., development mode), the collector computer system 200 reports any errors to the controller computer system 300. This facilitates debugging of the machine interpretable code.

[0085] In some other embodiments, the collector computer system 200 performs the receiving, the interpreting, the monitoring, and the obtaining, regardless of whether the collector computer system 200 is in the first state or the second state. For example, in some cases, the collector computer system 200 is configured to perform the receiving, the interpreting, the monitoring, and the obtaining as well as receiving and/or executing the machine executable code, when the collector computer system 200 is in the first state and also when the collector computer system 200 is in the second state.

[0086] In some embodiments, the collector computer system 200, subsequent to reporting the obtained information, receives (526) instructions to terminate the candidate activity; and thereafter terminates the candidate activity. For example, after the candidate event information is confirmed (e.g., at the controller computer system 300) to include information identifying malicious activity, the collector computer system 200 terminates (or kills) a process or service associated with the malicious activity. Additionally or alternatively, the collector computer system 200 may delete a file associated with the malicious activity and/or delete a registry entry associated with the malicious activity. In some cases, the collector computer system 200 collects additional information (e.g., additional information associated with the candidate activity and/or information associated with the collector computer system 200 in general), changes one or more settings (e.g., changes the access control of one or more files, closes on or more network ports, etc.), and/or stores its memory (e.g., by dumping its memory content to a non-volatile storage device). In some embodiments, the collector computer system 200 initiates one or more external processes (e.g., installing a previously saved image of the collector computer system 200 on the collector computer system 200).

[0087] Some of the features described above with respect to the method 500 are applicable to the method 600 described below. For brevity, such details are not repeated herein.

[0088] Figures 6A-6B are flowcharts representing a method 600 of monitoring a collector computer system 200 by one or more controller computer systems 300, in accordance with some embodiments. In some embodiments, the method 600 is performed by a controller computer system 300 that includes one or more processors 302 and memory 306 storing instructions for execution by the one or more processors 302. In some embodiments, the method 600 is performed by a group of multiple controller computer systems 300.

[0089] In some embodiments, the controller system 300 sends (602) to the collector computer system compiled instructions for execution by the one or more processors of the collector computer system to monitor the first set of one or more monitoring targets.

[0090] In some embodiments, the controller system 300 sends (604) to the collector computer system the compiled instructions prior to sending the machine interpretable code.

[0091] In some embodiments, the controller system 300 sends (606) to the collector computer system the compiled instructions in conjunction with sending the machine interpretable code.

[0092] The controller system 300 sends (608) to the collector computer system machine interpretable code that is configured for interpretation by an interpreter stored within the collector computer system. The machine interpretable code is not directly executable by one or more processors of the collector computer system and the machine interpretable code includes information identifying a first set of one or more monitoring targets within the collector computer system, a method for monitoring the first set of one or more monitoring targets by the collector computer system, and predefined reporting criteria.

[0093] In some embodiments, the machine interpretable code is (610) in a script language.

[0094] In some embodiments, the first set of one or more monitoring targets include

(612) one or more of: one or more applications running on the collector computer system, one or more types of operations or services within the collector computer system, one or more regions of the memory, one or more registry entries, one or more network connection points, one or more mutex objects, and one or more memory operations.

[0095] In some embodiments, the predefined reporting criteria include (614) types of information for reporting, the types of information including one or more of: a timestamp, one or more file names associated with the candidate activity, one or more process names associated with the candidate activity, one or more network connection points, one or more registry paths, one or more mutex objects, one or more library names, and one or more thread numbers and/or process numbers.

[0096] The controller system 300 subsequent to sending to the collector computer system the machine interpretable code, receives (616, Figure 6B) from the collector computer system candidate event information that is associated with a candidate activity with the first set of one or more monitoring targets.

[0097] In some embodiments, the controller system 300, subsequent to receiving the information, sends (618) to the collector computer system instructions to terminate the candidate activity on the collector computer system.

[0098] In some embodiments, the machine interpretable code is sent (620) for the collector computer system operating in a first state. For the collector computer system operating in a second state that is distinct from the first state, the controller system 300 sends machine executable code that is configured for execution by the one or more processors of the collector computer system and that is not configured for interpretation by the interpreter. The machine executable code includes information identifying a second set of one or more monitoring targets and second predefined reporting criteria. Subsequent to sending to the collector computer system the machine executable code, the controller system 300 receives additional candidate event information that is associated with the second set of one or more monitoring targets and that satisfies the second predefined reporting criteria.

[0099] The foregoing description, for purpose of explanation, has been described with reference to specific embodiments. However, the illustrative discussions above are not intended to be exhaustive or to limit the claims to the precise forms disclosed. Many modifications and variations are possible in view of the above teachings.

[00100] For example, in accordance with some embodiments, a computer implemented method, for monitoring a collector computer system that includes one or more processors and memory storing an interpreter and compiled instructions for execution by the one or more processors, includes receiving machine interpretable code that is configured for interpretation by the interpreter. The machine interpretable code is not directly executable by the one or more processors. The machine interpretable code includes information identifying a first set of one or more monitoring targets within the collector computer system, and a method for monitoring the first set of one or more monitoring targets. The method also includes interpreting the machine interpretable code with the interpreter to obtain the first set of one or more monitoring targets, and the method for monitoring the first set of one or more monitoring targets, and the predefined reporting criteria. The method further includes monitoring, using the one or more processors, at least a subset of the first set of one or more monitoring targets for candidate activity by executing compiled instructions that correspond to the method for monitoring the first set of one or more monitoring targets; obtaining candidate event information that is associated with the candidate activity (e.g., candidate activity that satisfies predefined reporting criteria, which may be preinstalled in the collector computer system or received by the collector computer system separately from the machine interpretable code); and reporting the candidate event information to a computer system that is distinct from the collector computer system.

[00101] In accordance with some embodiments, a computer implemented method, for monitoring a collector computer system by one or more controller computer system, at least a controller computer system comprising one or more processors and memory storing instructions for execution by the one or more processors, includes sending to the collector computer system machine interpretable code that is configured for interpretation by an interpreter stored within the collector computer system. The machine interpretable code is not directly executable by one or more processors of the collector computer system. The machine interpretable code includes information identifying a first set of one or more monitoring targets within the collector computer system, and a method for monitoring the first set of one or more monitoring targets by the collector computer system. The method also includes, subsequent to sending to the collector computer system the machine interpretable code, receiving from the collector computer system candidate event information that is associated with a candidate activity with the first set of one or more monitoring targets.

[00102] The embodiments in this application were chosen and described in order to best explain the principles and their practical applications, to thereby enable others skilled in the art to best utilize the described embodiments with various modifications as are suited to the particular use contemplated.

[00103] Furthermore, although the methods are described with respect to security application, it should be appreciated that similar methods can be used generally for monitoring behavior of a computer system that follows a source event. For example, similar methods can be used for rapid application development and debugging purposes.

高效检索全球专利

专利汇是专利免费检索,专利查询,专利分析-国家发明专利查询检索分析平台,是提供专利分析,专利查询,专利检索等数据服务功能的知识产权数据服务商。

我们的产品包含105个国家的1.26亿组数据,免费查、免费专利分析。

申请试用

分析报告

专利汇分析报告产品可以对行业情报数据进行梳理分析,涉及维度包括行业专利基本状况分析、地域分析、技术分析、发明人分析、申请人分析、专利权人分析、失效分析、核心专利分析、法律分析、研发重点分析、企业专利处境分析、技术处境分析、专利寿命分析、企业定位分析、引证分析等超过60个分析角度,系统通过AI智能系统对图表进行解读,只需1分钟,一键生成行业专利分析报告。

申请试用

QQ群二维码
意见反馈