Security setting monitoring apparatus and security setting monitoring method
The security setting monitoring device verifies the appropriateness of cloud security configurations by analyzing service and access information, addressing the limitations of existing CSPM systems in determining correct configurations.
Patent Information
- Application Number
- JP2023042814
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-17
- Publication Date
- 2024-09-30
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing Cloud Security Posture Management (CSPM) systems can confirm the presence of security settings but cannot determine if the settings are appropriate or correctly configured.
A security setting monitoring device that acquires service information from virtual machines, receives disclosure and access restriction information, and determines the appropriateness of security configurations using a determination unit.
Enables verification of the correctness of cloud security settings, ensuring the security of provided services.
Smart Images

Figure 2024132136000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to an apparatus and method for monitoring cloud security settings. [Background technology]
[0002] Cloud Security Posture Management (CSPM) is becoming popular as one of the tools for managing cloud security. CSPM checks cloud security settings and monitors for improper settings or vulnerabilities. A method for protecting temporary virtual machine instances in a cloud computing platform from security risks has been proposed (for example, Patent Document 1). [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Special Publication No. 2019-512791 Summary of the Invention [Problem to be solved by the invention]
[0004] CSPM can confirm whether the necessary cloud security settings are implemented by acquiring configuration information that represents the settings of virtual machines or virtual networks in the cloud and comparing it with predetermined check items. However, while existing technologies can check what security items have been set, they do not check whether the contents of the security settings are appropriate.
[0005] An object of one aspect of the present invention is to provide an apparatus and method capable of checking whether the contents of cloud security settings are valid. [Means for solving the problem]
[0006] A security setting monitoring device according to one embodiment of the present invention includes a service information acquisition unit that acquires, from a virtual machine provided in a cloud, service information indicating services provided by the virtual machine and port numbers assigned to the services; a reception unit that accepts public information indicating whether the port number indicated by the service information is to be made public and access restriction information indicating access restrictions to the port number; a setting information acquisition unit that acquires, from the cloud, security setting information indicating access restrictions set for port numbers used by the virtual machine; and a determination unit that determines whether the security settings for the service are correct by checking the security setting information based on the public information and the access restriction information. Effect of the Invention
[0007] According to the above aspect, it is possible to check whether the contents of the cloud security settings are valid. [Brief description of the drawings]
[0008] [Figure 1] 1 is a diagram illustrating an example of a network environment in which a cloud security setting monitoring device according to an embodiment of the present invention is used. [Diagram 2] 1 is a diagram illustrating an example of a service providing system monitored by a cloud security setting monitoring device. [Diagram 3] 11 is a diagram illustrating an example of service information acquired by a service information acquisition unit from a virtual machine. FIG. [Figure 4] FIG. 13 is a diagram showing an example of information input by a security administrator. [Diagram 5] FIG. 13 illustrates an example of a setting check condition management table. [Figure 6] FIG. 11 illustrates an example of security setting information acquired from a virtual machine. [Figure 7] 13 is a flowchart illustrating an example of processing of the cloud security setting monitoring device. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] 1 shows an example of a network environment in which a cloud security setting monitoring device according to an embodiment of the present invention is used. The cloud security setting monitoring device 10 according to the embodiment of the present invention monitors security settings related to services provided using one or more virtual machines provided in a cloud.
[0010] In this embodiment, a service provider provides a service by using a cloud 20. Therefore, the service provider builds a virtual machine 21 and a virtual network 22 in the cloud 20. Alternatively, the service provider uses a virtual machine 21 and a virtual network 22 provided by a vendor of the cloud 20.
[0011] The service provider includes an operator who implements an application in the virtual machine 21. Here, the application set in the virtual machine 21 corresponds to a service provided by the service provider using the cloud 20. Then, the operator creates security settings for the application (i.e., the service provided by the service provider) and implements the security settings in the virtual machine 21. The security settings are implemented, for example, in a filter or a firewall of the virtual machine.
[0012] The service provider includes a security administrator who manages the security settings of the applications implemented in the virtual machine 21. That is, the security administrator checks whether the security settings implemented by the worker are correct or not. At this time, the security administrator uses the cloud security setting monitoring device 10. For example, the cloud security setting monitoring device 10 judges whether the security settings implemented by the worker are correct or not, and notifies the security administrator of the judgment result.
[0013] The virtual machine 21 provided in the cloud 20 is realized by information processing resources including a processor and a memory. At least an operating system (OS) is implemented in the memory. Applications run on the OS. The application programs may be implemented by a service provider or may be provided by a vendor of the cloud 20.
[0014] The virtual machine 21 is connected to a virtual network 22. The virtual network 22 is also realized by information processing resources including a processor and a memory. Note that a service provider may provide a plurality of services using a plurality of virtual machines 21. In this case, the plurality of virtual machines 21 are connected to each other by the virtual network 22.
[0015] Security setting information is set in the virtual machine 21 by an operator of the service provider. The security setting information includes information indicating access restrictions for the port number used by the virtual machine 21. In this embodiment, the security setting information indicates an access source that can access the port number used by the virtual machine 21. The access source is indicated by, for example, an IP address or a network address.
[0016] 1, the cloud security setting monitoring device 10 includes a service information acquisition unit 11, a reception unit 12, a setting information acquisition unit 13, and a determination unit 14. Note that the cloud security setting monitoring device 10 may further include other functions not shown in FIG.
[0017] The service information acquisition unit 11 accesses the virtual machine 21 in response to an instruction from a security administrator or the like, and acquires service information indicating services provided by the virtual machine 21 and port numbers assigned to each service. Alternatively, the service information acquisition unit 11 may periodically acquire service information from the virtual machine 21. The service information acquisition unit 11 is capable of detecting services provided by the virtual machine 21, and of detecting port numbers assigned to services provided by the virtual machine 21. Alternatively, the service information acquisition unit 11 is capable of detecting port numbers used by the virtual machine 21, and of detecting what applications (i.e., services) are assigned to port numbers used by the virtual machine 21. Such detection is realized by using commands of the OS (operating system) of the virtual machine. For example, in Linux (registered trademark), it is possible to detect using the lsof command.
[0018] It is preferable that the service information acquisition unit 11 accesses the virtual machine 21 by using a cryptographic communication protocol such as SSH (Secure Shell) or SSL (Secure Sockets Layer). Alternatively, agent software that collects the above-mentioned service information may be operated on the virtual machine 21. In this case, the agent software transmits the collected service information to the service information acquisition unit 11.
[0019] The reception unit 12 transmits the service information acquired by the service information acquisition unit 11 from the virtual machine 21 to the management terminal 30 using a predetermined interface. As a result, the service information acquired by the service information acquisition unit 11 from the virtual machine 21 is presented to the user of the management terminal 30 (i.e., the security administrator). Here, the security administrator inputs the public information and the access restriction information in the management terminal 30 in response to the presentation from the cloud security setting monitoring device 10. The public information indicates whether or not each port number in the service information is to be made public. In other words, the public information indicates whether or not a port specified by each port number is to be opened. The access restriction information indicates an access source that can access each port number in the service information. The access source is specified by, for example, an IP address or a network address. The management terminal 30 is a terminal device such as a personal computer used by the security administrator.
[0020] The management terminal 30 transmits the public information and the access restriction information input by the security administrator to the cloud security setting monitoring device 10. Then, the reception unit 12 of the cloud security setting monitoring device 10 receives the public information and the access restriction information input by the security administrator.
[0021] The setting information acquisition unit 13 acquires, from the cloud 20, security setting information indicating access restrictions set for each port number used by the virtual machine 21. Here, an API (Application Programming Interface) implemented in the management I / F of the cloud 20 has a function of collecting and providing information related to security set for the virtual machine (i.e., security setting information). Therefore, the setting information acquisition unit 13 can acquire security setting information indicating access restrictions set for the port number used by the virtual machine 21 by using the API of the cloud 20.
[0022] The determination unit 14 checks the security setting information acquired from the virtual machine 21 based on the public information and access restriction information input by the security administrator, thereby determining whether or not the security settings for the service provided using the virtual machine 21 are correct. Then, the cloud security setting monitoring device 10 transmits the determination result by the determination unit 14 to the management terminal 30. This allows the security administrator to confirm whether or not the cloud security settings set by the operator are correct.
[0023] In this embodiment, the cloud security setting monitoring device 10 is provided in the cloud 20. In this case, the cloud security setting monitoring device 10 is realized by, for example, a virtual machine. However, the cloud security setting monitoring device 10 does not need to be provided in the cloud 20, and may be realized by an information processing device such as a personal computer.
[0024] In this way, according to the embodiment of the present invention, it is possible to determine whether the contents of the security settings of the cloud 20 are valid. Therefore, the security manager can easily check whether the security information set in the cloud 20 by the operator is correct. In other words, the security of the services provided can be ensured.
[0025] <Example> 2 shows an example of a service providing system monitored by the cloud security setting monitoring device 10. The service providing system is realized by virtual machines and a virtual network. In this embodiment, a service provider provides a service by operating three virtual machines VM001 to VM003 on a cloud 20. The virtual machines VM001 to VM003 are connected to each other via a virtual network. In addition, the virtual machines VM001 to VM003 are connected to an external network via a gateway or a virtual gateway.
[0026] An application that provides an HTTP server and an application that provides an SSH server are implemented in the virtual machine VM001. That is, the service provider uses the virtual machine VM001 to provide the HTTP server and the SSH server. The HTTP server and the SSH server are assigned port numbers 80 and 22, respectively. The IP address of the virtual machine VM001 is 10.10.20.11.
[0027] An application that provides a database is implemented in the virtual machine VM002. That is, a service provider provides a database service by using the virtual machine VM002. The database is assigned port number 5432. The IP address of the virtual machine VM002 is 10.10.20.12.
[0028] The virtual machine VM003 operates as a jump server. That is, access to the service providing system from an external network is first directed to the virtual machine VM003. The virtual machine VM003 then forwards the access to the corresponding virtual machine. The IP address of the virtual machine VM003 is 10.10.20.13.
[0029] The service provider will then construct a service provision system based on the following design policies.
[0030] (1) The SSH server only accepts access from the jump server (i.e., virtual machine VM003). (2) The database accepts access after encrypted communication using the SSH protocol is set up. Therefore, the database accepts access only from virtual machine VM001.
[0031] The operator of the service provider sets security information for each virtual machine in accordance with the above-mentioned design policy. Specifically, the following security information (1) and (2) are set for the virtual machine VM001. (1) No access restrictions are placed on port number 80. (2) Access to port number 22 is permitted only if the source IP address is 10.10.20.13. Furthermore, the following security information (3) is set for the virtual machine VM002. (3) Access to port number 5432 is permitted only if the source IP address is 10.10.20.11.
[0032] The security information is set, for example, in a filter or a firewall included in the virtual machine. In this case, the filter or firewall processes the received packet according to the set security information. Note that the security information (security settings in FIG. 2) set in each of the virtual machines VM001 and VM002 is identified by a network security ID (Sg001, Sg002).
[0033] In the virtual network with the above configuration, the cloud security setting monitoring device 10 judges whether or not the security settings of the service providing system are correct in response to an instruction from a security administrator. In this case, when a signal representing an instruction from the security administrator is received from the management terminal 30, the cloud security setting monitoring device 10 starts a process of judging whether or not the security settings are correct. Alternatively, the cloud security setting monitoring device 10 may periodically judge whether or not the security settings of the service providing system are correct.
[0034] The service information acquisition unit 11 accesses each of the virtual machines VM001 to VM003 constituting the service providing system, and acquires service information related to the service provided by each virtual machine. The service information includes information for identifying the service (for example, the service name) and a port number assigned to the service. In this embodiment, the service information acquisition unit 11 is capable of detecting the service provided by each virtual machine, and of detecting the port number assigned to the service provided by each virtual machine. Alternatively, the service information acquisition unit 11 is capable of detecting the port number used by each virtual machine, and of detecting what application (i.e., service) is assigned to the port number used by each virtual machine. As a result, the service information acquisition unit 11 acquires the service information shown in FIG. 3.
[0035] The reception unit 12 transmits the service information acquired by the service information acquisition unit 11 from each virtual machine constituting the service providing system to the management terminal 30. That is, the service information shown in Fig. 3 is presented to the security manager.
[0036] 4(a) shows an example of an input screen 31 displayed on the display device of the management terminal 30. The input screen 31 is created by the reception unit 12. The input screen 31 also includes an input box for allowing the security administrator to specify a virtual machine.
[0037] When the security administrator specifies a desired virtual machine on the input screen 31, service information relating to the services provided by the specified virtual machine is displayed. Specifically, when virtual machine VM001 is specified, service information relating to the services provided by virtual machine VM001 (HTTP server and SSH server) is displayed as shown in Fig. 4(b). Also, when virtual machine VM002 is specified, service information relating to the services provided by virtual machine VM002 (database) is displayed as shown in Fig. 4(c).
[0038] The input screen 31 has boxes for allowing the security administrator to input "public" and "access source restriction". "Public" indicates whether the service is public to an external network. "Access source restriction" indicates the IP address of the access source that can access the service. The security administrator inputs "public" and "access source restriction" on the input screen 31 according to the above-mentioned design policy. Specifically, as shown in FIG. 4(b), "public: Yes" and "access source restriction: none" are input for the HTTP server to which port number 80 is assigned in the virtual machine VM001, and "public: Yes" and "access source restriction: 10.10.20.13" are input for the SSH server to which port number 22 is assigned. Furthermore, as shown in FIG. 4(c), "public: Yes" and "access source restriction: 10.10.20.11" are input for the database to which port number 5432 is assigned in the virtual machine VM002.
[0039] Thereafter, when the security administrator operates the save button, the public information and access restriction information entered using the input screen 31 are saved as a setting check condition management table in the memory of the cloud security setting monitoring device 10. For example, when the public information and access restriction information are entered as described above, the setting check condition management table shown in Fig. 5 is created and saved. The setting check condition management table manages the information entered for each virtual machine in an integrated manner.
[0040] The setting information acquisition unit 13 acquires security setting information indicating access restrictions set for each port number used by the virtual machines VM001 to VM003, using the API of the cloud 20. The security setting information corresponds to the security settings implemented in the virtual machines VM001 to VM002 in Fig. 2. The API of the cloud 20 collects the security setting information implemented in each virtual machine and transmits it to the cloud security setting monitoring device 10 in response to a request from the cloud security setting monitoring device 10.
[0041] Fig. 6 shows an example of security setting information acquired from a virtual machine in the cloud 20. The security setting information is information that has actually been set in the filters or firewalls of the virtual machines VM001-VM002 in the cloud 20 by an operator of the service provider. Note that the network security ID corresponds to the security setting implemented in each of the virtual machines VM001 and VM002 shown in Fig. 2, and in this embodiment, is identification information that identifies the connection point between each virtual machine and the network, and essentially corresponds uniquely to each virtual machine.
[0042] The judgment unit 14 judges whether the security setting information set by the operator of the service provider is correct. That is, it judges whether the security setting for each service complies with the design policy. At this time, the judgment unit 14 judges whether the security setting for each service complies with the design policy by using the setting check condition management table shown in FIG. 5, which is created based on the input of the security administrator.
[0043] The determination unit 14 determines whether or not the contents of each record of the security setting information shown in Fig. 6 are correct. More specifically, the determination unit 14 performs the following steps.
[0044] The first record of the security setting information indicates that port number 80 of virtual machine VM001 is used, but no access source restriction is set for this port number. This setting content matches the content in the setting check condition management table shown in Fig. 5. Furthermore, the second record of the security setting information indicates that IP address 10.10.20.13 is set as an access source restriction for port number 22 of virtual machine VM001. This setting also matches the content in the setting check condition management table shown in Fig. 5. Therefore, the determination unit 14 determines that the security setting for virtual machine VM001 is correct.
[0045] The third record of the security setting information indicates that port number 5432 of virtual machine VM002 is used, but no access source restriction is set for this port number. However, according to the setting check condition management table, as shown in Fig. 5, "access source restriction: 10.10.20.11" is set for port number 5432 of virtual machine VM002. Therefore, in this case, the determination unit 14 determines that necessary security information is not set for virtual machine VM002.
[0046] The fourth record in the security setting information indicates that IP address 10.10.20.13 is set as an access source restriction for port number 22 of virtual machine VM002. However, according to the setting check condition management table, port number 22 of virtual machine VM002 is not in use. Therefore, in this case, the determination unit 14 determines that incorrect security information is set for virtual machine VM002.
[0047] In this way, when multiple services are provided using multiple virtual machines, the determination unit 14 determines whether or not the access restriction set for the combination of the virtual machine and port number represented by the security setting information matches the access restriction for the corresponding combination of the virtual machine and port number in the security setting information. When an incorrect security setting is detected, the determination unit 14 can create a message indicating that fact and send it to the management terminal 30. This message is realized by, for example, email. This message enables the security administrator to recognize that the operator has set incorrect security information.
[0048] 7 is a flowchart showing an example of the processing of the cloud security setting monitoring device 10. The processing of this flowchart is executed, for example, in response to an instruction from a security administrator. Alternatively, the processing of this flowchart is executed periodically.
[0049] In S1, the service information acquisition unit 11 acquires service information from a virtual machine 21 provided in the cloud 20. The virtual machine 21 is provided by the cloud 20 and used by a service provider. The service information indicates one or more services provided by the virtual machine and port numbers assigned to each of the services. The service information may also include information for identifying the virtual machine providing each service.
[0050] In S2, the reception unit 12 transmits the service information acquired by the service information acquisition unit 11 to the management terminal 30. This allows the security administrator to view the service information. That is, the reception unit 12 presents the service information acquired by the service information acquisition unit 11 to the security administrator. Note that, as described with reference to FIG. 4, the security administrator inputs disclosure information indicating whether or not to disclose the port number and access restriction information indicating access restrictions to the port number to the service information presented by the cloud security setting monitoring device 10.
[0051] In S3, the reception unit 12 acquires the public information and the access restriction information input by the security administrator. The reception unit 12 then creates a setting check condition management table using the service information, the public information, and the access restriction information. An example of the setting check condition management table is as shown in FIG. 5.
[0052] In S4, the setting information acquisition unit 13 acquires security setting information set in the virtual machine 21 by using an API provided by the cloud 20. The security setting information is information that is actually set in the virtual machine by an operator of the service provider. In addition, the security setting information is set in, for example, a filter or a firewall of the virtual machine. An example of the security setting information acquired from the cloud 20 is as shown in FIG. 6.
[0053] The processes of S5 to S6 are executed for each security setting represented by the security setting information by the determination unit 14. For example, when the security setting information shown in Fig. 6 is acquired, the processes of S5 to S6 are executed for each of the four records (i.e., the four security settings).
[0054] In S5, the judgment unit 14 judges whether the security settings match the contents of the setting check condition management table. In the embodiment shown in Figs. 5 and 6, the first and second security settings match the setting check condition management table, but the third and fourth security settings do not match the setting check condition management table. If the security settings do not match the setting check condition management table, in S6, the judgment unit 14 creates a message indicating how the security settings are incorrect. For example, for the third security setting, a message is created indicating that no access source restriction is set. For the fourth security setting, a message is created indicating that the port number should not be made public.
[0055] In S7, the determination unit 14 transmits the determination result as to whether or not the security settings are correct to the management terminal 30. That is, the determination result as to whether or not the security settings are correct is notified to the security administrator. [Explanation of symbols]
[0056] 10. Cloud security settings monitoring device 11 Service information acquisition unit 12 Reception 13 Setting information acquisition unit 14 Judgment section 20. Cloud 21 Virtual Machines 22 Virtual Networks 30 Management terminal
Claims
1. a service information acquisition unit that acquires, from a virtual machine provided in the cloud, service information indicating a service provided by the virtual machine and a port number assigned to the service; a reception unit that receives disclosure information indicating whether a port number indicated by the service information is to be disclosed and access restriction information indicating an access restriction to the port number; a setting information acquisition unit that acquires, from the cloud, security setting information indicating access restrictions set for a port number used by the virtual machine; a determination unit that determines whether or not a security setting for the service is correct by checking the security setting information based on the public information and the access restriction information; A security setting monitoring device comprising:
2. The reception unit is Transmitting the service information to a terminal device using a predetermined interface; The terminal device receives the public information and the access restriction information inputted using the interface.
2. The security setting monitoring device according to claim 1.
3. When a port number indicated by the security setting information is not disclosed by the public information, the determination unit determines that the security setting information is incorrect.
2. The security setting monitoring device according to claim 1.
4. When an access restriction set for a port number represented by the security setting information does not match an access restriction for a corresponding port number in the access restriction information, the determination unit determines that the security setting information is incorrect.
2. The security setting monitoring device according to claim 1.
5. When multiple services are provided using multiple virtual machines provided in the cloud, the access restriction information indicates an access restriction for a combination of a virtual machine and a port number; the security setting information indicates an access restriction set for a combination of a virtual machine and a port number; The determination unit determines whether or not an access restriction set for a combination of a virtual machine and a port number represented by the security setting information matches an access restriction for a corresponding combination of a virtual machine and a port number in the security setting information.
2. The security setting monitoring device according to claim 1.
6. obtaining, from a virtual machine provided in the cloud, service information representing a service provided by the virtual machine and a port number assigned to the service; receiving disclosure information indicating whether to disclose a port number indicated by the service information and access restriction information indicating an access restriction to the port number; Obtaining security setting information from the cloud, the security setting information indicating an access restriction set for a port number used by the virtual machine; The security setting information is checked based on the public information and the access restriction information to determine whether the security setting for the service is correct. A security setting monitoring method comprising:
Citation Information
Patent Citations
Protecting dynamic and ephemeral virtual machine instances in cloud environments
JP2019512791A
Cited By
Information processing system, information processing method, and program
JP7789453B1
