Information security risk evaluation system
Through the combination of source code extraction, penetration testing and network attack modules, the problem of lack of source code level evaluation in the existing technology is solved, a comprehensive and accurate assessment of system information security risks is achieved, and a quantitative risk report is provided.
Patent Information
- Application Number
- CN202410809188.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-21
- Publication Date
- 2024-09-10
AI Technical Summary
The existing technology lacks information security risk assessment standards based on the system source code level and the overall system level, making it difficult to conduct a comprehensive system information security risk assessment.
The source code extraction module is used to locate and switch the internal source code of the system, and the penetration testing module is used to scan and verify the extracted functional source code for vulnerabilities. The network attack module is combined with the network attack module to conduct an overall level information security risk assessment of the system, and use the risk The evaluation module integrates and analyzes the results, assigns points and grades them.
It realizes the quantitative evaluation of system information security risks, provides detailed risk assessment reports based on source code level and network attack level, and improves the comprehensiveness and accuracy of information security risk assessment.
Smart Images

Figure CN118627084A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of information security technology, and in particular to an information security risk assessment system. Background Art
[0002] Information security risk assessment is the process of analyzing an information system's asset value, potential threats, weaknesses, and existing protective measures, referencing risk assessment standards and management practices. This process determines the probability of a security incident and the potential losses it could cause, and then proposes risk management measures. Simply put, this involves conducting an information security risk assessment before an information system is connected to the internet. This assessment identifies the system's network security vulnerabilities and whether it meets the standards for network security assessments and network security level protection assessments.
[0003] Traditional system information security risk assessment operations are mostly performed based on the overall operating environment of the system. Currently, the existing technology lacks a system information security risk assessment standard that can be based on both the system source code level and the overall system level, which is not conducive to comprehensive system information security risk assessment. Based on the above reasons, the present invention proposes an information security risk assessment system. Summary of the Invention
[0004] (1) Technical problems solved
[0005] In response to the shortcomings of the existing technology, the present invention adopts a source code extraction module, which can be used to connect systems, locate the source code inside the system, and switch the specified functional source code based on the location. By outputting the source code of different functions to the local, it provides a basis for the system to perform information security risk assessment based on the source code level; then, the penetration test module is used to perform penetration operations on the extracted system function code files, and the extracted function source code can be scanned, verified, tested and statistically operated for vulnerabilities, thereby realizing information security risk assessment operations on the system based on the source code level; then, combined with the vulnerability attack module, various external network attack methods and means are used to realize information security risk assessment of the system at the overall level; combined with the risk assessment module, the information security risk results obtained by the penetration test module and the network attack module are integrated and analyzed, and the results based on the source code level and the network attack level are scored and graded, so as to quantify the system information security risk assessment.
[0006] (2) Technical solution
[0007] To achieve the above objectives, the present invention provides the following technical solution: an information security risk assessment system, the information security risk assessment system comprising:
[0008] The source code extraction module monitors and copies the system source code based on the specific functions of the system under test, and extracts the copied code to form the corresponding system function source code file;
[0009] The penetration testing module places the system function source code files in the corresponding operating environment and performs penetration operations on the extracted system function code files to implement penetration information risk testing based on the specific functions of the system;
[0010] The network attack module uses external network attacks to test the system's information security risk in a closed environment, and obtains the system's information security risk results under network attacks;
[0011] The risk assessment module integrates and analyzes the information security risk results obtained by the penetration testing module and the network attack module, and produces an information security risk assessment report for the tested system;
[0012] The test data storage module is used to store various software, application systems, and test data used in the entire test process, and can establish various test environments.
[0013] Preferably, the source code extraction module comprises a system connection submodule, a source code positioning submodule, a source code replication submodule and a source code output submodule;
[0014] The system connection submodule is used to connect the test environment and source code extraction software with the system, so that the system can interact with the external environment;
[0015] The source code location submodule is used to query the directory storing source code in the system and switch the source code directory through the source code extraction software, thereby realizing the switching operation of the source code of different functions of the system;
[0016] The source code copy submodule is used to split the source code located by the source code location submodule, and directly copy the different functions of the split source code, so that the functional source code can be directly copied into the temporary register;
[0017] The source code output submodule is used to perform naming and formatting operations on the copied source code, and save the source code output to a local computer to form a system function source code file.
[0018] Preferably, the source code files in the source code output submodule can be named independently according to the tester's habits, or can be named automatically according to the system function.
[0019] Preferably, the penetration testing module comprises a scanning submodule, a vulnerability testing and verification submodule and a vulnerability statistics submodule;
[0020] The scanning submodule performs a scanning operation on the internal source code based on the system function source code submitted to the local system, thereby obtaining various registration information, port information, patch information, vulnerability information and system version information contained in the source code;
[0021] The vulnerability verification and testing submodule verifies the information in the source code scanned by the scanning submodule, identifies the vulnerabilities in the source code through the injection of external software and code, and then performs customized testing based on the identified vulnerability information;
[0022] The vulnerability statistics submodule collects various vulnerability information verified by the vulnerability verification and testing submodules, and collects statistics on the test result data of each vulnerability.
[0023] Preferably, after the vulnerability verification and testing submodule detects a vulnerability in the system function source code, it is recorded as Lx, and then vulnerability tests are performed on it in different ways. After the same vulnerability is penetrated in one way, it is recorded as Lxn.
[0024] Preferably, the attack methods in the network attack module include one or more of malware attacks, phishing attacks, man-in-the-middle attacks (MITM), distributed denial of service (DDoS) attacks, SQL injections, zero-day vulnerability exploits, DNS tunnels, business email attacks (BEC), cryptojacking, drive-by attacks, and cross-site scripting (XSS) attacks, and each of the above network attack methods will be carried out in multiple forms.
[0025] Preferably, in the network attack module, when the system is successfully attacked by a network attack method, it is recorded as Gx, and when the network attack module successfully attacks by different forms of attack means under this attack method, it is recorded as Gxn.
[0026] Preferably, the risk assessment module grades the information security risk assessment, and the risk level score is D=Lxn×5+Gx×5×Gxn.
[0027] (3) Beneficial effects
[0028] Compared with the prior art, the present invention provides an information security risk assessment system with the following beneficial effects: the present invention adopts a source code extraction module, which can be used to connect systems, locate the source code inside the system, and switch the specified functional source code based on the location, and output the source code of different functions to the local computer, thereby providing a basis for the system to perform information security risk assessment based on the source code level; then, the penetration test module is used to perform penetration operations on the extracted system function code files, and the extracted function source code can be scanned, verified, tested and statistically operated for vulnerabilities, thereby realizing information security risk assessment operations on the system based on the source code level; then, combined with the vulnerability attack module, various external network attack methods and means are used to realize information security risk assessment of the system at the overall level; combined with the risk assessment module, the information security risk results obtained by the penetration test module and the network attack module are integrated and analyzed, and the results based on the source code level and the network attack level are scored and graded, thereby quantitatively evaluating the system information security risk. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 This is a structural diagram of the information security risk assessment system of the present invention. DETAILED DESCRIPTION
[0030] In order to better understand the purpose, structure and function of the present invention, and to achieve a comprehensive information security risk assessment of the system, the present invention adopts a source code extraction module. The source code extraction module can be used to connect systems, locate the source code within the system, and switch the specified functional source code based on the location. By outputting the source code of different functions to the local computer, a basis is provided for the system to perform information security risk assessment based on the source code level. Then, the penetration test module is used to perform penetration operations on the extracted system function code files, and the extracted function source code can be scanned, verified, tested and statistically operated on for vulnerabilities, thereby achieving information security risk assessment operations based on the source code level. Then, in combination with the vulnerability attack module, various external network attack methods and means are used to achieve information security risk assessment of the system at the overall level. In combination with the risk assessment module, the information security risk results obtained by the penetration test module and the network attack module are integrated and analyzed, and the results based on the source code level and the network attack level are scored and graded, thereby quantitatively evaluating the system information security risk. A further detailed description of an information security risk assessment system of the present invention is given.
[0031] refer to Figure 1 The present invention provides an information security risk assessment system, comprising:
[0032] The source code extraction module monitors and copies the system source code based on the specific functions of the system under test, and extracts the copied code to form the corresponding system function source code file;
[0033] Specifically, the source code extraction module includes a system connection submodule, a source code positioning submodule, a source code replication submodule and a source code output submodule;
[0034] The system connection submodule is used to connect the test environment and source code extraction software with the system, so that the system can interact with the external environment;
[0035] The source code location submodule is used to query the directory storing source code in the system and switch the source code directory through the source code extraction software, thereby realizing the switching operation of the source code of different functions of the system;
[0036] The source code copy submodule is used to split the source code located by the source code location submodule, and directly copy the different functions of the split source code, so that the functional source code can be directly copied into the temporary register;
[0037] The source code output submodule is used to perform naming and formatting operations on the copied source code, and save the source code output to a local computer to form a system function source code file.
[0038] Furthermore, the source code files in the source code output submodule may be named independently according to the tester's habits, or may be named automatically according to the system's functions.
[0039] The specific implementation method includes the following steps:
[0040] Establish the overall environment for system operation and connect the systems through the system connection submodule. Enter the command ssh username@server_ip_address to connect to the server and obtain full permissions of the system.
[0041] Use the source code location submodule to find the directory where the source code is stored, including / var / www / html or / var / www files, and use cd to switch to the directory, for example, cd / var / www / html;
[0042] Enter the command cp-R source_directory destination_directory through the source code copy submodule to copy the entire source code directory, replace source_directory with the directory where the source code is located, and replace destination_directory with the directory to which the source code is to be copied. By splitting the entire source code, the system function source code is obtained, and the system function source code is output to the local computer through the source code output submodule.
[0043] The penetration testing module places the system function source code files in the corresponding operating environment and performs penetration operations on the extracted system function code files to implement penetration information risk testing based on the specific functions of the system;
[0044] Specifically, the penetration testing module includes a scanning submodule, a vulnerability testing and verification submodule, and a vulnerability statistics submodule;
[0045] The scanning submodule performs a scanning operation on the internal source code based on the system function source code submitted to the local system, thereby obtaining various registration information, port information, patch information, vulnerability information and system version information contained in the source code;
[0046] The vulnerability verification and testing submodule verifies the information in the source code scanned by the scanning submodule, identifies the vulnerabilities in the source code through the injection of external software and code, and then performs customized testing based on the identified vulnerability information;
[0047] The vulnerability statistics submodule collects various vulnerability information verified by the vulnerability verification and testing submodules, and collects statistics on the test result data of each vulnerability.
[0048] In a specific implementation method, when a vulnerability is detected in the system function source code in the vulnerability verification and testing submodule, it is recorded as Lx, and then vulnerability tests are performed on it in different ways. When the same vulnerability is penetrated in one way, it is recorded as Lxn. For example, if two system vulnerabilities are detected in a function source code, there are L1 and L2 at this time, and if the two vulnerabilities are penetrated in one way respectively, L11 and L21 will be generated.
[0049] The network attack module uses external network attacks to test the system's information security risk in a closed environment, and obtains the system's information security risk results under network attacks;
[0050] Specifically, the attack methods in the network attack module include one or more of malware attacks, phishing attacks, man-in-the-middle attacks (MITM), distributed denial of service (DDoS) attacks, SQL injections, zero-day vulnerability exploits, DNS tunneling, business email compromise (BEC), cryptojacking, drive-by attacks, and cross-site scripting (XSS) attacks, and each of the above network attack methods may be carried out in multiple forms;
[0051] In the network attack module, when a system is successfully attacked by one network attack method, it is recorded as Gx. When the network attack module successfully attacks the system by different attack methods under the same attack method, it is recorded as Gxn. When the system is successfully attacked by two network attack methods, G1 and G2 are generated. If two network attack methods are implemented by two methods, G12 and G22 are generated.
[0052] The risk assessment module integrates and analyzes the information security risk results obtained by the penetration testing module and the network attack module, and produces an information security risk assessment report for the tested system;
[0053] Specifically, the risk assessment module grades the information security risk assessment, and the risk level score is D=Lxn×5+Gx×5×Gxn.
[0054] In a specific implementation, D=L11×5+L21×5+G1×5×G12+G2×5×G22=1×5+1×5+1×5×2+1×5×2=30. At this time, the information security risk rating level of the system can be obtained based on the reference table that matches the external system level and score.
[0055] The test data storage module is used to store various software, application systems, and test data used in the entire test process, and can establish various test environments.
[0056] Compared with the existing technology: the present invention adopts a source code extraction module, which can be used to connect systems, locate the source code inside the system, and switch the specified functional source code based on the location, and by outputting the source code of different functions to the local, it provides a basis for the system to perform information security risk assessment based on the source code level; then, the penetration test module is used to perform penetration operations on the extracted system function code files, and the extracted function source code can be scanned, verified, tested and statistically operated for vulnerabilities, thereby realizing information security risk assessment operations on the system based on the source code level; then, combined with the vulnerability attack module, various external network attack methods and means are used to realize information security risk assessment of the system at the overall level; combined with the risk assessment module, the information security risk results obtained by the penetration test module and the network attack module are integrated and analyzed, and the results based on the source code level and the network attack level are scored and graded, so as to quantify the system information security risk assessment.
[0057] It will be understood that the present invention is described by way of some embodiments, and it will be appreciated by those skilled in the art that various changes or equivalent substitutions may be made to these features and embodiments without departing from the spirit and scope of the present invention. In addition, under the teachings of the present invention, these features and embodiments may be modified to adapt to specific circumstances and materials without departing from the spirit and scope of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed herein, and all embodiments falling within the scope of the claims of this application are intended to be protected by the present invention.
Claims
1. An information security risk assessment system, characterized in that: The information security risk assessment system comprises: The source code extraction module monitors and copies the source code of the system based on the specific functions of the system under test, and extracts the copied code to form the corresponding system function source code file; The penetration test module places the system function source code files in the corresponding operating environment, and performs penetration operations on the extracted system function code files to implement penetration information risk testing based on the specific functions of the system; The network attack module uses external network attacks to test the information security risk of the system in a closed environment, and obtains the information security risk results of the system under network attacks; The risk assessment module integrates and analyzes the information security risk results obtained by the penetration test module and the network attack module, and produces an information security risk assessment report for the tested system; The test data storage module is used to store the various software, application systems, and test data used in the entire test process, and can establish various test environments.
2. An information security risk assessment system according to claim 1, characterized in that: The source code extraction module includes a system connection submodule, a source code positioning submodule, a source code replication submodule and a source code output submodule; The system connection submodule is used to test the connection between the environment and source code extraction software and the system, so that the system can interact with the external environment; The source code location submodule is used to query the directory storing source code in the system, and can switch the source code directory through the source code extraction software, so as to realize the switching operation of the source code of different functions of the system; The source code copy submodule is used to split the source code located by the source code location submodule, and directly copy the different functions of the split source code, so that the function source code can be directly copied to the temporary register; The source code output submodule is used to perform naming and formatting operations on the copied source code, and save the source code output to a local computer to form a system function source code file.
3. An information security risk assessment system according to claim 2, characterized in that: The source code files in the source code output submodule may be named autonomously according to the tester's habits, or may be named automatically according to the system's functions.
4. An information security risk assessment system according to claim 3, characterized in that: The penetration testing module includes a scanning submodule, a vulnerability testing and verification submodule and a vulnerability statistics submodule; The scanning submodule performs a scanning operation on the internal source code based on the system function source code submitted to the local system, thereby obtaining various registration information, port information, patch information, vulnerability information and system version information in the source code; The vulnerability verification and testing submodule verifies the various information in the source code scanned by the scanning submodule, determines the vulnerabilities in the source code through the injection of external software and code, and then performs customized testing operations based on the determined vulnerability information; The vulnerability statistics submodule collects various vulnerability information verified by the vulnerability verification and testing submodules, and collects statistics on the test result data of each vulnerability.
5. The information security risk assessment system according to claim 4, characterized in that: In the vulnerability verification and testing submodule, when a vulnerability is detected in the system function source code, it is recorded as Lx, and then vulnerability tests are performed on it in different ways. After the same vulnerability is penetrated in one way, it is recorded as Lxn.
6. An information security risk assessment system according to claim 5, characterized in that: The attack methods in the network attack module include one or more of malware attacks, phishing attacks, man-in-the-middle attacks (MITM), distributed denial of service (DDoS) attacks, SQL injections, zero-day vulnerability exploits, DNS tunnels, business email attacks (BEC), cryptojacking, drive-by attacks, and cross-site scripting (XSS) attacks, and each of the above network attack methods will be carried out in multiple forms.
7. An information security risk assessment system according to claim 6, characterized in that: In the network attack module, when the system is successfully attacked by a network attack method, it is recorded as Gx, and when the network attack module successfully attacks by different forms of attack means under this attack method, it is recorded as Gxn.
8. An information security risk assessment system according to claim 7, characterized in that: The risk assessment module grades the information security risk assessment, and the risk level score is D=Lxn×5+Gx×5×Gxn.
