A risk assessment method and device

By calculating the system risk value and trust value in the electronic equipment security assessment, combined with the independent risk value, the problems of low assessment accuracy and low efficiency in the existing technology are solved, and more efficient and accurate risk assessment and automatic updates are achieved. .

CN113407950BActive Publication Date: 2024-08-30NSFOCUS INFORMATION TECHNOLOGY CO LTD +1
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202110732433.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-06-30
Publication Date
2024-08-30
Estimated Expiration
2041-06-30

AI Technical Summary

Technical Problem

When evaluating the security of electronic devices, the existing technology only considers the vulnerabilities and weak passwords of the device itself, and fails to fully consider the impact of the external environment on the device, resulting in low assessment accuracy and the need to manually issue scanning instructions to update independent risk values. Inefficient.

Method used

By obtaining the independent risk value and trust value of each electronic device in the system, the weighted average is used to calculate the risk value of the system, and combined with the independent risk value of the device to be evaluated, its risk assessment value is determined, and the risk value is automatically updated to reduce manual intervention.

Benefits of technology

It improves the accuracy and efficiency of electronic equipment safety assessment, fully considers the impact of the external environment on the equipment, realizes independent updating of risk values, and saves manual resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113407950B
    Figure CN113407950B
Patent Text Reader

Abstract

The present application provides a risk assessment method and device for improving the accuracy of safety assessment of electronic devices. The method comprises: obtaining the independent risk value of each electronic device in the system where the electronic device to be assessed is located; obtaining the risk value of the system according to the weighted average of the independent risk value of each electronic device in the system; and determining the risk value used for risk assessment of the electronic device to be assessed according to the risk value of the system and the independent risk value of the electronic device to be assessed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of network security, and in particular to a risk assessment method and device. Background Art

[0002] With the popularization and development of computer technology, the application of computer technology has been involved in more and more areas of people's work and life. However, this also makes people's various information more exposed to the Internet environment, so how to protect people's information security has become an urgent problem to be solved in the current network security field.

[0003] At present, the method used to evaluate the security of electronic devices is: obtain the security vulnerabilities of the electronic devices, calculate the independent risk value of the electronic devices based on the security vulnerabilities, and evaluate the security of the electronic devices based on the independent risk value. It can be seen that when evaluating the security of electronic devices, only the security vulnerabilities of the electronic devices themselves are considered, and the impact of the external environment on the electronic devices is not considered, resulting in low accuracy in the security evaluation of electronic devices. Summary of the invention

[0004] The present application provides a risk assessment method and device for improving the accuracy of security assessment of electronic devices.

[0005] In a first aspect, an embodiment of the present application provides a risk assessment method, comprising:

[0006] Obtaining an independent risk value for each electronic device in the system where the electronic device to be evaluated is located;

[0007] Obtaining a risk value of the system according to a weighted average of independent risk values ​​of each electronic device in the system;

[0008] A risk value for performing risk assessment on the electronic device to be assessed is determined according to the risk value of the system and the independent risk value of the electronic device to be assessed.

[0009] Based on the above scheme, the system risk value is added in the process of calculating the risk value used for risk assessment of the electronic device to be evaluated, which fully considers the impact of the surrounding environment on the electronic device, improves the comprehensiveness and accuracy of the risk value used for risk assessment of the electronic device to be evaluated, thereby improving the accuracy of risk assessment.

[0010] In one possible method, obtaining an independent risk value of each electronic device in a system where the electronic device to be evaluated is located includes:

[0011] When a change in the risk state of a first electronic device in the system is detected, an independent risk value of the first electronic device is calculated, and independent risk values ​​of other electronic devices in the system except the first electronic device are acquired and saved, wherein the first electronic device is any electronic device in the system;

[0012] The change in the risk status of the first electronic device includes one or more of the following:

[0013] The version of the operating system of the first electronic device changes, the version of the software running on the first electronic device changes, the password of the first electronic device changes, or the configuration of the first electronic device changes.

[0014] Based on the above scheme, the independent risk value of the electronic device whose risk status has changed in the system can be updated according to the change of the risk status of each electronic device in the monitored system. It is no longer necessary to manually issue scanning instructions to update the independent risk value of the electronic device, thereby realizing the autonomous update of the independent risk value of each electronic device and saving labor resources.

[0015] In a possible manner, before obtaining the risk value of the system, obtaining the trust value of each electronic device in the system where the electronic device to be evaluated is located;

[0016] Obtaining the risk value of the system according to a weighted average of the independent risk values ​​of each electronic device in the system comprises:

[0017] Taking the trust value of each electronic device as a weight, obtaining a risk value of the system according to a weighted average of independent risk values ​​of each electronic device in the system;

[0018] The trust value of the first electronic device is determined according to the connectivity between the first electronic device and an external auxiliary device, and the first electronic device is any electronic device in the system.

[0019] Based on the above scheme, when calculating the risk value of the system, the trust value of each electronic device in the system is added, and the different impacts of different electronic devices on the system are fully considered, so that the obtained risk value of the system is more accurate.

[0020] In a possible manner, obtaining the trust value of each electronic device in the system where the electronic device to be evaluated is located includes:

[0021] When a change in the trust status of a first electronic device in the system is detected, calculating the trust value of the first electronic device, and obtaining and saving the trust values ​​of other electronic devices in the system except the first electronic device;

[0022] The change in the trust status of the first electronic device includes one or more of the following:

[0023] The state of the first electronic device being connected to the network changes or the number of devices connected to the first electronic device changes.

