Equipment security assessment method and device, equipment and medium
By comparing the initial and current safety certification information of the device, and combining the comparison of the device status data with the safety database, the problem of poor accuracy of equipment safety assessment in the existing technology is solved, and a more comprehensive and reliable safety assessment result is achieved. .
Patent Information
- Application Number
- CN202310350012.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-03
- Publication Date
- 2024-10-15
AI Technical Summary
Existing equipment security assessment methods have the possibility of security certification data being tampered with, resulting in poor accuracy of assessment results, and fail to comprehensively combine the static and dynamic security characteristics of the equipment for assessment.
By obtaining the pre-stored initial equipment security certification information and comparing it with the current equipment security certification information, and comparing the equipment status data with the security database, the static and dynamic assessment results of the equipment are comprehensively determined to determine the security status of the equipment.
It improves the accuracy and comprehensiveness of equipment safety assessment, avoids tampering of initial equipment safety certification information, and ensures the reliability of assessment results.
Smart Images

Figure CN118779924A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of information security management, and in particular to a device security assessment method, a device security assessment apparatus, an electronic device, and a computer-readable storage medium. Background Art
[0002] With the improvement of science and technology, various devices are used in people's work and life, such as mobile devices, household appliances, medical equipment, automotive electronic equipment, etc. However, there are often certain safety hazards in the use of equipment. Therefore, it is necessary to conduct security assessments on the equipment, timely grasp the risks and hidden dangers on the equipment, and then take measures to avoid potential data leakage, property loss and other risks to ensure user safety and privacy.
[0003] In some related technologies, some security authentication data may be tampered with, resulting in poor accuracy of device security assessment results.
[0004] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention
[0005] The purpose of the embodiments of the present disclosure is to provide a device security assessment method, a device security assessment apparatus, an electronic device, and a computer-readable storage medium, thereby improving the accuracy of device security assessment at least to a certain extent.
[0006] According to a first aspect of the present disclosure, there is provided a device security assessment method, comprising:
[0007] Obtain pre-stored initial device security authentication information;
[0008] Read the current device security authentication information, and compare the current device security authentication information with the initial device security authentication information to obtain a static evaluation result;
[0009] Capturing device status data, and comparing the device status data with a pre-recorded security database to obtain a dynamic assessment result;
[0010] The device safety status is determined based on the static evaluation result and the dynamic evaluation result.
[0011] According to a second aspect of the present disclosure, there is provided a device for evaluating equipment safety, comprising:
[0012] An information acquisition module, used to acquire pre-stored initial device security authentication information;
[0013] A static evaluation module is used to read the current device security authentication information and compare the current device security authentication information with the initial device security authentication information to obtain a static evaluation result;
[0014] A dynamic evaluation module is used to capture device status data and compare the device status data with a pre-recorded security database to obtain a dynamic evaluation result;
[0015] A security status module is used to determine the device security status based on the static evaluation result and the dynamic evaluation result.
[0016] According to a third aspect of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute any one of the above-mentioned methods by executing the executable instructions.
[0017] According to a fourth aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, any one of the methods described above is implemented.
[0018] Exemplary embodiments of the present disclosure may have some or all of the following beneficial effects:
[0019] In the device security assessment method provided by the exemplary embodiment of the present disclosure, the static assessment result is obtained by reading the current device security authentication information and comparing the current device security authentication information with the initial device security authentication information, and the dynamic assessment result is obtained by capturing the device status data and comparing the device status data with the pre-recorded security database. Finally, the device security status is determined based on the static assessment result and the dynamic assessment result. On the one hand, the device security status is comprehensively assessed based on the current device security authentication information and the device status data. The security assessment can be performed from both the static bottom layer and the dynamic application layer of the device. The combination of static and dynamic makes the considerations of the security assessment results more comprehensive and improves the accuracy. On the other hand, the initial device security authentication information is pre-stored, which can prevent the initial device security authentication information from being tampered with, further improving the accuracy of the device security assessment.
[0020] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the accompanying drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without creative work.
[0022] Figure 1 The following schematically shows a schematic diagram of a system architecture of an application scenario provided by an embodiment of the present disclosure;
[0023] Figure 2 The flowchart of the device security assessment method provided according to the embodiment of the present disclosure is schematically shown;
[0024] Figure 3 A flowchart for obtaining a dynamic evaluation result provided according to an embodiment of the present disclosure is schematically shown;
[0025] Figure 4 The flowchart of the device security assessment method provided according to the embodiment of the present disclosure is schematically shown;
[0026] Figure 5 A block diagram of a device safety assessment apparatus provided according to an embodiment of the present disclosure is schematically shown;
[0027] Figure 6 The structure diagram of the computer system of the electronic device provided according to the embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION
[0028] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as being limited to the examples set forth herein; on the contrary, these embodiments are provided so that the present disclosure will be more comprehensive and complete, and the concepts of the example embodiments are fully conveyed to those skilled in the art. The described features, structures, or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced while omitting one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known technical solutions are not shown or described in detail to avoid obscuring various aspects of the present disclosure.
[0029] In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.
[0030] Figure 1 A schematic diagram of a system architecture according to an application scenario provided by an embodiment of the present disclosure is schematically shown.
[0031] like Figure 1 As shown, the system architecture 100 may include devices, networks, and servers. The network may be used to provide a transmission medium for a communication link between the device and the server, and the network may include various connection types, such as wired or wireless communication links or optical fiber cables. It may be various electronic devices, including but not limited to desktop computers, portable computers, smart phones, and tablet computers, and may also be various household devices, medical devices, and automotive electronic devices. It should be understood that Figure 1 The number of devices, networks, and servers in the embodiment is only for illustration purposes, and any number of devices, networks, and servers may be provided as required. For example, a server may be a server cluster composed of multiple servers.
[0032] For example, in an exemplary embodiment, the initial device security authentication information may be stored in the device, the security database may be recorded in the server, and the device security assessment of the current device may be that a device security assessment module is stored in the current device, and when the current device needs to be security assessed, the device security assessment module obtains the pre-stored initial device security authentication information, and then reads the current device security authentication information, and compares the current device security authentication information with the initial device security authentication information to obtain a static assessment result; then the device status data is captured, and the device status data is sent to the server via the network, and the server compares the device status data with the pre-recorded security database to obtain a dynamic assessment result, and sends the dynamic assessment result to the current device via the network; finally, the device security assessment module in the current device determines the device security status based on the static assessment result and the dynamic assessment result. However, it is easy for those skilled in the art to understand that the above application scenario is only used for example, and this exemplary embodiment is not limited to this.
[0033] It is understandable that conducting security assessment on equipment is one of the important functions of the equipment. By actively evaluating or passively receiving the security status information of the equipment, users can grasp the risks and hidden dangers on the equipment at the first time, so as to take timely measures to avoid potential risks such as personal safety, data leakage and property loss.
[0034] For the scenario of device security assessment, some related technologies only perform device security assessment based on the device security capability certification level. However, the device security capability certification level only represents the security status of the device when it leaves the factory, and cannot fully represent the security status of the device during subsequent operation. For example, when the current device is mistakenly installed with malicious software or a security vulnerability occurs in the installed software, the actual device security capability certification level corresponding to the current device has been reduced, but the pre-stored device security capability certification level remains unchanged, which interferes with the results of the security assessment. In addition, the device security capability certification level is usually stored in the system trusted execution environment of the device. If the system is attacked or the configuration file storing the device security capability certification level is tampered with, the obtained device security capability certification level may be tampered with, affecting the security assessment results of the device. In addition, the device security capability certification level is stored on the device with the installation of the system trusted execution environment. In fact, it establishes a binding relationship with the device system rather than with the device. If the device is installed with the wrong system or the system upgrade is abnormal, the device security capability certification level stored in the system trusted execution environment may not match the actual device security capability certification level of the device, resulting in inaccurate results of the device security status assessment.
[0035] There are also some related technologies that only evaluate device security based on the information during the current device operation. They generally focus on the characteristic data of the application layer, and obtain the device status data through the embedded points reserved in the system to perform device security assessment. However, they fail to conduct a comprehensive assessment based on the underlying security features of the device, resulting in low accuracy of the security assessment. Even if the security status of the upper-level application of the device is the same, the difference in the underlying security capabilities of the device will affect the upper-level business security functions and the overall security status of the device.
[0036] Based on one or more problems existing in the related art, this exemplary embodiment first provides a device security assessment method. The device security assessment method can be applied to the above-mentioned server, or to the above-mentioned device; it can also be applied to the above-mentioned device and the above-mentioned server at the same time; this is not specifically limited in this exemplary embodiment. Figure 2 As shown, the device safety assessment method may include the following steps:
[0037] Step S210, obtaining pre-stored initial device security authentication information;
[0038] Step S220, reading the current device security authentication information, and comparing the current device security authentication information with the initial device security authentication information to obtain a static evaluation result;
[0039] Step S230, capturing device status data, and comparing the device status data with a pre-recorded security database to obtain a dynamic evaluation result;
[0040] Step S240: determining the device safety status based on the static evaluation result and the dynamic evaluation result.
[0041] In the device security assessment method provided by this exemplary embodiment, on the one hand, the device security status is comprehensively assessed based on the current device security authentication information and device status data, and the security assessment can be performed from both the static bottom layer and the dynamic application layer of the device. The combination of static and dynamic makes the considerations of the security assessment results more comprehensive and improves the accuracy. On the other hand, the initial device security authentication information is pre-stored, which can prevent the initial device security authentication information from being tampered with, further improving the accuracy of the device security assessment.
[0042] In the following, in an exemplary embodiment, the above steps are described in detail.
[0043] In step S210, pre-stored initial device security authentication information is obtained.
[0044] Among them, the initial device security authentication information refers to the device security authentication information of the device that is first obtained by the security assessment system on the device. The device security authentication information can be information used to verify the security of the device. For example, the device security authentication information can be the device security capability authentication level; the device security authentication information can also be the version and patch information of the operating system used by the device; the device security authentication information can also be the security configuration policy information of the device, such as password policy, encryption policy, etc.; of course, the device security authentication information can also be other information such as device hardware information, which is not specifically limited in this exemplary embodiment. In addition, the device security authentication information is the basis of device security authentication and can be used to verify the legality, security and credibility of the device.
[0045] In an exemplary embodiment, before obtaining the pre-stored initial device security authentication information, it also includes: determining whether the initial device security authentication information is pre-stored; if not, obtaining and storing the initial device security authentication information, and establishing a binding relationship between the initial device security authentication information and the device. This can avoid the situation where the initial device security authentication information cannot be obtained. In addition, by establishing a binding relationship between the initial device security authentication information and the device, it is possible to detect abnormal device security authentication information caused by incorrect system image installation or abnormal upgrade, thereby improving the accuracy of device security assessment.
[0046] Exemplarily, obtaining and storing initial device security authentication information, and establishing a binding relationship between the initial device security authentication information and the device can be that the security assessment module on the device sends the pre-acquired initial device security authentication information and the device identifier (Device ID, DID) generated by the security assessment module to the detection server, and the detection server records the initial device security authentication information and the device identifier sent by the security assessment module, and at the same time, feeds back the result to the security assessment module, indicating that the initial device security authentication information has been successfully recorded, and a binding relationship has been established between the initial device security authentication information and the device identifier.
[0047] Continue to refer Figure 2 As shown, in step S220, the current device security authentication information is read, and the current device security authentication information is compared with the initial device security authentication information to obtain a static evaluation result.
[0048] Among them, the static evaluation result can represent the security status of static information such as the hardware and configuration of the device. Exemplarily, the static evaluation result can be a score, such as the better the static security status of the device, the higher the score; the static evaluation result can also be normal or abnormal. The present exemplary embodiment does not make any special limitation on the type of static evaluation result.
[0049] Specifically, after reading the current device security authentication information, the current device security authentication information is compared with the initial device security authentication information. This may be to compare the operating system information of the current device, such as the operating system version, patch and other operating system information, with the initial device operating system information; or to compare the security patch information of the current device, such as the version of the security patch installed on the device, update time and other security patch information, with the initial device security patch information; or to compare the device access control information of the current device, such as the network where the device is located, access rights and other device access control information, with the initial device access control information. Of course, other types of initial device security authentication information may also be compared, and this exemplary embodiment is not specifically limited here.
[0050] In an exemplary embodiment, the initial device security authentication information includes the initial device security authentication level, and the current device security authentication information is compared with the initial device security authentication information to obtain a static evaluation result, including: comparing the current device security authentication level with the initial device security authentication level; if the comparison result is that the current device security authentication level and the initial device security authentication level are the same, then the result is normal, and the normal result is the static evaluation result; or, if the comparison result is that the current device security authentication level and the initial device security authentication level are different, then based on the pre-acquired detection items, the abnormal detection items are fed back and the static evaluation result is generated. In this way, an accurate static evaluation result can be obtained based on the device security authentication level.
[0051] Among them, the device security certification level can represent the level division of evaluation and certification of the security and credibility of the device. Exemplarily, the device security certification level can be the security capability certification level obtained by the mobile terminal being tested and passing the security certification project, such as the five-level security capability certification provided by the Ministry of Industry and Information Technology and China Telecommunication Technology Laboratory for mobile phones; the device security certification level can also be the CC (Common Criteria) certification level, which divides device security into 7 levels, from EAL1 to EAL7; the device security certification level can also be the FIPS (Federal Information Processing Standards) certification level, which divides device security into 4 levels, from FIPS 140-1 to FIPS 140-4; of course, the device security certification level can also be other types of security certification levels such as TCSEC (Trusted Computer System Evaluation Criteria) certification level and ISO (International Organization for Standardization) certification level, which are not specifically limited in this exemplary embodiment.
[0052] Specifically, if the comparison result is that the current device security certification level and the initial device security certification level are the same, it means that the underlying security performance of the device is normal. For example, the static evaluation result may be "normal"; the static evaluation result may also be a static evaluation score of the device obtained according to a preset scoring mechanism, such as a maximum score of 100.
[0053] Furthermore, if the comparison result is that the current device security certification level is different from the initial device security certification level, the detection is performed based on the pre-acquired detection items. Among them, the detection item can represent the detection content that can reflect the underlying security performance of the device. It can be a detection item formulated according to the device situation, or it can be an existing detection item disclosed by the detection agency. Exemplarily, the detection item can include whether a specific hardware module such as a security element, a security chip, a hardware encryption engine, etc. exists; the detection item can also include whether a specific security function of the device hardware or system is enabled; the detection item can also include, if a specific system function of the device has different modes, whether the current system is turned on in a high security mode; of course, the detection item can also include other detection items such as detecting whether the external interface of the device has been damaged or tampered with, checking whether the device has unauthorized or abnormal network connections, and checking whether the security audit log of the device has been tampered with or deleted. This exemplary embodiment is not specifically limited here.
[0054] In addition, after obtaining the abnormal detection items, a static evaluation result can be generated based on the abnormal detection items. In this case, the static evaluation result can be "abnormal"; the static evaluation result can also be a static evaluation score based on the abnormal detection items. If the highest score of the static evaluation score is 100 points and the number of detection items is 10, then if there is an abnormal detection item, 10 points will be deducted from the highest score. For example, if the test result shows that there are 3 abnormal detection items, the static evaluation score is 70 points.
[0055] Exemplarily, the current device security authentication information is compared with the initial device security authentication information to obtain a static evaluation result. This may be that the security evaluation module on the device obtains the current device security authentication level in real time or periodically according to a preset strategy, and sends the current device security authentication level and device identification to the detection server. The detection server searches for the pre-stored initial device security authentication level according to the device identification, and compares the current device security authentication level with the initial device security authentication level. If the current device security authentication level is the same as the initial device security authentication level, the detection server may send the normal result of the current device security authentication level to the security evaluation module; if the current device security authentication level is different from the initial device security authentication level, the detection server may send the abnormal result of the current device security authentication level, the initial device security authentication level, and other auxiliary judgment information to the security evaluation module. Then, after receiving the abnormal result of the current device security authentication level, the initial device security authentication level, and other auxiliary judgment information, the security evaluation module detects the device based on the pre-acquired detection items to obtain a static evaluation result.
[0056] Among them, other auxiliary judgment information can be relevant information related to the device security certification level and can be used by the security assessment module to perform device security detection, such as detection features obtained by analyzing the security event monitoring situation. Exemplarily, one of the detection contents in the device security certification level is "protecting data storage security with secure hardware". A certain device uses a certain security chip to pass the detection content, but the detection server detects that the security chip has a security vulnerability event, and the current device security certification level is different from the initial device security certification level. Then the detection server obtains other auxiliary judgment information based on the analysis of the security vulnerability event, such as focusing on checking the call of the target function to check whether there is an attack based on chip vulnerabilities on the device, and then sends other auxiliary judgment information to the security assessment module. The security assessment module detects the call of the target function of the device based on other auxiliary judgment situations.
[0057] Continue to refer Figure 2 As shown, in step S230, the device status data is captured, and the device status data is compared with a pre-recorded security database to obtain a dynamic evaluation result.
[0058] Among them, the device status data can represent the current status information and parameter data of the device, and these status data can reflect the security and operation status of the device. Exemplarily, the device status data can be the hash value of the Android application package (APK) or code file, the function call sequence, the access URL, the root unlocking status, the developer debugging mode on status, etc.; the device status data can also be the software status data of the device, such as the service and port status of the device, the software log and event record of the device, etc.; the device status data can also be the performance status data of the device, such as the response time and delay of the device, the utilization rate and load of the central processor of the device, etc. Of course, the device status data can also be other types of device status data such as the hardware status data of the device, and this exemplary embodiment is not specifically limited here.
[0059] In addition, the security database may represent a database storing information representing device security. For example, the security database may include hash values of malicious APK or malicious code files, malicious function call sequences, malicious URLs, etc. The security database may also include abnormal software status data of the device, such as abnormal service and port status of the device, abnormal software logs and event records of the device, etc. The security database may also include abnormal performance status data of the device, such as abnormal response time and delay of the device, abnormal CPU utilization and load of the device, etc. Of course, the security database may also include other data such as abnormal hardware status data of the device, which is not specifically limited in this exemplary embodiment. In addition, the dynamic evaluation results may reflect the security information of the device application layer.
[0060] In an exemplary embodiment, the security database includes a local malicious feature database and a cloud malicious feature database. Figure 3 , the device status data can be compared with the pre-recorded security database through steps S310 to S330 to obtain a dynamic evaluation result. In this way, a dynamic evaluation result can be obtained based on the local malicious feature database and the cloud malicious feature database. Among them:
[0061] In step S310, the device state data is compared with the malicious feature data in the pre-acquired local malicious feature database to obtain a local evaluation result, wherein the local malicious feature database may be a malicious feature database stored in the device.
[0062] Specifically, the device status data is compared with the malicious feature data in the pre-acquired local malicious feature database. If it is found that the device status data contains data that is identical to the malicious feature data in the local malicious feature database, the local evaluation result may be a local evaluation exception. The local evaluation result may also be a local evaluation score. Exemplarily, the highest local evaluation score is 100. If the device status data contains one data that is identical to the malicious feature data in the local malicious feature database, the local evaluation score is deducted by 10 points from the highest score. For example, if the device status data of the current device contains 3 data that are identical to the malicious feature data in the local malicious feature database, the local evaluation score is 70.
[0063] In step S320, the device status data is compared with the malicious feature data in the pre-acquired cloud malicious feature database to obtain a cloud evaluation result. The cloud malicious feature database may be a malicious feature database stored in a cloud server, and the amount of malicious feature data in the cloud malicious feature database may be much larger than that in the local malicious feature database.
[0064] Specifically, the device status data is compared with the malicious feature data in the pre-acquired cloud malicious feature database. If it is found that the device status data contains data that is identical to the malicious feature data in the cloud malicious feature database, the cloud evaluation result may be a cloud evaluation exception. The cloud evaluation result may also be a cloud evaluation score. Exemplarily, the highest cloud evaluation score is 100. If the device status data contains one data that is identical to the malicious feature data in the cloud malicious feature database, 8 points are deducted from the highest cloud evaluation score. For example, if the device status data of the current device contains one data that is identical to the malicious feature data in the cloud malicious feature database, the cloud evaluation score is 92.
[0065] In step S330, the dynamic evaluation result is determined based on the local evaluation result and / or the cloud evaluation result. Specifically, the dynamic evaluation result can be determined based on the local evaluation result and the cloud evaluation result, or it can be determined based on any one of the local evaluation result and the cloud evaluation result. In addition, in the case where the local malicious feature database is unreliable or tampered with or abnormally cleared, the device status data can be directly compared with the malicious feature data in the pre-acquired cloud malicious feature database, ignoring the process of comparing with the malicious feature data in the local malicious feature database.
[0066] Furthermore, the dynamic evaluation result is determined based on the local evaluation result and the cloud evaluation result. If there is any abnormal result in the local evaluation result and the cloud evaluation result, the dynamic evaluation result is abnormal dynamic evaluation; if there is no abnormal result in the local evaluation result and the cloud evaluation result, the dynamic evaluation result is normal dynamic evaluation. In addition, the dynamic evaluation result can also be a dynamic evaluation score, which can be obtained based on the local evaluation score, the cloud evaluation score and the preset weight relationship. For example, the local evaluation score is 80, and the corresponding weight coefficient is 0.6; the cloud evaluation score is 86, and the corresponding weight coefficient is 0.4, then the dynamic evaluation score is 82.4.
[0067] Exemplarily, the device status data is compared with a pre-recorded security database to obtain a dynamic assessment result. This may be that the security assessment module on the device requests the device status data from the system framework layer, the system framework layer collects the device status data and sends the device status data to the security assessment module; then, the security assessment module performs malicious detection on the device status data based on the local malicious feature database to obtain a local assessment result; then, in a scenario where the cloud malicious feature database needs to be involved, the security assessment module sends the device status data to the detection server, the detection server performs malicious detection on the device status data based on the cloud malicious feature database to obtain a cloud assessment result, and sends the cloud assessment result to the security assessment module; finally, the security assessment module determines the dynamic assessment result based on the local assessment result and the cloud assessment result.
[0068] Continue to refer Figure 2 As shown, in step S240, the device safety status is determined based on the static evaluation result and the dynamic evaluation result. The device safety status can reflect the safety performance of the current device.
[0069] In an exemplary embodiment, determining the device security status based on the static evaluation results and the dynamic evaluation results includes: determining a security score based on the static evaluation results and the dynamic evaluation results; and determining the device security status based on the security score. In this way, the device security status can be intuitively reflected through the security score.
[0070] In an exemplary embodiment, determining a security score based on a static evaluation result and a dynamic evaluation result includes: generating a static evaluation score based on the static evaluation result; generating a dynamic evaluation score based on the dynamic evaluation result; and calculating a security score based on the static evaluation score and the dynamic evaluation score based on a preset weight relationship. In this way, a security score can be jointly generated based on the static evaluation result and the dynamic evaluation result, thereby improving the accuracy of the security score. For example, if the static evaluation score is 80, the corresponding weight coefficient is 0.6, and the dynamic evaluation score is 76, the corresponding weight coefficient is 0.4, then the corresponding security score is 78.4.
[0071] In an exemplary embodiment, determining the safety status of the device according to the safety score includes: when the safety score is greater than or equal to the safety score threshold, determining that the safety status of the device is a normal state; when the safety score is less than the safety score threshold, determining that the safety status of the device is an abnormal state. The safety score threshold is a preset value. For example, the safety score threshold may be 80. When the safety score is greater than or equal to 80, the safety status of the device is determined to be a normal state; when the safety score is less than 80, the safety status of the device is determined to be an abnormal state. When the safety status of the device is an abnormal state, the device generates a warning message.
[0072] In addition, the security level corresponding to the current device can also be determined based on the preset device security level rules and security scores. For example, the device security level rules can be that the security level corresponding to a security score below 60 is level 1, the security level corresponding to a security score of 60-69 is level 2, the security level corresponding to a security score of 70-79 is level 3, the security level corresponding to a security score of 80-89 is level 4, and the security level corresponding to a security score of 90-100 is level 5. If the security score of the device is 78.4 points, the security level corresponding to the device is level 3.
[0073] In an exemplary embodiment, referring to Figure 4 As shown in the figure, the device security assessment method is described in more detail in combination with specific application scenarios.
[0074] First, the detection server pre-stores the initial device security authentication information and the device identification, and the device establishes a binding relationship through the device identification and the initial device security authentication information. During the operation of the device or when a security assessment is required, the security assessment module obtains the current device security authentication information in real time or periodically according to a specific strategy, and sends the current device security authentication information and the device identification to the detection server; the detection server searches for the initial device security authentication information corresponding to the device according to the device identification, and compares the current device security authentication information with the initial device security authentication information to generate a comparison result, and returns the comparison result to the security assessment module. If the comparison result is a normal result, a normal static assessment result is generated. If the comparison result is an abnormal result, detection is performed based on the pre-acquired detection items, and a static assessment result is generated based on the detection result.
[0075] Then, the security assessment module requests the device status data from the system framework layer, the system framework layer acquires the device status data and sends it to the security assessment module, the security assessment module compares the device status data with the malicious feature data in the pre-acquired local malicious feature database, and generates a local assessment result; in a scenario where cloud participation is required, the security assessment module sends the device status data to the detection server, the detection server compares the device status data with the malicious feature data in the pre-acquired cloud malicious feature database, generates a cloud assessment result, and returns the cloud assessment result to the security assessment module;
[0076] Finally, the security assessment module generates dynamic assessment results based on local assessment results and cloud assessment results, and determines the device security status by combining static assessment results and dynamic assessment results.
[0077] In the method described in the above exemplary embodiment, the device security is evaluated by using the static evaluation results and the dynamic evaluation results in combination, which improves the comprehensiveness of the device security evaluation; in addition, the device can be detected based on the pre-acquired detection items, which improves the accuracy of the static evaluation results and the device bottom layer security evaluation results; moreover, the initial device security authentication information establishes a binding relationship with the device through the device identifier, which can detect the initial device security authentication information errors or tampering caused by abnormal upgrades of the system image or damage by attacks, thereby improving the security of the device; in addition, it can support the compatible use of different types of device security authentication information, thereby improving the flexibility of the scheme. In the device security evaluation method provided by the above exemplary embodiment, on the one hand, the device security status is comprehensively evaluated based on the current device security authentication information and device status data, and the security evaluation can be performed from the static bottom layer of the device and the dynamic application layer. The combination of static and dynamic makes the consideration of the security evaluation results more comprehensive and improves the accuracy; on the other hand, the initial device security authentication information is pre-stored, which can prevent the initial device security authentication information from being tampered with; further improves the accuracy of the device security evaluation.
[0078] It should be noted that although the steps of the method in the present disclosure are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps, etc.
[0079] Furthermore, in an exemplary embodiment, a device safety assessment apparatus is also provided. Figure 5 As shown, the device safety assessment apparatus 500 may include an information acquisition module 510, a static assessment module 520, a dynamic assessment module 530 and a safety status module 540. Among them:
[0080] The information acquisition module 510 may be used to acquire pre-stored initial device security authentication information;
[0081] The static evaluation module 520 may be used to read the current device security authentication information and compare the current device security authentication information with the initial device security authentication information to obtain a static evaluation result;
[0082] The dynamic assessment module 530 may be used to capture device status data and compare the device status data with a pre-recorded security database to obtain a dynamic assessment result;
[0083] The security status module 540 may be used to determine the device security status based on the static evaluation results and the dynamic evaluation results.
[0084] In an exemplary embodiment, the information acquisition module 510 can also be used to determine whether initial device security authentication information is pre-stored; if not, the initial device security authentication information is acquired and stored, and a binding relationship is established between the initial device security authentication information and the device.
[0085] In an exemplary embodiment, the initial device security authentication information includes the initial device security authentication level, and the static assessment module 520 can compare the current device security authentication information with the initial device security authentication information through the following steps to obtain a static assessment result: compare the current device security authentication level with the initial device security authentication level; if the comparison result is that the current device security authentication level and the initial device security authentication level are the same, then the result is normal, and the normal result is the static assessment result; or, if the comparison result is that the current device security authentication level and the initial device security authentication level are different, then based on the pre-acquired detection items, detection is performed, abnormal detection items are fed back and a static assessment result is generated.
[0086] In an exemplary embodiment, the security database includes a local malicious feature database and a cloud malicious feature database, and the dynamic assessment module 530 can compare the device status data with the pre-recorded security database to obtain a dynamic assessment result through the following steps: compare the device status data with the malicious feature data in the pre-acquired local malicious feature database to obtain a local assessment result; compare the device status data with the malicious feature data in the pre-acquired cloud malicious feature database to obtain a cloud assessment result; determine the dynamic assessment result based on the local assessment result and / or the cloud assessment result.
[0087] In an exemplary embodiment, the security status module 540 may determine the device security status based on the static evaluation results and the dynamic evaluation results by the following steps: determining a security score according to the static evaluation results and the dynamic evaluation results; and determining the device security status according to the security score.
[0088] In an exemplary embodiment, a security score is determined based on static evaluation results and dynamic evaluation results, including: generating a static evaluation score based on the static evaluation results; generating a dynamic evaluation score based on the dynamic evaluation results; and calculating a security score based on the static evaluation score and the dynamic evaluation score based on a preset weight relationship.
[0089] In an exemplary embodiment, determining the safety status of the device according to the safety score includes: when the safety score is greater than or equal to the safety score threshold, determining that the safety status of the device is a normal state; when the safety score is less than the safety score threshold, determining that the safety status of the device is an abnormal state.
[0090] The specific details of each module in the above-mentioned equipment safety assessment device have been described in detail in the corresponding equipment safety assessment method, so they will not be repeated here.
[0091] As another aspect, the present disclosure further provides an electronic device, Figure 6 The structure diagram of the computer system of the electronic device provided according to the embodiment of the present disclosure is schematically shown.
[0092] It should be noted that Figure 6 The computer system 600 of the electronic device shown is only an example and should not bring any limitation to the functions and application scope of the embodiments of the present disclosure.
[0093] like Figure 6 As shown, computer system 600 includes a central processing unit (CPU) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage part 608 into a random access memory (RAM) 603. Various programs and data required for system operation are also stored in RAM 603. CPU 601, ROM 602 and RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to bus 604.
[0094] The following components are connected to the I / O interface 605: an input section 606 including a keyboard, a mouse, etc.; an output section 607 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 608 including a hard disk, etc.; and a communication section 609 including a network interface card such as a LAN card, a modem, etc. The communication section 609 performs communication processing via a network such as the Internet. A drive 611 is also connected to the I / O interface 605 as needed. A removable medium 611, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 610 as needed, so that a computer program read therefrom is installed into the storage section 608 as needed.
[0095] In particular, according to an embodiment of the present disclosure, the process described below with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication part 601, and / or installed from a removable medium 611. When the computer program is executed by a central processing unit (CPU) 601, various functions defined in the method and apparatus of the present disclosure are executed. In some embodiments, the computer system 600 may also include a data processor for processing computing operations related to data.
[0096] As another aspect, the present disclosure further provides a computer-readable medium, which may be included in the electronic device described in the above embodiment; or may exist independently without being assembled into the electronic device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by an electronic device, the electronic device implements the method described in the above embodiment.
[0097] It should be noted that the computer-readable medium shown in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0098] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
Claims
1. A device safety assessment method, It is characterized in that include: Obtain pre-stored initial device security authentication information; Read the current device security authentication information, and compare the current device security authentication information with the initial device security authentication information to obtain a static evaluation result; Capturing device status data, and comparing the device status data with a pre-recorded security database to obtain a dynamic assessment result; The device safety status is determined based on the static evaluation result and the dynamic evaluation result.
2. The method according to claim 1, It is characterized in that The initial device security authentication information includes an initial device security authentication level, and the current device security authentication information is compared with the initial device security authentication information to obtain a static evaluation result, including: Comparing the current device safety certification level with the initial device safety certification level; If the comparison result is that the current device safety certification level is the same as the initial device safety certification level, then the result is normal, and the normal result is a static assessment result; or If the comparison result is that the current device security authentication level is different from the initial device security authentication level, detection is performed based on the pre-acquired detection items, abnormal detection items are fed back and static evaluation results are generated.
3. The method according to claim 1, It is characterized in that Before obtaining the pre-stored initial device security authentication information, the method further includes: Determining whether the initial device security authentication information is pre-stored; If not stored, the initial device security authentication information is acquired and stored, and a binding relationship is established between the initial device security authentication information and the device.
4. The method according to claim 1, It is characterized in that The security database includes a local malicious feature database and a cloud malicious feature database, and the device status data is compared with the pre-recorded security database to obtain a dynamic evaluation result, including: Comparing the device status data with malicious feature data in a pre-acquired local malicious feature database to obtain a local evaluation result; Comparing the device status data with the malicious feature data in the pre-acquired cloud malicious feature database to obtain a cloud evaluation result; The dynamic evaluation result is determined according to the local evaluation result and / or the cloud evaluation result.
5. The method according to claim 1, It is characterized in that The determining of the device security status based on the static evaluation result and the dynamic evaluation result includes: Determine a safety score according to the static evaluation result and the dynamic evaluation result; The device safety status is determined according to the safety score.
6. The method according to claim 5, It is characterized in that The determining of the safety score according to the static evaluation result and the dynamic evaluation result includes: Generating a static evaluation score according to the static evaluation result; Generate a dynamic evaluation score according to the dynamic evaluation result; Based on a preset weight relationship, the safety score is calculated according to the static evaluation score and the dynamic evaluation score.
7. The method according to claim 5, It is characterized in that Determining the device safety status according to the safety score includes: When the safety score is greater than or equal to the safety score threshold, determining that the safety state of the device is a normal state; When the safety score is less than the safety score threshold, it is determined that the device safety state is an abnormal state.
8. An equipment safety assessment device, It is characterized in that include: An information acquisition module, used to acquire pre-stored initial device security authentication information; A static evaluation module, used for reading the current device security authentication information, and comparing the current device security authentication information with the initial device security authentication information to obtain a static evaluation result; A dynamic evaluation module is used to capture device status data and compare the device status data with a pre-recorded security database to obtain a dynamic evaluation result; A security status module is used to determine the device security status based on the static evaluation result and the dynamic evaluation result.
9. An electronic device, It is characterized in that include: processor; as well as A memory, configured to store executable instructions of the processor; The processor is configured to perform the method of any one of claims 1 to 7 by executing the executable instructions.
10. A computer readable medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, each step of the method according to any one of claims 1 to 7 is implemented.
Citation Information
Cited By
A method and system for Internet of Things information security based on Bayesian clustering
CN119743294A
