System and method for behavioral threat detection

Configuring event categories and client clusters through hardware processors, combined with anomaly detectors and behavioral models, solves the problem of inefficiency of intrusion detection systems in the existing technology when facing a large amount of information, and achieves more efficient computer security threat detection and response.

CN113168470BActive Publication Date: 2024-09-06BITDEFENDER IPR MANAGEMENT
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201980081448.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2018-12-10
Filing Date
2019-12-10
Publication Date
2024-09-06
Estimated Expiration
2039-12-10

AI Technical Summary

Technical Problem

Existing intrusion detection systems are difficult to effectively screen out indicators of malicious activities when faced with a large amount of information, resulting in low detection efficiency and inability to effectively prevent intrusions into computer systems and networks.

Method used

Configure the training corpus through the hardware processor, assign events to multiple event categories, assign client systems to client clusters based on event categories, use anomaly detectors to determine whether there are computer security threats on the target client system, and use event configuration files and behavioral models for threat detection.

Benefits of technology

It improves the efficiency and accuracy of the intrusion detection system, can more effectively identify computer security threats, reduces the false alarm rate, and improves the response speed to malicious activities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113168470B_ABST
    Figure CN113168470B_ABST
Patent Text Reader

Abstract

In some embodiments, a behavioral computer security system protects clients and networks from threats such as malware and intrusions. A set of client profiles is constructed from a training corpus of events occurring on clients, wherein each client profile represents a subset of protected machines and each client profile indicates a normal or baseline pattern of use of the machines assigned to the client's corresponding profile. The client profiles may group machines with similar event statistics together. After training, events detected on a client are selectively analyzed against the client profiles associated with the respective clients to detect anomalous behavior. In some embodiments, individual events are analyzed in the context of other events using a multi-dimensional event embedding space.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0001] The present invention relates to computer security systems and methods, and in particular, to systems and methods for detecting malware and / or intrusions into computer systems and / or communications networks.

[0002] In recent years, computer and network security have become increasingly important to both individuals and companies. The rapid development of electronic communication technology, the increasing reliance on software in daily activities, and the emergence of the Internet of Things have made companies and individuals vulnerable to loss of privacy and data theft.

[0003] A skilled attacker may attempt to infiltrate a corporate network using a variety of techniques (e.g., through backdoors installed on corporate computers by malware). The attacker may then obtain, modify, or destroy sensitive information. Other exemplary attacks include disabling or otherwise incapacitating physical security systems (e.g., burglar alarms), installing spyware, and interfering with automated systems that control the manufacture or distribution of goods and services (e.g., the power grid), among others.

[0004] Software executed on a computer system can be used to automatically detect and / or prevent unauthorized intrusions and other malicious activities. This software, often referred to as an intrusion detection system (IDS), can monitor network and / or computer activity for unusual events or policy violations. A typical IDS records information related to the observed events, notifies the user or network administrator, and generates a report. Some IDSs can further prevent intruders from performing malicious activities, such as by changing security settings (e.g., reconfiguring a firewall) in response to detecting an intrusion.

[0005] However, with the gradual delocalization of software services and the increase in the amount of data flowing on information networks, it is becoming increasingly impractical for security software to sift through this large amount of information to find indicators of malicious activity. Therefore, there is great interest in developing more robust and scalable intrusion detection systems and methods. Summary of the invention

[0006] According to one aspect, a server computer system includes at least one hardware processor configured to assign events of a training corpus to a plurality of event categories, the training corpus including a set of events that have occurred on a plurality of client systems. The hardware processor is further configured to, in response to assigning the events to the event categories, assign client systems of the plurality of client systems to a plurality of client clusters according to the plurality of event categories. The hardware processor is further configured to, in response to assigning the plurality of client systems to the client clusters, transmit a client cluster membership indicator to an anomaly detector configured to determine whether a target event occurring on a target client system indicates a computer security threat. Assigning the events to the event categories includes: selecting a plurality of events from the training corpus, the plurality of events having occurred on client systems of the plurality of client systems; and arranging the plurality of events according to occurrence times to form an event sequence. Assigning the events to the event categories further includes: in response, assigning the selected event to a selected event category according to a first event in the event sequence preceding a selected event in the event sequence and further according to a second event in the event sequence following the selected event. Assigning a client system to a client cluster includes assigning the client system to a selected client cluster based on an event profile determined based on a count of events that occurred on the client system and belong to the selected event category. The anomaly detector is configured to determine whether the target event indicates the computer security threat based on a behavioral model trained on a client cluster-specific sub-corpus of events, the client cluster-specific sub-corpus selected from the training corpus to include only events that have occurred on a plurality of members of a target cluster of the plurality of client clusters.

[0007] According to another aspect, a computer-implemented method includes: assigning, with at least one hardware processor of a computer system, events of a training corpus to a plurality of event categories, wherein the training corpus includes a set of events that occurred on a plurality of client systems. The method further includes: in response to assigning the events to the event categories, assigning, with at least one hardware processor of the computer system, client systems of the plurality of client systems to a plurality of client clusters according to the plurality of event categories. The method further includes: in response to assigning the client systems to the client clusters, transmitting, with at least one hardware processor of the computer system, a client cluster membership indicator to an anomaly detector, the anomaly detector being configured to determine whether a target event that occurred on a target client system indicates a computer security threat. Assigning the events to the event categories includes: selecting a plurality of events from the training corpus, the plurality of events having occurred on client systems of the plurality of client systems; and arranging the plurality of events according to occurrence times to form an event sequence. Assigning the events to the event categories further includes: in response, assigning the selected event to the selected event category according to a first event in the event sequence preceding the selected event in the event sequence and further according to a second event in the event sequence following the selected event. Assigning a client system to a client cluster includes assigning the client system to a selected client cluster based on an event profile determined based on a count of events that occurred on the client system and belong to the selected event category. The anomaly detector is configured to determine whether the target event indicates the computer security threat based on a behavioral model trained on a client cluster-specific sub-corpus of events, the client cluster-specific sub-corpus selected from the training corpus to include only events that have occurred on a plurality of members of a target cluster of the plurality of client clusters.

[0008] According to another aspect, a non-transitory computer-readable medium storing instructions, the instructions, when executed by at least one hardware processor of a computer system, causes the computer system to perform the following operations: assigning events of a training corpus to a plurality of event categories, the training corpus comprising a set of events that have occurred on a plurality of client systems. The instructions further cause the computer system to assign client systems of the plurality of client systems to a plurality of client clusters according to the plurality of event categories in response to assigning the events to the event categories. The instructions further cause the computer system to transmit a client cluster membership indicator to an anomaly detector in response to assigning the client systems to the client clusters, the anomaly detector being configured to determine whether a target event occurring on a target client system indicates a computer security threat. Assigning the events to the event categories includes: selecting a plurality of events from the training corpus, the plurality of events having occurred on client systems of the plurality of client systems; and arranging the plurality of events according to occurrence times to form an event sequence. Assigning events to event categories further includes: in response, assigning the selected event to the selected event category based on a first event in the event sequence preceding the selected event in the event sequence and further based on a second event in the event sequence following the selected event. Assigning client systems to client clusters includes assigning the client systems to the selected client clusters based on an event profile, the event profile being determined based on a count of events occurring on the client system and belonging to the selected event category. The anomaly detector is configured to determine whether the target event indicates the computer security threat based on a behavioral model trained on a client cluster-specific sub-corpus of events, the client cluster-specific sub-corpus being selected from the training corpus to include only events that have occurred on multiple members of a target cluster of the multiple client clusters. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] The foregoing aspects and advantages of the present invention will be better understood after reading the following detailed description and after referring to the accompanying drawings, in which:

