Hardware—assisted system and method for detecting and analyzing system calls made to an operating system kernel
AssigneeEndgame, Inc.
InventorMatthew D. Spisak
Life of this patent
Estimating the term…
Abstract
The present disclosure relates to a system and method for monitoring system calls to an operating system kernel. A performance monitoring unit is used to monitor system calls and to gather information about each system call. The information is gathered upon interrupting the system call and can include system call type, parameters, and information about the calling thread/process, in order to determine whether the system call was generated by malicious software code. Potentially malicious software code is nullified by a malicious code counter-attack module.
Claims23
A system for identifying and analyzing system calls to identify potentially malicious software code, the system comprising:
- a processor comprising a performance monitoring unit and configured to run an operating system, the operating system comprising a kernel;
- a system call monitoring module, executed by the processor, for configuring the performance monitoring unit to:
- identify a system call to the kernel, by counting one or more FAR branches that are destined for the kernel, thereby encapsulating a system call instruction that generates the system call, wherein the system call comprises the one or more FAR branches;
- and
- generate monitoring data from the system call that comprises at least two of information about a path to a file to be accessed by the system call, a memory address or range of addresses to be accessed by the system call, information about a socket that is being used by the system call in order to send or receive data, as well as history of system calls in order to monitor for specific sequences of system calls;
- and
- a data analysis module, executed by the processor, to analyze the monitoring data in light of previously stored data, to learn from the previously stored data and the monitoring data, and to generate an alert based on the monitoring data, the alert indicating that the system call was generated by potentially malicious software code.
A method for identifying and analyzing system calls to identify potentially malicious software code in a system comprising a processor, the processor further comprising a performance monitoring unit, the method comprising:
- running, by the processor, an operating system comprising a kernel;
- configuring, by a system call monitoring module, the performance monitoring unit;
- identifying, by the performance monitoring unit, a system call to the kernel, by counting one or more FAR branches that are destined for the kernel, thereby encapsulating a system call instruction that generates the system call, wherein the system call comprises the one or more FAR branches;
- generating monitoring data that comprises at least two of information about a path to a file to be accessed by the system call, a memory address or range of addresses to be accessed by the system call, information about a socket that is being used by the system call in order to send or receive data, as well as history of system calls in order to monitor for specific sequences of system calls;
- analyzing the monitoring data, by a data analysis module, in light of previously stored data;
- learning, by the data analysis module, from the previously stored data and the monitoring data;
- and
- generating, by the data analysis module, an alert based on the monitoring data, the alert indicating that the system call was generated by potentially malicious software code.
A non-transitory computer-readable storage medium having embodied thereon a program, the program executable by a processor to perform a method for identifying and analyzing system calls to identify potentially malicious software code in a system comprising a processor, the processor further comprising a performance monitoring unit, the method comprising:
- running, by the processor, an operating system comprising a kernel;
- configuring, by a system call monitoring module, the performance monitoring unit;
- identifying, by the performance monitoring unit, a system call to the kernel, by counting one or more FAR branches that are destined for the kernel, thereby encapsulating a system call instruction that generates the system call, wherein the system call comprises the one or more FAR branches;
- generating monitoring data from the system call that comprises at least two of information about a path to a file to be accessed by the system call, a memory address or range of addresses to be accessed by the system call, information about a socket that is being used by the system call in order to send or receive data, as well as history of system calls in order to monitor for specific sequences of system calls;
- analyzing the monitoring data, by a data analysis module, in light of previously stored data;
- learning, by the data analysis module, from the previously stored data and the monitoring data;
- and
- generating, by the data analysis module, an alert based on the monitoring data, the alert indicating that the system call was generated by potentially malicious software code.
Dependencies are inferred from the claim text.