A domestic information security processing system and processing method based on trusted technology
The trust chain is built through the TPCM trusted module and the CPLD controller, which solves the problem that the traditional information security processing system does not support all-round design security processing, realizes the high trust and safe operation of the domestic information security processing system, and reduces the risk of illegal access. Ensures the safe transmission of industrial information.
Patent Information
- Application Number
- CN202211301293.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-24
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2042-10-24
AI Technical Summary
Traditional information security processing systems do not support the safe and trustworthy operation of comprehensively designed security processing systems, resulting in frequent industrial information security incidents and affecting the information security of enterprises.
Using the TPCM trusted module as the root of trust, through trusted startup and trusted measurement technology precisely controlled by CPLD logic, a chain of trust that runs through the hardware layer, firmware layer, operating system layer and application layer is built to achieve a high level of domestic information security processing systems. Trusted and secure, it controls trusted access to external device I/O of target applications and reduces illegal access and operational risks.
It achieves the high credibility and security of the domestic information security processing system, improves operational security, reduces illegal access and operational risks, and ensures information security during industrial information transmission.
Smart Images

Figure CN115657542B
Abstract
Description
Technical Field
[0001] The present application relates to information security technology, and specifically to a domestic information security processing system and processing method based on trusted technology. Background Art
[0002] With the increasing number of network devices and security devices in enterprises, more and more industrial information security issues are also coming.
[0003] During the industrial information transmission process, the existing information security system often faces a variety of industrial security issues. The occurrence of various industrial information security incidents has seriously affected the industrial information security of enterprises. Further research has found that the traditional information security processing system does not support secure and trusted operations that are not designed from the multi-level security processing system design from startup, boot, application, and access. Summary of the invention
[0004] In view of this, the present application discloses a processing method, which uses the TPCM trusted module as the root of trust to build a trust chain solution that runs through the entire process of the hardware layer, firmware layer, operating system layer and application layer. The trusted startup and trusted measurement technology precisely controlled by CPLD logic is used to achieve high trust and security of the domestic information security processing system; the trusted module controls the trusted access of the external device I / O of the target application, improves the operational security of the target application, and greatly reduces the risk of illegal access and illegal operation.
[0005] The present invention provides a domestic information security processing system based on trusted technology, the system comprising:
[0006] A control panel, the control panel comprising a CPU processor, a TPCM trusted module, a CPLD controller, a Nor Flash memory storing a CRTM trusted root, and a slot integrated on the control panel;
[0007] The TPCM trusted module is connected to the slot through a miniPCIE card and connected to the CPU processor on the control panel; the CPLD controller also establishes communication connections with the CPU processor, the TPCM trusted module, and the Nor Flash memory respectively; the CPLD controller controls each stage of the entire trusted startup process, so that the TPCM trusted module, the Nor Flash memory, and the CPU processor can securely obtain control rights in sequence at different times;
[0008] After all modules including the Nor Flash memory, TPCM trusted module and CPU processor have obtained control, the signal and network connection between the CPU processor and the external devices is realized.
[0009] Preferably, as an optional implementation, the system further includes: a storage unit, a power module and a display module; the storage unit and the display module are electrically connected to the control panel; the power module is used to supply power to all modules on the control panel.
[0010] Preferably, as an optional implementation manner, the system further comprises a display screen; and the display screen is electrically connected to the display module.
[0011] Preferably, as an optional implementation mode; the system also includes a switch, a network port and a serial port; the switch is used to control the connection between the control panel and the power module; the network port and the serial port are connected to the control panel via a communication cable.
[0012] Preferably, as an optional implementation mode, the system further comprises an identity authentication port; the identity authentication port is electrically connected to the CPU processor.
[0013] Preferably, as an optional implementation mode, the system further comprises a destroy button, and the destroy button is electrically connected to the CPU processor.
[0014] The present invention provides a processing method, which implements security processing by using a domestic information security processing system based on trusted technology, including:
[0015] Step S1, after the system is powered on, the CPLD controller first obtains control, disconnects the signal and network connection between the CPU processor and the external device (i.e., peripheral), and prevents the CPU processor from starting;
[0016] Step S2, the TPCM trusted module receives the current security data, first starts the TPCM trusted module and the Nor Flash memory, runs the CRTM trusted root, the CRTM trusted root reads the TPCM command library pre-stored in the memory and calls the SM3 algorithm engine in the TPCM trusted module, sends the command library to the TPCM trusted module, and the TPCM trusted module measures the received current security data and expands the result to the PCR register;
[0017] Step S3, the CRTM trusted root reads the digest value in the PCR register and compares it with the standard digest value pre-stored in the chip. If the comparison results are the same, the subsequent step S4 is started, otherwise it stops;
[0018] Step S4, then the CRTM trusted root will measure the Bootloader in the same way. If the Bootloader is credible, the CPLD controller resets the CPU processor, runs the Bootloader, and the CPU processor acquires control.
[0019] Step S5, then the Bootloader calls the TPCM trusted module in turn to measure the kernel image and the root file system. If the above measurement results are all reliable, it means that the kernel code where the kernel image and the root file system are located has not been tampered with, then the kernel can be started and the signal and network connection communication between the CPU processor and the external device can be realized.
[0020] Preferably, as an optional implementation mode, the method further includes an I / O access security processing step: the I / O access security processing step includes:
[0021] Trusted access to I / O ports is mainly based on identity authentication and access control mechanisms. After the user obtains and passes the identity authentication mechanism, the I / O port is used through the access control mechanism.
[0022] The identity authentication mechanism is: using a USB identity key in conjunction with a TPCM trusted module for identity authentication, the USB identity key contains a user ID, user access rights, and a private key for identity authentication, and the identity authentication private key is stored in the TPCM trusted module memory;
[0023] The access control mechanism mainly restricts illegal users and unauthorized users. There are generally three types of access control: identity-based access control, rule-based access control, and role-based access control.
[0024] Compared with the prior art, the present invention has at least the following technical effects:
[0025] The present invention provides a domestic information security processing system based on trusted technology, the system comprising:
[0026] A control panel, the control panel comprising a CPU processor, a TPCM trusted module, a CPLD controller, a Nor Flash memory storing a CRTM trusted root, and a slot integrated on the control panel;
[0027] Among them, the TPCM trusted module is connected to the slot in the form of a miniPCIE card and is connected to the CPU processor on the control panel; the CPLD controller also establishes communication connections with the CPU processor 10, the TPCM trusted module, and the Nor Flash memory respectively; the CPLD controller controls each stage of the entire trusted startup process, so that the Nor Flash memory, the TPCM trusted module and the CPU processor can securely obtain control rights in turn at different times; after the TPCM trusted module, the NorFlash memory and the CPU processor can securely obtain control rights in turn at different times, the signal and network connection between the CPU processor and the external device is realized.
[0028] The domestic information security processing system based on trusted technology provided by the embodiment of the present application is composed of a CPU processor, a TPCM trusted module, a CPLD controller, a Nor Flash memory storing a CRTM trusted root, and a slot. Among them, the trusted hardware module is connected to the board in the form of a miniPCIE plug-in card. The CPLD controller controls each stage of the entire trusted boot process, that is, Nor Flash, CPLD, TPCM and CPU respectively obtain control rights at different times, and the four are respectively used as core components of calculation at different times. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] The following is a brief introduction to the drawings required for use in the embodiments or related technical descriptions.
[0030] Figure 1 A flowchart of the hardware relationship architecture shown in the embodiment of the present application;
[0031] Figure 2 A schematic diagram of the system architecture principle shown in an embodiment of the present application;
[0032] Figure 3 A schematic diagram of a trusted access process of an I / O port shown in an embodiment of the present application;
[0033] Figure 4 A flow chart of a domestic information security processing method based on trusted technology shown in an embodiment of the present application. DETAILED DESCRIPTION
[0034] The exemplary embodiments will be described in detail below, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are only examples of devices and methods consistent with some aspects of the present application as detailed in the attached claims.
[0035] The terms used in this application are only for the purpose of describing specific embodiments, and are not intended to limit this application. The singular forms of "a", "said" and "the" used in this application and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used in this article refers to and includes any or all possible combinations of one or more associated listed items. It should also be understood that the word "if" used in this article, depending on the context, can be interpreted as "at the time of" or "when" or "in response to determining".
[0036] Embodiment 1
[0037] See also Figure 1 The above-mentioned domestic information security processing system based on trusted technology is divided into hardware layer, firmware layer, operating system layer and application layer; taking the TPCM trusted module as the trust root, a trust chain solution is built throughout the entire process of hardware layer, firmware layer, operating system layer and application layer, which can provide effective and complete trusted protection for domestic information security processing systems.
[0038] See also Figure 2 , Embodiment 1 of the present invention provides a domestic information security processing system based on trusted technology, the system comprising:
[0039] A control panel, the control panel comprising a CPU processor 10, a TPCM trusted module 20, a CPLD controller 30, a Nor Flash memory 40 storing a CRTM trusted root, and a slot integrated on the control panel;
[0040] The TPCM trusted module 20 is connected to the slot through a miniPCIE card and is connected to the CPU processor 10 on the control panel; the CPLD controller 20 also establishes communication connections with the CPU processor 10, the TPCM trusted module 20, and the Nor Flash memory 40 respectively; the CPLD controller 30 controls each stage of the entire trusted boot process, so that the TPCM trusted module 20, the Nor Flash memory 40, and the CPU processor 10 can securely obtain control rights in sequence at different times;
[0041] After all modules above the Nor Flash memory 40, the TPCM trusted module 20 and the CPU processor 10 have obtained control rights, the signal and network connection between the CPU processor 10 and the external device is realized.
[0042] Preferably, as an optional implementation, the system also includes: a storage unit 50, a power module 60 and a display module 70; the storage unit 50 and the display module 70 are electrically connected to the control panel; the power module 60 is used to supply power to all modules on the control panel.
[0043] Preferably, as an optional implementation manner, the system further comprises a display screen; and the display screen is electrically connected to the display module.
[0044] Preferably, as an optional implementation mode; the system also includes a switch, a network port and a serial port; the switch is used to control the connection between the control panel and the power module; the network port and the serial port are connected to the control panel via a communication cable.
[0045] Preferably, as an optional implementation mode, the system further includes an identity authentication port; the identity authentication port is electrically connected to the CPU processor 10.
[0046] Preferably, as an optional implementation mode, the system further includes a destroy button; the destroy button is electrically connected to the CPU processor 10.
[0047] The above-mentioned domestic information security processing system based on trusted technology is mainly composed of a CPU processor 10, a Nor Flash memory storing a CRTM trusted root, a CPLD controller, a storage unit and a TPCM trusted module; wherein the trusted hardware module is connected to the board in the form of a miniPCIE plug-in card. The CPLD controller controls each stage of the entire trusted boot process, that is, the Nor Flash memory, CPLD, TPCM and CPU processor obtain control rights at different times, and the four serve as core components of the operation at different times.
[0048] A first embodiment of the present invention provides a domestic information security processing system based on trusted technology, wherein the I / O ports mainly include a display screen 81, a network card (network port 82), a serial port 83, an authentication key 84, a destroy key 85, a power button 86, an LED light, etc.
[0049] Embodiment 2
[0050] See also Figure 4 , a processing method provided in the second embodiment of the present invention, the method implements processing operations based on a domestic information security processing system with trusted technology, including:
[0051] Step S1, after the system is powered on, the CPLD controller 30 first obtains control, disconnects the signal and network connection between the CPU processor 10 and the external device (i.e., peripheral), and prevents the CPU processor 10 from starting;
[0052] Step S2, the TPCM trusted module 20 receives the current security data, first starts the TPCM trusted module 20 and the Nor Flash memory 40, runs the CRTM trusted root, the CRTM trusted root reads the TPCM command library pre-stored in the memory and calls the SM3 algorithm engine in the TPCM trusted module 20, sends the command library to the TPCM trusted module 20, and the TPCM trusted module 20 measures the received current security data and expands the result to the PCR register;
[0053] Step S3, the CRTM trusted root reads the digest value in the PCR register and compares it with the standard digest value pre-stored in the chip. If the comparison results are the same, the subsequent step S4 is started, otherwise it stops;
[0054] Step S4, the CRTM root of trust then measures the Bootloader (it can be measured repeatedly in the above manner or in a conventional measurement method). If the Bootloader is trustworthy, the CPLD controller resets the CPU processor 10, runs the Bootloader, and the CPU processor acquires control.
[0055] Step S5, then the Bootloader calls the TPCM trusted module 20 in sequence to measure the kernel image and the root file system. If the above measurement results are all reliable, it means that the kernel code where the kernel image and the root file system are located has not been tampered with, then the kernel can be started and the signal and network connection communication between the CPU processor 10 and the external device can be realized.
[0056] From the analysis of the above technical solution, it can be seen that before running the application software, the measurement mechanism of the trusted software base calls the SM3 algorithm engine of the TPCM trusted module 20 to measure the target application, and expands the measurement result to the PCR register. The judgment mechanism of the trusted software base reads the measurement value in the PCR register and compares it with the standard summary value in the trusted benchmark library. According to the judgment result, it can be known whether the target application has been tampered with, so that the control mechanism determines whether the application software is running.
[0057] The trusted execution of the target application is based on the system being trusted to start and enter the trusted operating environment. The trusted measurement during the execution of the target application is completed by the trusted software base (TSB) in conjunction with the TPCM trusted module 20, mainly the trusted access mechanism of the IO port. The trusted authentication mechanism of IO is as follows.
[0058] Trusted access to I / O ports is mainly based on identity authentication and access control mechanisms. Only after passing the identity authentication mechanism can users use the I / O ports through the access control mechanism. The I / O ports of this platform mainly include network cards, display screens, LED lights, power buttons, identity authentication ports, serial ports, and destroy buttons. The trusted access process of I / O ports is as follows: Figure 3 .
[0059] (1) Identity authentication mechanism:
[0060] Traditional identity authentication is generally through the "user name + password" method. Once the password is lost, important information in the system will be stolen or tampered with by the attacker. This system uses a USB identity key in conjunction with the TPCM trusted module 20 for identity authentication. The USB identity key contains the user ID, user access rights and a private key for identity authentication. The identity authentication private key is stored in the memory of the TPCM trusted module 20. The specific identity authentication process is as follows: ① The USB identity key is inserted into this platform, and TSB calls the SM3 algorithm engine in the TPCM trusted module 20 to perform a trust measurement on the identity information stored in the USB. If the measurement value does not match the reference value, the access is stopped; ② After confirming that the identity information has not been tampered with, the random number generator of the TPCM trusted module 20 generates a string of random numbers; ③ The TPCM trusted module 20 encrypts the random number with the SM2 algorithm to generate a ciphertext C; ④ The TPCM trusted module 20 reads the identity authentication private key from the USB; ⑤ Decrypt the ciphertext C with the identity authentication private key. If the decryption is successful, the identity authentication is successful; ⑥ The target application reads the user access right information in the USB and stores it.
[0061] (2) Access control mechanism:
[0062] The access control mechanism mainly restricts illegal users and unauthorized users. There are generally three types of access control: identity-based access control (DAC), rule-based access control (MAC) and role-based access control. DAC is highly flexible but has poor control capabilities; MAC has strong control capabilities but low flexibility; considering all factors, this platform adopts role-based access control. The users of this platform are divided into illegal users, ordinary users and administrator users. Illegal users are prohibited from accessing I / O ports. Ordinary users are also called restricted users, who can only access a part of I / O ports. The user classification and access rights of this platform are shown in the table.
[0063] User Permission Table
[0064] I / O Type Illegal User Normal User Administrator User Display reject Read and Write Read and Write Switch button reject Read and Write Read and Write Identity authentication port Read-only Read-only Read and Write Destroy button reject reject Read and Write
[0065] (3) Specific implementation of trusted access to the destruction key
[0066] The destroy key is a high-security key in the I / O port of this platform, and resources cannot be destroyed at will. Therefore, an access control mechanism is required for management and control. The specific process is as follows:
[0067] ①The destroy key is pressed, and the destroy thread detects the destroy key press operation;
[0068] ②The hook function intercepts the execution of the program and confirms the user's identity;
[0069] ③ If you are an administrator user, this operation is allowed, otherwise access is prohibited.
[0070] In summary, the embodiments of the present invention provide a domestic information security processing system and processing method based on trusted technology, and trusted startup and trusted measurement of the CPLD controller under its control and guidance; at the same time, a trust chain solution that runs through the entire process of hardware layer, firmware layer, operating system layer and application layer, and secure access to target application IO operations based on trusted technology, ensure the secure processing of information and the safe use of the industrial control system.
[0071] Those skilled in the art will appreciate that one or more embodiments of the present application may be provided as a method, system or computer program product. Therefore, one or more embodiments of the present application may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, one or more embodiments of the present application may take the form of a computer program product implemented on one or more computer-usable storage media (which may include but are not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0072] "And / or" in this application means at least one of the two. The various embodiments in this application are described in a progressive manner, and the same and similar parts between the various embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the data processing device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0073] Although the application includes many specific implementation details, these should not be interpreted as limiting any disclosed scope or the scope of protection claimed, but are mainly used to describe the features of specific disclosed specific embodiments. Certain features described in multiple embodiments in the application can also be implemented in combination in a single embodiment. On the other hand, the various features described in a single embodiment can also be implemented separately in multiple embodiments or implemented with any suitable sub-combination. In addition, although the feature can work in some combinations as described and even initially claim protection, one or more features from the claimed combination can be removed from the combination in some cases, and the claimed combination can point to a variation of a sub-combination or a sub-combination.
[0074] Similarly, although operations are depicted in a particular order in the accompanying drawings, this should not be understood as requiring that these operations be performed in the particular order shown or performed sequentially, or requiring that all illustrated operations be performed to achieve the desired result. In some cases, multitasking and parallel processing may be advantageous. In addition, the separation of various system modules and components in the described embodiments should not be understood as requiring such separation in all embodiments, and it should be understood that the described program components and systems can generally be integrated together in a single software product, or packaged into multiple software products.
[0075] The above are only preferred embodiments of one or more embodiments of the present application and are not intended to limit one or more embodiments of the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of one or more embodiments of the present application should be included in the scope of protection of one or more embodiments of the present application.
Claims
1. A domestic information security processing system based on trusted technology, characterized in that: The system comprises: A control panel, the control panel comprising a CPU processor, a TPCM trusted module, a CPLD controller, a Nor Flash memory storing a CRTM trusted root, and a slot integrated on the control panel; The TPCM trusted module is connected to the slot through a miniPCIE card and connected to the CPU processor on the control panel; the CPLD controller also establishes communication connections with the CPU processor, the TPCM trusted module, and the Nor Flash memory respectively; the CPLD controller controls each stage of the entire trusted startup process, so that the TPCM trusted module, the Nor Flash memory, and the CPU processor can securely obtain control rights in sequence at different times; After all modules including the Nor Flash memory, TPCM trusted module and CPU processor have obtained control, the signal and network connection between the CPU processor and the external devices is realized.
2. According to claim 1, the domestic information security processing system based on trusted technology is characterized in that: The system further comprises: a storage unit, a power module and a display module; the storage unit and the display module are electrically connected to the control panel; the power module is used to supply power to all modules on the control panel.
3. The domestic information security processing system based on trusted technology according to claim 2 is characterized in that: The system also includes a display screen; the display screen is electrically connected to the display module.
4. The domestic information security processing system based on trusted technology according to claim 3 is characterized in that: The system also includes a switch, a network port and a serial port; the switch is used to control the connection between the control panel and the power module; the network port and the serial port are connected to the control panel via a communication cable.
5. The domestic information security processing system based on trusted technology according to claim 4 is characterized in that: The system also includes an identity authentication port; the identity authentication port is electrically connected to the CPU processor.
6. The domestic information security processing system based on trusted technology according to claim 5 is characterized in that: The system further comprises a destroy button; the destroy button is electrically connected to the CPU processor.
7. A processing method, characterized in that: The method implements security processing using the domestic information security processing system based on trusted technology as described in any one of claims 1 to 6, including: Step S1, after the system is powered on, the CPLD controller first obtains control, disconnects the signal and network connection between the CPU processor and the external device, and prevents the CPU processor from starting; Step S2, the TPCM trusted module receives the current security data, first starts the TPCM trusted module and the Nor Flash memory, runs the CRTM trusted root, the CRTM trusted root reads the TPCM command library pre-stored in the memory and calls the SM3 algorithm engine in the TPCM trusted module, sends the TPCM command library to the TPCM trusted module, and the TPCM trusted module measures the received current security data and expands the result to the PCR register; Step S3, the CRTM trusted root reads the digest value in the PCR register and compares it with the standard digest value pre-stored in the chip. If the comparison results are the same, the subsequent step S4 is started, otherwise it stops; Step S4, then the CRTM trusted root measures the Bootloader. If the Bootloader is credible, the CPLD controller resets the CPU and runs the Bootloader, and the CPU acquires control. Step S5, then the Bootloader calls the TPCM trusted module in turn to measure the kernel image and the root file system. If the above measurement results are all reliable, it means that the kernel code where the kernel image and the root file system are located has not been tampered with, then the kernel can be started and the signal and network connection communication between the CPU processor and the external device can be realized.
8. The processing method according to claim 7, characterized in that: It also includes I / O access security processing steps: The I / O access security processing steps include: Trusted access to I / O ports is mainly based on identity authentication and access control mechanisms. After the user obtains and passes the identity authentication mechanism, the I / O port is used through the access control mechanism. The identity authentication mechanism is: using a USB identity key in conjunction with a TPCM trusted module for identity authentication, the USB identity key contains a user ID, user access rights, and a private key for identity authentication, and the identity authentication private key is stored in the TPCM trusted module memory; The access control mechanism mainly restricts illegal users and unauthorized users. There are generally three types of access control, namely identity-based access control, rule-based access control and role-based access control.