[0010] Figure 1 Several exemplary interconnected client systems are shown in which a security server acts as an intrusion detection system according to some embodiments of the invention.

[0011] Figure 2 An exemplary data exchange implemented to protect a client system according to some embodiments of the invention is shown.

[0012] Figure 3-A An exemplary hardware configuration of a client system according to some embodiments of the present invention is described.

[0013] Figure 3-B An exemplary hardware configuration of a security server according to some embodiments of the present invention is described.

[0014] Figure 4 Exemplary software components executing on a protected client system according to some embodiments of the invention are shown.

[0015] Figure 5 An exemplary software architecture of a security server according to some embodiments of the present invention is presented.

[0016] Figure 6 Exemplary operation of an analysis engine according to some embodiments of the present invention is described.

[0017] Figure 7 An exemplary sequence of steps performed by an analysis engine according to some embodiments of the invention is presented.

[0018] Figure 8-A An exemplary training of an event encoder according to some embodiments of the invention is shown.

[0019] Figure 8-B An alternative exemplary training of an event encoder according to some embodiments of the invention is presented.

[0020] Fig. 9 Demonstrate the execution of training Figure 8-A An exemplary sequence of steps for configuring an event decoder.

[0021] Fig.10 An exemplary event embedding space and an exemplary set of event clusters according to some embodiments of the invention are illustrated.

[0022] Fig.11 An exemplary client profile space and a set of client clusters according to some embodiments of the present invention are illustrated.

[0023] Fig.12 An exemplary event configuration file for a client system according to some embodiments of the present invention is shown.

[0024] Fig.13 Exemplary components and operation of an anomaly detector according to some embodiments of the invention are shown.

[0025] Fig.14 An exemplary sequence of steps performed by an anomaly detector during training according to some embodiments of the invention is described.

[0026] Fig.15 Exemplary components of a behavioral model forming part of an anomaly detector according to some embodiments of the invention are shown.

[0027] Fig.16An exemplary sequence of steps performed by a trained anomaly detector according to some embodiments of the invention is described.

[0028] Figure 17-A Results of experiments involving detection of actual computer security threats using some embodiments of the present invention are presented.

[0029] Figure 17-B Other experimental results of detecting actual computer security threats using some embodiments are presented. DETAILED DESCRIPTION

[0030] In the following description, it should be understood that all the cited connections between structures can be directly effectively connected or indirectly effectively connected through intermediate structures. A group of elements includes one or more elements. It should be understood that any reference to an element involves at least one element. A plurality of elements include at least two elements. Unless otherwise specified, any use of "or" refers to non-exclusive or. Unless otherwise required, any method steps described do not necessarily need to be performed in the specific order described. A first element (such as data) derived from a second element encompasses a first element equal to a second element, and also encompasses a first element and optional other data generated by processing the second element. Making a determination or decision based on a parameter encompasses making a determination or decision based on a parameter and optionally based on other data. Unless otherwise specified, an indicator of some quantity / data may be the quantity / data itself, or an indicator different from the quantity / data itself. A computer program is a sequence of processor instructions that implements a task. The computer program described in some embodiments of the present invention may be an independent software entity or sub-entity (such as a subroutine, library) of other computer programs. Unless otherwise specified, computer security encompasses making devices and data free from illegal access, modification, and / or destruction. Computer-readable media encompass non-transitory media such as magnetic, optical, and semiconductor storage media (e.g., hard drives, optical disks, flash memory, DRAM), as well as communication links such as conductive cables and fiber optic links. According to some embodiments, the present invention provides, among other things, a computer system comprising hardware (e.g., one or more processors) programmed to perform the methods described herein, and a computer-readable medium encoding instructions for performing the methods described herein.

[0031] The following description illustrates embodiments of the invention by way of example and not necessarily by way of limitation.

[0032] Figure 1A set of exemplary client systems 10a to h protected from computer security threats according to some embodiments of the present invention are shown. Client systems 10a to h generally represent any electronic device having a processor, memory, and a communication interface. Exemplary client systems 10a to h include personal computers, laptop computers, tablet computers, mobile telecommunication devices (such as smart phones), media players, TVs, game consoles, household appliances (such as refrigerators, smart heating and / or lighting systems), and wearable devices (such as smart watches, fitness equipment), etc. Client systems 10a to h can execute various software, such as document processing, games, electronic messaging, and social media applications, etc. Some clients can exchange information with remote content servers 17, such as Internet browsing.

[0033] The illustrated client systems are connected via local networks 12a-b and are further connected to an extended network 14, such as a wide area network (WAN) or the Internet. In one example, client systems 10a-d represent home electronic devices interconnected via home network 12a. Meanwhile, client systems 10e-g may represent personal computers and / or enterprise mainframes inside an office building. Local networks 12a-b may then represent segments of an enterprise network (e.g., a local area network - LAN).

[0034] The router includes electronic devices that enable communication between multiple client systems and / or access of corresponding clients to the extended network 14. Figure 1 In the example of , routers 15a-b interconnect clients on local networks 12a-b and / or enable clients 10a-g to access the Internet. Routers 15a-b may act as gateways between local networks 12a-b and extended network 14, respectively, and may further provide a set of network services to client systems 10a-g. Such services include, for example, distributing network configuration parameters to client systems 10a-g (e.g., assigning network addresses via Dynamic Host Configuration Protocol - DHCP), and routing communications through a series of network nodes. Some client systems, such as exemplary client system 10h, may be directly connected to extended network 14, for example, via a telecommunications repeater.

[0035] Figure 1 Further shown is a security server 16 connected to the extended network 14. The server 16 generally represents a group of communicatively coupled computer systems that may or may not be in physical proximity to each other. The server 16 protects the client systems 10a-h from computer security threats, such as malware and intrusions. In some embodiments, this protection includes the security server 16 detecting suspicious activity occurring at the client system, such as an attacker's actions to take control of the respective client system.

[0036] An exemplary data exchange between the secure server 16 and the client system 10 is shown in Figure 2 The client system 10 may represent Figure 1 In some embodiments, the server 16 is configured to receive an event indicator 20a from the client system 10, the indicator 20a indicating that a particular type of event occurred during the execution of software on the client 10. Examples of such events include the initiation of a process / thread (e.g., a user initiating an application, a parent process creating a child process, etc.), an attempt to access an input device (e.g., a camera, a microphone) of the respective client system, an attempt to access a local or remote network resource (e.g., a Hypertext Transfer Protocol-HTTP request to access a particular URL, an attempt to access a document repository over a local network), a request formulated in a particular uniform resource identifier scheme (e.g., a mailto: or ftp: request), the execution of a particular processor instruction (e.g., a system call), an attempt to load a library (e.g., a dynamic link library-DLL), an attempt to create a new disk file, an attempt to read from or write to a particular location on the disk (e.g., an attempt to overwrite an existing file, an attempt to open a particular folder or document), and an attempt to send an electronic message (e.g., an email, a short message service-SMS, etc.), etc. In some embodiments, inactivity periods, i.e., time gaps between events and / or time intervals when the corresponding client system is idle, not registering user activity, or only performing internal system tasks, are also counted as events and can be reported to the security server via event indicators. Such inactivity periods can be further differentiated into short time gaps (e.g., on the order of a few seconds) and long time gaps (e.g., on the order of a few minutes to a few hours). Detected events may or may not indicate maliciousness per se; some events may be indicative of maliciousness when they occur with other events and / or when they occur in a particular order. Other events may be malicious when they occur at a particular time of day or occur with an unusual frequency, such as reading from a particular disk folder 1000 times in a row within a few seconds.