[0024] In a possible manner, the external auxiliary device includes one or more of a device providing access services connected in a wired manner, a network device connected in a wireless manner, or a physical device connected in a wired manner, and determining the trust value of the first electronic device includes:

[0025] The trust value of the first electronic device is determined according to at least one of the following:

[0026] The connectivity with the device providing access services, the number of network devices connected wirelessly or the number of physical devices connected by wire.

[0027] Based on the above scheme, the trust value of the electronic device is determined according to the state of the electronic device being connected to the network or the number of devices connected to the electronic device, so that the obtained trust value can accurately reflect the different impacts of different electronic devices on the system, thereby also improving the accuracy of the system's trust value.

[0028] In one possible manner, obtaining the risk value of the system according to a weighted average of the independent risk values ​​of each electronic device in the system includes:

[0029] The risk value of the system is obtained by the following formula:

[0030]

[0031]

[0032] Where S is the risk value of the system, is the weighted average of the independent risk values ​​of each electronic device in the system, n is the number of electronic devices included in the system, R i is the independent risk value of the i-th electronic device in the system, t i is the trust value of the i-th electronic device in the system.

[0033] In one possible manner, obtaining the risk value of the system according to a weighted average of the independent risk values ​​of each electronic device in the system includes:

[0034] The risk value of the system is obtained by the following formula:

[0035]

[0036]

[0037] Wherein, S is the risk value of the system, S0 is the risk value of the system before the risk state of the first electronic device in the system is monitored to change, is the weighted average of the independent risk values ​​of each electronic device in the system, n is the number of electronic devices included in the system, R i is the independent risk value of the i-th electronic device in the system, t i is the trust value of the i-th electronic device in the system, 0<k<1.

[0038] Based on the above scheme, the risk value of the system is determined based on the risk value of the system before the risk status of the first electronic device is monitored to change and the weighted average of the independent risk values ​​of each electronic device included in the system, so that the risk value of the system is more accurate.

[0039] In a possible manner, determining a risk value for performing risk assessment on the electronic device to be assessed according to the risk value of the system and the independent risk value of the electronic device to be assessed includes:

[0040] The risk value used to perform risk assessment on the electronic device to be assessed is determined according to the following formula:

[0041] K = a*S+(1-a)*R*t;

[0042] Wherein, K is the risk value used to perform risk assessment on the electronic device to be assessed, S is the risk value of the system, R is the independent risk value of the electronic device to be assessed, t is the trust value of the electronic device to be assessed, and 0<a<1.

[0043] Based on the above scheme, in the process of calculating the risk value used for risk assessment of electronic devices, the risk value of the system and the trust value of the electronic device are added, making the risk value more comprehensive and accurate, thereby improving the accuracy of risk assessment.

[0044] In a second aspect, an embodiment of the present application provides a risk assessment device, including:

[0045] An acquisition unit, used for acquiring an independent risk value of each electronic device in the system where the electronic device to be evaluated is located;

[0046] A processing unit, configured to obtain a risk value of the system according to a weighted average of independent risk values ​​of each electronic device in the system;

[0047] The processing unit is further used to determine a risk value for performing risk assessment on the electronic device to be assessed according to the risk value of the system and the independent risk value of the electronic device to be assessed.

[0048] In a possible manner, when acquiring the independent risk value of each electronic device in the system where the electronic device to be evaluated is located, the acquiring unit is specifically configured to:

[0049] When a change in the risk state of a first electronic device in the system is detected, instructing the processing unit to calculate an independent risk value of the first electronic device, and to obtain and save independent risk values ​​of other electronic devices in the system except the first electronic device, where the first electronic device is any electronic device in the system;

[0050] The change in the risk status of the first electronic device includes one or more of the following:

[0051] The version of the operating system of the first electronic device changes, the version of the software running on the first electronic device changes, the password of the first electronic device changes, or the configuration of the first electronic device changes.

[0052] In a possible manner, before obtaining the risk value of the system, the obtaining unit is further used to obtain the trust value of each electronic device in the system where the electronic device to be evaluated is located;

[0053] The processing unit is specifically used for:

[0054] Taking the trust value of each electronic device as a weight, obtaining a risk value of the system according to a weighted average of independent risk values ​​of each electronic device in the system;

[0055] The trust value of the first electronic device is determined according to the connectivity between the first electronic device and an external auxiliary device, and the first electronic device is any electronic device in the system.

[0056] In a possible manner, when acquiring the trust value of each electronic device in the system where the electronic device to be evaluated is located, the acquiring unit is specifically configured to:

[0057] When a change in the trust status of a first electronic device in the system is detected, instructing the processing unit to calculate the trust value of the first electronic device, and to obtain and save the trust values ​​of other electronic devices in the system except the first electronic device;

[0058] The change in the trust status of the first electronic device includes one or more of the following:

[0059] The state of the first electronic device being connected to the network changes or the number of devices connected to the first electronic device changes.

[0060] In a possible manner, the external auxiliary device includes one or more of a device providing access services connected in a wired manner, a network device connected in a wireless manner, or a physical device connected in a wired manner, and the processing unit, when determining the trust value of the first electronic device, is specifically used to:

[0061] The trust value of the first electronic device is determined according to at least one of the following:

[0062] The connectivity with the device providing access services, the number of network devices connected wirelessly or the number of physical devices connected by wire.

[0063] In a possible manner, when obtaining the risk value of the system according to the weighted average of the independent risk values ​​of each electronic device in the system, the processing unit is specifically configured to:

[0064] The risk value of the system is obtained by the following formula:

[0065]

[0066]

[0067] Where S is the risk value of the system, is the weighted average of the independent risk values ​​of each electronic device in the system, n is the number of electronic devices included in the system, R i is the independent risk value of the i-th electronic device in the system, t i is the trust value of the i-th electronic device in the system.

[0068] In a possible manner, when obtaining the risk value of the system according to the weighted average of the independent risk values ​​of each electronic device in the system, the processing unit is specifically configured to:

[0069] The risk value of the system is obtained by the following formula:

[0070]

[0071]

[0072] Wherein, S is the risk value of the system, S0 is the risk value of the system before the risk state of the first electronic device in the system is monitored to change, is the weighted average of the independent risk values ​​of each electronic device in the system, n is the number of electronic devices included in the system, R i is the independent risk value of the i-th electronic device in the system, t iis the trust value of the i-th electronic device in the system, 0<k<1.

[0073] In a possible manner, when determining the risk value for performing risk assessment on the electronic device to be assessed according to the risk value of the system and the independent risk value of the electronic device to be assessed, the processing unit is specifically configured to:

[0074] The risk value for risk assessment of the electronic device to be assessed is determined according to the following formula:

[0075] K = a*S+(1-a)*R*t;

[0076] Wherein, K is the risk value used to perform risk assessment on the electronic device to be assessed, S is the risk value of the system, R is the independent risk value of the electronic device to be assessed, t is the trust value of the electronic device to be assessed, and 0<a<1.

[0077] In a third aspect, an electronic device is provided, the electronic device comprising a processor and a memory. The memory is used to store computer-executable instructions, and the processor executes the computer-executable instructions in the memory to use hardware resources in a controller to perform the operation steps of the method in the first aspect or any possible implementation of the first aspect.

[0078] In a fourth aspect, the present application provides a computer-readable storage medium, in which instructions are stored, and when the computer-readable storage medium is run on a computer, the computer executes the methods in the above aspects.

[0079] In addition, the beneficial effects of the second to fourth aspects can refer to the beneficial effects described in the first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0080] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. Obviously, the drawings introduced below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0081] Figure 1 A schematic diagram of the architecture of a security assessment system provided in an embodiment of the present application;

[0082] Figure 2 A schematic diagram of a risk assessment method provided in an embodiment of the present application;

[0083] Figure 3 A schematic diagram of a process for constructing a decision tree provided in an embodiment of the present application;

[0084] Figure 4 A schematic diagram of another risk assessment method provided in an embodiment of the present application;

[0085] Figure 5 A schematic diagram of the structure of a risk assessment device provided in an embodiment of the present application;

[0086] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0087] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0088] In order to facilitate understanding of the solutions proposed in the embodiments of the present application, the technical terms involved in the present application are first introduced:

[0089] (1) System: A system is composed of multiple electronic devices, including a collection of electronic devices with specific connections. For example, a collection of electronic devices in the same intranet.

[0090] (2) Independent risk value: used to characterize the degree of danger posed to electronic devices by information such as vulnerabilities in the operating system and software of electronic devices, weak passwords, and compliance with configuration compliance items.

[0091] (3) Trust level: used to characterize the impact of electronic devices on system security.

[0092] (4) Trust value: A numerical value quantified from the trust level and used to characterize the impact of an electronic device on system security.

[0093] (5) Decision tree: A prediction model that represents a mapping relationship between feature attributes and object values.

[0094] At present, when conducting security assessments on electronic devices, only the vulnerabilities and weak passwords of the electronic devices themselves are considered, without considering the impact of the external environment on the electronic devices. In addition, the trust level of each electronic device in the existing system is the same, and the degree of impact of different electronic devices on the system is not rationally used, so the security assessment of electronic devices is not accurate. In addition, the current security assessment of electronic devices requires manual issuance of scanning instructions to scan the security vulnerabilities and weak passwords of electronic devices, and then update the independent risk value of the electronic devices. Automatic updates cannot be achieved, which is inefficient.

[0095] The present application proposes a risk assessment method and device, which first calculates the risk value of the system by combining the independent risk values ​​of each electronic device in the system, and then calculates the risk value used to assess the risk of the electronic device by combining the risk value of the system and the independent risk value of the electronic device. Taking into account the impact of the system on the risk of the electronic device, the accuracy of the risk value of the electronic device finally obtained is improved, thereby improving the accuracy of the safety assessment of the electronic device.

[0096] In order to facilitate understanding of the solution proposed in this application, see Figure 1 , showing a security assessment system architecture diagram provided in an embodiment of the present application. Figure 1 The safety assessment system shown is used to implement the risk assessment solution proposed in this application, and specifically includes: a risk assessment system 110 , a system to be assessed 120 , and at least two electronic devices included in the system 120 . Figure 1 The first electronic device 121 and the second electronic device 122 are taken as examples. It should be noted that: Figure 1 As an example only, the present application does not specifically limit the number of electronic devices included in the system 120. Figure 1 In the present invention, only two electronic devices in the system 120 are used for example. The risk assessment system 110 is used to perform risk assessment on each electronic device in the system 120 to be assessed, such as calculating the independent risk value of each electronic device, or calculating the risk value of the system 120 to be assessed. Exemplarily, the risk assessment system 110 can obtain the security vulnerabilities of each electronic device from each electronic device in the system 120 to be assessed. The independent risk value of each electronic device is calculated based on the security vulnerability. The present application does not specifically limit the method of calculating the independent risk value.

