System and method for monitoring the operation of a computer
The monitoring system for on-board computers addresses the detection of hardware-level attacks by counting task requests and determining operating status, enhancing security and reliability.
Patent Information
- Application Number
- FR2021014671
- Authority / Receiving Office
- FR · FR
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-12-30
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2041-12-30
AI Technical Summary
Existing systems for monitoring the operation of on-board computers fail to detect attacks exploiting hardware vulnerabilities, such as the Specter and Meltdown attacks, and lack real-time security measures to ensure confidentiality, integrity, availability, and reliability.
A monitoring system for on-board computers that includes a collection unit to count requests to hardware blocks, form associations between task identifiers and requests, and a monitoring unit to determine the operating status, capable of detecting attacks like Specter and Meltdown by analyzing task execution patterns.
The system provides enhanced security by detecting hardware-level attacks and ensuring real-time monitoring, improving the reliability and security of on-board computers.
Smart Images

Figure 00000011_0000 
Figure 00000012_0000 
Figure 00000013_0000
Abstract
Description
Description Title of the invention: System and method for monitoring the func- operation of a calculator
[0001] — The present invention relates to a system for monitoring the operation of a calculator. The present invention also relates to a method for monitoring the func- operation of a calculator.
[0002] = The field of reliable critical embedded computers is facing problems- protection systems using on-board computers (and possibly tually the users of these systems) in the event of failure or breakdown of the cal- culators (issue of operational safety) but also of resistance to malicious attacks (cybersecurity).
[0003] — To address these issues, it is desirable that the on-board computers respond to constraints expressed in the form of properties to be guaranteed, such as confidentiality, integrity, or availability in the security domain, or reliability, real-time behavior, or traceability in the field of safety of operation.
[0004] — A good part of the certification of these critical computers therefore consists of guarantee, demonstrate and test these properties, which is made possible by a set surveillance systems (often referred to by the corresponding English term "monitoring") which allow both the design of safe systems upstream, and to observe the deviations generated by cyber attacks.
[0005] — Such surveillance systems include in particular detection systems intrusion (more often called IDS, an abbreviation which refers to the name English corresponding to "Intrusion Detection System") already exploiting the in- training in monitoring the operation of software to detect cyber- attacks.
[0006] In particular, so-called HIDS systems are also known. In the name previous, the H refers to the corresponding English name of “Host”, i.e. "host" and IDS to the aforementioned abbreviation. HIDS systems focus on a computer, at the level of its operating system. HIDS systems seek to detect abnormal behaviors by monitoring processes in running, memory allocations, logged in users and others. A alert is generated when one of the quantities monitored by the HIDS system considered deviates from a predefined norm.
[0007] — Furthermore, in the field of operational safety and in the context of the use of multi-core hardware architectures, it is also known to use systems to ensure a sufficient level of segregation between software with shared hardware resources. On the one hand, control systems are used, generally exploiting a system of time windows and preventing the hardware use of resources by applications outside the windows assigned to this application, thus guaranteeing strict partitioning and predictable temporal behavior at the cost of reduced performance. On the other hand, regulation systems are used, more flexible but offering fewer strict guarantees which monitor in real time the use of material resources, and are reactive only in the event of congestion on the path of these resources. However, these systems cannot detect attacks exploiting hardware vulnerabilities at the processor level, such as the Spectre attack, the Meltdown attack or the Rowhammer attack. There is therefore a need for a computer operation monitoring system ensuring better computer security. To this end, the description describes a system for monitoring the operation of a computer, the computer comprising hardware blocks, the hardware blocks comprising several cores, the computer also comprising a set of task scheduling units, the set being capable of scheduling the execution of a task by assigning it an identifier and storing the identifier on a first storage unit. The monitoring system comprises a collection unit capable of counting the number of requests of each hardware block during the performance of a task, the collection unit also being capable of reading the identifier of the task performed in the first storage unit, the collection unit also being capable of forming an association between a request with the corresponding identifier and storing each association formed on a second storage unit.The monitoring system also includes a monitoring unit capable of determining the operating status of the computer using the stored associations. According to particular embodiments, the monitoring system has one or more of the following characteristics, taken in isolation or in all technically possible combinations: - a hardware block is a main memory shared by the cores, the storage unit being part of the main memory. - a hardware block is a debugging support unit shared by the cores, the storage unit being part of the debugging support unit. - the storage unit is a core-specific memory. - each core has tightly coupled memory, the core-specific memory a core being tightly coupled memory. - each core has a memory management unit, with core-specific memory located in the memory management unit. - each core has a performance measurement unit, with core-specific memory contained within the performance measurement unit. - each core has a performance measurement unit, the collection unit being formed by all the performance measurement units. - the first storage unit is distinct from the second storage unit. The description also describes a method for monitoring the operation of a computer, the computer comprising hardware blocks, the hardware blocks comprising several cores, the computer also comprising a set of task scheduling units, the set being capable of scheduling the execution of a task by assigning it an identifier and storing the identifier on a first storage unit, the method being implemented by a monitoring system comprising a collection unit and a monitoring unit, the method comprising a step of counting the number of requests of each hardware block during the performance of a task, a step of reading the identifier of the task performed in the first storage unit, a step of forming an association between a request with the corresponding identifier and storing each association formed on a second storage unit,and a step of determining the operating state of the calculator using the stored associations. Characteristics and advantages of the invention will appear on reading the description which follows, given solely by way of non-limiting example, and made with reference to the appended drawings, in which: - [Fig.1] [Fig.1] is a schematic representation of an example of a calculator, - [Fig.2] [Fig.2] is a schematic representation of the processes implemented by the calculator, and - [Fig.3] [Fig.3] is a schematic representation of another example of a calculator. A calculator 10 is shown schematically in [Fig.1]. The computer 10 is, for example, an on-board computer, in particular a critical computer. Such a computer 10 is usable in an aircraft, in a payload or satellite platform or implanted medical systems. According to the example described, the computer 10 is a multi-core computer. The computer 10 comprises cores 12, an interconnect 14, a main memory 16 and a debug support unit 18. A core 12 is a set of circuits capable of executing programs autonomously. Only two 12 cores are shown in [Fig.1] for simplicity, knowing that the number of 12 cores is possibly much greater. Each core 12 comprises a computing unit 20 comprising a scheduling unit 22, cache memories 26, a tightly coupled memory 28, a memory management unit 30 and a performance measurement unit 34. Computing unit 20 is the unit that performs the various tasks. An example of operation of the computing unit 20 on the software level is illustrated in [Fig.2]. In this figure, a hypervisor HYP implements two operating systems OS1 and OS2. They all have a scheduling unit 22. Each of these operating systems OS1 and OS2 in turn implement two respective processes. The first operating system OS1 implements a first process P1 and a second process P2 while the second operating system OS2 implements a third process P3 and a fourth process P4. Each process P1, P2, P3 or P4 corresponds to a set of several tasks. The implementation of these tasks is managed by the scheduling unit 22. The set of scheduling units 22 forms a set 38 which is suitable for scheduling the execution of a task by assigning it an identifier and for storing the identifier on a storage unit. By definition, a cache memory is a memory which temporarily records copies of data coming from a source, in order to reduce the time of subsequent access (reading) of computer hardware (in general, a processor) to this data. In the proposed example, the core comprises several cache memories 26 represented in the form of a single block in [Fig.1]. For example, it is common to distinguish between a cache memory storing code and a cache memory storing data. A tightly coupled memory 28 is a memory suitable for explicitly storing instructions or private data of a core 12, with access times comparable to the cache memory 26 but without generating implicit transactions on the interconnection 14. Such memory is more often referred to by the abbreviation TCM, referring to the corresponding English term for “Tightly Coupled Memory”. The memory management unit 30 is used to control memory accesses. The memory management unit 30 is more often designated by the abbreviation MMU referring to the corresponding English name of “Memory Management Unit » The performance measurement unit 34 is capable of counting the number of requests from each element of the core 12 during the performance of a task by the calculation unit 20. Such a performance measurement unit 34 is often referred to by the acronym PMU, which refers to the English term “Performance Monitoring Unit”. According to the embodiments, the core 12 which has just been described has other elements and / or does not include all of the preceding blocks. For example, the core 12 may include an interrupt controller (sometimes called an IC block, the abbreviation IC referring to the English term for “Interrupt Controller”). As its name indicates, the interrupt controller manages interrupts. The interconnection 14 serves to ensure the interconnection between the different elements of the cores 12 and the shared elements such as the main memory 16. According to the described example, the interconnect is a NoC interconnect because it is assumed that all 12 cores are part of the same chip. The acronym NoC refers to the English term “Network on Chip” which literally means “network on a chip”. The main memory 16 is suitable for storing data shared between the cores 12. Being of larger capacity than the tightly coupled memories 28, the main memory 16 can store large data. It also allows the exchange of data between cores 12. The debugging support unit 18 is a unit suitable for observing the correct execution of the software on the various elements of the computer 10 in order to develop this software. The Debug Support Unit 18 is more often referred to as the English term "Debug Support Unit". The computer 10 thus comprises a set of hardware blocks 36, the set 38, a monitoring system 40 and a storage unit 42. A hardware block 36 is a physical component capable of performing more or less complex tasks. Some hardware blocks 36 have already been described previously. For example, the elements of the core 12 or the main memory 16 are hardware blocks 36. Furthermore, in [Fig. 1], it appears that the storage unit 42 is contained in the main memory 16. Other possible implementations are possible such as allocating a small part of the memory 16 for storing the task identifiers or storing the task identifiers in the performance measurement unit 34 or in the tightly coupled memory 28. The monitoring system 40 is suitable for monitoring the operation of the computer 10. The monitoring system 40 is thus adapted to implement a method for monitoring the operation of the computer 10. The monitoring system 40 comprises a collection unit 44 and a monitoring unit 46. The collection unit 44 is capable of counting the number of requests for each hardware block 36 during the performance of a task. It should be noted that the term "task" is used here generically; it can be any or all of the following levels: a thread, a process, a partition, a virtual machine, a user co-routine, or an interrupt request. The collection unit 44 is also capable of reading the identifier of the task carried out in the storage unit 42. The collection unit 44 is also capable of forming an association between a request with the corresponding task identifier. The collection unit 44 is also capable of memorizing each association formed. In the case of [Fig.1], the collection unit 44 is also formed by the performance measurement units 34. This interaction is shown by a dotted line in [Fig.!|. The monitoring unit 46 is capable of determining the operating status using the stored associations. The operation of the monitoring system 46 is now described with reference to an example of implementation of a method for monitoring the operation of the computer 10, the monitoring method comprising several steps which are explained below. The scheduling unit 22 orders the execution of a first task by assigning it an identifier. The identifier is therefore a task identifier in the sense that it is specific to the task it identifies. In the remainder of this description, the identifier of the first task is called the first identifier. The scheduling unit 22 then stores the first identifier in the storage unit 42, in this case in the main memory 16. The first task is then implemented. Such an implementation involves the solicitation of 36 hardware blocks. The performance measurement units 34 count each of these requests for each core 12. For clarity, the demands of the first task are called "first material demands" in what follows. The collection unit 44 simultaneously reads the first identifier in the area 42 and each of the first hardware requests in the performance measurement unit 34. The collection unit 44 stores the association of the first identifier and the first hardware requests in the main memory 16 for example. Each of the previous steps is repeated for a second task. Using the same formalism for naming the identifier and the requests, this reiteration of the steps can be described as follows. The scheduling unit 22 orders the execution of a second task by assigning it a second identifier which is stored in the storage unit 42. Then, the performance measurement units 34 count the second hardware requests and the collection unit 44 associates them with the second identifier. The collection unit 44 stores this association in the main memory 16. These steps can be repeated for each task implementation. A database is thus created associating the material requests counted with a specific task. Using this database, the monitoring unit 46 determines the operating state of the computer 10. For example, when the load on a hardware block 36 is too high for a given task, this may be a sign of impaired operation of the computer 10. The monitoring system 40 having context information linked to a higher demand on a hardware block 36, this makes it possible to ensure additional monitoring since an attack changing the number of accesses to a hardware block 36 is now detectable. The monitoring system 40 is therefore capable of detecting attacks exploiting hardware vulnerabilities at the processor level and generating requests, such as the Spectre attack, the Meltdown attack or the Rowhammer attack. As a result, the monitoring system 40 provides better security to the computer 10. Furthermore, the monitoring system 40 is compatible with real-time implementation. It should be noted that the storage unit 42 may be different from the main memory 16 which poses the problem of being relatively far from the cores 12 and therefore requiring relatively long accesses. In particular, the storage unit 42 may be located in the memory management unit 30. Such implementation does not impact transactions in calculator 10. It is also possible to use the debug support unit 18, the performance measurement units 34 or the tightly coupled memories 28. Finally, it may be noted that it is not necessary for the identifier to be stored on the same storage unit 42. For example, it may be advantageous to store the identifiers in a local memory of a core 12 while the association would be stored in a shared memory. Another embodiment of the calculator 10 is shown in [Fig.3]. The same remarks as for calculator 10 in [Fig.1] also apply to that in [Fig.3]. Therefore, only the differences are highlighted in what follows. In this case, the collection unit 44 is capable of collecting information from the performance measurement units 34. Unlike the embodiment of [Fig. 1], the collection unit 44 is here a centralized unit.
Claims
Claims
1. System (40) for monitoring the operation of a computer (10), the calculator (10) comprising: - hardware blocks (36), the hardware blocks (36) comprising several hearts (12), - a set (38) of task scheduling units (22), the set (38) being suitable for ordering the execution of a task in it assigning an identifier and storing the identifier on a first storage unit (42), the monitoring system (40) comprising: - a collection unit (44) capable of counting the number of requests of each hardware block (36) when performing a task, the unit of collection (44) also being able to read the task identifier performed in the first storage unit (42), the collection unit (44) also being suitable for forming an association between a soli- quote with the corresponding identifier and to memorize each as- society formed on a second memorization unit, and - a monitoring unit (46) capable of determining the status of the func- operation of the calculator (10) using the stored associations.
2. Monitoring system according to claim 1, in which a block hardware (36) is a main memory (16) shared by the cores (12), the storage unit (42) being part of the memory main.
3. A monitoring system according to any one of the preceding claims- preceding, wherein a hardware block (36) is a support unit of debugging (18) shared by cores, storage unit (42) part of the debug support unit (18).
4. A monitoring system according to any one of the preceding claims- preceding, in which the storage unit (42) is a memory heart-specific (12).
5. A monitoring system according to claim 4, wherein each core (12) comprises a tightly coupled memory (28), the memory core-specific (12) being the tightly coupled memory (28).
6. A monitoring system according to claim 4 or 5, wherein each core (12) comprises a memory management unit (30), the core-specific memory (12) being located in the management unit from memory (30).
7. A monitoring system according to any one of claims 4 to 10. 6, wherein each core (12) comprises a unit for measuring the per- formance (34), the core-specific memory (12) being contained in the performance measurement unit (34).
8. A monitoring system according to any one of claims 4 to 10. '7, wherein each core (12) comprises a unit of measurement of the per- formance (34), the collection unit (44) being formed by all of the performance measurement units (34).
9. A monitoring system according to any one of claims 1 to 10. 8, wherein the first storage unit (42) is distinct from the second storage unit.
10. A method of monitoring the operation of a computer (10), the cal- culator (10) comprising: - hardware blocks (36), the hardware blocks (36) comprising several hearts (12), - a set (38) of task scheduling units (22), the set (38) being suitable for ordering the execution of a task in it assigning an identifier and storing the identifier on a first storage unit (42), the method being implemented by a monitoring system (40) comprising a collection unit (44) and a monitoring unit, the process comprising the steps of: - count of the number of requests for each hardware block (36) during of the completion of a task, - reading the identifier of the task carried out in the first unit of memorization (42), - formation of an association between a request with the identifier corresponding and memorization of each association formed on a second storage unit, and - determination of the operating status of the calculator (10) in using memorized associations.