[0037] Each event indicator 20a may include, among other things, an indicator of the type of the respective event and a timestamp indicating the time at which the respective event occurred. The event indicator 20a may further include an identifier of the respective client system (client ID) and / or an indicator of the user who concurrently operates the respective client system (user ID). For example, when the communicated event includes process creation, the user indicator may indicate the owner of the parent process. The event indicator 20a may encode other parameters, such as the process name, the file system location / path of the initiating process, a network address (e.g., an Internet Protocol-IP address), a uniform resource locator (URL) of an HTTP request, etc.

[0038] In some embodiments, the server 16 may also collect information from the routers 15a to b, such as by Figure 220b in the event indicator 20b. Such event indicators may include, for example, indicators of network events, such as network access requests issued by client systems connected to the corresponding router / gateway. For example, event indicator 20b may include an originating IP address, a destination IP address, a timestamp, and a payload size. In some embodiments, event indicator 20b includes client event data (e.g., network traffic, network logs, etc.) aggregated by the corresponding router according to various data processing protocols.

[0039] The security server 16 maintains a set of user behavior models that represent a baseline, normal, and / or legal way of operating a subset of the client systems 10a to h. Such behavior models are referred to herein as client profiles. The parameters of such behavior models are generally represented as Figure 1 The profile database 19 in the embodiment of the present invention may include the output of the event and / or client clustering algorithm, as shown in detail below. In an exemplary embodiment in which the profile is represented by a cluster of clients or events, the parameters of the corresponding profile may include the coordinates of the centroid of the cluster and a set of numbers indicating the range of the corresponding cluster along various axes. Other profile parameters may include, among other things, the eccentricity measure of the corresponding cluster, the average distance between the cluster members and the centroid of the cluster, etc. The client profiles may be automatically generated using supervised or unsupervised learning methods and algorithms, as shown below.

[0040] A client profile may capture the behavior of a single user or may capture the behavior of multiple users collectively. To give some examples, a smartphone may be used primarily by a single user, so a client profile attached to the corresponding smartphone may substantially capture the baseline behavior of its primary user. In contrast, computers belonging to a university computer lab may be used by many different students; a client profile attached to one of these machines may collectively represent the baseline behavior of all of the corresponding students. One client profile may be attached to a single client system / physical machine (e.g., smartphone, laptop). In some embodiments, one client profile may collectively represent multiple physical machines. In one such example, Figure 1 The client systems 10a-d in a may be collectively represented by a single client profile that captures the normal or baseline behavior of members of a particular family. In another example, one client profile is used to represent all computers in the accounting department of an enterprise, while another client profile represents all computers used by the research and development team of the corresponding enterprise. In a cloud computing environment, such as a virtual desktop infrastructure (VDI) environment in which a physical machine can execute multiple virtual machines for various distributed users, one client profile can be attached to multiple virtual machines executing on the corresponding physical machine.

[0041] In some embodiments, a single user may be represented by multiple distinct client profiles. For example, the same person may have one client profile / baseline behavior at work and a distinct client profile / baseline behavior at home. Other instances of client profiles may be associated with users of a particular age group (e.g., teenagers), a particular personal interest (e.g., games), a particular profession (e.g., engineers, artists, educators), etc. In yet another exemplary embodiment, distinct client profiles may correspond to distinct computer activities, such as corresponding to the use of distinct computer programs: browsing the Internet, using social media, doing office work, etc. Yet other exemplary client profiles may be attached to distinct device types (e.g., smartphones versus PCs). Common profiles may be conceived according to more complex criteria, such as a client profile indicating a typical / baseline way for an engineer to browse the Internet from Company X. Another such exemplary profile may indicate a typical way for young people to use a tablet computer.

[0042] A subset of event indicators 20a to b may be collected to form an event corpus further used to derive a client profile, as shown in detail below. Another subset of event indicators may be used to detect security threats. For example, in response to receiving event indicators 20a to b, the security server 16 may determine whether the event conveyed by the corresponding event indicator is consistent with the client profile selected according to the corresponding client indicator. In other words, the security server 16 may determine whether the corresponding event matches the pattern of normal / baseline behavior encoded in the corresponding client profile. When it does not match, the corresponding event may indicate suspicious activity, in which case some embodiments may take protective actions, such as sending security warnings 22a to b to the corresponding client system and / or the administrator of the corresponding client system. In another example of a protective action, some embodiments indicate that a router belonging to the same local network as the suspicious client system blocks communication to and / or from the corresponding suspicious client system. The processing of the client profile and the event indicators performed by the security server 16 is further described below.

[0043] Figure 3-A 1 shows an exemplary hardware configuration of a client system according to some embodiments of the present invention. The client system 10 may represent Figure 1. For clarity, the client system illustrated is a computer system. Other client systems (e.g., mobile phones, tablet computers, and wearable devices) may have slightly different configurations. Processor 32 includes a physical device (e.g., a microprocessor, a multi-core integrated circuit formed on a semiconductor substrate) configured to perform computational and / or logical operations using a set of signals and / or data. Such signals or data may be encoded in the form of processor instructions (e.g., machine code) and delivered to processor 32. Memory unit 34 may include volatile computer-readable media (e.g., dynamic random access memory - DRAM) that stores data / signals accessed or generated by processor 32 when implementing the process of operation.

[0044] Input devices 36 may include a computer keyboard, mouse, and microphone, etc., including corresponding hardware interfaces and / or adapters that allow a user to introduce data and / or instructions into client system 10. Output devices 38 may include display devices, such as monitors and speakers, etc., and also include hardware interfaces / adapters that enable the corresponding client system to communicate data to the user, such as a graphics card. In some embodiments, input and output devices 36 to 38 share common hardware parts (such as a touch screen). Storage device 42 includes computer-readable media that implements non-volatile storage, reading, and writing of software instructions and / or data. Exemplary storage devices include magnetic and optical disks and flash memory devices, and also include removable media, such as CD and / or DVD disks and drives. Network adapter 44 enables client system 10 to connect to an electronic communication network (such as a computer network). Figure 1 networks 12, 14) and / or other devices / computer systems.

[0045] Controller hub 40 generally represents multiple system, peripheral, and / or chipset buses, and / or all other circuitry that enables communication between processor 32 and the remaining hardware components of client system 10. For example, controller hub 40 may include a memory controller, an input / output (I / O) controller, and an interrupt controller. Depending on the hardware manufacturer, some such controllers may be incorporated into a single integrated circuit, and / or may be integrated with the processor. In another example, controller hub 40 may include a north bridge that connects processor 32 to memory 34, and / or a south bridge that connects processor 32 to devices 36, 38, 42, and 44.

[0046] Figure 3-BAn exemplary hardware configuration of a secure server 16 according to some embodiments of the present invention is shown. The server 16 includes at least one hardware processor 132 (e.g., a microprocessor, a multi-core integrated circuit), a physical memory 134 (e.g., a DRAM), a server storage device 142, and a set of server network adapters 144. The server processor 132 may include a central processing unit (CPU) and / or a graphics processing unit (GPU) array. The adapter 144 may include a network card and other communication interfaces that enable the secure server 16 to connect to the communication network 14. The server storage device 142 may store data, such as event indicators and / or client profile parameters. In some embodiments, the server 16 further includes input and output devices, whose functions may be similar to the input / output devices 36 and 38 of the client system 10, respectively.