[0097] When the risk assessment system 110 triggers the execution of risk assessment, any possible implementation method may be used:

[0098] In one possible way, the execution of risk assessment can be triggered by an administrator. For example, the administrator can trigger an assessment instruction to the risk assessment system 110, so that when the risk assessment system 110 receives the assessment instruction issued by the administrator to perform a risk assessment on the system to be assessed 120, it scans the security vulnerabilities of each electronic device contained in the system to be assessed 120 to determine the independent risk value of each electronic device based on the security vulnerabilities. In some scenarios, each system to be assessed calculates the independent risk value of each electronic device and saves it. If the independent risk value of an electronic device changes, the saved independent risk value of the electronic device can be updated. Therefore, when the risk assessment system 110 receives the assessment instruction triggered by the administrator, it can obtain the saved independent risk value of each electronic device in the system to be assessed 120, and then further perform risk assessment of each electronic device based on the independent risk value of each electronic device in the system to be assessed 120.

[0099] In the second possible way, the risk assessment system 110 can monitor whether the risk status of each electronic device in the system to be assessed 120 has changed, such as changes in the version of the operating system of the first electronic device or the second electronic device, changes in the version of the running software, changes in the password, changes in the degree of compliance of the configuration, etc. When the risk assessment system detects that the risk status of an electronic device in the system has changed, it can trigger the execution of risk assessment, obtain the security vulnerabilities of the electronic device whose risk status has changed, determine the independent risk value of the electronic device whose risk status has changed based on the security vulnerabilities, and obtain the independent risk values ​​of other electronic devices stored in the risk assessment system except for those whose risk status has changed. Then, the risk assessment of each electronic device is further performed based on the independent risk value of each electronic device in the system to be assessed 120.

[0100] In a third possible manner, the risk assessment system 110 may monitor whether the trust status of one or more electronic devices in the system to be assessed 120 has changed, such as a change in the state of a certain electronic device connected to the network, a change in the number of devices connected in a wired manner, or a change in the number of devices connected in a wireless manner. When the risk assessment system 110 detects a change in the trust status of a certain electronic device, it triggers the execution of a risk assessment.

[0101] In a fourth possible manner, the risk assessment system 110 may periodically perform risk assessment on each electronic device in the system to be assessed 120. The period may be set as required.

[0102] In some possible embodiments, in order to improve the assessment accuracy, the risk assessment system 110 may also determine the risk value of the system in combination with the trust value of each electronic device. The method for determining the risk value of the system will be described in detail later and will not be repeated here.

[0103] As an example, the functions of the risk assessment system 110 can be implemented by a single server or a server cluster. Figure 1 , showing a schematic diagram of the structure of a server cluster when the server cluster implements the function of the risk assessment system. As an example, the server cluster for implementing the risk assessment function may include: a risk monitoring server 111, used to monitor whether the risk status of each electronic device in the system to be evaluated 120 has changed. A trust monitoring server 112, used to monitor whether the trust status of each electronic device in the system to be evaluated 120 has changed. A risk scanning server 113, used to scan each electronic device in the system to obtain security vulnerabilities of the electronic device. A risk assessment server 114, used to determine the independent risk value of the electronic device based on the security vulnerabilities of the electronic device. A trust assessment server 115, used to determine or update the trust value of the electronic device. A system assessment server 116, used to jointly determine the risk value of the system based on the trust value and independent risk value of the electronic device in the system. The risk assessment server 114, is also used to determine the final risk value of the first electronic device and the second electronic device based on the risk value of the system and the independent risk value and trust value of the first electronic device and the second electronic device. It should be noted that Figure 1 As just an example, the present application makes specific limitations on the number of servers included in the risk assessment system, and the present application does not make specific limitations on the functions of each server included in the risk assessment system.

[0104] Combine the following Figure 2 The risk assessment scheme provided in the embodiments of the present application is described in detail.

[0105] 201, the risk assessment system obtains an independent risk value of each electronic device in the system to be assessed.

[0106] As an example, the following describes how to determine a risk value for risk assessment of an electronic device by taking risk assessment of an electronic device as an example. For ease of description, the electronic device is referred to as an electronic device to be assessed.

[0107] Optionally, the risk assessment system may store the independent risk value of each electronic device in the system to be assessed where the electronic device to be assessed is located. Alternatively, when determining that the risk status of any electronic device included in the system to be assessed has changed, the risk assessment system may start scanning the electronic device whose status has changed, obtain one or more security vulnerabilities of the electronic device, and calculate the independent risk value of the electronic device based on the one or more security vulnerabilities. Then, the independent risk values ​​of other electronic devices except the electronic device whose risk status has changed are obtained from its own storage space.

[0108] 202 , the risk assessment system obtains a risk value of the system according to a weighted average of the independent risk values ​​of each electronic device in the system to be assessed.

[0109] Specifically, after the risk assessment system obtains the independent risk value of each electronic device in the system, the risk value of the system can be determined according to the weighted average value of these independent risk values.

[0110] 203 , the risk assessment system determines a final risk value of the electronic device to be assessed according to the risk value of the system and the independent risk value of the electronic device to be assessed.

[0111] The final risk value of the electronic device to be evaluated is a risk value used to perform a safety assessment on the electronic device to be evaluated.

