Threat assessment method and device, electronic equipment and storage medium
By building a graph model and using graph computing methods, fully automated network threat assessment is achieved, which solves the problem of low threat assessment efficiency in the existing technology and improves assessment efficiency and accuracy.
Patent Information
- Application Number
- CN202410747225.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-11
- Publication Date
- 2024-09-27
AI Technical Summary
The efficiency of network threat assessment in the existing technology is low, relying on manual summary of attack principles and techniques, which is time-consuming and labor-intensive, and the assessment efficiency is low.
By obtaining the asset data of the target network, constructing a graph model, using graph computing methods to output candidate network attack paths, and constructing a threat assessment model based on the attribute information of graph nodes to achieve fully automated threat assessment.
It improves the efficiency and accuracy of network threat assessment, saves human resources, establishes a complete graph model containing all assets and interactive relationships, and enhances the accuracy of assessment results.
Smart Images

Figure CN118713873A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of network attack assessment, and in particular to a threat assessment method, device, electronic equipment and storage medium. Background Art
[0002] With the rapid development of network technology, more and more enterprises rely on the network to provide various services, and the security requirements of enterprises for the network are getting higher and higher. At present, most enterprises will conduct pre-assessment of possible threats and attacks on the network, so as to take corresponding measures in advance to prevent possible network attacks, thereby improving the network security of the enterprise.
[0003] In the related art, the principles and attack methods of different network attacks are usually summarized manually, and combined with the network attack methods in actual applications to form a network threat assessment method based on manual experience, but this method is time-consuming and labor-intensive, and the assessment efficiency is low. Summary of the invention
[0004] In view of this, embodiments of the present invention provide a threat assessment method, device, electronic device, and storage medium to improve the efficiency of network threat assessment.
[0005] According to one aspect of the present invention, a threat assessment method is provided, the method comprising:
[0006] Acquire asset data within the target network, the asset data including physical asset data and network asset data;
[0007] Taking each asset data as a graph node, adding edges to each graph node based on the data communication relationship between each asset data, to obtain a target graph;
[0008] Outputting candidate network attack paths based on the target graph using a preset graph calculation method;
[0009] Constructing a threat assessment model based on the attribute information of each of the graph nodes and the candidate network attack paths;
[0010] The threat assessment result of the target network is obtained through the threat assessment model.
[0011] In a possible embodiment, the acquiring of asset data in the target network includes:
[0012] Based on the asset data information registered in the target network and the traffic log of the target network, the asset data in the target network is acquired.
[0013] In a possible embodiment, taking each asset data as a graph node, adding edges to each graph node based on the data communication relationship between each asset data to obtain a target graph includes:
[0014] Determining a first data interaction relationship between each of the asset data based on the traffic log of the target network;
[0015] Based on the network architecture of the target network, determining a second data interaction relationship between each of the asset data;
[0016] The target graph is obtained by taking each asset data as a graph node, adding edges to each graph node based on the first data interaction relationship and the second data interaction relationship.
[0017] In a possible embodiment, the method further includes:
[0018] According to the preset filtering rules, the candidate network attack paths are filtered to obtain feasible network attack paths.
[0019] In a possible embodiment, the attribute information includes security attribute information and business attribute information, wherein the security attributes include the number of historical security alarms and interception records of the asset data corresponding to the graph node, and the business attribute information includes the business information to which the asset data corresponding to the graph node belongs.
[0020] In a possible embodiment, the method further includes:
[0021] When a change in a graph node in the target network is detected, the target graph is updated based on the change in the graph node, and the process returns to the step of outputting a candidate network attack path based on the target graph using a preset graph calculation method.
[0022] According to another aspect of the present invention, a threat assessment device is provided, the device comprising:
[0023] An acquisition module, used to acquire asset data in a target network, wherein the asset data includes physical asset data and network asset data;
[0024] A graph module, used to take each asset data as a graph node, and add edges to each graph node based on the data communication relationship between each asset data, so as to obtain a target graph;
[0025] A calculation module, configured to output a candidate network attack path based on the target graph using a preset graph calculation method;
[0026] A construction module, used to construct a threat assessment model based on the attribute information of each of the graph nodes and the candidate network attack paths;
[0027] An assessment module is used to obtain a threat assessment result of the target network through the threat assessment model.
[0028] In a possible embodiment, the acquiring of asset data in the target network includes:
[0029] Based on the asset data information registered in the target network and the traffic log of the target network, acquiring the asset data in the target network;
[0030] The method of taking each asset data as a graph node and adding edges to each graph node based on the data communication relationship between each asset data to obtain a target graph includes:
[0031] Determining a first data interaction relationship between each of the asset data based on the traffic log of the target network;
[0032] Based on the network architecture of the target network, determining a second data interaction relationship between each of the asset data;
[0033] The asset data are taken as graph nodes, and edges are added to the graph nodes based on the first data interaction relationship and the second data interaction relationship to obtain a target graph;
[0034] The device further comprises: a filtering module, configured to filter the candidate network attack paths according to a preset filtering rule to obtain a feasible network attack path;
[0035] The attribute information includes security attribute information and business attribute information, wherein the security attribute includes the number of historical security alarms and interception records of the asset data corresponding to the graph node, and the business attribute information includes the business information to which the asset data corresponding to the graph node belongs;
[0036] The device also includes an updating module for updating the target graph based on the changes in the graph nodes when a change in the graph nodes in the target network is detected, and returning to the step of outputting candidate network attack paths based on the target graph using a preset graph calculation method.
[0037] According to another aspect of the present invention, there is provided an electronic device, comprising:
[0038] Processor; and
[0039] Memory for storing programs,
[0040] The program includes instructions, which, when executed by the processor, enable the processor to perform any of the above-mentioned threat assessment methods.
[0041] According to another aspect of the present invention, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable a computer to execute any of the above-mentioned threat assessment methods.
[0042] One or more technical solutions provided in the embodiments of the present invention use the physical asset data and virtual asset data in the target network as graph nodes, and based on the data communication relationship in the target network, add edges between the graph nodes to obtain a target graph, and then use the graph calculation method to obtain a candidate network attack path based on the target graph, and build a threat assessment model based on the attribute information of the network attack path and the graph nodes, and then use the threat assessment model to obtain the threat assessment result of the target network. By obtaining the candidate network attack path based on the target graph and the corresponding graph calculation method, and performing threat assessment based on the candidate network attack path and the attribute information of the graph nodes, the whole process is fully automatic without manual participation, saving human resources and improving the efficiency of threat assessment. At the same time, when establishing the target graph, all assets and asset interaction relationships in the target network are taken into account, so that the information contained in the graph is relatively complete, thereby improving the accuracy of the network attack path obtained based on the target graph. At the same time, when modeling the threat assessment model, the attribute information of the graph nodes is taken into account, further improving the accuracy of the threat assessment result. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] Further details, features and advantages of the invention are disclosed in the following description of exemplary embodiments in conjunction with the accompanying drawings, in which:
[0044] Figure 1 A schematic diagram of a flow chart of a threat assessment method provided by an embodiment of the present invention;
[0045] Figure 2 A schematic diagram of a network architecture of a target network in a threat assessment method provided by an embodiment of the present invention;
[0046] Figure 3 A schematic diagram of a specific process of the threat assessment method provided by an embodiment of the present invention;
[0047] Figure 4 A schematic diagram of the structure of a threat assessment device provided by an embodiment of the present invention;
[0048] Figure 5 A block diagram of an exemplary electronic device that can be used to implement an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0049] Embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present invention. It should be understood that the drawings and embodiments of the present invention are only for exemplary purposes and are not intended to limit the scope of protection of the present invention.
[0050] It should be understood that the various steps described in the method embodiments of the present invention may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present invention is not limited in this respect.
[0051] The term "including" and its variations used in this document are open inclusions, that is, "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one other embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions of other terms will be given in the following description. It should be noted that the concepts of "first", "second", etc. mentioned in the present invention are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0052] It should be noted that the modifications of "one" and "plurality" mentioned in the present invention are illustrative rather than restrictive, and those skilled in the art should understand that, unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0053] The names of the messages or information exchanged between multiple devices in the embodiments of the present invention are only used for illustrative purposes, and are not used to limit the scope of these messages or information.
[0054] In order to improve the efficiency of assessing network attacks that an enterprise may suffer, an embodiment of the present invention provides a threat assessment method, device, electronic device and storage medium. The threat assessment method provided by the embodiment of the present invention can be applied to any electronic device with a threat assessment function, which can be a server, a computer or a mobile terminal. The following describes the scheme of the present invention with reference to the accompanying drawings:
[0055] Figure 1 A schematic diagram of a threat assessment method provided by an embodiment of the present invention, the method may include the following steps:
[0056] S101, acquiring asset data in a target network, wherein the asset data includes physical asset data and network asset data;
[0057] S102, taking each asset data as a graph node, adding edges to each graph node based on the data communication relationship between each asset data, to obtain a target graph;
[0058] S103, outputting candidate network attack paths based on the target graph using a preset graph calculation method;
[0059] S104, constructing a threat assessment model based on the attribute information of each of the graph nodes and the candidate network attack paths;
[0060] S105: Obtain a threat assessment result of the target network through the threat assessment model.
[0061] By using the embodiment of the present invention, the physical asset data and virtual asset data in the target network are used as graph nodes, and edges are added between the graph nodes based on the data communication relationship in the target network, thereby obtaining a target graph, and then a graph calculation method is used to obtain a candidate network attack path based on the target graph, and a threat assessment model is constructed based on the attribute information of the network attack path and the graph nodes, and then the threat assessment result of the target network is obtained using the threat assessment model. By obtaining a candidate network attack path based on the target graph and the corresponding graph calculation method, and performing a threat assessment based on the candidate network attack path and the attribute information of the graph nodes, the entire process is fully automatic without manual participation, saving human resources and improving the efficiency of threat assessment. At the same time, when establishing the target graph, all assets in the target network and the relationship between asset interactions are taken into account, so that the information contained in the graph is relatively complete, thereby improving the accuracy of the network attack path obtained based on the target graph. At the same time, when modeling the threat assessment model, the attribute information of the graph nodes is taken into account, further improving the accuracy of the threat assessment result.
[0062] The above S101-S105 are exemplarily described below:
[0063] The above-mentioned target network is a general term for various networks within the enterprise. For example, the target network may include business networks, office networks, etc. The target network may include a variety of assets. Assets are resources owned by the target network. For example, the assets may include physical assets and virtual assets. Among them, physical assets refer to the actual physical structure in the target network, which may include physical devices such as business servers, switches and routers. The above-mentioned virtual assets are network assets owned by the target network, which may include domain names, virtual IPs, network services, etc.
[0064] The above asset data can be determined based on the device information and network assets registered within the enterprise to which the target network belongs. For the convenience of management, the newly added resources in the target network are usually registered within the enterprise when they are added. Therefore, the resource information owned by the enterprise can be obtained based on the asset data information registered in the target network. In a possible embodiment, the asset data included in the target network can also be determined based on the traffic log of the target network. The traffic log can record the domain name information, IP address information, etc. used by the target network in actual applications.
[0065] By combining the asset data in the network architecture and the online assets cleaned from the actual network traffic to complement and cross-validate each other, the comprehensiveness of the asset data is improved, thereby improving the completeness of the target graph.
[0066] In an embodiment of the present invention, each asset in the target network can be used as a graph node and edges can be added between each graph node to construct a target graph in the target network. In a possible embodiment, each asset data can be used as a graph node, and each graph node corresponds to an asset data. In a possible embodiment, different asset data can be integrated according to the asset type, and nodes of the same type can be mapped to the same graph node. The graph node may include attribute information, and the attribute information may include the node type corresponding to the graph node and the device identification of each device corresponding to the graph node. The above-mentioned node type is the type of asset data, which may include a server, domain name, IP address, etc.
[0067] In a possible embodiment, a first data interaction relationship between each asset data can be determined based on the traffic log of the target network; a second data interaction relationship between each asset data can be determined based on the network architecture of the target network; and each asset data is used as a graph node, and edges are added to each graph node based on the first data interaction relationship and the second data interaction relationship to obtain a target graph.
[0068] The network architecture within the target network is pre-set. Figure 2 As shown, Figure 2It is a schematic diagram of a network architecture. The target network may include an access network, an access layer, an aggregation layer, a core layer and the Internet from bottom to top, wherein the access network may include the bottom-level servers, such as business servers, office servers and security device servers; the access layer may include a forwarding server for identifying business requests and forwarding the requests to the corresponding bottom-level servers for processing; the aggregation layer includes a forwarding server and a load balancing server for receiving and transmitting business requests; the core layer includes security devices, routing devices and traffic processing devices for receiving, filtering and distributing various requests sent from the external Internet; the Internet layer is used to connect to the external Internet and receive data requests sent from the external Internet.
[0069] Correspondingly, edges can be added between each graph node based on the data forwarding relationship between each device in the network architecture. For example, the routing device of the core layer may forward data to each device in the aggregation layer. Therefore, edges can be established between the graph nodes corresponding to the core layer routing devices and the graph nodes corresponding to each device in the aggregation layer.
[0070] In actual applications, data transmission in the external Internet is usually based on domain names and network IP addresses. Each domain name and network IP has a preset corresponding server. Therefore, based on this correspondence, edges can be established between the graph nodes corresponding to the virtual assets and the graph nodes corresponding to the physical assets.
[0071] In a possible embodiment, a traffic log inside the target network can be obtained, and the traffic log records the transmission path of each data, specifically, the data and the device identification of the data sent and received, and the device identification can be a number pre-set for different physical assets. Accordingly, the edges in the above-mentioned target graph can be obtained based on the traffic log. As a possible implementation method, based on the transmission path corresponding to the data in the traffic log, edges can be added between the graph nodes corresponding to the devices included in the transmission path corresponding to the same data.
[0072] After obtaining the target graph, a preset graph calculation method can be used to generate possible attack paths based on the target graph. As a possible implementation method, the graph nodes included in the target graph can be evaluated for centrality, node concentration, and node aggregation, so as to obtain the weights of each graph node and the edges between graph nodes, and the preset graph calculation method can be used to output possible attack paths based on the weights of the graph nodes and edges.
[0073] As a possible implementation, the weight of a graph node may be the value of the centrality, node concentration or node clustering of the graph node, or the average of the above values, and the weight of an edge may be the sum of the weights of the graph nodes connected by the edge. In other possible embodiments, the weights of graph nodes and edges between graph nodes may be obtained by other feasible methods.
[0074] The preset graph calculation method may be a decision tree algorithm, a random forest method, etc. Through the preset graph calculation method, a possible network attack path can be obtained based on the target graph, and the network attack path reflects the network attack situation that the target network may suffer.
[0075] In a possible embodiment, the attack path obtained based on the graph computing method may not occur in the actual application scenario. In order to avoid the impact of this part of the attack path that may not occur on the accuracy of the threat assessment, the above network attack path can be filtered.
[0076] As a possible implementation, filtering rules can be pre-set, such as setting the network attack path where all devices included in the network attack path are inside the target network and are not connected to the external Internet as an attack path that will not be implemented. The filtering rules can be determined according to the actual application scenario, and the present invention does not specifically limit this.
[0077] After obtaining the above network attack path, the network attack path can be filtered based on preset filtering rules to obtain a target network attack path, which is a feasible attack path.
[0078] In a possible embodiment, in order to further improve the evaluation integrity of the network attack path, attribute information can be supplemented for each graph node in the above target graph. Specifically, the attribute information may include security attributes and business attributes, wherein the security attributes may include the historical attack situation of the corresponding graph node, and may include alarms generated by security detection rules, interception records of security devices, and analysis of external attackers attacking the graph node. The above alarms and interception records can be obtained based on the security logs of the device corresponding to the graph node, and the analysis of the above external attackers includes the attack methods of the device being attacked, such as modifying the IP address, network monitoring, etc. The above business attributes may include the business information to which the asset data corresponding to the graph node belongs. Based on the business information, it can be determined whether the data request received by the corresponding server meets the data request that can be received by the service provided by the business, including the type of request that can be received, the sender of the request, the number of concurrent requests, and other information. The same request may be judged as a normal request and a suspicious malicious request in different business scenarios.
[0079] After adding the above-mentioned security attributes and business attributes to each graph node in the target graph, a threat assessment model can be constructed based on the attribute information of the graph node and the candidate network attack path. The threat assessment model can be a weight set for different factors, which may include the above-mentioned attribute information and the candidate network attack path (or the above-mentioned target network attack path). The above-mentioned weights can be pre-set according to the actual application scenario, or the initial weights can be set for each factor in accordance with the model training method, and the target network threat assessment can be performed based on the initial weights. The target network threat assessment can include evaluating the probability of occurrence of the network attack path, evaluating possible network attacks, or evaluating the number of times the graph node is attacked, etc. Afterwards, the above-mentioned weights can be adjusted based on the difference between the target network threat assessment result and the actual network attack record. The above-mentioned difference can be obtained based on the cross entropy loss function or the mean square error function. The above-mentioned adjustment can be to adjust each weight by a training method such as the gradient descent method.
[0080] As a possible implementation, the value corresponding to the security attribute can be the sum of the number of alarms and the number of interceptions. Different weights can also be set for different attack types, and the product of the weight and the sum is used as the value corresponding to the security attribute. The value corresponding to the business attribute can be set for different business attributes.
[0081] After obtaining the threat assessment model, the target network can be subjected to attack threat assessment based on the threat assessment model, thereby obtaining the threat assessment result of the target network. The threat assessment result may include possible network attack paths in the target network, the probability of occurrence of network attack paths, the probability of attack on each asset data, the attack paths in the preset area and their probability of occurrence, etc. The preset area may be divided according to the actual business in the target network, such as online business, offline business, etc.
[0082] like Figure 3 As shown, Figure 3 A specific flowchart of a threat assessment method provided by an embodiment of the present invention may include:
[0083] S31. Establish a network graph model based on the enterprise network architecture.
[0084] S32. After cleaning the asset database and flow data, complete asset data is obtained.
[0085] S33: Establish asset network relationships based on the asset data and a graph model established based on the enterprise network architecture to obtain a target graph, wherein the target graph includes graph nodes and edges connecting the graph nodes, wherein the graph nodes correspond one-to-one to the asset data, and the edges are obtained based on the enterprise network architecture or traffic logs.
[0086] S34. Use a preset graph calculation method to evaluate the network threat status based on the target graph. Specifically, it can evaluate the possible attack paths in the network, and then determine the network threat status of the devices corresponding to each graph node based on the attack paths associated with the graph nodes.
[0087] S35. Obtain security attribute information and business attribute information of each node.
[0088] S36. Construct a threat assessment model based on the attack path, security attribute information, and business attribute information obtained in S35.
[0089] S37. Utilize the threat assessment model to output the overall network attack threat assessment result.
[0090] The overall network attack threat assessment result may include the network attack threat assessment results of the devices corresponding to each node, the network attack threat assessment results of the preset area, and the network attack threat assessment results of the entire enterprise network.
[0091] In a possible embodiment, the above method may further include:
[0092] When a change in a graph node in the target network is detected, the target graph is updated based on the change in the graph node, and the process returns to the step of outputting a candidate network attack path based on the target graph using a preset graph calculation method.
[0093] The threat assessment method provided by the embodiment of the present invention can be run according to a preset time period, that is, the threat assessment method provided by the embodiment of the present invention can be applied to the target network at preset time intervals. In a possible embodiment, the threat assessment method provided by the embodiment of the present invention can also be applied to the target network for threat assessment when an update of a graph node or edge is detected in the target network.
[0094] By applying the embodiments of the present invention and combining the natural pairwise association characteristics of the network, all physical assets (such as servers, security devices, etc.) and virtual assets (such as domain names, virtual IPs, network services, etc.) are associated and modeled to form a graph. On this basis, graph computing capabilities are used to perform threat assessment. Compared with traditional statistical methods, rich information sources such as asset risks, network topology, and attack surfaces can be better integrated, and the accuracy and reliability of the assessment results can also be guaranteed when the network changes in real time.
[0095] Based on the same inventive concept, the embodiment of the present invention also provides a threat assessment device, such as Figure 4 As shown, the apparatus 400 may include:
[0096] An acquisition module 401 is used to acquire asset data in a target network, wherein the asset data includes physical asset data and network asset data;
[0097] A graph module 402 is used to take each asset data as a graph node, and add edges to each graph node based on the data communication relationship between each asset data to obtain a target graph;
[0098] A calculation module 403, configured to output a candidate network attack path based on the target graph using a preset graph calculation method;
[0099] A construction module 404 is used to construct a threat assessment model based on the attribute information of each of the graph nodes and the candidate network attack paths;
[0100] The assessment module 405 is used to obtain the threat assessment result of the target network through the threat assessment model.
[0101] In a possible embodiment, the acquiring of asset data in the target network includes:
[0102] Based on the asset data information registered in the target network and the traffic log of the target network, acquiring the asset data in the target network;
[0103] The method of taking each asset data as a graph node and adding edges to each graph node based on the data communication relationship between each asset data to obtain a target graph includes:
[0104] Determining a first data interaction relationship between each of the asset data based on the traffic log of the target network;
[0105] Based on the network architecture of the target network, determining a second data interaction relationship between each of the asset data;
[0106] The asset data are taken as graph nodes, and edges are added to the graph nodes based on the first data interaction relationship and the second data interaction relationship to obtain a target graph;
[0107] The device further comprises: a filtering module, configured to filter the candidate network attack paths according to a preset filtering rule to obtain a feasible network attack path;
[0108] The attribute information includes security attribute information and business attribute information, wherein the security attribute includes the number of historical security alarms and interception records of the asset data corresponding to the graph node, and the business attribute information includes the business information to which the asset data corresponding to the graph node belongs;
[0109] The device also includes an updating module for updating the target graph based on the changes in the graph nodes when a change in the graph nodes in the target network is detected, and returning to the step of outputting candidate network attack paths based on the target graph using a preset graph calculation method.
[0110] Among them, the collection, storage, use, processing, transmission, provision and disclosure of user personal information involved in the present invention are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.
[0111] The exemplary embodiment of the present invention further provides an electronic device, comprising: at least one processor; and a memory connected to the at least one processor in communication. The memory stores a computer program that can be executed by the at least one processor, and the computer program is used to enable the electronic device to perform a method according to an embodiment of the present invention when executed by the at least one processor.
[0112] Exemplary embodiments of the present invention also provide a non-transitory computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor of a computer, is used to cause the computer to perform a method according to an embodiment of the present invention.
[0113] An exemplary embodiment of the present invention further provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor of a computer, the computer is used to enable the computer to perform a method according to an embodiment of the present invention.
[0114] refer to Figure 5 , a block diagram of an electronic device 500 that can be used as a server or client of the present invention will now be described, which is an example of a hardware device that can be applied to various aspects of the present invention. The electronic device is intended to represent various forms of digital electronic computer devices, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0115] like Figure 5As shown, the electronic device 500 includes a computing unit 501, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 502 or a computer program loaded from a storage unit 508 into a random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the electronic device 500 can also be stored. The computing unit 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.
[0116] A plurality of components in the electronic device 500 are connected to the I / O interface 505, including: an input unit 506, an output unit 507, a storage unit 508, and a communication unit 509. The input unit 506 may be any type of device capable of inputting information to the electronic device 500, and the input unit 506 may receive input digital or character information, and generate key signal inputs related to user settings and / or function control of the electronic device. The output unit 507 may be any type of device capable of presenting information, and may include, but is not limited to, a display, a speaker, a video / audio output terminal, a vibrator, and / or a printer. The storage unit 508 may include, but is not limited to, a disk, an optical disk. The communication unit 509 allows the electronic device 500 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks, and may include, but is not limited to, a modem, a network card, an infrared communication device, a wireless communication transceiver, and / or a chipset, such as a Bluetooth™ device, a WiFi device, a WiMax device, a cellular communication device, and / or the like.
[0117] The computing unit 501 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 501 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 501 performs the various methods and processes described above. For example, in some embodiments, the above-mentioned threat assessment method may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 508. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 500 via the ROM 502 and / or the communication unit 509. In some embodiments, the computing unit 501 may be configured to perform the above-mentioned threat assessment method in any other appropriate manner (e.g., by means of firmware).
[0118] The program code for implementing the method of the present invention can be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general-purpose computer, a special-purpose computer or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code can be executed entirely on the machine, partially on the machine, partially on the machine as a stand-alone software package and partially on a remote machine, or entirely on a remote machine or server.
[0119] In the context of the present invention, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, 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 foregoing.
[0120] As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and / or device (e.g., disk, optical disk, memory, programmable logic device (PLD)) for providing machine instructions and / or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal for providing machine instructions and / or data to a programmable processor.
[0121] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0122] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.
[0123] A computer system may include clients and servers. Clients and servers are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship to each other.
Claims
1. A threat assessment method, characterized in that: The method comprises: Acquire asset data within the target network, the asset data including physical asset data and network asset data; Taking each asset data as a graph node, adding edges to each graph node based on the data communication relationship between each asset data, to obtain a target graph; Outputting candidate network attack paths based on the target graph using a preset graph calculation method; Constructing a threat assessment model based on the attribute information of each of the graph nodes and the candidate network attack paths; The threat assessment result of the target network is obtained through the threat assessment model.
2. The method according to claim 1, characterized in that: The obtaining of asset data in the target network includes: Based on the asset data information registered in the target network and the traffic log of the target network, the asset data in the target network is acquired.
3. The method according to claim 1, characterized in that: The method of taking each asset data as a graph node and adding edges to each graph node based on the data communication relationship between each asset data to obtain a target graph includes: Determining a first data interaction relationship between each of the asset data based on the traffic log of the target network; Based on the network architecture of the target network, determining a second data interaction relationship between each of the asset data; The target graph is obtained by taking each asset data as a graph node, adding edges to each graph node based on the first data interaction relationship and the second data interaction relationship.
4. The method according to claim 1, characterized in that: The method further comprises: According to the preset filtering rules, the candidate network attack paths are filtered to obtain feasible network attack paths.
5. The method according to claim 1, characterized in that The attribute information includes security attribute information and business attribute information, wherein the security attribute includes the number of historical security alarms and interception records of the asset data corresponding to the graph node, and the business attribute information includes the business information to which the asset data corresponding to the graph node belongs.
6. The method according to claim 1, characterized in that The method further comprises: When a change in a graph node in the target network is detected, the target graph is updated based on the change in the graph node, and the process returns to the step of outputting a candidate network attack path based on the target graph using a preset graph calculation method.
7. A threat assessment device, characterized in that: The device comprises: An acquisition module, used to acquire asset data in a target network, wherein the asset data includes physical asset data and network asset data; A graph module, used to take each asset data as a graph node, and add edges to each graph node based on the data communication relationship between each asset data, so as to obtain a target graph; A calculation module, configured to output a candidate network attack path based on the target graph using a preset graph calculation method; A construction module, used to construct a threat assessment model based on the attribute information of each of the graph nodes and the candidate network attack paths; An assessment module is used to obtain a threat assessment result of the target network through the threat assessment model.
8. The device according to claim 7, characterized in that The obtaining of asset data in the target network includes: Based on the asset data information registered in the target network and the traffic log of the target network, acquiring the asset data in the target network; The method of taking each asset data as a graph node and adding edges to each graph node based on the data communication relationship between each asset data to obtain a target graph includes: Determining a first data interaction relationship between each of the asset data based on the traffic log of the target network; Based on the network architecture of the target network, determining a second data interaction relationship between each of the asset data; The asset data are taken as graph nodes, and edges are added to the graph nodes based on the first data interaction relationship and the second data interaction relationship to obtain a target graph; The device further comprises: a filtering module, configured to filter the candidate network attack paths according to a preset filtering rule to obtain a feasible network attack path; The attribute information includes security attribute information and business attribute information, wherein the security attribute includes the number of historical security alarms and interception records of the asset data corresponding to the graph node, and the business attribute information includes the business information to which the asset data corresponding to the graph node belongs; The device also includes an updating module for updating the target graph based on the changes in the graph nodes when a change in the graph nodes in the target network is detected, and returning to the step of outputting candidate network attack paths based on the target graph using a preset graph calculation method.
9. An electronic device, comprising: processor; as well as Memory for storing programs, The program includes instructions, which, when executed by the processor, cause the processor to perform the method according to any one of claims 1 to 6.
10. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to make a computer execute the method according to any one of claims 1-6.
Citation Information
Cited By
Threat detection method and device for sensitive data, equipment and storage medium
CN119402240A
Threat detection method, device and equipment for sensitive data and storage medium
CN119402240B
Threat assessment method and device for in-vehicle network, vehicle, medium and program product
CN121462222A