[0047] Figure 4 Exemplary software components executing on client system 10 according to some embodiments of the present invention are shown. This software may include an operating system (OS) 46 that provides an interface between the hardware of client system 10 and other computer programs, such as user applications 48 executing on the respective client system. The exemplary operating system includes, among other things, and The user application 48 generally represents any application, such as word processing, image processing, spreadsheet, calendar, online game, social media, web browser, and electronic communication applications. In some embodiments, the security application 50 is configured to protect the client system 10 from computer security threats, such as malware and intrusion. Among other functions, the security application 50 is particularly configured to transmit event indicators to the security server 16 and / or receive security warnings. In some embodiments, the application 50 further includes an event collector 52 and a network filter 53. Some functionality of the network filter 53 can be implemented directly in hardware. When the client system 10 operates a hardware virtualization platform, where the OS 46 and the application 48 are executed within a virtual machine (for example, in a cloud computing environment), the event collector 52 and / or the network filter 53 can operate outside the corresponding virtual machine, for example, at the level of the hypervisor that exposes the corresponding virtual machine, using a technique known in the art as introspection.

[0048] The event collector 52 is configured to detect various events that occur during the execution of software by the client system 10. Some embodiments may add a timestamp to each detected event to record the time of occurrence of the corresponding event. The monitored events may be machine and / or operating system specific. Exemplary events include, among others, process initiation, process termination, generation of child processes, access requests to peripheral devices (e.g., hard disks, network adapters), commands typed into a command line interface by a user, etc. Such hardware and / or software events may be detected using any method known in the art of computer security, such as by intercepting specific functions of the operating system, detecting system calls, employing file system minifilters, changing memory access permissions to detect the intention to execute code from specific memory addresses, etc.

[0049] Some embodiments use system logging tools built into OS 46 (e.g. Syslog in . Such tools can generate a list of event descriptors that include a timestamp for each event, a numeric code identifying the event type, an indicator of the type of process or application that generated the corresponding event, and other event parameters. Security application 50 can extract such information from the corresponding system log to formulate an event indicator. An exemplary syslog entry is given below:

[0050] <30> Feb 8 21:36:51 dtm charon: 12[IKE]establishing CHILD_SA dtmhq5{5}

[0051] <30> Feb 8 21:36:51 dtm charon: 12[IKE]establishing CHILD_SA dtmhq5{5}

[0052] <187> Feb 8 21:37:56 example.domain, biz dhcpd:DHCPDISCOVER from Oc:14:7b:11:14:64 via eth1:network eth1:no free leases

[0053] The network filter 53 detects a set of network events that occur during electronic communications between the client system 10 and other parties via the networks 12 to 14. Exemplary events detected by the network filter 53 include events that form part of establishing a connection between the client system 10 and another network entity (e.g., requesting a network address, transmitting a network address, handshake events, etc.), events that configure an encrypted connection (Secure Sockets Layer - SSL, Virtual Private Network - VPN), transmitting data, and receiving data, etc. In some embodiments, the network filter 53 collects metadata from the intercepted network traffic. Such metadata may include, for example, the originating network address (e.g., Internet Protocol - IP address), the destination address, the timestamp of the data packet, an indicator of the communication protocol type, and the size of the data packet. Other exemplary metadata may include the type of Hypertext Transfer Protocol (HTTP) user agent that transmitted the corresponding communication / data packet. Some embodiments organize the communication metadata into a specialized data structure, referred to in the art as network traffic (e.g., from Cisco Systems, Inc.) ). Table 1 shows an example of communication metadata represented as traffic according to some embodiments of the present invention.

[0054] Table 1

[0055]

[0056] In some embodiments, security application 50 formulates event indicators based on hardware, software, and / or network events detected by collector 52 and network filter 53. Application 50 may further manage communications with security server 16 to transmit event indicators and / or receive security notifications, etc.

[0057] In an alternative embodiment, instead of processing network communications at the client as shown above, the network filter 53 and / or router 15 may be configured to reroute at least a portion of electronic communications incoming and / or outgoing to the client system 10 to the secure server 16. For example, the network configuration parameters of the client system 10 may be set to indicate the server 16 as the default network gateway. Some embodiments then employ the secure server 16 to extract event indicators from the respective rerouted traffic.

[0058] Figure 5 Exemplary software executing on the security server 16 is shown according to some embodiments of the present invention. The illustrated software includes an analysis engine 60 and an anomaly detector 62 that is further connected to an alert manager 64. The skilled person will appreciate that not all of the illustrated components need to be executed on the same machine / processor; for example, the analysis engine 60 may be executed on a dedicated processor cluster, while instances of the anomaly detector 62 may be run on other machines / processors.

[0059] In some embodiments, analysis engine 60 is configured to analyze Figure 1 The subset of event indicators 20a to b received from the clients may be used to assemble a training event corpus, in which Figure 1 , 5 , and 6 are denoted as corpus 18. Then, a profile is determined based on the event corpus 18. Determining the client profile may include, among other things, representing the events in an abstract multidimensional event space and implementing a data clustering process, as shown in more detail below. Then, the constructed profile may be stored as an entry in a profile database 19. An exemplary profile database entry includes a set of profile parameters, such as a set of coordinates of a cluster centroid, a measure of the diameter and / or eccentricity of a cluster, etc.

[0060] Figure 6 Exemplary components and operations of analysis engine 60 are described. In some embodiments, engine 60 includes event encoder 70, event clustering engine 72, and client clustering engine 74 connected to event encoder 70 and event clustering engine 72. An exemplary sequence of steps performed by analysis engine 60 is shown in FIG. Figure 7 In the description.

[0061] In the sequence of steps 202 to 204 to 206, the analysis engine 60 may assemble the training event corpus 18 from the event indicators received from the selected client systems and / or routers. Some embodiments accumulate event indicators until some accumulation condition is met. The accumulation condition may be determined based on a count of events (collecting a corpus of 1 million events), based on a time condition (e.g., recording all events received within a 1h interval, etc.), based on the identity of the client system and / or user (e.g., recording all events received from enterprise X, IP range Y, subscription account Z, etc.), or based on any other method known in the art. Individual events may be tagged according to their origin and may include a timestamp characterizing the moment when the corresponding event has occurred, or has been detected, or has been received at the security server 16, etc. In some embodiments, the event corpus 18 is refreshed periodically and / or on demand by incorporating the latest received event indicators.

[0062] In some embodiments, the event encoder 70 ( Figure 6) is configured to input an event record 26 including data characterizing an event that has occurred on a client system (e.g., a process is initiated on a client machine), and in response, output an event vector 28a including a representation of the corresponding event as a vector in an abstract multidimensional space that is generally considered to be an embedding space in the art. An exemplary embedding space is unfolded by a set of axes, each of which represents a distinct event feature. In the case of network events, exemplary features may include source IP address, source port, destination IP address, destination port, and indicators of transport protocols, etc. In another example, each axis of the embedding space corresponds to a linear combination of event features (e.g., in a principal component / singular value decomposition embodiment). In a preferred embodiment, the event is analyzed in the context of other events preceding and / or following the corresponding event. In such cases, the encoder 70 is configured to represent the event as a vector in an embedding space of contexts, where two events that primarily occur in similar contexts are relatively closely located together. Some embodiments select the dimensions of the embedding space based on the size of the event vocabulary N (i.e., the count of distinct event types that the corresponding security system is monitoring) (see below for more information on event vocabulary). For example, the dimension of the event space may be approximately the square root of N, or approximately the logarithm of N. Typical embodiments of the present invention use an embedding context space having hundreds to thousands of dimensions.