[0112] In some embodiments, the risk assessment system can obtain independent risk values ​​and trust values ​​of each electronic device in the system after triggering the risk assessment of the system to be assessed. Figure 1 The four methods described in will not be repeated here.

[0113] Wherein, obtaining the independent risk value of each electronic device in the system may be to obtain the independent risk value of each electronic device stored in the risk assessment system, or to determine the independent risk value according to the security vulnerabilities of each electronic device obtained by scanning. For example, take an electronic device as an example to introduce the process of determining the independent risk value according to the security vulnerability, and the electronic device is subsequently referred to as the first electronic device. The security vulnerability of the first electronic device scanned by the risk assessment system may be one or more. As an example, the risk assessment system may assign a risk level to each of the one or more security vulnerabilities according to the degree of danger of the security vulnerability. Wherein, each risk level has a corresponding risk level value, and the higher the risk level value, the more dangerous the security vulnerability. Further, the risk assessment system may start from the lowest risk level and calculate the security risk assessment value corresponding to each risk level level by level until the security risk assessment value corresponding to all security vulnerabilities included in the first electronic device is calculated. Determine the highest security risk assessment value among all the security risk assessment values ​​in the first electronic device as the independent risk value of the first electronic device.

[0114] Secondly, obtaining the trust value of each electronic device in the system can be to obtain the trust value of each electronic device stored in the risk assessment system, or to determine the trust value based on the trust status of each electronic device obtained by scanning. Optionally, the risk assessment system can use algorithms such as C4.5 or ID3 to calculate the trust value of each electronic device based on the trust status. For example, take the example of using the C4.5 algorithm to calculate the trust value of the first electronic device in the system, where the first electronic device is any electronic device in the system. In order to clearly introduce the process of using the C4.5 algorithm to calculate the trust value, first introduce the process of constructing the decision tree in the C4.5 algorithm. For details, please refer to Figure 3 The flowchart shown is a flowchart of a method for constructing a decision tree provided in an embodiment of the present application, which specifically includes:

[0115] 301, sample selection.

[0116] Optionally, any number of electronic devices included in the system can be randomly selected as samples, and the trust status of the selected electronic devices can be obtained as sample values. In one possible manner, the trust status can include the state of the selected electronic device connected to the network, that is, the network connectivity status of the electronic device. As an example, in the process of sample selection, the sample value of the electronic device that is not connected to the network can be one, and the sample value of the electronic device that is connected to the network can be zero. In another possible manner, the trust status can also include the number of devices connected to the selected electronic device by wired connection, such as the mouse, keyboard and mobile storage device connected to the selected electronic device by wired connection. As an example, in the process of sample selection, the sample value of the electronic device can be accumulated by one for each device connected to the selected electronic device. In another possible manner, the trust status can also include the number of devices connected to the selected electronic device by wireless connection, such as the number of devices connected to the selected electronic device by Bluetooth or wireless hotspot. As an example, in the process of sample selection, the sample value of the electronic device can be accumulated by one for each device connected to the selected electronic device by wireless connection.

[0117] Optionally, the risk assessment system can also set a preset trust value according to the actual situation of each electronic device before performing risk assessment on each electronic device included in the system. That is, when the electronic device is initially deployed, the management personnel need to set a preset trust value for the electronic device according to the physical environment in which the electronic device is located or the purpose of the electronic device. That is to say, each electronic device in the system has a corresponding preset trust value.

[0118] Furthermore, a trust level may be generated according to the trust status of the selected electronic device and a preset trust value. The trust level is used to characterize the security level of the electronic device. The higher the trust level, the safer the electronic device.

[0119] Next, referring to Table 1 below, five electronic devices are selected in the system as an example. Table 1 shows the corresponding relationship between the sample values ​​(trust status and preset trust value) of the five selected electronic devices and the trust levels.

[0120] Table 1

[0121] serial number Network connectivity Wireless device connectivity Wired device connection Default Trust Value Trust Level 1 1 3 2 5 V1 2 0 1 2 8 V5 3 0 1 2 2 V4 4 0 2 2 2 V2 5 1 0 2 6 V1

[0122] It should be noted that Table 1 is only an example, and the present application does not specifically limit the number of trust levels. In the embodiments of the present application, the trust level includes 5 levels (V1, V2, V3, V4, V5) as an example for introduction. The security levels of V1-V5 are increasing in sequence, V1 has the lowest security level, and V5 has the highest security level. Optionally, the trust level can be further quantified into a specific trust value. For example, the trust levels of V1-V5 can be quantified into five trust values ​​t1-t5 in sequence, and the five trust values ​​also increase in sequence from t1 to t5. Optionally, the value range of the trust value can be [0, 1]. For example, the trust value t1 corresponding to the trust level V1 can be 0, the trust value t2 corresponding to the trust level V2 can be 0.3, the trust value t3 corresponding to the trust level V3 can be 0.5, the trust value t4 corresponding to the trust level V4 can be 0.8, and the trust value t5 corresponding to the trust level V5 can be 1. Specifically, the corresponding relationship between each trust level and the trust value can be stored in the risk assessment system.

[0123] 302, construct a decision tree.

[0124] A decision tree is a prediction model that represents a mapping relationship between feature attributes and object values, and is composed of a root attribute node and other data nodes. In this application, the feature attributes of a decision tree refer to sample values, i.e., the preset trust value of the selected electronic device, network connectivity (connected is 0, not connected is 1), the number of wired connected devices, and the number of wirelessly connected devices. The object value of a decision tree refers to the trust level.

