Information processing device and information processing method
The information processing apparatus enhances threat estimation accuracy by converting Firewall rules into a readable format for LLMs and verifying inference results, addressing the issue of incorrect interpretations in existing systems.
Patent Information
- Application Number
- PCT/JP2025/018614
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2025-05-22
- Publication Date
- 2026-11-26
AI Technical Summary
Existing systems face challenges in accurately estimating threats on attack paths due to Large Language Models (LLM) incorrectly interpreting Firewall (FW) rule descriptions, leading to incorrect inferences.
An information processing apparatus and method that includes a processing unit to convert Firewall setting rules into a general description readable by the LLM, and a check unit to verify the inference results against pre-registered check expressions, enhancing threat estimation accuracy.
Improves the accuracy of threat estimation on attack paths by ensuring the LLM correctly interprets Firewall rules, providing precise threat assessments in complex systems.
Smart Images

Figure JP2025018614_26112026_PF_FP_ABST
Abstract
Description
Information Processing Apparatus and Information Processing Method
[0001] The present invention relates to an information processing apparatus and an information processing method.
[0002] With the increase of systems including multiple devices, cyberattacks that span multiple devices configuring the system are increasing. On the other hand, by monitoring and managing the Attack Surface targeted by cyberattacks, it is possible to promptly respond to daily vulnerability handling and threat suppression.
[0003] As a monitoring and management technology for the Attack Surface, there is a technology that inputs known threat information and system configuration information as natural language, uses Large Language Models (LLM), extracts attack paths to the system based on the threat information, and estimates threats according to the defense countermeasure status on the paths (Non-Patent Document 1).
[0004] Tomohiro Nagai, Yuki Yamanaka, Yasuhiro Teramoto, Tomoya Yamashita, Akio Shiga, Ryota Sato, "Proposal of Cyber Attack Path Analysis System Considering Firewall Rules Utilizing LLM," The Institute of Electronics, Information and Communication Engineers Technical Report, vol. 124, no. 422, ICSS2024-73, pp. 31-38, March 2025.
[0005] The technology described in Non-Patent Document 1 detects vulnerable terminals, estimates attack paths using LLM, and estimates threats according to the defense status including security setting information on the paths. However, in the technology described in Non-Patent Document 1, when a Firewall (FW) is provided on the attack path, for example, the LLM may not correctly read the simplified description formula of the FW rule and may perform incorrect inference.
[0006] The present invention has been made in view of the above, and an object of the present invention is to provide an information processing apparatus and an information processing method that can improve the estimation accuracy of threats on attack paths in a system including multiple devices.
[0007] To solve the above-mentioned problems and achieve the objective, the information processing device according to the present invention includes: a receiving unit that receives queries containing information about threats; an attack target device determination unit that determines which of the plurality of devices may be targeted for attack based on the information about threats contained in the queries received by the receiving unit and information about a plurality of devices included in the system to be determined as threats; an attack path determination unit that determines an attack path to the attack target device using a large-scale language model based on information about devices, networks, security, and the management of the system included in the system to be determined as threats; and a threat estimation unit that estimates the threat in the attack path determined by the attack path determination unit, wherein the threat estimation unit includes at least a processing unit that completes the description of the firewall setting rules included in the attack path into a general description that the large-scale language model can read; and an inference unit that uses the large-scale language model to infer the threat in the attack path based on the firewall setting rules completed by the processing unit.
[0008] Furthermore, the information processing device according to the present invention includes: a receiving unit that receives queries containing information about threats; an attack target device determination unit that determines which of the plurality of devices may be targeted for attack based on the information about threats contained in the queries received by the receiving unit and information about a plurality of devices included in the system subject to threat determination; an attack path determination unit that determines an attack path to the attack target device using a large-scale language model based on information about devices, networks, security, and the management of the system subject to threat determination; and a threat estimation unit that estimates the threat in the attack path determined by the attack path determination unit. The threat estimation unit is characterized by including at least an inference unit that infers the threat in the attack path using a large-scale language model based on the firewall setting rules included in the attack path; and a check unit that pre-registers check expressions for each firewall setting rule and determines whether the inference result for the firewall among the inference results by the inference unit is the same as the check expression corresponding to the firewall being inferred.
[0009] Furthermore, the information processing method according to the present invention is an information processing method executed by an information processing device, which includes receiving a query containing information about a threat, determining which of the multiple devices may be targeted for attack based on the information about the threat contained in the received query and information about multiple devices included in the system subject to threat determination, determining the attack path to the target device using a large-scale language model based on information about the devices, network, security, and management of the system subject to threat determination, and estimating the threat in the determined attack path, wherein the estimation of the threat includes at least processing the descriptive expression of the firewall configuration rules included in the attack path into a general descriptive expression that the large-scale language model can read, and inferring the threat in the attack path using the large-scale language model based on the processed firewall configuration rules.
[0010] Furthermore, the information processing method according to the present invention is an information processing method executed by an information processing device, which includes receiving a query containing information about a threat, determining which of the multiple devices may be targeted for attack based on the information about the threat contained in the received query and information about multiple devices included in the system subject to threat determination, determining the attack path to the target device using a large-scale language model based on information about the devices, network, security, and management of the system subject to threat determination, and estimating the threat in the determined attack path, wherein the estimation of the threat includes, at a minimum, inferring the threat in the attack path using a large-scale language model based on the firewall configuration rules included in the attack path, pre-registering check expressions for each firewall configuration rule, and determining whether the inference result for the firewall among the inference results for the threat is the same as the check expression corresponding to the firewall being inferred.
[0011] According to the present invention, the accuracy of estimating threats in an attack path can be improved in a system including multiple devices.
[0012] Figure 1 is a diagram illustrating the overview of processing in the information processing apparatus of the embodiment. Figure 2 is a diagram illustrating the overview of processing in the information processing apparatus of the embodiment. Figure 3 is a diagram illustrating the overview of processing in the information processing apparatus of the embodiment. Figure 4 is a diagram illustrating the overview of processing in the information processing apparatus of the embodiment. Figure 5 is a diagram illustrating the overview of processing in the information processing apparatus of the embodiment. Figure 6 is a diagram illustrating the overview of processing in the information processing apparatus of the embodiment. Figure 7 is a diagram illustrating the overview of processing in the information processing apparatus of the embodiment. Figure 8 is a diagram illustrating the overview of processing in the information processing apparatus of the embodiment. Figure 9 is a diagram illustrating an example of the configuration of the information processing system of the embodiment. Figure 10 is a diagram illustrating an example of a method for adding system configuration information to the system configuration information storage unit of the storage unit in the information processing apparatus of the embodiment. Figure 11 is a diagram illustrating another example of system configuration information to the system configuration information storage unit of the storage unit in the information processing apparatus of the embodiment. Figure 12 is a diagram illustrating an example of a method for determining an attack target device by the attack target device determination unit of the processing unit in the information processing apparatus of the embodiment. Figure 13 is a diagram illustrating another example of a method for determining an attack target device by the attack target device determination unit of the processing unit in the information processing apparatus of the embodiment. Figure 14 shows an example of an input prompt, which is a prompt input to the LLM by the attack path determination unit of the processing unit in the information processing apparatus according to the embodiment. Figure 15 shows an example of attack path information retrieved by a search query output from the LLM to which the input prompt shown in Figure 7 was input, by the attack path determination unit of the processing unit in the information processing apparatus according to the embodiment. Figure 16 shows another example of an input prompt, which is a prompt input to the LLM by the attack path determination unit of the processing unit in the information processing apparatus according to the embodiment. Figure 17 shows an example of attack path information output from the LLM to which the input prompt shown in Figure 16 was input, by the attack path determination unit of the processing unit in the information processing apparatus according to the embodiment. Figure 18 shows an example of a regular expression parser called from the processing method storage unit by the parser unit shown in Figure 9. Figure 19 shows an example of a simplified FW rule. Figure 20 shows an example of a completed FW rule.Figure 21 shows an example of a prompt input to the LLM by the parser unit shown in Figure 9. Figure 22 shows an example of the output of the LLM. Figure 23 shows an example of an input prompt, which is a prompt input to the LLM by the inference unit of the processing unit in the information processing apparatus according to the embodiment. Figure 24 shows an example of the output of the LLM when the input prompt shown in Figure 23 is input by the threat estimation unit of the processing unit in the information processing apparatus according to the embodiment. Figure 25 shows another example of an input prompt, which is a prompt input to the LLM by the threat estimation unit of the processing unit in the information processing apparatus according to the embodiment. Figure 26 shows an example of the output of the LLM when the input prompt shown in Figure 13 is input by the threat estimation unit of the processing unit in the information processing apparatus according to the embodiment. Figure 27 is a diagram illustrating the processing of the check unit shown in Figure 9. Figure 28 shows an example of a program that generates a rule base from FW rules. Figure 29 is a flowchart showing an example of registration processing by the processing method registration unit of the information processing apparatus according to the embodiment. Figure 30 is a flowchart showing an example of information processing by the processing unit of the information processing apparatus according to the embodiment. Figure 31 is a flowchart showing the processing procedure of the threat estimation process shown in Figure 30. Figure 32 is a flowchart illustrating the processing procedure of the check process shown in Figure 31. Figure 33 is a diagram illustrating the threat estimation process. Figure 34 is a flowchart illustrating another example of information processing by the processing unit of the information processing device according to the embodiment. Figure 35 is a diagram illustrating the technology described in Non-Patent Document 1. Figure 36 is a diagram illustrating the technology described in Non-Patent Document 1. Figure 37 is a diagram illustrating the processing of the information processing device according to the embodiment. Figure 38 is a diagram illustrating an example of a computer in which the information processing device is realized by the execution of a program.
[0013] [Embodiment] An embodiment of the present invention will be described in detail below with reference to the drawings. However, the present invention is not limited by this embodiment. In the drawings, the same parts are denoted by the same reference numerals.
[0014] [Overview of the Information Processing Device] Figures 1 to 8 are diagrams illustrating the overview of the processing in the information processing device of the embodiment. As shown in Figure 1, the information processing device 1 of the embodiment receives a user query transmitted from the terminal device 2 of user U (step S1 in Figure 1). The user query is an example of a query.
[0015] User U is, for example, an administrator who performs system maintenance and management, but is not limited to this example. User U can operate terminal device 2 and input, for example, threat-related information, which is information about threats, and system-specific information, which is information that identifies the system, into terminal device 2, thereby causing terminal device 2 to send user queries.
[0016] User queries include, for example, threat-related information, which is information about threats, and system-specific information, which is information that identifies a system. Threat-related information includes, for example, information about software or hardware that may pose a threat.
[0017] Information regarding potentially threatening software includes, but is not limited to, information identifying potentially threatening software or information regarding software vulnerabilities. Similarly, information regarding potentially threatening hardware includes, but is not limited to, information identifying potentially threatening hardware or information regarding hardware vulnerabilities.
[0018] Information identifying software includes, but is not limited to, information indicating the software's name, information indicating the software's name and version, the software's product code, or the software's identification number. Software includes, but is not limited to, an operating system (OS), applications, libraries, etc.
[0019] Hardware identifying information includes, but is not limited to, information indicating the name of the hardware, information indicating the name and version of the hardware, the product code of the hardware, or the hardware identification number. Hardware includes, but is not limited to, a CPU (Central Processing Unit), a GPU (Graphics Processing Unit), memory, and interfaces.
[0020] Vulnerability information may include, for example, a CVE (Common Vulnerabilities and Exposures) number, or information obtained from sources such as the NVD (National Vulnerability Database), but is not limited to these examples. For instance, vulnerability information may also be the result of running a vulnerability detection tool such as Grype.
[0021] System-specific information includes, but is not limited to, information indicating the system name, the system's product code, or the system's identification number.
[0022] Next, the information processing device 1 determines, based on the threat-related information contained in the user query received in step S1 of Figure 1 and the information of multiple devices included in the threat-determining target system, which devices from among the multiple devices included in the threat-determining target system are devices that could be targeted for attack (vulnerable terminals) (step S2 of Figure 1) ((1) of Figure 2). A device that could be targeted for attack is a device that is subject to damage from a threat corresponding to the threat-related information contained in the user query received in step S1 of Figure 1.
[0023] A system targeted for threat assessment is a system that is subject to threat assessment. The information processing device 1 identifies the system indicated by the system identification information included in the user query as the system targeted for threat assessment, and obtains information on multiple devices included in the system targeted for threat assessment from an internal storage unit or an external database.
[0024] Each piece of information for multiple devices includes attribute information for the corresponding device among the multiple devices. In the following, information containing attribute information for multiple devices that make up the system may be referred to as device attribute information. The attribute information for each device includes label information (e.g., WorkStation_PC_01), OS information, IP (Internet Protocol) information, SBM (Software Bill of Materials), vulnerability information (results of execution of vulnerability detection tools such as Grype), etc.
[0025] Label information is information that makes it easier for users (U) to identify a device. IP information includes information such as IP addresses and port numbers. SBOM includes information that identifies components such as libraries and modules, information that shows the dependencies between components, and information about known vulnerabilities in each component. Information that identifies a component is, for example, information that shows the name of the component. Vulnerability information is, for example, information that shows the CVE number and the content of the vulnerability. Information that shows the dependencies between components includes information about other components that a component directly or indirectly depends on. The CVE number is sometimes expressed as CVE-ID (Identifier).
[0026] Here, let's assume that the threat-related information included in the user query received in step S1 of Figure 1 is information indicating a specific OS. In this case, the information processing device 1 identifies attribute information that includes information indicating a specific OS, and determines that the device indicated by the identified attribute information is a target device for attack.
[0027] Furthermore, let's assume that the threat-related information included in the user query received in step S1 of Figure 1 is a specific CVE number. In this case, the information processing device 1 identifies the device associated with the specific CVE number and determines that the identified device is a target device for attack.
[0028] In this way, the information processing device 1 obtains vulnerability information (e.g., CVE) from the device's SBOM information using a vulnerability management tool (e.g., Grype) (Figure 3 (1)). Since the information processing device 1 determines the target device using threat-related information, it can determine realistic target devices (e.g., Server A) that are likely to be attacked within the threat assessment target system.
[0029] Next, the information processing device 1 determines the attack path to the target device based on system configuration information that includes information indicating the connection relationships of multiple devices included in the threat assessment target system (step S3 in Figure 1, (2) in Figure 3, and (2) in Figure 4). For example, the information processing device 1 determines the path from the network (e.g., the internet) to the target device as the attack path to the target device.
[0030] System configuration information includes information about multiple nodes (devices) and information about the edges (communication paths) connecting the nodes. System configuration information may be, for example, information defined in a graph database or information written in Mermaid notation, but is not limited to these examples.
[0031] In the example shown in Figure 1, the system targeted for threat assessment, as indicated by the system configuration information, includes the Internet, Firewall, Router, Server A, Server B, and Server C, and the target device determined by the Information Processing Unit 1 is Server A. In this case, as shown in Figure 5, the Information Processing Unit 1 uses LLM to extract attack paths that can be used to attempt an attack on the target device (Server A) (Figure 5 (2)). For example, the Information Processing Unit 1 determines the path Internet → Firewall → Switch → Server A as an attack path to the target device.
[0032] In this way, the information processing device 1 determines the attack path to the target device determined using threat-related information, thereby enabling it to determine realistic attack paths that may occur within the system targeted for threat assessment.
[0033] Next, the information processing device 1 estimates the threat in the attack path determined in step S3 (step S4 in Figure 1) ((3) in Figure 6). For example, the information processing device 1 estimates the threat in the attack path based on attack path-related information, which is information about the management of devices, networks, security, and threat-determining target systems included in the attack path determined in step S3, and vulnerability information corresponding to the threat-related information included in the user query.
[0034] Information about devices included in an attack path consists of attribute information about those devices. Information about networks included in an attack path consists of network attribute information indicating the attributes of the networks (communication channels) connecting the devices included in the attack path. Network attribute information includes information such as network segment and link type. Link type can be wired or wireless.
[0035] Security information includes security attribute information for devices included in the attack path and security attribute information for the network included in the attack path. Security attribute information for devices includes, for example, information on rules and settings of devices (e.g., firewalls), logs, and information on vulnerabilities associated with devices (information distributed by NVDs, etc.). Security attribute information for networks includes, for example, information on communication encryption, communication access control, communication protocols, and network segmentation.
[0036] Information regarding the management of systems subject to threat assessment includes information such as the name of the device administrator, device maintenance contract information, information indicating the authentication method for login, information indicating recent configuration updates and changes, operation management information, and system-wide security-related regulations and policies.
[0037] The information processing device 1 estimates threats in the attack path using, for example, a Large Language Model (LLM). For example, the information processing device 1 inputs a prompt to the LLM that includes attack path-related information, vulnerability information corresponding to threat-related information included in the user query, and instruction information that instructs the LLM to estimate threats in the attack path, causing the LLM to output the threat estimation result in the attack path. As shown in Figure 7, the LLM reads the security settings such as firewalls present on the attack path determined in step S3 of Figure 1 and the vulnerability information obtained in step S2 of Figure 1, and estimates the feasibility of the attack (Figure 7 (3)). Alternatively, the information processing device 1 can estimate threats in the attack path using rule-based processing instead of using an LLM.
[0038] In step S4 of Figure 1, during the inference process, the LLM sometimes failed to correctly read, for example, the simplified or proprietary descriptions of the FW setting rules, leading to incorrect inferences. Therefore, the information processing device 1 improves the inference accuracy of the LLM by supplementing the simplified and / or proprietary descriptions of the FW setting rules to a level that the LLM can read.
[0039] Specifically, the information processing device 1 is provided with a processing method registration unit 121, as shown in Figure 8. The processing method registration unit 121 performs preprocessing to register a supplementary processing method, which supplements the FW setting rules, in the processing method storage unit 111, for example, according to the user's operation (Figure 8 (1)). The supplementary processing method is a parser that supplements the simplified or proprietary description of the FW setting rules into a general description that the LLM can read.
[0040] The information processing device 1 is equipped with a parser unit 331 that performs complementary processing on FW rules using complementary processing methods for FW rules registered in the processing method storage unit 111. The parser unit 331 refers to the settings of the FW, calls up a complementary processing method from the processing method storage unit 111 (Figure 8 (2)), performs complementary processing on the FW setting rules, and inputs the complementary FW setting rules to the LLM via the inference unit 332.
[0041] Furthermore, the information processing device 1 is provided with a check unit 333. The check unit 333 is a tool that strictly checks the inference result regarding the possibility of attack estimated by the LLM in step S3 using a check formula of the FW rule that can be utilized by the AI Agent (inference unit 332). The information processing device 1 registers a check formula for the FW setting rule on a rule basis. The check unit 333 improves the estimation accuracy of the LLM by determining whether the estimation result regarding the possibility of attack estimated by the LLM (inference unit 332) and the check formula of the FW rule are the same.
[0042] As described above, since the information processing device 1 estimates the threat in the attack route using information related to management of devices, networks, security, and a threat determination target system included in the attack route, it is possible to estimate the threat with high accuracy in consideration of a state of an actual defense countermeasure in the attack route (for example, a countermeasure in security countermeasure or system management).
[0043] Subsequently, the information processing device 1 provides threat information, which is information on the threat estimated in step S4 of FIG. 1, to the user U (step S5 of FIG. 1). For example, the information processing device 1 provides the threat information to the user U by transmitting the threat information, which is information on the threat estimated in step S4, to the terminal device 2. When receiving the threat information from the information processing device 1, the terminal device 2 displays the received threat information on the terminal device 2.
[0044] The threat information includes, for example, information on a character string such as “the firewall permits only Web traffic, and other communication is blocked. However, when CVE-2024-3400 is affected, the firewall itself may be broken through by an attack.” Further, the threat information includes a diagram showing the attack route, a line indicating an attack target device, and the like, but is not limited to such an example.
[0045] In this way, the information processing apparatus 1 can determine an attack target device from among a plurality of devices constituting the threat determination target system based on the user query, and estimate threats by narrowing down to some attack paths in the threat determination target system. As a result, the information processing apparatus 1 can reduce the processing load compared to a case where all attack paths in the threat determination target system are determined. Hereinafter, an information processing system including the information processing apparatus 1 and the terminal device 2 will be described in detail.
[0046] [Configuration of Information Processing System] FIG. 9 is a diagram illustrating an example of the configuration of the information processing system according to the embodiment. As illustrated in FIG. 9, the information processing system 100 according to the embodiment includes an information processing apparatus 1, a terminal device 2, and an information processing apparatus 3. The information processing apparatus 1, the terminal device 2, and the information processing apparatus 3 are communicably connected via a network N.
[0047] The network N is, for example, a WAN (Wide Area Network) such as the Internet, but may be a LAN (Local Area Network) or the like. The information processing apparatuses 1 and 3 are, for example, general-purpose computers such as servers, and the terminal device 2 is, for example, a general-purpose computer such as a notebook PC (Personal Computer) or a laptop PC, but is not limited to such an example.
[0048] The information processing apparatus 3 has an LLM. The information processing apparatus 1 can use the LLM included in the information processing apparatus 3 through an API (Application Programming Interface). Note that the LLM used by the information processing apparatus 1 may be included in the information processing apparatus 1.
[0049] As illustrated in FIG. 9, the information processing apparatus 1 according to the embodiment includes a communication unit 10, a storage unit 11, and a processing unit 12.
[0050] The communication unit 10 controls communication between an external device and the processing unit 12 via an electric communication line such as a LAN or the Internet. The communication unit 10 is implemented by, for example, an NIC (Network Interface Card) or a communication module.
[0051] The memory unit 11 pre-stores information processing programs for operating the information processing device 1, as well as information (data) used during the execution of the information processing programs, or temporarily stores them each time processing is performed.
[0052] The storage unit 11 includes a processing method storage unit 111, a system configuration information storage unit 20, a device attribute information storage unit 21, a network attribute information storage unit 22, a security attribute information storage unit 23, and a management attribute information storage unit 24.
[0053] The processing method storage unit 111 stores a supplementary processing method for the FW setting rules. The processing method storage unit 111 stores a regular expression parser as a supplementary processing method that supplements the simplified description of the FW setting rules, and / or the description written using proprietary rules, into a general description that the LLM can read.
[0054] The system configuration information storage unit 20 contains the system configuration information for each of the multiple systems. The system configuration information includes information on multiple nodes (devices) and information on edges (connection paths) that connect the nodes. The system configuration information is, for example, information defined in a graph database or information described in Mermaid notation, but is not limited to such examples. Each system configuration information is associated with, for example, identification information of the corresponding system, but is not limited to such examples.
[0055] System configuration information, in the case of a graph database, includes information about nodes, edges, and properties. In a graph database, devices are represented by nodes, and networks are represented by edges. Properties are additional information assigned to nodes and edges. An example of a graph database is Neo4j, but it is not limited to such examples.
[0056] Figure 10 is a diagram showing an example of a method for adding system configuration information to the system configuration information storage unit 20 of the storage unit 11 in the information processing device 1 according to the embodiment. The example shown in Figure 10 is a diagram showing an example of a Cypher query for adding new system configuration information to the system configuration information storage unit 20. The Cypher query shown in Figure 10 includes information such as the Internet, FW, web server, router, database server, first workstation, and second workstation as node information.
[0057] Furthermore, the Cypher query shown in Figure 10 includes edge information such as information about the edge connecting the internet and the firewall, information about the edge connecting the firewall and the router, and information about the edge connecting the firewall and the web server. Additionally, the Cypher query shown in Figure 10 includes edge information such as information about the edge connecting the router and the database server, information about the edge connecting the router and the first workstation, and information about the edge connecting the router and the second workstation.
[0058] Furthermore, in Mermaid notation, system configuration information includes information such as layout, nodes, and edges. In Mermaid notation as well, devices are represented by nodes, and networks are represented by edges.
[0059] Figure 11 shows another example of system configuration information stored in the system configuration information storage unit 20 of the storage unit 11 in the information processing device 1 according to the embodiment. The system configuration information shown in Figure 11 is information described in Mermaid notation. The system configuration information shown in Figure 11 includes, as nodes, the Internet, FW, router, web server, database server, and first to fifth workstations.
[0060] Furthermore, the system configuration information shown in Figure 11 includes, as edge information, information on the edge connecting the Internet and the firewall, information on the edge connecting the firewall and the router, information on the edge connecting the firewall and the web server, and information on five edges that individually connect the router to each of the first to fifth workstations.
[0061] Returning to Figure 9, let's continue the explanation of the storage unit 11. The device attribute information storage unit 21 contains attribute information for each device. The attribute information for each device includes label information (e.g., WorkStation_PC_01), OS information, IP information, SBOM, vulnerability information (results of execution of vulnerability detection tools such as Grype), etc. For example, the attribute information for each device is associated with the identification information of the corresponding system, but is not limited to this example.
[0062] Label information is information that makes it easier for users (U) to identify a device. IP information includes information such as IP addresses and port numbers. SBOM includes information that identifies components such as libraries and modules (e.g., information indicating the component's name), information indicating the dependencies between components, and information on known vulnerabilities for each component (e.g., CVE numbers and information indicating the nature of the vulnerabilities). Information indicating component dependencies includes information on other components on which a component directly or indirectly depends.
[0063] The network attribute information storage unit 22 contains network attribute information for each edge (communication channel). The network attribute information for each edge includes information such as network segment and link type. The link type is wired, wireless, etc. The network attribute information for each network (edge) is associated with, for example, the identification information of the corresponding system and the identification information of each corresponding edge, but is not limited to such examples.
[0064] The security attribute information storage unit 23 includes security attribute information for each node (device) as information related to the security of each node, and security attribute information for each edge (communication channel) as information related to the security of each edge. The security information for each node is associated with, for example, the identification information of the corresponding system or the identification information of the corresponding node. The security information for each edge is associated with, for example, the identification information of the corresponding system or the identification information of each corresponding edge, but is not limited to such examples.
[0065] Node security attribute information includes, for example, information on rules and settings of devices (e.g., firewalls), logs, and information on vulnerabilities associated with the devices (information distributed by NVD, etc.). Edge security attribute information includes, for example, information on communication encryption, communication access control, communication protocols, and network segmentation.
[0066] The management attribute information storage unit 24 includes management attribute information for each system as information related to the management of each system. The system management attribute information includes information such as the name of the device administrator, device maintenance contract information, information indicating the authentication method for login, information indicating the most recent setting updates and changes, operation management information, and security-related regulations and policies for the entire system. Information related to the management of each system is associated with, for example, the identification information of the corresponding system, but is not limited to such examples.
[0067] The processing unit 12 is implemented using a processor such as a CPU or GPU and executes the information processing program stored in the storage unit 11. As a result, the processing unit 12 functions as a processing method registration unit 121, a reception unit 30, an attack target device determination unit 31, an attack path determination unit 32, a threat estimation unit 33, a state management unit 34, and a provision unit 35, as illustrated in Figure 9, and performs information processing. Note that each or part of these functional units may be implemented on different hardware. Furthermore, the processing unit 12 may also include other functional units.
[0068] The processing method registration unit 121 registers a supplementary processing method for the FW setting rules in the processing method storage unit 111. The supplementary processing method is a regular expression parser that supplements the simplified description and / or the description written in a proprietary rule of the FW setting rules into a general description that the LLM can read.
[0069] The regular expression parser may be one in which the user directly writes the regular expression. Alternatively, the regular expression parser may output both the input data and the prompt to the LLM. The prompt instructs the LLM to complete the input FW configuration rule, including its simplified and / or custom-written descriptions, into a general description that it can read.
[0070] The processing method registration unit 121 registers the supplementary processing rules in a format that conforms to the original description format of the FW setting rules. For example, if the original description format of the FW setting rules is in ACL (Access Control List) format, the processing method registration unit 121 registers the supplementary processing rules in ACL format. Alternatively, the processing method registration unit 121 may register the supplementary processing rules in a modified form of a specific description rule. For example, if the original description format of the FW setting rules is in ACL format, the processing method registration unit 121 registers the supplementary processing rules in a proprietary dictionary format.
[0071] The reception unit 30 receives various queries. For example, the reception unit 30 receives user queries sent from user U's terminal device 2. User U can operate the terminal device 2 to send user queries from the terminal device 2.
[0072] User queries include, for example, threat-related information, which is information about threats, and system-specific information, which is information that identifies a system. Threat-related information includes, for example, information about software or hardware that may pose a threat.
[0073] Information regarding potentially threatening software and hardware includes, but is not limited to, information identifying potentially threatening software, information identifying potentially threatening hardware, information about software vulnerabilities, and information about hardware vulnerabilities, as described above.
[0074] Vulnerability information may include, for example, a CVE number or information obtained from sources such as NVD, but is not limited to these examples. For example, vulnerability information may also be the result of running a vulnerability detection tool such as Grype.
[0075] System-specific information includes, but is not limited to, information indicating the system name, the system's product code, or the system's identification number.
[0076] The attack target device determination unit 31 determines which devices from among the multiple devices included in the threat detection target system are likely to be targeted for attack, based on the threat-related information contained in the user query received by the reception unit 30 and the information of multiple devices included in the threat detection target system. The devices that are likely to be targeted for attack are those that are susceptible to damage from the threat corresponding to the threat-related information contained in the user query received by the reception unit 30.
[0077] A threat-target system is a system that is subject to threat assessment. The attack target device determination unit 31 identifies the system indicated by the system identification information included in the user query as the threat-target system and obtains information on multiple devices included in the threat-target system from the storage unit 11 (for example, the device attribute information storage unit 21) or an external database, but is not limited to this example. For example, information on multiple devices may be included in the user query, in which case the attack target device determination unit 31 can obtain information on multiple devices from the user query received by the reception unit 30.
[0078] Each piece of information for multiple devices includes attribute information for the corresponding device among the multiple devices. This attribute information for each device includes, but is not limited to, label information (e.g., WorkStation_PC_01), OS information, IP information, SBOM, and vulnerability information (results from vulnerability detection tools such as Grype), as described above.
[0079] Here, let's assume that the threat-related information included in the user query received by the reception unit 30 is information indicating a specific OS. In this case, the attack target device determination unit 31 identifies attribute information that includes information indicating a specific OS, and determines that the device indicated by the identified attribute information is an attack target device.
[0080] Furthermore, the threat-related information included in the user query received by the reception unit 30 is assumed to be a specific CVE number. In this case, the attack target device determination unit 31 identifies devices related to the specific CVE number and determines that the identified devices are attack target devices.
[0081] Thus, since the attack target device determination unit 31 determines the attack target device using threat-related information, it can determine realistic attack target devices that are likely to occur within the threat-determining system.
[0082] Figure 12 shows an example of a method for determining an attack target device by the attack target device determination unit 31 of the processing unit 12 in the information processing device 1 according to the embodiment. In the storage unit 11 shown in Figure 12, the device attribute information includes attribute information for each device such as "WorkStation_PC_01: os: ubuntu...", "WorkStation_PC_02: os: Fedora Linux (registered trademark) 40...", etc.
[0083] When the attack target device determination unit 31 receives a user query containing the OS name "Fedora Linux 40", it searches the device attribute information for devices with the OS named "Fedora Linux 40", and determines the devices found in the search to be attack target devices. In the example shown in Figure 12, "WorkStation_PC_02" is determined to be an attack target device.
[0084] The target device determination unit 31 can also determine target devices using LLM. For example, the target device determination unit 31 can utilize the LLM provided by the information processing device 3 through the LLM API provided by the information processing device 3.
[0085] Figure 13 shows another example of the method by which the attack target device determination unit 31 of the processing unit 12 in the information processing device 1 according to the embodiment determines the attack target device.
[0086] The user query shown in Figure 13 includes "CVE-2024-3092" as the CVE number, but the device attribute information does not include the CVE number. Therefore, the attack target device determination unit 31 cannot determine the attack target device based on the device attribute information. "CVE-2024-3092" is an example of threat-related information.
[0087] In this case, the attack target device determination unit 31 queries the LLM of the information processing device 3 for the OS of the device associated with the CVE number. In the example shown in Figure 13, the attack target device determination unit 31 indicates the string "Please output the OS of the device associated with CVE-2024-3092" as the input prompt to the LLM.
[0088] LLM learns the relationship between CVE-2024-3092 and components (e.g., OS, application, library, etc.), and can output related OS information from the CVE number. In the example shown in Figure 13, the output from LLM is the string "Fedora Linux 40".
[0089] Furthermore, the information processing device 3 may be configured to have an AI (Artificial Intelligence) agent using LLM. In this case, the AI agent can also use RAG (Retrieval-Augmented Generation) to search for the string "Fedora Linux 40" corresponding to the string "CVE-2024-3092" from the internal storage unit of the information processing device 3 or from an external database.
[0090] In this case, LLM extracts the string "CVE-2024-3092" from the input prompt. Information processing device 3 searches its internal or external database for the string "Fedora Linux 40" which corresponds to the string "CVE-2024-3092" using a search query that includes the string "CVE-2024-3092" extracted by LLM. The string "Fedora Linux 40" is an example of threat-related information.
[0091] The attack target device determination unit 31 searches for devices with the "Fedora Linux 40" OS in the device attribute information and determines that the devices found in the search are attack target devices. In the example shown in Figure 13, "WorkStation_PC_02" is determined to be an attack target device.
[0092] The target device determination unit 31 may also have an internal LLM. In this case, the target device determination unit 31 can use the internal LLM to determine the target device in the same way as when using the information processing device 3.
[0093] Returning to Figure 9, let's continue the explanation of the processing unit 12. The attack path determination unit 32 of the processing unit 12 determines the attack path to the target device based on system configuration information, which includes information indicating the connection relationships of multiple devices included in the threat-determining system.
[0094] The attack path determination unit 32 determines, for example, that a network such as the internet or a LAN is the attack entry point, and the path from this attack entry point to the target device is determined to be the attack path to the target device.
[0095] System configuration information is the information contained within the system configuration information, and includes information on multiple nodes (devices) and information on edges (communication paths) connecting the nodes. As mentioned above, system configuration information is, for example, information defined in a graph database or information written in Mermaid notation, but is not limited to such examples.
[0096] The attack path determination unit 32 determines the attack path to the target device, for example, using LLM. For example, the attack path determination unit 32 utilizes the LLM provided by the information processing device 3 through the LLM API provided by the information processing device 3.
[0097] The attack path determination unit 32, for example, inputs a prompt to the LLM (System Configuration Memory) via the LLM API of the information processing device 3 to generate a search query, which is a query for searching for an attack path from the system configuration information storage unit 20 to the target device, and causes the LLM to generate the search query. The input prompt, which is a prompt input to the LLM, includes, for example, system configuration information, threat-related information, and instruction information. The instruction information is information that indicates instructions to the LLM to generate a search query from the system configuration information and threat-related information.
[0098] When the attack path determination unit 32 obtains a search query from the LLM, it uses the search query obtained from the LLM to search the system configuration information storage unit 20 for an attack path to the target device. The attack path determination unit 32 determines the result of the search from the system configuration information storage unit 20 as the attack path to the target device.
[0099] Thus, the attack path determination unit 32 determines the attack path to the target device determined by the target device determination unit 31 using threat-related information, and can determine realistic attack paths that may occur within the threat-determined system.
[0100] Figure 14 shows an example of an input prompt, which is a prompt input to the LLM by the attack path determination unit 32 of the processing unit 12 in the information processing device 1 according to the embodiment. The input prompt shown in Figure 14 includes system configuration information, information on the target device, threat-related information, and instruction information. Although the system configuration information is omitted in Figure 14, as described above, the system configuration information includes information on multiple devices (nodes) that constitute the threat determination target system, and edge information between the devices (nodes).
[0101] Furthermore, in the example shown in Figure 14, the information of the target device includes the string "WorkStation_PC_02", and the threat-related information includes the string "Fedora Linux 40". In the example shown in Figure 14, the information of the target device and the threat-related information are included in the input query.
[0102] Furthermore, in the example shown in Figure 14, the instruction information includes instructions for generating a Cypher statement, instructions for retrieving properties (attribute information) of nodes related to the query, instructions for retrieving properties of nodes that could be entry points for an attacker, instructions for extracting paths between nodes related to the query and nodes that could be entry points for an attacker, and instructions for generating a query.
[0103] In the example shown in Figure 14, when the LLM receives an input prompt from the attack path determination unit 32, it outputs a Cypher statement as an output query. The attack path determination unit 32 uses the Cypher statement, which is the search query output from the LLM, to search the system configuration information storage unit 20 for an attack path to the target device.
[0104] Figure 15 shows an example of attack path information retrieved by the attack path determination unit 32 of the processing unit 12 in the information processing device 1 according to the embodiment, based on a search query output from the LLM to which the input prompt shown in Figure 14 was input. In the example shown in Figure 15, the target device is the second workstation (WorkStation_PC_02), and the attack path to the target device is shown to be Internet → FW → Router → Second Workstation.
[0105] Furthermore, if database searching is not possible, such as when the system configuration information is expressed in Mermaid notation, the attack path determination unit 32 can obtain information indicating the attack path from the LLM to the target device by prompting the system configuration information and instruction information indicating the extraction method.
[0106] Figure 16 shows another example of an input prompt, which is a prompt input to the LLM by the attack path determination unit 32 of the processing unit 12 in the information processing device 1 according to the embodiment. The instruction information shown in Figure 16 includes the string "The following is an internal network diagram. Assuming that unauthorized access to WorkStation_PC_02 on the network is made from the outside, what path do you think the attacker would take to infiltrate? Please consider the attack path." Of the instruction information, the string "WorkStation_PC_02" is threat-related information. The system configuration information shown in Figure 16 is represented in Mermaid notation and is the same information as the system configuration information shown in Figure 11.
[0107] Figure 17 shows an example of attack path information output from an LLM (Low-Level Machine) that has received the input prompt shown in Figure 16, by the attack path determination unit 32 of the processing unit 12 in the information processing device 1 according to the embodiment. The output shown in Figure 17 includes the string "Attack path: Internet → Firewall → Web Server → Router → WorkStation_PC_02" as information indicating the attack path to the target device.
[0108] The LLM (Low-Level Memory) of the information processing device 3 is a general-purpose LLM using a transformer architecture, but is not limited to this example. For example, the LLM of the information processing device 3 may be a finely tuned LLM that outputs search queries and information indicating attack paths to target devices from an input prompt.
[0109] The attack path determination unit 32 may also have an internal LLM. In this case, the attack path determination unit 32 can use its internal LLM to determine the attack path to the target device in the same way as when using the information processing device 3.
[0110] Returning to Figure 9, let's continue the explanation of the processing unit 12. The threat estimation unit 33 of the processing unit 12 shown in Figure 9 estimates the threat in the attack path determined by the attack path determination unit 32. For example, the threat estimation unit 33 obtains information regarding the management of devices, networks, security, and the system targeted for threat determination that is included in the attack path determined by the attack path determination unit 32, as well as vulnerability information related to the attack path, from the storage unit 11, etc.
[0111] Information about devices included in the attack path consists of attribute information for each device included in the attack path. As described above, this information about devices included in the attack path is stored in the device attribute information storage unit 21. Information about networks included in the attack path consists of network attribute information indicating the attributes of the networks (nodes) connecting the devices included in the attack path. As described above, this information about networks included in the attack path is stored in the network attribute information storage unit 22. Network attribute information includes information such as network segment and link type. Link type can be wired or wireless.
[0112] Security information includes security attribute information for devices included in the attack path and security attribute information for the network included in the attack path. As described above, security information is stored in the security attribute information storage unit 23. Security attribute information for devices includes, for example, information on rules and settings of devices (e.g., firewalls), logs, and information on vulnerabilities associated with devices (information distributed by NVD, etc.). Security attribute information for networks includes, for example, information on communication encryption, communication access control, communication protocols, and network segmentation.
[0113] Information regarding the management of the threat-assessed system includes information such as the name of the device administrator, device maintenance contract information, information indicating the authentication method for login, information indicating the most recent configuration updates and changes, operation management information, and system-wide security-related regulations and policies. As described above, information regarding the management of the threat-assessed system is stored in the management attribute information storage unit 24.
[0114] The threat estimation unit 33 includes a parser unit 331, an inference unit 332, and a check unit 333.
[0115] The parser unit 331 refers to the FW setting rules used for inference and calls a complementary processing method corresponding to the referenced FW setting rules from the processing method storage unit 111. The parser unit 331 performs parser processing to complement the FW setting rules using the called complementary processing method. The FW setting rules used for inference are the FW setting rules included in the attack path estimated by the attack path determination unit 32. The parser unit 331 uses the called complementary processing method to complement the FW setting rules to be complemented into a general descriptive format that can be read by the LLM. The parser unit 331 outputs the complemented FW rules to the inference unit 332.
[0116] Figure 18 shows an example of a regular expression parser called from the processing method storage unit 111 by the parser unit 331 shown in Figure 9. Figure 19 shows an example of a FW setting rule. Figure 20 shows an example of a complementary processed FW rule.
[0117] The parser unit 331 inputs the simplified FW rule shown in Figure 19 into the supplementary parser in Figure 18, and obtains the supplemented FW rule as shown in Figure 20. During the supplementary processing, the processing is carried out from top to bottom of the written text to give it order information (priority). As a result, the simplified FW port number section "range 20 25" (frame W1 in Figure 19) is converted into a description with order information (priority) for each port number, as shown in Figure 20 (frame W2 in Figure 20).
[0118] The parser unit 331 may also cause the LLM to output the result of the completion processing of the FW setting rules. The parser unit 331 calls the regular expression parser from the processing method storage unit 111 and inputs the simplified FW setting rules to be completed, along with the prompt indicated by the regular expression parser, into the LLM.
[0119] Figure 21 shows an example of a prompt input to the LLM by the parser unit 331 shown in Figure 9. Figure 22 shows an example of the output of the LLM. The parser unit 331 inputs the prompt shown in Figure 21 and the setting rules of the FW to be processed into the LLM, and obtains the processed FW setting rules shown in Figure 22, which are output from the LLM. As a result, for example, the simplified "range 20 25" section (frame W3 in Figure 21) is converted into data written one line per number, as shown in Figure 22 (frame W4 in Figure 22).
[0120] The inference unit 332 can input information about the attack path determined by the attack path determination unit 32 to the LLM, for example, through the LLM API of the information processing device 3, and cause the LLM to generate a query to be included in the input query from the storage unit 11. The inference unit 332 can use the query generated by the LLM to obtain information to be included in the input query from the storage unit 11 or the like.
[0121] Furthermore, the inference unit 332 can, for example, generate a query to be included in the input query from the storage unit 11, based on the attack path information determined by the attack path determination unit 32, using a rule-based approach.
[0122] The inference unit 332 estimates the threat in the attack path based on information obtained from the memory unit 11 and the like. For example, the threat estimation unit 33 inputs a prompt containing information obtained from the memory unit 11 and the like as an input prompt to the LLM, and obtains information indicating the threat in the attack path from the LLM.
[0123] For example, the inference unit 332 inputs a prompt containing information obtained from the storage unit 11 or the like as an input prompt to the LLM via the LLM API of the information processing device 3, and obtains information indicating threats in the attack path from the LLM. The threat estimation unit 33 estimates the threats in the attack path indicated by the information output from the LLM as threats in the attack path.
[0124] Thus, the inference unit 332 estimates the threat in the attack path using information about the devices, networks, security, and management of the system targeted for threat assessment included in the attack path. This allows it to estimate the threat based on the actual state of defensive measures in the attack path (for example, security measures and system management measures).
[0125] The LLM (Language Learning Module) in the information processing device 3 is a general-purpose LLM using a transformer architecture, but is not limited to this example. For example, the LLM in the information processing device 3 may be a finely tuned LLM that outputs information indicating threats in the attack path from the input prompt.
[0126] Figure 23 shows an example of an input prompt, which is a prompt input to the LLM by the inference unit 332 of the processing unit 12 in the information processing device 1 according to the embodiment. The input prompt shown in Figure 23 is an example of an input prompt when there is a vulnerability in the FW.
[0127] The input prompt shown in Figure 23 includes instructional information that guides the estimation of threats in the attack path, input queries (attack path-related information), related vulnerability information including vulnerability information related to the attack path, information on the attack entry point, and information on the target device.
[0128] Based on the attack path information determined by the attack path determination unit 32, the inference unit 332 obtains information regarding the management of devices, networks, security, and threat target systems included in the attack path from the storage unit 11 and other sources as information to be included in the input query.
[0129] The input prompt shown in Figure 23 includes the following instruction: "The input query should be an attack path estimated from the network under evaluation by a cyber attacker. Estimate the attack scenario and verify whether the attack is successful depending on the security settings at each point (such as firewall settings and security measures on each server). Also, explain your reasoning."
[0130] The input query in the input prompt shown in Figure 23 includes information such as the FW's OS, the FW's traffic permission rules, the FW's traffic denial rules, and the FW's product and version information. The FW configuration rules in the input query are FW configuration rules that have been processed and completed by the parser unit 331. Note that some information is omitted in the input query shown in Figure 23.
[0131] Furthermore, the input prompt shown in Figure 23 includes information on CVE-2024-3094 and CVE-2024-3902 as related vulnerability information. CVE-2024-3094 is the CVE number for a security vulnerability discovered in a specific version (5.6.0 and later) of the software called xz. CVE-2024-3902 is the CVE number for a security vulnerability related to the GlobalProtect function in the PAN-OS software. Although not shown in the figure, the related vulnerability information also includes CVE numbers such as CVE-2024-3400 as security vulnerability information related to the PAN-OS software.
[0132] Furthermore, the input prompt shown in Figure 23 includes the string "Attack entry point: internet" as information about the attack entry point, and the string "Target device: WorkStation_PC_02" as information about the device being attacked.
[0133] Figure 24 is a diagram showing an example of the output of an LLM when the input prompt shown in Figure 23 is input by the inference unit 332 of the processing unit 12 in the information processing device 1 according to the embodiment.
[0134] The output shown in Figure 24 includes security verification information indicating whether the attack is successful and attack success / failure information indicating whether the attack is successful or not. The inference unit 332 infers the threats in the attack path shown in the output of Figure 24 as threats in the attack path.
[0135] Figure 25 shows another example of an input prompt, which is a prompt input to the LLM by the inference unit 332 of the processing unit 12 in the information processing device 1 according to the embodiment. The input prompt shown in Figure 25 is an example of an input prompt when there is no vulnerability in the FW.
[0136] The input prompt shown in Figure 25 has the same instruction information, attack entry point information, and target device information as the input prompt shown in Figure 23, but the input query (attack path related information) and related vulnerability information are different.
[0137] In the input query (attack path related information) shown in Figure 25, the FW OS is FortiOS 6.0, and the related vulnerability information shown in Figure 25 does not include the information for CVE-2024-3902 shown in Figure 23.
[0138] Figure 26 shows an example of the output of the LLM when the input prompt shown in Figure 25 is input by the threat estimation unit 33 of the processing unit 12 in the information processing device 1 according to the embodiment.
[0139] Figure 26 includes the following: "Due to the firewall settings, a direct attack is difficult. However, it is possible to infiltrate the internal network via a specific server. Once the internal network is compromised, the risk of WorkStation_PC_02 being attacked by CVE-2024-3094 increases. Furthermore, it may negatively affect systemd and OpenSSH, which could allow the attacker to carry out a persistent attack on the system."
[0140] The inference unit 332 may also have an internal LLM. In this case, the threat estimation unit 33 uses the internal LLM to infer threats in the attack path using the same processing method as when using the information processing device 3. Alternatively, the inference unit 332 can infer threats in the attack path using, for example, the LLM, but it can also estimate threats in the attack path using rule-based processing.
[0141] The check unit 333 pre-registers check expressions for the setting rules of each firmware (FW). The check unit 333 determines whether the inference result regarding the FW from the inference result of the inference unit 332 is the same as the check expression corresponding to the FW being inferred. This is because the inference unit 332 may perform inferences that do not conform to the FW reading rules during LLM inference. The check unit 333 employs a rule-based determination method with high interpretability to perform the determination. The check unit 333 registers a rule-based check expression that conforms to the FW reading rules for each FW, and determines whether the inference result of the inference unit 332 (LLM) is the same as the check expression corresponding to the FW being inferred.
[0142] The check unit 333 checks for the identity between the inference result from the inference unit 332 using LLM and a check formula that conforms to the FW's reading rules. The check formula includes IP and port information, and whether to allow or deny these communications.
[0143] The FW configuration rules are linked to IP and port information as metadata. The check unit 333 uses the IP and port information included in the inference result of the inference unit 332 as a search key to obtain a check expression from a pre-registered check expression that corresponds to the FW configuration rule being inferred by the inference unit 332 (LLM). In this process, the search includes the handling of special characters such as any. For example, if there is a rule called "port any", then both "port22" and "port443" will be included in the condition.
[0144] The check formula then determines whether the check formula obtained through the search is identical to the inference result output by the LLM from the inference unit 332.
[0145] The check unit 333 outputs true if the check expression obtained by the search is the same as the inference result from LLM output by the inference unit 332. If the check expression obtained by the search is not the same as the inference result from LLM output by the inference unit 332, the check unit 333 returns false, or a result combining the LLM inference result and the contents of the check expression.
[0146] Figure 27 is a diagram illustrating the processing of the check unit 333 shown in Figure 9. Of the data D21 (attack path, vulnerability information, FW setting rules) input to the LLM by the inference unit 332, the FW setting rules (for example, setting R11) are recorded in advance in the security attribute information storage unit 23.
[0147] The checking unit 333 generates and registers a rule-based checking expression for each FW in advance, which conforms to the FW's reading rules (Figure 27 (1)).
[0148] Figure 28 shows an example of a program that generates rule-based check expressions from FW configuration rules. The check unit 333 generates a structured check expression E12 (Figure 27) using the program shown in Figure 28. Check expression E12 states that access (communication) should be permitted if "port(20~25)" or "port 22" is entered.
[0149] Then, the inference unit 332 receives, for example, data D21 (attack path, vulnerability information, FW settings) and a prompt, and the LLM performs inference (Figure 27 (2)), and the LLM inference result D22 is obtained. The inference result D22 infers that "port22" is a communication denial.
[0150] The threat estimation unit 33 has the checking unit 333 check whether the inference result D22 of this LLM is correct (Figure 27 (3)).
[0151] The check unit 333 uses IP and port as search keys to search for check expression E12, which corresponds to the FW setting rule R11, from among the pre-registered check expressions. The check unit 333 determines whether the inference result by LLM output by the inference unit 332 is the same as check expression E12.
[0152] In check expression E12, "port 22" is permitted. Therefore, the check unit 333 determines that the inference result D22 of the LLM is not the same as the inference result of the LLM output by the inference unit 332, and the check expression E12 that the check unit 333 referenced. The check unit 333 returns false, the inference result D22 of the LLM, and the check expression E12 that the check unit 333 referenced (Figure 27 (4)).
[0153] In response, for example, the threat estimation unit 33 causes the inference unit 332 to perform re-inference using LLM (Figure 27 (5)). In this way, the check unit 333 checks for the presence or absence of LLM inference that does not conform to the FW rule reading rules, and by re-executing inference using LLM according to the check result, it is possible to derive a correct inference.
[0154] The state management unit 34 controls the target device determination unit 31, the attack path determination unit 32, and the threat estimation unit 33. For example, when a user query is received by the reception unit 30, the state management unit 34 formulates or revises a processing plan to estimate the threat along the attack path to the target device according to the user query. Then, based on the formulated or revised processing plan, the state management unit 34 controls the target device determination unit 31, the attack path determination unit 32, and the threat estimation unit 33.
[0155] The state management unit 34 uses the LLM to formulate or revise a processing plan for estimating threats in the attack path to the target device in response to a user query. For example, the state management unit 34 inputs an input prompt to the LLM that includes threat-related information, system-specific information, and instruction information contained in the user query, and causes the LLM to output information indicating the processing plan that it has formulated or revised.
[0156] The instruction information is information that instructs the creation or revision of a plan for estimating threats from threat-related information and system-specific information. Based on the processing plan formulated or revised by the LLM, the state management unit 34 controls the target device determination unit 31, the attack path determination unit 32, and the threat estimation unit 33 to estimate threats in the attack path to the target device in response to the user query.
[0157] The processing plan includes, for example, processing content for the attack target device determination unit 31 to determine the attack target device, processing content for the attack path determination unit 32 to determine the attack path, and processing content for the threat estimation unit 33 to determine the threat. These processing contents may include, for example, processing using LLM. The state management unit 34 can perform the above processing using, for example, Langgraph, but is not limited to such examples.
[0158] The provisioning unit 35 provides threat information, which is information about threats estimated by the threat estimation unit 33, to user U. For example, the provisioning unit 35 provides threat information to user U by transmitting the threat information, which is information about threats estimated by the threat estimation unit 33, to terminal device 2. When terminal device 2 receives threat information from information processing device 1, it displays the received threat information on terminal device 2.
[0159] Threat information includes, for example, the information shown in Figure 24 and Figure 26, but is not limited to these examples. For example, it may include a part of the information shown in Figure 24 or a part of the information shown in Figure 26.
[0160] [Registration Process] Next, the procedure for the registration process performed by the processing method registration unit 121 of the information processing device 1 will be described. Figure 29 is a flowchart showing an example of the registration process performed by the processing method registration unit 121 of the information processing device 1 according to this embodiment.
[0161] As shown in Figure 29, when the processing method registration unit 121 receives input of a processing method to supplement the simplified FW rule (step S11), it determines whether the processing method is a regular expression or a method to be output to LLM (step S12).
[0162] If the completion processing method is a regular expression (step S12: regular expression), the processing method registration unit 121 accepts, for example, a completion processing method using a regular expression directly written by the user (step S13) and stores it in the processing method storage unit 111 (step S15). If the completion processing method is a method that outputs to the LLM (step S12: LLM), the processing method registration unit 121 accepts, for example, a completion processing method that includes prompts to be set in the LLM (step S14) and stores it in the processing method storage unit 111 (step S15).
[0163] [Information Processing] Next, the procedure for information processing by the processing unit 12 of the information processing apparatus 1 according to the embodiment will be described. Figure 30 is a flowchart showing an example of information processing by the processing unit 12 of the information processing apparatus 1 according to the embodiment.
[0164] As shown in Figure 30, the processing unit 12 of the information processing device 1 determines whether or not it has received a user query (step S20). If the processing unit 12 determines that it has received a user query (step S20: Yes), it obtains system configuration information of the system to be targeted for threat assessment from the storage unit 11 or the like based on the system identification information contained in the user query (step S21).
[0165] Next, the processing unit 12 determines the target device (step S22) based on the threat-related information contained in the user query that was determined to have been received in step S20 and the attribute information of multiple devices indicated in the system configuration information obtained in step S21.
[0166] Next, the processing unit 12 determines the attack path to the target device based on the system configuration information acquired in step S21 and the information on the target device determined in step S22 (step S23).
[0167] Next, the processing unit 12 estimates the threat in the attack path determined in step S23 (step S24). For example, the processing unit 12 estimates the threat in the attack path based on information regarding the management of devices, networks, security, and threat-determining systems included in the attack path determined in step S23, and vulnerability information including vulnerability information related to the attack path.
[0168] Next, if the processing in step S24 is completed, or if it is determined that no user query has been received (step S20: No), the processing unit 12 determines whether or not it is time to terminate operation (step S25). The processing unit 12 determines that it is time to terminate operation, for example, when the power to the information processing device 1 is turned off.
[0169] If the processing unit 12 determines that it is not yet time to terminate the operation (step S25: No), it proceeds to step S20. If it determines that it is time to terminate the operation (step S25: Yes), it terminates the process shown in Figure 30.
[0170] [Threat Estimation Process] Figure 31 is a flowchart showing an example of the processing procedure for the threat estimation process (step S24) shown in Figure 30.
[0171] In the threat estimation unit 33, the parser unit 331 refers to the FW settings used for inference, calls a supplementary processing method from the processing method storage unit 111, and performs parser processing to supplement the FW setting rules (step S31). The parser unit 331 outputs the supplementary processed FW setting rules to the inference unit 332.
[0172] The inference unit 332 uses the LLM to estimate the threat in the attack path determined by the attack path determination unit 32 (step S32). The inference unit 332 inputs a prompt to the LLM that includes information about the devices, networks, security, and management of the system to be threatened in the attack path, and causes the LLM to output information indicating the threat in the attack path. The prompt includes FW rules that have been processed and completed by the parser unit 331.
[0173] Next, the check unit 333 performs a check operation to determine whether the inference result regarding the possibility of attack inferred by the inference unit 332 (LLM) is the same as the check formula that conforms to the FW's reading rules (step S33).
[0174] If the check result by the check unit 333 is false (step S34: false), the threat estimation unit 33 returns to step S32 and performs inference using LLM again. If the check result by the check unit 333 is true (step S34: true), the threat estimation unit 33 terminates the threat estimation process because the accuracy of the inference result regarding the possibility of attack inferred by the inference unit 332 (LLM) can be guaranteed.
[0175] [Checking Process] Figure 32 is a flowchart showing an example of the processing procedure for the checking process (step S33) shown in Figure 31.
[0176] As shown in Figure 32, the checking unit 333 receives input of the FW rule (1) after complementary processing and the inference result of the LLM's attack possibility (2) (estimated result output from the inference unit 332) (step S41).
[0177] The check unit 333 uses the IP and port information from (2) as a search key to obtain a check expression from among the pre-registered check expressions that corresponds to the FW setting rule to be inferred by the inference unit 332 (LLM) (step S42).
[0178] The checking unit 333 compares the checking formula obtained in step S42 with the inference result of (2) and determines whether the checking formula obtained in step S42 and the inference result of (2) are the same (step S43).
[0179] If they are identical (Step S43: Yes), the check unit 333 outputs true (Step S44). If they are not identical (Step S43: No), the check unit 333 outputs false and the two results of the comparison (LLM inference result, check expression) (Step S45).
[0180] Note that while Figure 31 shows a case where both parsing and checking processes are performed along with inference processing as part of the threat estimation process, this is not the only example.
[0181] Figure 33 illustrates the threat estimation process. As shown in Figure 33, the threat estimation unit 33 may selectively execute a parser process (step S52) and a check process (step S54) as an estimation control process (step S51). That is, the threat estimation unit 33 may execute only the parser process (step S52) preceding the inference process (step S53), along with the inference process (step S53). Alternatively, the threat estimation unit 33 may execute only the check process (step S54) following the inference process (step S53). In this case, the inference process performs inference based on information including FW setting rules that have not been processed for augmentation.
[0182] Next, we will describe autonomous information processing using LLM by the processing unit 12. Figure 34 is a flowchart showing another example of information processing by the processing unit 12 of the information processing apparatus 1 according to this embodiment.
[0183] As shown in Figure 34, the processing unit 12 of the information processing device 1 determines whether or not it has received a user query (step S60). If the processing unit 12 determines that it has received a user query (step S60: Yes), it obtains system configuration-related information of the threat target system from the storage unit 11 or the like based on the system identification information contained in the user query (step S61).
[0184] Next, if the processing unit 12 receives a user query in step S60, it formulates or revises a processing plan to estimate the threat in the attack path to the target device in response to the user query (step S62). If the processing unit 12 performs the processing in step S62 as the next processing after completing the processing in step S61, it formulates a new processing plan.
[0185] Next, the processing unit 12 selects a function unit to be executed according to the processing plan formulated or revised in step S62 (step S63), and executes the processing performed by the selected function unit (step S64). The processing unit 12 repeats the processes in steps S63 and S64 until the processing plan formulated or revised in step S62 is completed.
[0186] If the processing in step S64 is completed, or if it determines that no user query has been received (step S60: No), the processing unit 12 determines whether or not a review of the processing plan is necessary (step S65). If the processing unit 12 determines that a review of the processing plan is necessary (step S65: Yes), it proceeds to step S62 and performs a review of the processing plan.
[0187] If the processing unit 12 determines that a review of the processing plan is not necessary (step S65: No), it determines whether or not it is time to terminate the operation (step S66). If the processing unit 12 determines that it is not time to terminate the operation (step S66: No), it proceeds to step S60. If it determines that it is time to terminate the operation (step S66: Yes), it terminates the process shown in Figure 34.
[0188] [Modification] In the example described above, the threat estimation unit 33 estimates the threat using information about the devices, networks, security, and management of the system to be threatened that is included in the attack path, but it is not limited to this example. For example, the threat estimation unit 33 may also estimate the threat using only a portion of the information about the devices, networks, security, and management of the system to be threatened that is included in the attack path.
[0189] The threat estimation unit 33 may be configured to create countermeasures against the estimated threats in addition to estimating threats in the attack path. For example, the threat estimation unit 33 can cause the LLM to create countermeasures against the estimated threats by including information instructing the LLM to output countermeasures against the estimated threats (for example, the string "Please output countermeasures against the estimated threats.") in the instruction information included in the prompt input to the LLM.
[0190] [Effects of the Embodiment] As described above, the information processing device 1 of the embodiment comprises a reception unit 30, an attack target device determination unit 31, an attack path determination unit 32, and a threat estimation unit 33. The reception unit 30 receives queries containing information about threats. The attack target device determination unit 31 determines which devices among the multiple devices that could be targeted for attack are attack target devices, based on the threat information contained in the query received by the reception unit 30 and information about multiple devices included in the system to be determined for threats. The attack path determination unit 32 determines the attack path to the attack target devices based on information indicating the connection relationships of the multiple devices. The threat estimation unit 33 estimates the threat in the attack path determined by the attack path determination unit 32. As a result, the information processing device 1 can estimate threats by focusing on a portion of the attack paths in a system including multiple devices.
[0191] Furthermore, the threat estimation unit 33 estimates threats in the attack path based on information regarding the management of devices, networks, security, and systems included in the attack path. As a result, the information processing device 1 can accurately estimate threats in the attack path by understanding the status of actual defensive measures in the attack path (for example, security measures and system management measures).
[0192] Furthermore, the threat estimation unit 33 uses LLM to estimate threats in the attack path. This allows the information processing device 1 to accurately estimate threats in the attack path.
[0193] In the technology described in Non-Patent Literature 1, there were cases where the FW configuration rules could not be correctly interpreted, leading to incorrect inferences. For example, in the technology of Non-Patent Literature 1, as shown in Figure 35, even if there is a description in the FW configuration on the path that allows ports 20 to 25 (frame W21) and a description that rejects ports other than ports 20 to 25 described in frame W21 (frame W22), the LLM inference result includes an incorrect inference section that says, "Do not allow traffic on port 22" (frame W23).
[0194] In the technology described in Non-Patent Document 1, as shown in Figure 36, correct inference was possible for descriptions targeting specific hosts or implicit notations, but incorrect inference sometimes occurred for descriptions targeting ranges (IP, port) or heuristic description errors.
[0195] In contrast, in this embodiment, the parser unit 331 uses a regular expression parser to supplement the FW setting rules, supplementing the description of the FW setting rules to a level that the LLM can read, thereby improving the inference accuracy of the LLM. As a result, as shown in Figure 37, according to this embodiment, the LLM can correctly infer descriptions targeting ranges (IP, port).
[0196] Furthermore, in this embodiment, a rule-based check expression that conforms to the FW reading rules is registered for each FW, and the check unit 333 determines whether the inference result of the inference unit 332 (LLM) is the same as the check expression corresponding to the FW being inferred. In this way, in this embodiment, by having the LLM perform inference again according to the determination result, the possibility of correct inference being performed by the LLM can be increased, and the estimation accuracy of the LLM can be improved.
[0197] [Regarding the System Configuration of the Embodiment] Each component of the information processing device 1 is a functional concept and does not necessarily have to be physically configured as shown in the figure. In other words, the specific forms of distribution and integration of the functions of the information processing device 1 are not limited to those shown in the figure, and all or part of it can be configured by functionally or physically distributing or integrating in any unit according to various loads and usage conditions.
[0198] Furthermore, each process performed in the information processing device 1 may be implemented, in whole or in part, by a CPU, a GPU (Graphics Processing Unit), and a program that is analyzed and executed by the CPU and GPU. Alternatively, each process performed in the information processing device 1 may be implemented as hardware using wired logic.
[0199] Furthermore, among the processes described in the embodiments, all or part of the processes described as being performed automatically can be performed manually. Alternatively, all or part of the processes described as being performed manually can be performed automatically by known methods. In addition, the processing procedures, control procedures, specific names, and information including various data and parameters described above and illustrated may be changed as appropriate unless otherwise specified.
[0200] [Program] Figure 38 shows an example of a computer in which the information processing device 1 is realized by the execution of a program. The computer 1000 has, for example, a memory 1010 and a CPU 1020. The computer 1000 also has a hard disk drive interface 1030, a disk drive interface 1040, a serial port interface 1050, a video adapter 1060, and a network interface 1070. These components are connected by a bus 1080.
[0201] Memory 1010 includes ROM 1011 and RAM 1012. ROM 1011 stores, for example, a boot program such as a BIOS (Basic Input Output System). The hard disk drive interface 1030 is connected to the hard disk drive 1090. The disk drive interface 1040 is connected to the disk drive 1100. For example, a removable storage medium such as a magnetic disk or optical disk is inserted into the disk drive 1100. The serial port interface 1050 is connected to, for example, a mouse 1110 and a keyboard 1120. The video adapter 1060 is connected to, for example, a display 1130.
[0202] The hard disk drive 1090 stores, for example, an OS (Operating System) 1091, an application program 1092, a program module 1093, and program data 1094. That is, the programs that define each process of the information processing device 1 are implemented as program modules 1093 in which code executable by the computer 1000 is written. The program modules 1093 are stored, for example, in the hard disk drive 1090. For example, a program module 1093 for performing processes similar to the functional configuration of the information processing device 1 is stored in the hard disk drive 1090. Note that the hard disk drive 1090 may be replaced by an SSD (Solid State Drive).
[0203] Furthermore, the configuration data used in the processing of the above-described embodiment is stored as program data 1094 in, for example, memory 1010 or hard disk drive 1090. The CPU 1020 then reads the program module 1093 and program data 1094 stored in memory 1010 or hard disk drive 1090 into RAM 1012 as needed and executes them.
[0204] Furthermore, the program module 1093 and program data 1094 are not limited to being stored in the hard disk drive 1090; for example, they may be stored in a removable storage medium and read by the CPU 1020 via a disk drive 1100 or the like. Alternatively, the program module 1093 and program data 1094 may be stored in another computer connected via a network (LAN (Local Area Network), WAN (Wide Area Network), etc.). The program module 1093 and program data 1094 may then be read by the CPU 1020 from the other computer via a network interface 1070.
[0205] The functions of the elements disclosed herein may be implemented using circuits or processing circuitry that include general-purpose processors, special-purpose processors, integrated circuits, ASICs (Application Specific Integrated Circuits), FPGAs (Field Programmable Gate Arrays), conventional circuits, and / or combinations thereof that are programmed using one or more programs stored in one or more memories, or otherwise configured to perform the disclosed functions. A processor is considered processing circuitry or circuitry because it includes transistors and other circuits. A processor may be a programmed processor that executes programs stored in memory. In this disclosure, circuits, units, or means are hardware that performs the enumerated functions, or hardware programmed to perform the enumerated functions. Hardware may be any hardware disclosed herein that is programmed or configured to perform the enumerated functions.
[0206] There is memory for storing a computer program that includes computer instructions. These computer instructions provide logic and routines that enable hardware (e.g., processing circuitry or circuitry) to perform the methods disclosed herein. This computer program can be implemented in commonly known forms, such as computer-readable storage media, computer program products, memory devices, recording media such as CD-ROMs and DVDs, and / or memory in FPGAs and ASICs.
[0207] Although embodiments applying the invention made by the present inventors have been described above, the present invention is not limited by the descriptions and drawings that constitute part of the disclosure of the present invention in these embodiments. That is, all other embodiments, examples, and operational techniques made by those skilled in the art based on these embodiments are included in the scope of the present invention.
[0208] 1,3 Information Processing Device 2 Terminal Device 10 Communication Unit 11 Storage Unit 12 Processing Unit 20 System Configuration Information Storage Unit 21 Device Attribute Information Storage Unit 22 Network Attribute Information Storage Unit 23 Security Attribute Information Storage Unit 24 Management Attribute Information Storage Unit 30 Reception Unit 31 Attack Target Device Determination Unit 32 Attack Path Determination Unit 33 Threat Estimation Unit 34 Status Management Unit 35 Provision Unit 111 Processing Method Storage Unit 121 Processing Method Registration Unit 331 Parser Unit 332 Inference Unit 333 Check Unit
Claims
1. An information processing device comprising: a receiving unit that receives queries containing information about threats; an attack target device determination unit that determines which of the multiple devices may be targeted for attack based on the information about threats contained in the queries received by the receiving unit and information about multiple devices included in the system subject to threat determination; an attack path determination unit that determines an attack path to the attack target device using a large-scale language model based on information about devices, networks, security, and management of the system included in the system subject to threat determination; and a threat estimation unit that estimates the threat in the attack path determined by the attack path determination unit, wherein the threat estimation unit comprises at least a processing unit that completes the description of the firewall setting rules included in the attack path into a general description that the large-scale language model can read; and an inference unit that uses the large-scale language model to infer the threat in the attack path based on the firewall setting rules completed by the processing unit.
2. The information processing device according to claim 1, wherein the threat estimation unit pre-registers check expressions for each firewall setting rule, and further includes a check unit that determines whether the inference result for the firewall among the inference results by the inference unit is the same as the check expression corresponding to the firewall being inferred.
3. The information processing device according to claim 2, wherein the threat estimation unit causes the check unit to perform inference again if the check unit determines that the inference result relating to the firewall among the inference results by the inference unit is not the same as the registered check formula for the firewall.
4. Information processing device comprising: a receiving unit that receives queries containing information about threats; an attack target device determination unit that determines which of the multiple devices may be targeted for attack based on the information about the threats contained in the queries received by the receiving unit and information about multiple devices included in the system subject to threat determination; an attack path determination unit that determines an attack path to the attack target device using a large-scale language model based on information about devices, networks, security, and the management of the system subject to threat determination; and a threat estimation unit that estimates the threat in the attack path determined by the attack path determination unit, wherein the threat estimation unit comprises at least an inference unit that infers the threat in the attack path using a large-scale language model based on the firewall configuration rules included in the attack path; and a check unit that pre-registers check expressions for each firewall configuration rule and determines whether the inference result regarding the firewall among the inference results by the inference unit is the same as the check expression corresponding to the firewall being inferred.
5. An information processing method performed by an information processing device, comprising: receiving a query containing information about a threat; determining which of the multiple devices may be targeted for attack based on the information about the threat contained in the received query and information about multiple devices included in a system subject to threat determination; determining an attack path to the target device using a large-scale language model based on information about devices, networks, security, and management of the system subject to threat determination; and estimating a threat in the determined attack path, wherein the estimation of the threat comprises, at least, processing the descriptive expression of the firewall configuration rules included in the attack path into a general descriptive expression that the large-scale language model can read; and inferring a threat in the attack path using the large-scale language model based on the processed firewall configuration rules.
6. An information processing method performed by an information processing device, comprising: receiving a query containing information about a threat; determining which of the multiple devices may be targeted for attack based on the information about the threat contained in the received query and information about multiple devices included in a system subject to threat determination; determining the attack path to the target device using a large-scale language model based on information about devices, networks, security, and the management of the system subject to threat determination; and estimating the threat in the determined attack path, wherein the estimation of the threat comprises, at least, inferring the threat in the attack path using a large-scale language model based on the firewall configuration rules included in the attack path; pre-registering check expressions for each firewall configuration rule; and determining whether the inference result for the firewall among the inference results for the threat is the same as the check expression corresponding to the firewall being inferred.