[0063] The event encoder 70 may be constructed using any method known in the art of automated data processing. In a preferred embodiment, the encoder 70 comprises an artificial intelligence system, such as a multi-layer artificial neural network (e.g., a recursive and / or feed-forward neural network). In order to achieve the desired representation of the event vectors, the parameters of the encoder 70 may be tuned until certain performance conditions are met. This tuning is referred to herein as training and is performed by Figure 7 208 in . In the neural network embodiment, exemplary tunable parameters of the event encoder 70 include a set of synaptic weights, etc. In some embodiments, training the encoder 70 is equivalent to building the embedding space itself. In other words, the embedding space is not predetermined, but depends on the composition of the event corpus 18 and the selected training process.

[0064] Demonstration training process Figure 8-A B and includes versions of word2vec algorithms, such as the continuous jump metagram algorithm and the continuous bag of words algorithm. In such embodiments, events are not analyzed in isolation, but rather as components of an event sequence 25 consisting of multiple events ordered by occurrence or detection time. In some embodiments, all events of the corresponding sequence are selected so that they occur on the same client system. The event sequence 25 includes a central event E0 and an event E preceding the central event. -k …E -1A subset of (k≥0) and / or events E1…E following the central event p The event context is composed of a subset of (p ≥ 0). The typical embodiment uses a symmetric event context (p = k), where p is in the range of 2 to 5. Each individual event E i (-k≤i≤p) can be represented as an N by 1 numeric vector, where each row represents a distinct event type (e.g., opening a browser, initiating a file download, writing data to disk, etc.), N represents the size of the "vocabulary" of event types, and non-zero elements indicate that the corresponding event has a corresponding event type. This representation is commonly referred to in the art as one-hot encoding. An exemplary size N of an event vocabulary ranges from hundreds to thousands of distinct event types, but can be increased to as high as millions for specific applications. The skilled person will appreciate that one-hot encoding is used herein only as an example and in no way limits the scope of the invention.

[0065] In an exemplary training process, an event encoder is paired with an event decoder and trained together with the event decoder, both of which may include parts of a feed-forward and / or recurrent neural network. In general, an encoder-decoder pair may be configured to input a first subset of training sequences (e.g., a central event E0) and output a second subset of corresponding sequences (e.g., a certain context event E0). i , i≠0). Figure 8-A In the example of B, the prediction is illustrated as a one-hot vector; alternative embodiments may use a different representation. For example, the prediction may be represented as an N-dimensional vector of numbers, with each number indicating the likelihood of the corresponding event type being present in the second subset.

[0066] exist Figure 8-A In the continuous skip metagram training process described in , the encoder-decoder pair is trained to generate the correct event context given the central event E0. For each event sequence obtained from the event corpus 18, the encoder 70a is configured to input the one-hot encoding of the central event E0 and generate an event vector 28c including a representation of the central event E0 embedded in the context space. The decoder 76a is further configured to input the event vector 28c and output a plurality of guess vectors, each representing the "predicted" context event E0 of the corresponding event sequence. i (i≠0). The encoder-decoder pair may then be trained by adjusting parameters of encoder 70a and / or decoder 76a in order to reduce the prediction error, ie, correct the mismatch between the "predicted" context and the actual context of the corresponding training sequence.

[0067] The alternative training process uses a continuous bag-of-words training algorithm and aims to produce the correct central event E0 of the training sequence given the corresponding event context. Figure 8-BIn one such example illustrated in FIG. 2 , the event encoder 70 b is configured to input a context event E representing a sequence 25. i (i≠0), and outputs an embedded event vector 28d to f determined for each corresponding context event. Figure 8-A In contrast to the continuous skip meta-grammar embodiment described in , encoder 70b is now paired with an event decoder 76b that is configured to input a plurality of event vectors 28d to f and to produce a prediction or "guess" of the central event E0 of sequence 25. The encoder-decoder pair can then be trained by adjusting parameters of encoder 70b and / or decoder 76b in order to reduce the prediction error, i.e., the mismatch between the "predicted" central event and the actual central event of the corresponding training sequence.