[0125] In some embodiments, since the above-mentioned four sample values ​​as characteristic attributes are all involved in training the decision tree model and are all discrete values, the information gain rates of the above-mentioned four characteristic attributes can be calculated first, and the characteristic attribute with the largest information gain rate can be selected as the root attribute node of the decision tree. For example, the conditional entropy of any characteristic attribute can be calculated, and the information gain rate of the characteristic attribute can be calculated based on the conditional entropy. It can be known that the greater the information gain rate of the characteristic attribute, the greater the impact on the trust level. After determining the root attribute node of the decision tree, the preset trust value of the electronic device, network connectivity, the number of wired connected devices, and the number of wired connected devices can be further used as other data nodes of the decision tree according to the order of information gain rate from large to small to construct a complete decision tree.

[0126] 303, Post-processing of decision tree.

[0127] As an optional method, after building the decision tree, you can also use error rate reduction pruning, pessimistic pruning and cost complexity pruning to post-process the generated decision tree to avoid overfitting, prevent over-learning and reduce errors.

[0128] The risk assessment system can input the trust status of the first electronic device into the above-constructed decision tree, obtain the trust level of the first electronic device, and determine that the trust value corresponding to the trust level is the trust value of the first electronic device.

[0129] Furthermore, after obtaining the independent risk value and trust value of each electronic device, the risk assessment system can jointly determine the risk value of the system based on the independent risk value and trust value of each electronic device. As an example, the risk assessment system can use the trust value of each electronic device as a weight, and perform a weighted average on the independent risk value of each electronic device in the system to obtain a weighted average of the independent risk values ​​of each electronic device included in the system. For example, the weighted average can be obtained by the following formula (1):

[0130]

[0131] in, is the weighted average of the independent risk values ​​of all electronic devices in the system, R i is the independent risk value of the i-th electronic device in the system, t i is the trust value of the i-th electronic device in the system, and n is the number of electronic devices included in the system.

[0132] Optionally, after obtaining the weighted average value, the risk assessment system may further obtain a system risk value according to the weighted average value. As an example, the system risk value may be the weighted average value. For example, the system risk value may be determined according to the following formula (2):

[0133]

[0134] Where S is the risk value of the system, It is the weighted average of the independent risk values ​​of each electronic device in the system.

[0135] As another example, the system risk value may also be determined based on the weighted average value and the previous risk value of the system. For example, the system risk value may be determined based on the following formula (3):

[0136]

[0137] Among them, S is the risk value of the system, S0 is the previous risk value of the system, It is the weighted average of the independent risk values ​​of each electronic device in the system, 0<k<1.

[0138] Furthermore, after obtaining the risk value of the system, the risk assessment system can determine the final risk value of the electronic device based on the risk value of the system, the independent risk value of the electronic device to be assessed in the system, and the trust value. For example, the final risk value of the electronic device can be determined according to the following formula (4):

[0139] K=a*S+(1-a)*R*t; (4)

[0140] Wherein, K is the final risk value of the electronic device to be evaluated, S is the risk value of the system, R is the independent risk value of the electronic device to be evaluated, t is the independent risk value of the electronic device to be evaluated, and 0<a<1.

[0141] Optionally, the risk assessment system may store the final risk value of each electronic device so that the management personnel can perform safety assessment on the electronic device according to the final risk value of the electronic device.

[0142] In order to further understand the solution proposed in this application, a specific embodiment will be introduced below. In this embodiment, the risk assessment system triggers risk assessment by monitoring a change in the trust status of an electronic device in the system. The electronic device whose trust status has changed is subsequently referred to as electronic device A, and electronic device A is any electronic device in the system. Figure 4 , is a flow chart of a risk assessment method provided in an embodiment of the present application. Specifically comprising:

[0143] 401, the risk assessment system determines that the trust status of electronic device A changes.

[0144] In some embodiments, the risk assessment system can monitor the electronic devices in the system in real time and determine whether the trust status of the electronic device A in the system has changed. For details on the change in trust status, see Figure 3 The introduction in step 301 will not be repeated here.

[0145] 402 , the risk assessment system determines the trust value of electronic device A according to the changed trust state of electronic device A.

[0146] As an example, the risk assessment system can calculate the trust value of electronic device A according to the changed trust state of electronic device A through algorithms such as C4.5 and ID3. Of course, other algorithms can also be used to calculate the trust value of electronic device A, and this application does not specifically limit this.

[0147] 403, the risk assessment system determines a risk value of the system.

[0148] Specifically, the risk assessment system may obtain the independent risk value of each electronic device in the stored system, and obtain the trust values ​​of other electronic devices in the stored system except the electronic device A and the trust value of the electronic device A obtained in the above step 402. The risk assessment system may jointly determine the risk value of the system according to the independent risk value and the trust value of each electronic device in the system, for example, refer to formulas (1)-(3) in the above embodiment, which will not be described in detail here.

[0149] 404, the risk assessment system determines the final risk value of each electronic device in the system according to the risk value of the system.

[0150] Optionally, after determining the risk value of the system, the risk assessment system may determine the final risk value of each electronic device according to the risk value of the system, the independent risk value of each electronic device in the system, and the trust value. For example, see formula (4) in the above embodiment, which will not be described in detail here.