[0068] An exemplary sequence of steps for implementing the training of an event encoder is given in Fig. 9 Step 222 retrieves a set of event records from the event corpus 18 and identifies the event sequence 25 according to the event timestamps and according to the source of the corresponding event (i.e., the client system where the corresponding event has occurred). In the continuous jump meta-grammar embodiment, then, step 224 executes the event encoder 70a to generate an embedding space representation of the event E0 ( Figure 8-A In step 226, the analysis engine 60 executes the event decoder 76a to generate a set of predictions or "guesses" for events preceding and / or following the central event E0 within the sequence 25. Step 228 compares each predicted context event of the sequence 25 with the corresponding actual context event E0. i (i≠0), thereby determining a numerical prediction error. The prediction error, which can be interpreted as a cost function or an objective function, can be calculated according to any method known in the field of artificial intelligence. Such calculations may include determining the distance between the predicted event and the actual event, such as the edit distance, the Euclidean distance, or the cosine distance. Some embodiments determine the objective function according to the cross entropy measure. In step 230, the analysis engine may adjust the parameters of the encoder 70a in the direction of minimizing the calculated prediction error. Some exemplary algorithms for training include back propagation using gradient descent, simulated annealing, and genetic algorithms, among others. Then, some embodiments repeat steps 222 to 230 until a termination condition is met, for example until the average prediction error of the event corpus 18 drops below a predetermined threshold. In another embodiment, training is performed for a predetermined amount of time or a predetermined iteration count. The skilled person will understand Fig. 9 The sequence of steps described in , with slight modifications, also applies to the bag-of-words embodiment ( Figure 8-B ).

[0069] In response to training the event encoder as presented above, some embodiments further transform the generated embedding space to reduce its dimensionality. This operation may include any data dimensionality reduction algorithm, such as principal component analysis (PCA) or singular value decomposition (SVD).

[0070] During training and optional dimensionality reduction ( Figure 7 After step 208 in ), the event encoder 70 is able to represent each event as a vector in a multidimensional embedding space of event contexts, where two events that frequently occur within the same event context occupy similar positions. In other words, two such events are separated in the embedding space by a distance that is less than the distance between two events that primarily occur in different contexts.

[0071] Return to the analysis engine 60 ( Figure 6 ), the event clustering engine 74 is configured to organize event vectors generated by the trained event encoder 70 and representing members of the training corpus 18 into clusters according to the position of each event vector in the embedding space (see also Figure 7 In some embodiments, a cluster includes multiple events that are relatively close together in the embedding space, or in other words, multiple events characterized by relatively small inter-event distances in the embedding space. In alternative embodiments, a cluster consists of events that occupy a cluster-specific region of the embedding space. Such regions may be mutually exclusive or partially overlapping. Fig.10 An exemplary embedding space and a set of event clusters 80a-b according to some embodiments of the present invention are illustrated. The illustrated axes may include, for example, the first and second principal components of the illustrated event vectors (vectors 28g-h-k). In embodiments that use an embedding space of event contexts, clusters may selectively contain events that occur primarily within similar event contexts. Furthermore, the same cluster may include events that occur on various client systems and / or represent activities of various users.

[0072] To construct the event clusters, the analysis engine 60 may employ any data clustering algorithm known in the art, such as a variant of the k-means algorithm. Another exemplary embodiment may train a set of perceptrons to partition the embedding space into distinct regions and assign event vectors located within each region to distinct event clusters. The number of clusters and / or regions may be predetermined (e.g., based on a count of protected client systems and / or monitored event types) or may be dynamically determined by the clustering algorithm itself. The result of event clustering includes a set of event cluster parameters 54 ( Figure 6), which may include, for each cluster, the coordinates of the centroid of the cluster and a measure of the extent of the cluster, such as diameter and / or eccentricity. Other exemplary cluster parameters 54 may include, among other things, a list of members of the respective cluster, with selected members of the respective cluster being considered as representatives / prototypes of the respective cluster. The cluster parameters may be passed to the client clustering engine 74.

[0073] Client clustering engine 74( Figure 6 ) is configured to determine a set of client profiles based on the event clusters calculated by the event clustering engine 72. Such client profiles are Fig.11 . In some embodiments, each client profile includes a selected subset (cluster) of protected client systems 10a to h. Some client profiles may include multiple client clusters. In some embodiments, a client profile may include a profile prototype, which may be an actual member of a corresponding client cluster, or a fictitious client system represented by a specific location in the profile space. For example, a profile prototype may include the centroid of a client cluster determined by the client clustering engine 74.

[0074] To compare client profiles, some embodiments of the client clustering engine 74 assign client systems 10a-h to clusters based on event profiles that indicate a typical distribution of events occurring on the respective client systems. In one exemplary embodiment, the event profiles of the client systems include numeric vectors, each determined based on a count of events occurring on the respective client systems and belonging to distinct event clusters previously determined by the event clustering engine 72. Fig.12 In the example illustrated in FIG. 1 , each component of the event profile is assigned a corresponding event cluster C according to an indication. i The cluster loyalty metric is determined by the proportion of events that are determined as a fraction of the total event counts available from the corresponding client system. For example, when the event clustering engine 72 has identified three event clusters C1, C2, and C3, the event profile vector [0.1, 0.75, 0.15] may represent a client system where 10% of the events occurring on the corresponding client system belong to event cluster C1, 75% of the events belong to event cluster C2, and 15% of the events belong to event cluster C3.

[0075] exist Fig.11 In the exemplary embodiment described in , each client system is represented in a multi-dimensional profile space according to a corresponding event profile. In other words, each coordinate of a client system represents a component of the event profile of the corresponding client. Fig.11Three exemplary client clusters / profiles 82a-c are shown. A skilled person may construct such profiles using any method known in the art of machine learning or data mining; exemplary methods include variations of the k-means clustering algorithm and neural networks, among others. Alternative embodiments may use other criteria for assigning client systems to clusters, or use such criteria in addition to the event profiles for the respective clients. Exemplary additional client clustering criteria include, among others, the owner and / or user of the respective client system, the network address of the respective client system, the device type of the respective client system, and the like. For example, clients belonging to the same household, the same enterprise, or the same network domain may be grouped together in the same cluster.

[0076] After client clustering, the analysis engine 60 may save cluster parameters to the profile database 19, such as a list of client systems assigned to each cluster / profile, coordinates of cluster prototypes (eg, centroids), cluster diameters, and the like.

[0077] Fig.13 Exemplary components and operation of anomaly detector 62 according to some embodiments of the present invention are described (see also Figure 5 ). The anomaly detector 62 is configured to receive an event stream 24 including event indicators indicating events occurring on various client systems and, in response, output a security tag 88 indicating whether the corresponding event indicates a security threat (e.g., intrusion or execution of malware). In some embodiments, the anomaly detector 62 includes a profile manager 84 that is configured to select a client profile based on the corresponding event in response to receiving an event notification indicating an event occurring on a protected client system. The profile manager 84 is further connected to a behavioral model 86 that is configured to determine whether the corresponding event fits a pattern of normal / baseline behavior represented by the corresponding profile. When not fitting, the corresponding event can be considered an anomaly, thereby indicating a possible attack on the corresponding client system.

[0078] In preparation for performing anomaly detection as presented below, some embodiments of anomaly detector 62 are first trained on an event corpus using the output of analysis engine 60. One purpose of training anomaly detector 62 is to determine normal / baseline user behavior for each client profile identified by analysis engine 60. Training includes adjusting a set of parameters of behavior model 86 until termination criteria are met. The event corpus used to train anomaly detector 62 may be different from the training corpus 18 used to train components of analysis engine 60.

[0079] Fig.14An exemplary sequence of steps performed by anomaly detector 62 during a training process according to some embodiments of the present invention is shown. In response to anomaly engine 60 building a set of client profiles, step 242 selects one such client profile from profile database 19. In some embodiments, each such client profile includes a set of client clusters, e.g. Fig.11 Each client cluster further includes a selected subset of protected client systems. Step 244 may select a set of training events that occur on any client system associated with the corresponding profile / cluster. In some embodiments, step 244 may include selecting a set of training events from a training corpus 18 that has been used to build a client profile as shown above. Another step 246 may train the behavior model 86 using the corresponding event training set as a training corpus.

[0080] In some embodiments, behavioral model 86 includes components that are similar in structure and function to some components of analysis engine 60. For example, some embodiments of model 86 include Fig.15 The encoder-decoder pair described in , which can be constructed using neural network techniques and trained according to a member of the word2vec family of algorithms (see above for Figure 8-A to B). Training the behavioral model 86 may then be equivalent to adjusting parameters (e.g., a set of synaptic weights) of the encoder 70c and / or decoder 76c, with the goal of representing each event from the corresponding client cluster / profile as a vector in an event embedding space. In a preferred embodiment, the encoder 70c analyzes each event in the context of the event sequence and generates an embedding space in which events that occur primarily in similar contexts are separated by smaller distances than events that occur in other contexts. However, the event embedding space generated by training the encoder 70c (i.e., the meaning of the axes, the size of the distances between events, etc.) may be significantly different from the event embedding space generated by training the event encoder 70 because the training corpora used for the two encoders are different.

[0081] In a preferred embodiment, step 246 includes training the encoder-decoder pair using a version of the bag-of-words algorithm (see Figure 8-B In one such example, the encoder-decoder pair ( Fig.15 ) is configured to receive a plurality of events E representing the event context of the event sequence currently being analyzed -k …E -1 、E1…E pand generating an N-dimensional prediction score vector 90, wherein each element is associated with a distinct event type, each element representing the likelihood that the central event of the corresponding event sequence has the corresponding event type. For example, a higher score value may indicate that the corresponding event type is more likely to occur as the central event of the corresponding event sequence than an event type with a lower score. In such embodiments, exemplary training of the model 86 may include selecting an event sequence ( Fig.14 ), inputting the event context of the corresponding sequence to encoder 70c, executing decoder 76c to generate a prediction of the central event E0 of the corresponding event sequence, and penalizing incorrect predictions by back-propagating the prediction error through the neural network forming encoder 70c and / or decoder 76c. In response to successful training, step 248 can save the parameter values ​​of the trained behavior model. The training process can be repeated for each client profile identified by analysis engine 60.

[0082] Fig.16 The following describes the steps performed by the anomaly detector 62 to protect a target client system (e.g., Figure 1 The target client system may or may not be a member of the subset of clients that provide a training corpus of events that generate behavior models and / or client profiles as shown above. To protect the target client system, the events may be detected at the target client system and / or other devices (e.g., routers 15a-b (see Figure 1 )) and may be communicated to the security server 16 in the form of an event indicator. Such event indicators may then be pre-processed according to their source, event type, timing, service account settings, etc., and organized into an event stream 24. Events may be processed individually or in batches. In response to receiving an event indicator from a target client system, in step 254, the anomaly detector 62 may assemble an event sequence according to the corresponding event indicator for analysis. Step 254 may include identifying the event source (i.e., the client system where the corresponding event has occurred), selecting a plurality of other events from the event stream 24 to form an event sequence. In some embodiments, the members of the sequence are selected so that they all originate from the same target client system. In another example, all members of the sequence must occur on a predetermined subset of the client systems, such as (for example) a network subdomain, or a common IP address. The selected events may also be sorted according to their occurrence and / or detection time, such as using a timestamp provided with the incoming event indicator. The event sequence may be further divided into several parts, such as to identify a central event and an event context (see, e.g. Figure 8-A ).

[0083] In step 256, profile manager 84 may select a client profile based on the corresponding event indicator, such as based on the identity of the target client system on which the corresponding event has occurred. When the corresponding target client system has provided training events for developing client profiles and / or for training behavioral models, step 256 may include selecting a client profile / cluster with the corresponding target client system as a member. Other profile selection criteria may also be used. For example, step 256 may include selecting a client profile based on the location of the target client system within the client profile space (see Fig.11 ), such as by comparing the location of the target client system to a set of cluster prototypes or centroids and selecting the cluster / profile whose centroid is closest to the target client system. In one such example, the client profile may be selected based on an event profile determined for the target client system (e.g., based on a count of events received from the target client system that fit into a particular event category / cluster). Other client profile selection criteria may include selecting a client profile based on the network address of the target client system (e.g., selecting a client profile containing clients having the same IP address as the target client system), selecting a client profile based on the owner / user of the target client system (e.g., selecting a profile containing members of the same household as the target client system), etc.

[0084] In another step 258, the anomaly detector may instantiate the behavior model 86 using parameter values ​​specific to the respective selected client profile. In some embodiments, after the profile-specific instantiation, executing the model 86 (step 260) includes projecting the events of the respective event sequence in the event embedding space associated with the respective client profile.

[0085] Step 262 may now determine whether the events of the corresponding event sequence represent normal / baseline user behavior associated with the corresponding client profile. In one embodiment, step 260 includes converting the event context (E i , i≠0) are fed to the behavioral model 86 and a prediction score vector 90 for the corresponding sequence is calculated. Next, step 262 may include identifying the elements of the vector 90 corresponding to the event type of the actual central event E0 of the sequence, and comparing the corresponding score with a predetermined threshold value (e.g., 0.95). In some embodiments, a score value below the threshold indicates that the corresponding event E0 is substantially unlikely to occur in the context of the corresponding event, and therefore indicates an anomaly consistent with a potential computer security threat. In some embodiments, a user or administrator of the security server 16 can tune the sensitivity of the method by adjusting the value of the threshold. In one such example, different thresholds are associated with different groups of client systems.

[0086] In an alternative embodiment, step 260 may include using model 86 to determine the sequence of events E i Next, step 262 may include determining the event E according to the position of the corresponding event in the embedding space. i Whether it fits the pattern of normal behavior of the corresponding client profile. For example, an event can be considered normal when it is located within a cluster of training events (e.g., closer to the cluster centroid than a predetermined threshold). In another example, an event can be considered normal / benign when located in a specific region of the embedding space, and considered abnormal when located in other regions.

[0087] When a sequence of events (e.g., E0) is considered abnormal, or in other words, does not fit the normal pattern established by training of the corresponding client profile, step 264 may flag the corresponding event for further analysis. In some embodiments, the abnormality may trigger the alert manager 64 of the security server 16 to emit a security alert (see Figure 5 ). Security alerts may be sent to the client system where the abnormal event has occurred and / or to the administrator of the corresponding client system. The occurrence of abnormal events may also be collected and reported to the computer security laboratory for further analysis.

[0088] The exemplary systems and methods described above allow for efficient detection of computer security threats, such as malware and intrusions. The disclosed systems and methods implement a behavioral approach to computer security, where normal / baseline user behavior is automatically inferred by the system based on a training corpus of events, and where violations of baseline behavior patterns can indicate threats.

[0089] Some embodiments detect various events occurring at multiple client systems (e.g., computers, mobile phones, network devices, and virtual machines). Exemplary events include specific process initiation, attempts to access specific files or network locations, and network business events such as access to specific ports and addresses. It should be understood by the technician that the system and method described herein may be suitable for other types of events, such as events related to user activities on social media, user browsing history, and user game activities. Event notifications are aggregated at a secure server. A collection of such events can be used as a training corpus for building a set of client profiles, wherein each client profile may represent a single user, a single machine, or multiple users / machines. In some embodiments, each client profile includes a subset of client systems and / or a subset of events that have occurred on a corresponding subset of client systems. Each client profile may represent a normal and / or benign usage pattern of a corresponding client system. Then, such client profiles may be used to detect occurrences of abnormal behavior, which may indicate computer security threats.

[0090] Some conventional computer security operates according to a set of rules that quantify behaviors that indicate malicious behavior. Since developers are usually interested in providing such solutions to a wide variety of clients, behavioral rules are usually general, rather than customized for specific users. However, in reality, users are very diverse. Even in the same company or family, the way each member uses the computer may be very different. A set of actions that may be considered normal for software developers or engineers may be very unusual when detected on a computer in the accounting department. In addition, the same user may have significantly different behaviors at work and at home. Therefore, general behavioral rules may not capture the diversity and specificity of real users. In contrast to such conventional systems, in some embodiments of the present invention, events occurring on the corresponding client system are selectively reviewed and analyzed against a model that captures the normal / baseline behavior of each client system itself and / or similar clients. In other words, the boundaries of behavioral "normality" can be defined using substantial specificity: specific client machines, specific user groups (e.g., specific departments of a company, family members, specific age groups), etc.

[0091] Due to the surge in software and Internet use, attempts to develop highly specific behavioral profiles (e.g., profiles attached to each individual user) may require unreasonable computing resources and may therefore be impractical. In addition, collecting events from individual users / machines may not provide enough data to develop a statistically robust behavioral model. In contrast to this approach, some embodiments of the present invention group multiple users and / or machines into a single client profile, thereby ensuring a useful compromise between specificity, robustness, and computational cost. In addition, the manner in which users and machines are grouped into profiles is itself based on behavioral criteria to ensure that such groupings retain specificity. In some embodiments, each client profile group groups users / machines with substantially similar event profiles together. To put it another way, all members of a client profile display similar baseline behavior in terms of statistics of events occurring on member machines.

[0092] Some conventional computer security systems and methods mainly analyze individual events. Many events that occur during the operation of a computer system (e.g., opening a file, accessing a web page) may not indicate malicious intent when performed in isolation. However, when it occurs in the context of other events (e.g., as a specific sequence of actions), it may be malicious. In contrast to more conventional solutions, some embodiments of the present invention explicitly analyze events in context, and are therefore more suitable for such event-related situations. Preferred embodiments represent individual events as vectors in a multidimensional embedding space, which has a unique property that a pair of events that occur with a relatively high frequency in the same event context are separated by a smaller distance than another pair of events that occur less frequently in the same event context.

[0093] Successful behavior modeling may require the detection of a large number (e.g., hundreds or thousands) of different event types, but not all event types may be equally important in behavior modeling. It may be impractical to collect and analyze statistics about such numerous event types received from a large number of sources. In order to solve this problem, some embodiments group events into event categories or clusters according to the similarities between events, thereby creating more robust and / or relevant statistics. This meaningful dimensionality reduction can significantly promote the construction of client profiles. Event similarity can be determined according to several criteria, for example, according to the distance separating two events in the event embedding space. In a preferred embodiment, if two events occur primarily in the same context, they can be considered similar (e.g., when both events A and B are often behind event X and / or in front of event Y, that is, as in exemplary sequences XAY and XBY, events A and B are considered similar).

[0094] Figure 17-A B illustrates an experiment of applying some of the systems and methods described above to the detection of computer security threats. An event corpus of events collected from multiple monitored clients is used to train components of the analysis engine as shown above, resulting in the monitored clients being divided into 11 client clusters / profiles. According to the representation of each event in the 15-dimensional embedding space, the events are divided into several event categories. Profile-specific behavior models are developed for each corresponding client cluster. Then, a specific type of attack is launched on the test machine. The event sequences collected from the test machine are fed to an anomaly detector, which is in turn instantiated using parameters specific to each of the behavior models. Some such event sequences are detected as anomalies.

[0095] Figure 17-ACluster-specific anomaly scores are displayed, expressed as a scale, where a score of 1 indicates 100% certainty of an anomaly (e.g., at least one event in the sequence of events received from the test machine has not been seen in training). A curve graph represents the score values ​​averaged over the anomaly event sequences and the associated standard deviation. The graph shows that the same sequence can be considered anomaly with a cluster-specific level of certainty. Said another way, the same sequence of events is considered "less abnormal" on some clients than on other clients. For example, the behavioral models associated with clusters 1, 2, and 7 are not only more efficient at detecting attacks than other models, but all event sequences associated with the attacks are considered "equally abnormal." In contrast, the models associated with clusters 0 and 9 indicate that some event sequences for the same attack are "less abnormal" than other event sequences.

[0096] Figure 17-B The profile-specific average detection rates achieved for three distinct types of attacks are shown. The event sequences collected from the test machine during each type of attack were analyzed using each of the 11 profile-specific trained behavior models. The detection rates differed between models and attack types, further demonstrating the specificity of some of the systems and methods described herein.

[0097] Such experimental results indicate another potential application of some embodiments of the present invention. A centralized computer security solution may selectively develop protection policies for each group of clients identified by a client profile and / or other clients that have similarities to a prototype of each client cluster. Some embodiments may identify client clusters for which the methods described herein provide a satisfactory level of security, and other client clusters that require additional security measures. Customizing protection for each client cluster may improve the user experience and reduce unnecessary computing costs.

[0098] It will be apparent to those skilled in the art that the above-described embodiments can be modified in many ways without departing from the scope of the present invention. Therefore, the scope of the present invention should be determined by the appended claims and their legal equivalents.

Claims

1. A server computer system comprising at least one hardware processor configured to execute an event encoder, an event clustering engine, and a client clustering engine, wherein: The event encoder is trained to determine a position of each event of a training corpus in an event embedding space, the training corpus comprising a set of events that have occurred on a plurality of client systems; The event clustering engine is configured to distribute the training corpus into a plurality of event clusters according to the position of each event in the event embedding space; and The client clustering engine is configured to: distributing the plurality of client systems to a plurality of client clusters according to the content of each of the plurality of event clusters, and responsive to distributing the client systems into client clusters, transmitting a client cluster membership indicator to an anomaly detector configured to determine whether a target event occurring on a target client system indicates a computer security threat based on a subset of the training corpus consisting of events that have occurred on members of a target client cluster selected from the plurality of client clusters that includes the target client system; wherein the event encoder is configured to determine a position of the selected event based on an event sequence comprising the selected event of the training corpus, a first event, and a second event, the first event occurring earlier than the selected event, and the second event occurring later than the selected event; as well as Wherein training the event coding comprises: The event encoder is coupled to an event decoder configured to receive an indicator of the position of the selected event and output a prediction indicator indicating a likelihood that the sequence of events includes the first and second events, and to adjust a set of parameters of the event encoder based on the prediction indicator.

2. The server computer system of claim 1 , wherein training the event encoder further comprises: employing the event decoder to output a first predicted event and a second predicted event according to the position of the selected event; comparing the first predicted event to the first event and comparing the second predicted event to the second event; and The set of parameters of the event encoder is adjusted based on the results of the comparison.

3. A server computer system according to claim 1, wherein the client clustering engine is configured to assign the selected client system to the selected client cluster based on an event profile of the selected client system, the event profile comprising multiple components, each different component being determined based on a count of events that have occurred on the selected client system and belong to different event clusters among the multiple event clusters. 4 . The server computer system of claim 3 , wherein distributing the plurality of client systems into client clusters comprises assigning client systems having similar event profiles to the same client cluster.

5. The server computer system of claim 1, wherein the events of the training corpus include initiation of the selected process on a client system of the plurality of client systems.

6. A computer-implemented method comprising: Employ at least one hardware processor of a computer system to: executing an event encoder that is trained to determine a location in an event embedding space for each event of a training corpus, the training corpus comprising a set of events that have occurred on a plurality of client systems; distributing the training corpus into a plurality of event clusters according to the position of each event in the event embedding space; In response to distributing the events to the event clusters, distributing client systems of the plurality of client systems to a plurality of client clusters according to the content of each event cluster in the plurality of event clusters; and responsive to distributing the client systems into client clusters, transmitting a client cluster membership indicator to an anomaly detector configured to determine whether a target event occurring on a target client system indicates a computer security threat based on a subset of the training corpus consisting of events that have occurred on members of a target client cluster selected from the plurality of client clusters that includes the target client system; wherein the event encoder is configured to determine a position of the selected event based on an event sequence comprising the selected event of the training corpus, a first event, and a second event, the first event occurring earlier than the selected event, and the second event occurring later than the selected event; as well as Wherein training the event coding comprises: coupling the event encoder to an event decoder configured to receive an indicator of the position of the selected event and output a prediction indicator indicating a likelihood that the sequence of events includes the first and second events, and A set of parameters of the event encoder is adjusted according to the prediction indicator.

7. The computer-implemented method of claim 6, wherein training the event encoder further comprises: employing an event decoder to output a first predicted event and a second predicted event according to the position of the selected event; comparing the first predicted event to the first event and comparing the second predicted event to the second event; and The set of parameters of the event encoder is adjusted based on the results of the comparison.

8. The computer-implemented method according to claim 6 comprises assigning the selected client system to the selected client cluster based on an event profile of the client system, the event profile comprising a plurality of components, each different component being determined based on a count of events that have occurred on the selected client system and that belong to a different event cluster among the plurality of event clusters.

9. The computer-implemented method of claim 8, wherein distributing the plurality of client systems into client clusters comprises assigning client systems having similar event profiles to the same client cluster.

10. The computer-implemented method of claim 6, wherein the events of the training corpus include initiation of the selected process on a client system of the plurality of client systems.

11. A non-transitory computer-readable medium storing instructions that, when executed by at least one hardware processor of a computer system, cause the computer system to execute an event encoder, an event clustering engine, and a client clustering engine, wherein: The event encoder is trained to determine a position of each event of a training corpus in an event embedding space, the training corpus comprising a set of events that have occurred on a plurality of client systems; The event clustering engine is configured to distribute the training corpus into a plurality of event clusters according to the position of each event in the event embedding space; and The client clustering engine is configured to: distributing client systems of the plurality of client systems to a plurality of client clusters based on the content of each event cluster in the plurality of event clusters; and responsive to distributing the client systems into client clusters, transmitting a client cluster membership indicator to an anomaly detector configured to determine whether a target event occurring on a target client system indicates a computer security threat based on a subset of the training corpus, the subset of the training corpus consisting of events that have occurred on members of a target client cluster selected from the plurality of client clusters that includes the target client system; wherein the event encoder is configured to determine a position of the selected event based on an event sequence comprising the selected event of the training corpus, a first event, and a second event, the first event occurring earlier than the selected event, and the second event occurring later than the selected event; as well as Wherein training the event coding comprises: coupling the event encoder to an event decoder configured to receive an indicator of the position of the selected event and output a prediction indicator indicating a likelihood that the sequence of events includes the first and second events, and A set of parameters of the event encoder is adjusted according to the prediction indicator.