[0151] In some embodiments, after determining the final risk value of the electronic device, the risk assessment system performs a security assessment on the electronic device based on the value of the final risk value. If it is determined that the final risk value of certain electronic devices is too large, such as greater than a certain set threshold, an alarm notification can be issued to instruct managers to repair vulnerabilities in these electronic devices. Optionally, the risk assessment system can also determine the impact of these electronic devices on system security based on the trust value of these electronic devices. The greater the trust value of the electronic device, the greater the impact on system security. The risk assessment system can then instruct managers to give priority to repairing electronic devices that have a greater impact on system security, thereby improving the efficiency of vulnerability repair.

[0152] Based on the same concept as the above method, see Figure 5 , is a device 500 with risk assessment function provided in an embodiment of the present application. The device 500 can execute each step in the above method, and in order to avoid repetition, it will not be described in detail here. The device 500 includes: an acquisition unit 501 and a processing unit 502.

[0153] An acquisition unit 501 is used to acquire an independent risk value of each electronic device in the system where the electronic device to be evaluated is located;

[0154] A processing unit 502 is configured to obtain a risk value of the system according to a weighted average of independent risk values ​​of each electronic device in the system;

[0155] The processing unit 502 is further configured to determine a risk value for performing risk assessment on the electronic device to be assessed according to the risk value of the system and the independent risk value of the electronic device to be assessed.

[0156] In a possible manner, when acquiring the independent risk value of each electronic device in the system where the electronic device to be evaluated is located, the acquiring unit 501 is specifically configured to:

[0157] When a change in the risk state of a first electronic device in the system is detected, the processing unit 502 is instructed to calculate an independent risk value of the first electronic device, and obtain and save independent risk values ​​of other electronic devices in the system except the first electronic device, where the first electronic device is any electronic device in the system;

[0158] The change in the risk status of the first electronic device includes one or more of the following:

[0159] The version of the operating system of the first electronic device changes, the version of the software running on the first electronic device changes, the password of the first electronic device changes, or the configuration of the first electronic device changes.

[0160] In a possible manner, before obtaining the risk value of the system, the obtaining unit 501 is further used to obtain the trust value of each electronic device in the system where the electronic device to be evaluated is located;

[0161] The processing unit 502 is specifically used for:

[0162] Taking the trust value of each electronic device as a weight, obtaining a risk value of the system according to a weighted average of independent risk values ​​of each electronic device in the system;

[0163] The trust value of the first electronic device is determined according to the connectivity between the first electronic device and an external auxiliary device, and the first electronic device is any electronic device in the system.

[0164] In a possible manner, when acquiring the trust value of each electronic device in the system where the electronic device to be evaluated is located, the acquiring unit 501 is specifically configured to:

[0165] When a change in the trust status of the first electronic device in the system is detected, instructing the processing unit 502 to calculate the trust value of the first electronic device, and obtain and save the trust values ​​of other electronic devices in the system except the first electronic device;

[0166] The change in the trust status of the first electronic device includes one or more of the following:

[0167] The state of the first electronic device being connected to the network changes or the number of devices connected to the first electronic device changes.

[0168] In a possible manner, the external auxiliary device includes one or more of a device providing access services connected in a wired manner, a network device connected in a wireless manner, or a physical device connected in a wired manner, and the processing unit 502, when determining the trust value of the first electronic device, is specifically used to:

[0169] The trust value of the first electronic device is determined according to at least one of the following:

[0170] The connectivity with the device providing access services, the number of network devices connected wirelessly or the number of physical devices connected by wire.

[0171] In a possible manner, when obtaining the risk value of the system according to the weighted average of the independent risk values ​​of each electronic device in the system, the processing unit 502 is specifically configured to:

[0172] The risk value of the system is obtained by the following formula:

[0173]

[0174]

[0175] Where S is the risk value of the system, is the weighted average of the independent risk values ​​of each electronic device in the system, n is the number of electronic devices included in the system, R i is the independent risk value of the i-th electronic device in the system, t i is the trust value of the i-th electronic device in the system.

[0176] In a possible manner, when obtaining the risk value of the system according to the weighted average of the independent risk values ​​of each electronic device in the system, the processing unit 502 is specifically configured to:

[0177] The risk value of the system is obtained by the following formula:

[0178]

[0179]

[0180] Wherein, S is the risk value of the system, S0 is the risk value of the system before the risk state of the first electronic device in the system is monitored to change, is the weighted average of the independent risk values ​​of each electronic device in the system, n is the number of electronic devices included in the system, R i is the independent risk value of the i-th electronic device in the system, t iis the trust value of the i-th electronic device in the system, 0<k<1.

[0181] In a possible manner, when determining the risk value for performing risk assessment on the electronic device to be assessed according to the risk value of the system and the independent risk value of the electronic device to be assessed, the processing unit 502 is specifically configured to:

[0182] The risk value for risk assessment of the electronic device to be assessed is determined according to the following formula:

[0183] K = a*S+(1-a)*R*t;

[0184] Wherein, K is the risk value used to perform risk assessment on the electronic device to be assessed, S is the risk value of the system, R is the independent risk value of the electronic device to be assessed, t is the trust value of the electronic device to be assessed, and 0<a<1.

[0185] Figure 6 The electronic device 600 in the embodiment of the present application may further include a communication interface 603 , which is, for example, a network port, through which the electronic device may transmit data.

[0186] In the embodiment of the present application, the memory 602 stores instructions that can be executed by at least one processor 601. The at least one processor 601 can be used to execute the steps performed by the aforementioned risk assessment system by executing the instructions stored in the memory 602.

[0187] The processor 601 is the control center of the electronic device, and can use various interfaces and lines to connect various parts of the entire electronic device, by running or executing instructions stored in the memory 602 and calling data stored in the memory 602. Optionally, the processor 601 may include one or more processing units, and the processor 601 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 601.

[0188] Processor 601 can be a general-purpose processor, such as a central processing unit (CPU), a digital signal processor, an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, and can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of the present application.

[0189] The memory 602 is a non-volatile computer-readable storage medium that can be used to store non-volatile software programs, non-volatile computer executable programs, and modules. The memory 602 may include at least one type of storage medium, such as a flash memory, a hard disk, a multimedia card, a card-type memory, a random access memory (RAM), a static random access memory (SRAM), a programmable read-only memory (PROM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic memory, a disk, an optical disk, and the like.

[0190] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0191] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.

[0192] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A risk assessment method, characterized in that: include: Obtaining an independent risk value for each electronic device in the system where the electronic device to be evaluated is located; Obtaining a risk value of the system according to a weighted average of independent risk values ​​of each electronic device in the system; A risk value for performing risk assessment on the electronic device to be assessed is determined according to the risk value of the system and the independent risk value of the electronic device to be assessed.

2. The method according to claim 1, characterized in that Obtain independent risk values ​​for each electronic device in the system where the electronic device to be assessed is located, including: When a change in the risk state of a first electronic device in the system is detected, an independent risk value of the first electronic device is calculated, and independent risk values ​​of other electronic devices in the system except the first electronic device are acquired and saved, wherein the first electronic device is any electronic device in the system; The change in the risk status of the first electronic device includes one or more of the following: The version of the operating system of the first electronic device changes, the version of the software running on the first electronic device changes, the password of the first electronic device changes, or the configuration of the first electronic device changes.

3. The method according to claim 1 or 2, characterized in that Before obtaining the risk value of the system, obtaining the trust value of each electronic device in the system where the electronic device to be evaluated is located; Obtaining the risk value of the system according to a weighted average of the independent risk values ​​of each electronic device in the system comprises: Taking the trust value of each electronic device as a weight, obtaining a risk value of the system according to a weighted average of independent risk values ​​of each electronic device in the system; The trust value of the first electronic device is determined according to the connectivity between the first electronic device and an external auxiliary device, and the first electronic device is any electronic device in the system.

4. The method according to claim 3, characterized in that Obtain the trust value of each electronic device in the system where the electronic device to be evaluated is located, including: When a change in the trust status of a first electronic device in the system is detected, calculating the trust value of the first electronic device, and obtaining and saving the trust values ​​of other electronic devices in the system except the first electronic device; The change in the trust status of the first electronic device includes one or more of the following: The state of the first electronic device being connected to the network changes or the number of devices connected to the first electronic device changes.

5. The method according to claim 3, characterized in that The external auxiliary device includes one or more of a device providing access services connected in a wired manner, a network device connected in a wireless manner, or a physical device connected in a wired manner, and determining the trust value of the first electronic device includes: The trust value of the first electronic device is determined according to at least one of the following: The connectivity with the device providing access services, the number of network devices connected wirelessly or the number of physical devices connected by wire.

6. The method according to any one of claims 2, 4 and 5, characterized in that: Obtaining the risk value of the system according to a weighted average of the independent risk values ​​of each electronic device in the system comprises: The risk value of the system is obtained by the following formula: Where S is the risk value of the system, is the weighted average of the independent risk values ​​of each electronic device in the system, n is the number of electronic devices included in the system, R i is the independent risk value of the i-th electronic device in the system, t i is the trust value of the i-th electronic device in the system.

7. The method according to any one of claims 2, 4 and 5, characterized in that: Obtaining the risk value of the system according to a weighted average of the independent risk values ​​of each electronic device in the system comprises: The risk value of the system is obtained by the following formula: Wherein, S is the risk value of the system, S0 is the risk value of the system before the risk state of the first electronic device in the system is monitored to change, is the weighted average of the independent risk values ​​of each electronic device in the system, n is the number of electronic devices included in the system, R i is the independent risk value of the i-th electronic device in the system, t i is the trust value of the i-th electronic device in the system, 0<k<1.

8. The method according to any one of claims 2, 4 and 5, characterized in that: Determining a risk value for performing risk assessment on the electronic device to be assessed according to the risk value of the system and the independent risk value of the electronic device to be assessed includes: The risk value used to perform risk assessment on the electronic device to be assessed is determined according to the following formula: K = a*S+(1-a)*R*t; Among them, K is the risk value used to perform risk assessment on the electronic device to be evaluated, S is the risk value of the system, R is the independent risk value of the electronic device to be evaluated, t is the trust value of the electronic device to be evaluated, 0<a<1; wherein the trust value is used to characterize the impact of the electronic device to be evaluated on the system security.

9. A risk assessment device, characterized in that: include: An acquisition unit, used for acquiring an independent risk value of each electronic device in the system where the electronic device to be evaluated is located; A processing unit, configured to obtain a risk value of the system according to a weighted average of independent risk values ​​of each electronic device in the system; The processing unit is further used to determine a risk value for performing risk assessment on the electronic device to be assessed according to the risk value of the system and the independent risk value of the electronic device to be assessed.

10. An electronic device, characterized in that: The electronic device comprises a processor and a memory, The memory is used to store computer programs or instructions; The processor is used to execute the computer program or instructions in the memory so that the method according to any one of claims 1 to 8 is executed.

Citation Information

Patent Citations

  • Risk assessment method and device for equipment, electronic equipment and medium

    CN111552973A