A network security practical training effectiveness evaluation method and system
By constructing an assessment benchmark based on HanLP and cybersecurity knowledge system, and combining the flag mechanism and SPI interface specification, the problem of inconsistent cybersecurity training assessment standards was solved, the assessment results were unified and scalable, an objective basis for course design was provided, and the effectiveness of the assessment was improved.
Patent Information
- Application Number
- CN202611261597.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-19
- Publication Date
- 2026-11-20
AI Technical Summary
Existing technologies are insufficient to objectively and uniformly assess the effectiveness of cybersecurity training. The assessment standards are inconsistent, the curriculum design lacks objective basis, the assessment algorithms have poor scalability, and they are difficult to adapt to the dynamic and complex nature of cyberspace security scenarios.
Lexical analysis is performed using HanLP, a multilingual natural language processing technology, and rule constraints based on the cybersecurity knowledge system to construct an evaluation benchmark. The standardized assembly of evaluation indicators is driven by a flag mechanism, and the dynamic loading and expansion of the evaluation algorithm is achieved by utilizing the SPI interface specification and a dynamic multilingual algorithm loading mechanism.
It achieves the standardization of evaluation criteria, ensures the fairness and horizontal comparability of evaluation results, provides an objective basis for curriculum design, reduces the maintenance cost of algorithm iteration and upgrade, and improves the scalability and flexibility of evaluation algorithms.
Smart Images

Figure CN123140401A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of cybersecurity training technology, and more specifically, to a method and system for evaluating the effectiveness of cybersecurity training. Background Technology
[0002] Cybersecurity training simulates real-world network environments, enabling trainees to master cybersecurity skills through practical experience. The biggest challenge in cultivating cybersecurity talent lies in how to measure the rationality and effectiveness of the cybersecurity training curriculum and how to objectively and realistically assess the comprehensive capabilities of cybersecurity professionals.
[0003] Patent application CN121257968A discloses an improved method for performance evaluation based on multivariate data. This patent studies the potential relationships between variables based on training sample data, and uses factor analysis to extract common factors affecting system performance, establishing an orthogonal matrix to construct an evaluation index system. While the patent's practical basis is multivariate data, specifically targeting evaluation indicators for a particular dimension, cybersecurity training scenarios are characterized by their global reach, dynamism, and complexity. Trainees vary greatly in their understanding of relevant knowledge systems and their ability to combine and apply relevant tools in handling security incidents, such as sniffing, anomaly detection, risk assessment, and protection reinforcement. Therefore, it is difficult to evaluate the effectiveness of cybersecurity training based on the general solutions proposed in the patent. Furthermore, the fit between training subjects and the training knowledge system significantly impacts the trainees' training outcomes. Currently, cybersecurity training effectiveness evaluation primarily relies on expert assessment, with limited success.
[0004] Therefore, in order to solve the above-mentioned problems in the evaluation of the effectiveness of cybersecurity training, people are seeking a more ideal solution. Summary of the Invention
[0005] Based on this, in response to the above-mentioned technical problems, a method and system for evaluating the effectiveness of cybersecurity training is provided to solve the problems of inconsistent evaluation standards, unreasonable design of cybersecurity training courses, dynamic loading of evaluation algorithms, and poor scalability.
[0006] To achieve the above objectives, the first aspect of the present invention provides a method for evaluating the effectiveness of cybersecurity training, comprising the following steps: constructing a cybersecurity knowledge system, performing lexical constraint analysis based on multilingual natural language processing technology HanLP and rule constraints based on the cybersecurity knowledge system, and driving the construction of training subjects;
[0007] Based on flags, a comprehensive ability assessment system model was constructed, and the practical training curriculum system was planned.
[0008] Real-world training scenarios are constructed using a technology that combines virtual and real network scenarios.
[0009] A network security training performance evaluation algorithm manager was constructed based on the SPI interface specification and a dynamic multi-language algorithm loading mechanism.
[0010] During the practical training, a lightweight dynamic implantation technology based on kernel parameters is used to dynamically implant flags in the training scenario. The flag data obtained by the trainees during the training process is then sent to the cybersecurity training performance evaluation algorithm manager to evaluate the training performance of the cybersecurity trainees.
[0011] It is understandable that the above technical solutions rely on HanLP semantic parsing and cybersecurity knowledge rule constraints to unify the evaluation benchmark dimensions, ensuring that the evaluation results in various training scenarios are comparable horizontally and solving the problem of inconsistent standards; the evaluation process is encapsulated with a proxy pattern, and the standardized assembly of evaluation indicators is driven by flags, so that the rationality of the course design has an objective quantitative basis, solving the problem of the lack of objective evaluation in the course design; an algorithm plugin manager is built based on the SPI specification and dynamic multi-language loading mechanism to support the dynamic discovery, loading and seamless replacement of evaluation algorithms at runtime, solving the problems of hard-coded algorithms and poor extensibility.
[0012] To achieve the above objectives, a second aspect of the present invention provides a network security training effectiveness evaluation system, comprising the following steps:
[0013] The training subject construction module is configured to build a cybersecurity knowledge system. It relies on the multilingual natural language processing technology HanLP and rule constraints based on the cybersecurity knowledge system to perform lexical constraint analysis, thereby driving the construction of training subjects.
[0014] The comprehensive ability assessment system model is constructed based on flags, and the practical training curriculum system planning is completed.
[0015] The training scenario construction module is configured to construct training scenarios based on virtual-real network scenario construction technology.
[0016] The cybersecurity training performance evaluation algorithm manager is configured to build the cybersecurity training performance evaluation algorithm manager based on the SPI interface specification and a dynamic multi-language algorithm loading mechanism.
[0017] The dynamic implantation module is configured to implement dynamic implantation of flags in the scenario using a lightweight dynamic implantation technique based on kernel parameters.
[0018] The evaluation module is used to acquire flag data obtained by trainees during the training process and send it to the cybersecurity training effectiveness evaluation algorithm manager to evaluate the training effectiveness of cybersecurity trainees.
[0019] The beneficial effects of this invention are as follows:
[0020] 1. Standardization of evaluation criteria
[0021] By leveraging HanLP multilingual natural language processing technology to semantically analyze training texts, unstructured training reports and operation logs are transformed into computable feature vectors. Combined with the constraints of the cybersecurity knowledge system, evaluation dimensions are standardized and their boundaries defined. This integration constructs a comprehensive capability evaluation system model with unified evaluation benchmarks. This allows evaluation results from different training scenarios and in different languages to be compared within the same reference frame, effectively solving the problem of inconsistent cybersecurity training evaluation standards and ensuring the fairness and comparability of evaluation results.
[0022] 2. Evaluation process and indicator assembly
[0023] The evaluation process is encapsulated using the proxy design pattern, providing a unified evaluation call entry point to the outside world and shielding the implementation details of each evaluation step internally. This ensures that changes to the evaluation logic do not affect external callers and reduces coupling between modules. At the same time, a flag mechanism drives the standardized assembly of evaluation indicators. By dynamically controlling the enabled indicators and the weight coefficients of each indicator through runtime injected parameters, differentiated combinations of evaluation indicators can be assembled as needed for different training types. This provides an objective quantitative basis for the rationality of the course design and effectively solves the problem of the lack of objective evaluation standards in cybersecurity training course design.
[0024] 3. Algorithm dynamic expansion mechanism
[0025] Based on the SPI interface specification, a unified algorithm service specification is defined. Combined with a dynamic multi-language algorithm loading mechanism, the language type of the algorithm implementation class is parsed at runtime and dynamically loaded into the plugin container. This allows new evaluation algorithms to be connected to the system simply by implementing the SPI interface, without modifying the main control code. The algorithm plugin manager manages the entire lifecycle of algorithm instances, thereby enabling dynamic loading, hot-plugging, and seamless replacement of evaluation algorithms at runtime. Ultimately, this effectively solves the problems of hard-coded evaluation algorithms and poor scalability in traditional solutions, and significantly reduces the maintenance cost of algorithm iteration and upgrades. Attached Figure Description
[0026] Figure 1 This is a flowchart illustrating the network security training effectiveness evaluation method described in this invention; Detailed Implementation
[0027] The technical solution of the present invention will be further described in detail below through specific embodiments.
[0028] Example 1
[0029] This embodiment provides a method for evaluating the effectiveness of network security training, such as... Figure 1 As shown, it includes the following steps:
[0030] Step 1: Building a cybersecurity knowledge system.
[0031] The knowledge system is a profound summary of the teaching experience of cybersecurity education experts and front-line instructors. It includes basic descriptive information such as knowledge point name, knowledge point number, and knowledge point description, as well as child nodes. Therefore, the cybersecurity knowledge system can be constructed through a forest data structure.
[0032] The cybersecurity knowledge system consists of several knowledge subtrees, each of which corresponds to an independent cybersecurity knowledge module.
[0033] For example, penetration testing training mainly includes determining attack paths and exploitation methods in the network security protocol subtree, system security subtree, and web application security subtree; incident response training mainly includes threat tracing and handling assessment using forensics and log analysis knowledge in the system security subtree and security management subtree; security hardening training mainly includes compliance verification of host hardening baselines in the system security subtree, firewall policies in the network security subtree, and framework security configurations in the web application security subtree; code auditing training mainly includes determining code risks using vulnerability principles in the web application security subtree and binary security knowledge in the system security subtree; and situational awareness training mainly includes comprehensive analysis of asset and alarm correlation knowledge in the security management subtree.
[0034] Each knowledge node includes at least a unique identifier, a parent node identifier, a node name, and a set of child nodes. Specifically, the unique identifier is used to uniquely identify the current knowledge point, facilitating rapid retrieval and location of the knowledge point in massive amounts of data; the parent node identifier represents the hierarchical relationship between the current knowledge point and its superior knowledge points, and when this field is empty or has a value of null, it indicates that the current node is the top-level root node of this knowledge subtree; the node name describes the semantic content of the current knowledge point, such as "script attack" or "brute force method"; the set of child nodes stores a list of the subordinate knowledge points of the current knowledge point, thus forming a tree-like or forest-like hierarchical knowledge structure.
[0035] Taking script attacks as an example, the above structure can be serialized and stored using the following JSON format:
[0036] {"id":"K001","knowledgeName":"Script attack","parentId":null,"children":[{"id":"K001-01","knowledgeName":"Cross-site scripting attack","parentId":"K001","children":[]}]}.
[0037] It is understood that the above example structure is only a specific implementation example. In actual applications, knowledge nodes can also be represented using XML, YAML or other custom formats. The names, quantities and nesting methods of each field can be adaptively adjusted according to business needs, as long as it contains node identifiers, node names, parent node identifiers and a list of child nodes to represent hierarchical relationships.
[0038] Step 2: Construct practical training subjects using rule-based dictionary-based lexical constraint analysis technology.
[0039] The key to the effectiveness of cybersecurity training lies in whether the construction of training subjects truly covers the knowledge points that trainees are required to master. This patent uses the cybersecurity knowledge system constructed in step 1 as a formal rule dictionary and combines word constraint analysis technology to carry out the automated construction of training subjects.
[0040] First, the target knowledge points are vectorized to obtain target lexical vectors. Specifically, the set of lexical terms for the cybersecurity knowledge system is defined as follows: The knowledge terms for the cybersecurity training assessment are: ,but ,in, , This represents the total number of standardized knowledge terms in the dictionary.
[0041] The original Chinese text describing the cybersecurity training course content, such as training tasks and key teaching points, entered by the instructors, is input into the multilingual natural language processing technology HanLP. The HanLP segmentation granularity parameter `coarse=false` is set, and the original Chinese text is processed for segmentation and semantic dependency analysis to obtain the segmentation results. .
[0042] The existence of target words is checked on each segmented word vector. ,in, .
[0043] Based on this, the word inclusion degree is calculated. .
[0044] like This indicates that the content of the practical training course does not fully cover the knowledge points of this cybersecurity practical training assessment. The instructor needs to further improve the design of the practical training course content to achieve consistency between the practical training course content and the practical training knowledge system.
[0045] Step 3: Construction of a comprehensive capability assessment system model based on flags.
[0046] The complexity of the cybersecurity knowledge system determines the complexity of the comprehensive capability assessment system for cybersecurity personnel. To comprehensively assess the overall capabilities of cybersecurity personnel, objectively calculate the comprehensive capability level of trainees, and generate multi-dimensional capability profiles, this invention constructs a comprehensive capability assessment system model based on flags. The specific steps are as follows:
[0047] Construct an evaluation indicator layer to collect multi-dimensional flag behavior data of trainees during the training process;
[0048] Construct an evaluation criteria layer to evaluate different dimensions based on multi-dimensional flag behavior data, and obtain the capability scores and integrated scores for each sub-dimensional dimension under each evaluation criterion.
[0049] A comprehensive competency layer is constructed to aggregate the combined scores of various assessment criteria and output the comprehensive assessment results of trainees' competency based on the weight of each assessment criterion.
[0050] As can be seen, the comprehensive ability layer aggregates information from all dimensions of the lower layer to form an overall evaluation conclusion, outputting the trainees' comprehensive ability quantitative score and overall ability judgment, providing a unified result basis for the macro-evaluation of training effectiveness; the evaluation criteria layer is divided into several independent evaluation dimensions according to the dimensions of the comprehensive ability layer, outputting the ability scores of each dimension, intuitively identifying the trainees' strengths and weaknesses in different ability modules, avoiding the use of total score alone to cover up local ability deficiencies; the evaluation indicator layer is based on flags and is responsible for providing original evaluation materials, corresponding to the flag behavior data collected during the trainees' cybersecurity skills training, and is the data foundation of the entire evaluation model.
[0051] Specifically, the evaluation indicator system should cover at least five training scenarios: penetration testing, incident response, security hardening, secure development and code auditing, and security operation and situational awareness.
[0052] In penetration testing scenarios, the information gathering capability dimension measures the coverage of target assets through asset discovery completeness, assesses the correctness of operating system and middleware identification through fingerprint recognition accuracy, and considers the reasonableness of the time spent in each stage of information gathering efficiency. The vulnerability discovery capability dimension reflects the coverage of major risk surfaces through vulnerability coverage, distinguishes between valid vulnerabilities and false positives through vulnerability hit rate, and reflects the ability to identify serious vulnerabilities through high-risk vulnerability discovery rate. The vulnerability exploitation and privilege escalation capability dimension measures the effectiveness of vulnerability exploitation through exploitation success rate, assesses whether the operation chain is optimal through the rationality of privilege escalation path, and verifies the level of avoidance of protection measures such as WAF and AV through bypass capability. The report writing and communication capability dimension is quantitatively evaluated through the clarity of vulnerability description and the operability of the restatement steps.
[0053] In emergency response scenarios, threat detection capability measures the proportion of known threat characteristics identified by threat detection rate; analysis and judgment capability assesses the accuracy of event judgment by false positive and false negative rates; handling and response capability reflects the timeliness of response by average handling time; log analysis capability measures the attack chain tracing capability by the accuracy of multi-source log correlation; and source tracing and evidence collection capability assesses the accuracy of intrusion method determination by the root cause location accuracy rate.
[0054] In security hardening scenarios, baseline compliance capability is assessed by configuration compliance rate to evaluate the degree of compliance with CIS or information security standards; vulnerability remediation capability is reflected by high-risk vulnerability remediation rate to reflect the proportion of vulnerability handling; access control capability is assessed by minimum privilege compliance rate to evaluate the rationality of access control configuration; hardening durability is measured by hardening strategy retention rate to measure the effectiveness of configuration after restart; and verification testing capability is assessed by residual risk value to evaluate the exploitable risk points that still exist after hardening.
[0055] In secure development and code auditing scenarios, code auditing capabilities are assessed by vulnerability detection density (number of vulnerabilities per thousand lines of code), vulnerability classification capabilities are measured by OWASP Top 10 coverage to measure vulnerability mapping accuracy, remediation verification capabilities are assessed by the effectiveness of code remediation to evaluate the proportion of vulnerabilities closed after retesting, security design awareness is assessed by the compliance rate of secure function usage to evaluate secure API call specifications, and automated detection capabilities are measured by the SAST / DAST rule hit rate to measure the effectiveness of tool detection.
[0056] In security operations and situational awareness scenarios, monitoring coverage capability is assessed by asset coverage rate to evaluate the proportion of managed assets; alarm accuracy capability is assessed by alarm accuracy rate to distinguish between valid alarms and false alarms; analysis and decision-making capability is assessed by threat level determination accuracy rate to evaluate the consistency of threat level judgment; response and coordination capability is assessed by handling completion rate to measure response efficiency within a specified time; and situational understanding capability is assessed by situational report completeness comprehensive score covering key elements such as attack source, target, path, and scope of impact.
[0057] The above indicator groups are standardized and assembled through a flag mechanism. Corresponding indicator items are activated as needed for different training types, and the weight coefficients of each indicator are dynamically configured to ensure the adaptability and flexibility of the evaluation model in various training scenarios.
[0058] In practice, the comprehensive ability matrix of the trainees is set as follows: The evaluation criterion matrix is as follows: , No. The matrix of evaluation index items corresponding to each criterion is as follows: The weight constraints between the underlying evaluation indicators are determined by the evaluation criterion matrix. Decide, ,in, As a standard Next The weights of each indicator, and the evaluation criterion matrix. For the weight constraints to be satisfied .
[0059] In evaluating the training effectiveness of trainees, the first step is to collect flag behavior data at the indicator level. Evaluate the evaluation criteria layer ,in, For the sample No. A multi-dimensional capability score. For the flag behavior data collected during the training process After normalization and standardization, the index values are used to obtain the dimensional score vector of the evaluation criteria layer. Combined with the evaluation criterion weight vector determined by the comprehensive capability criterion layer. The comprehensive assessment results of the trainees' abilities were obtained: .
[0060] Step 4: Construction of practical training scenarios.
[0061] The implementation of the assessment system relies on the construction of cybersecurity training scenarios. As a key part of cybersecurity training, training scenarios provide a data foothold for the training and assessment of trainees' abilities, including the construction of scenario model libraries, the arrangement of network topology structures, and the generation of virtual and real network environments.
[0062] The complete process is as follows: First, extract the key attribute set of the physical devices involved according to the planned content of the training curriculum system, and assemble and generate a virtual-physical equivalent execution object model based on the key attribute set; construct a virtual network mapping model based on the underlying physical network and virtual network requests, and perform virtual network mapping on the virtual-physical equivalent execution object model based on the virtual network mapping model to generate virtual-physical equivalent execution instances; identify heterogeneous equivalent execution entities in the virtual-physical equivalent execution instances and store them as virtual device logical entity models to form a logical entity scene model library for virtual-physical integration; monitor custom network topology drawing operations to obtain the virtual device logical entity models and model relationships in the three dimensions of spatial distribution, functional networking, and task networking, and generate a network spatial information topology model using a multi-layer network-based spatial information network topology model; construct a virtual-physical integrated network based on the device application protocol of the virtual device logical entity model, the programmable SDN controller based on OPS, and VLAN and VXLAN network virtualization technologies; generate a visual data display model based on the virtual-physical integrated network, and perform visual management of the visual data display model through visualization components to realize the construction of the training scenario topology.
[0063] For specific steps, please refer to the complete "Method for Constructing Internet Target Range Scenes" disclosed in the applicant's prior authorized patent CN115225508B, which will not be elaborated here.
[0064] Step 5: Based on step 4, the dynamic flag is implanted into the scene using a lightweight dynamic implantation method based on kernel parameters.
[0065] The lightweight dynamic implantation method based on kernel parameters relies on the boot parameter appending capabilities of virtualization management suites such as QEMU and Libvirt to append custom flag parameter fields to the kernel command line.
[0066] Specifically, the host machine generates a unique dynamic flag by combining a timestamp and a UUID. For example, a format of "business prefix + timestamp + random UUID" can be used to ensure that the flag identifier generated each time is unique, and it is temporarily stored in a task queue related to this scenario for later use. The above example format of "business prefix + timestamp + random UUID" is only one specific implementation example. In actual applications, it is sufficient to ensure that the flag identifier generated each time is unique. Based on this, the training scenario verified in step 4 is restarted. During the startup preparation phase, the virtualization server management platform automatically reads the flag content from the task queue and simultaneously schedules the virtualization management suite to add a custom flag parameter field by modifying the virtual machine startup command parameter -append, thereby injecting the dynamically generated flag into the startup process and caching the flag content and storage path in the training scenario database.
[0067] Specifically, by refactoring the virtual machine-append boot parameter field, the dynamic flag identifier and the custom flag parameter field are mounted together to the Guest kernel's initialization command line.
[0068] Step 6: Verify the flag credentials.
[0069] In immersive cybersecurity training scenarios, trainees rely on their existing cybersecurity theoretical knowledge, combined with predetermined training objectives, practical content, and supporting training tools, to conduct immersive practical training in a standardized cybersecurity simulation training environment pre-set by the system. This training involves a series of practical behaviors such as vulnerability discovery and network link penetration, and trainees submit the unique verification flag credentials built into the training scenario obtained through the practical training via the terminal.
[0070] To meet the needs of automated assessment in immersive cybersecurity training, this invention achieves seamless verification of flag data uploaded by trainees' terminals through an automatic verification mechanism for training flag data. This includes steps for receiving and preprocessing training flag data, intelligent comparison and verification, and result output and data archiving.
[0071] The training flag data receiving and preprocessing step is responsible for receiving flag verification voucher data submitted by trainees' terminals in real time, and performing preprocessing operations such as format parsing and compliance screening on the data to ensure the accuracy and stability of subsequent judgments. The intelligent comparison and verification judgment module step is based on the built-in standardized flag voucher database. The preprocessed standard data is input into the intelligent comparison and verification judgment module, which calls the standard flag data of the corresponding scenario to compare and judge the correctness and completeness of the preprocessed standard voucher content, and automatically generates correct and incorrect verification results. The result output and data archiving step is responsible for creating flag data mapping relationships and recording the verification results and relationships in the database for storage.
[0072] Step 7: Evaluation Steps.
[0073] Specifically, a network security training performance evaluation algorithm manager is pre-built based on the SPI interface specification and a dynamic multi-language algorithm loading mechanism. The network security training performance evaluation algorithm manager includes: a service access module, an algorithm scheduling manager, an algorithm plugin management module, and a data persistence module.
[0074] The business access module is used to perform structured storage of flag data and the data structure of the evaluation system;
[0075] The algorithm scheduler integrates three core components: the SPI algorithm registration center, the multi-language dynamic loading engine, and the task scheduling module, to realize the functions of algorithm registration, loading, scheduling, and management; specifically, the multi-language here refers to multiple programming languages such as Java / Python / Go.
[0076] The algorithm plugin management module realizes standardized access, dynamic discovery and lossless replacement of algorithms through the SPI unified interface; in this embodiment, evaluation algorithms written in multiple programming languages such as Java, Python, and Go are dynamically loaded and replaced at runtime through the SPI unified interface without modifying the main control code.
[0077] The data persistence module is used to persist and cache the evaluation results.
[0078] The specific assessment steps include:
[0079] Based on the hierarchical structure of the flag-based comprehensive capability assessment system model constructed in step 3, the data related to practical training in step 6 is stored in a structured manner.
[0080] Specifically, the data structure of the evaluation system can be serialized and stored in JSON format, including the unique identifier of the indicator, the indicator name, a reference to the parent node for upward tracking and updates, the current indicator's score (default 0), the indicator's weight within the same parent indicator system, the score of the current indicator node, and the child nodes of the current indicator node. Alternatively, it can be serialized and stored in XML format as follows:<?xmlversion="1.0"encoding="utf-8"?> <root> <id> index-01< / id> <name> attack< / name> <parent> null< / parent> <value> 0< / value> <weight> 1< / weight> <score> 0< / score> <children><itemindex="0"> <id> index-001< / id> <name> "vulnerability"< / name> <parent> index-01< / parent> <value> 30< / value> <weight> 0.3< / weight> <score> 0< / score> <itemindex="1"> <id> index-002< / id> <name> Trojan Horse< / name> <parent> index-01< / parent> <value> 50< / value> <weight> 0.7< / weight> <score> 0< / score> < / children> < / root> .
[0081] It is understandable that this JSON structure utilizes a tree-like hierarchical relationship to organize and store the multi-source heterogeneous data generated during the training (by mapping to the score field of the leaf nodes) in a structured manner, and achieves bottom-up automated aggregation calculation through parent node references and weight mechanisms, thereby supporting the complete operation of the flag-based comprehensive capability assessment system model.
[0082] It is understood that the above example structure is only a specific implementation example, and in practical applications, it can also be represented using JSON, YAML or other custom formats.
[0083] The algorithm scheduler searches for the corresponding algorithm in the SPI algorithm registry of the SPI algorithm registration center based on the algorithm's unique identifier.
[0084] The multi-language dynamic loading engine scans the algorithm plugin storage path by unique algorithm identifiers and language types, and verifies the process status of the algorithm's runtime environment, such as JDK environment and Python environment, and creates an isolated sandbox environment for the algorithm.
[0085] The task scheduling module drives the algorithm plugin management module to initialize the algorithm based on the SPI unified interface init(), and dynamically register the algorithm to the sandbox created by the multi-language dynamic loading engine.
[0086] The algorithm plugin manager uses the SPI unified interface specification getInfo() to parse and obtain algorithm metadata and normalized data to be evaluated cached in the MySQL database. It performs performance evaluation calculations through asynchronous task scheduling calculate(), stores the results in the Redis cache, and sends the quantitative results of the training evaluation back to the business platform to complete the fully automated evaluation process.
[0087] Example 2
[0088] This embodiment provides a network security training effectiveness evaluation system, including the following steps:
[0089] The training subject construction module is configured to build a cybersecurity knowledge system. It relies on the multilingual natural language processing technology HanLP and rule constraints based on the cybersecurity knowledge system to perform lexical constraint analysis, thereby driving the construction of training subjects.
[0090] The comprehensive ability assessment system model is constructed based on flags, and the practical training curriculum system planning is completed.
[0091] The training scenario construction module is configured to construct training scenarios based on virtual-real network scenario construction technology.
[0092] The cybersecurity training performance evaluation algorithm manager is configured to build the cybersecurity training performance evaluation algorithm manager based on the SPI interface specification and a dynamic multi-language algorithm loading mechanism.
[0093] The dynamic implantation module is configured to implement dynamic implantation of flags in the scenario using a lightweight dynamic implantation technique based on kernel parameters.
[0094] The evaluation module is used to acquire flag data obtained by trainees during the training process and send it to the cybersecurity training effectiveness evaluation algorithm manager to evaluate the training effectiveness of cybersecurity trainees.
[0095] The specific steps of the system are as follows:
[0096] Phase 1: Pre-training preparation ---- This phase completes the top-level design of the evaluation model, scenario adaptation, and algorithm loading, laying a standardized data and computational foundation for subsequent evaluations.
[0097] Step 1: Construct a multi-level evaluation indicator tree.
[0098] Based on the core knowledge system of cybersecurity—cryptography and data security, network and protocol security, system and host security, web application and cloud security, and security management and incident response—a four-level tree-structured evaluation index system is constructed as the data carrier for the entire process evaluation.
[0099] 1. Root node: Represents the final evaluation result of the trainee in this practical training;
[0100] 2. Secondary nodes: cover core capabilities such as penetration testing, incident response, security hardening, secure development, and situational awareness, and support selective activation according to training type;
[0101] 3. Third-level nodes: The second-level dimensions are broken down and refined, such as the penetration testing capabilities, which are divided into sub-capabilities such as information gathering, vulnerability discovery, vulnerability exploitation and privilege escalation, and report writing;
[0102] 4. Level 4 nodes: the most granular quantifiable indicators, such as asset discovery completeness, vulnerability hit rate, exploit success rate, and vulnerability description clarity.
[0103] Each node uniformly includes: a unique identifier, an indicator name, a parent node reference, an initial score, peer weights, and a list of child nodes. The entire tree structure is serialized and stored in JSON format to ensure that the structure is reusable, transmissible, and parsable.
[0104] Step 2: Complete the assembly of the model and algorithm based on the Flag mechanism.
[0105] Administrators can pass the Flag parameter via command line / configuration file to complete two types of scenario-based assembly in one go: indicator tree pruning and scoring algorithm loading, so as to achieve precise matching between the evaluation system and the training objectives.
[0106] (1) Scenario-based pruning and weight configuration of indicator trees
[0107] Taking basic penetration testing as an example, based on the training type, the indicator branches to be enabled / disabled are specified using Flags, and their weights are adjusted according to the teaching objectives:
[0108] Basic penetration testing example: Enabling all metrics for information gathering capabilities; all metrics for vulnerability discovery capabilities; partial metrics for vulnerability exploitation and privilege escalation capabilities—exploitation success rate, rationality of privilege escalation path; all metrics for report writing capabilities;
[0109] Weighting adjustment: Increase the weight of information gathering ability to 0.35 and decrease the weight of report writing ability to 0.10 to emphasize the assessment of basic operations;
[0110] Unenabled nodes do not participate in the entire calculation process, ensuring that the assessment focuses on core capabilities.
[0111] (2) Dynamic loading and registration of scoring algorithms
[0112] The set of scoring algorithms to be used in this training session is specified by the Flag, and the algorithm plugin manager will handle the unified loading:
[0113] The system scans the corresponding plugin directories according to the configuration (Python / Java / Go are stored in separate directories), and verifies the validity of the algorithm through the SPI unified interface specification.
[0114] The algorithm is instantiated via multi-language adapters (Python adapter, Java adapter, Go adapter) and registered in the cache pool for subsequent scoring calls;
[0115] This phase encapsulates the entire evaluation process using the proxy design pattern, exposes standardized interfaces to the outside world, shields internal assembly, loading, and calculation details, and reduces the complexity of external calls.
[0116] Phase Two: Practical Training Implementation and Multi-Source Data Acquisition
[0117] This phase focuses on the fully automated collection of data during the practical training process, providing original, complete, and traceable data support for subsequent scoring.
[0118] Step 3: Practical training for trainees and collection of three types of raw data.
[0119] Trainees complete the entire penetration testing process on the training platform. The system collects three types of core raw data: seamlessly, in real-time, and in full. The data is then uniformly stored in the raw data area using the trainee ID and training task ID as the unique association key.
[0120] 1. Operational behavior data: Real-time capture of commands and execution results for Nmap scanning, vulnerability verification, injection attacks, privilege escalation operations, etc., with timestamps, operation types, command content, and execution results, and stored serially according to the timeline;
[0121] 2. Vulnerability Submission Data: Collect all information from the vulnerability forms submitted by trainees, including vulnerability title, type, severity level, affected assets, vulnerability description, reproduction steps, and remediation suggestions;
[0122] 3. Time efficiency data: Automatically records the start and end times of each stage of information collection, vulnerability discovery and verification, and report writing, for quantitative evaluation of efficiency indicators.
[0123] Phase 3: Execution of the scoring layer.
[0124] After the training, the evaluation engine starts the leaf nodes to score independently, and is divided into two categories according to the characteristics of the indicators: direct scoring by the rule engine and scoring by intelligent algorithms, to ensure that the scoring is accurate, efficient and adaptable to different indicator types.
[0125] Step 4: Raw Data Classification, Routing, and Standardized Scoring
[0126] The system first classifies, parses, and routes the raw data from multiple sources: numerical comparison indicators are directly scored by the rule engine; semantic reasoning and path analysis indicators are routed to the algorithm plugin manager for intelligent scoring.
[0127] 4.1 Direct scoring by the rule engine
[0128] Asset discovery completeness: Compare the scan results with the preset asset list (IP / port / service), count the valid elements and normalize them to a percentage.
[0129] Fingerprint recognition accuracy: Compares 10 fingerprint elements such as operating system and web server, and assigns scores based on the number of correct entries;
[0130] Information collection efficiency: calculated as the ratio of actual time spent to standard time spent (60 minutes), with a minimum guaranteed score of 40 points;
[0131] Vulnerability coverage: Scored based on the proportion of submitted vulnerability types to the total number of preset types;
[0132] Vulnerability hit rate: scored as a percentage of valid vulnerabilities out of the total number of submissions;
[0133] High-risk vulnerability discovery rate: scored based on the proportion of high-risk vulnerabilities discovered to the preset total.
[0134] Exploitation success rate: scored as a percentage of successful exploit attempts out of the total number of attempts;
[0135] Protection bypass capability: scored according to the ratio of successful WAF / AV / EDR bypasses to the number of blocked attempts.
[0136] 4.2 Algorithm Plugin Manager Intelligent Scoring
[0137] 1. Manager operation mechanism: Preload valid algorithm instances according to Flag configuration, cache reuse to avoid duplicate loading; supports multi-language algorithms such as Python / Java / Go, and unifies input and output formats through SPI specification;
[0138] 2. Clarity of vulnerability description: The description text is extracted, and then subjected to HanLP semantic analysis (triggering conditions, scope of impact, degree of harm) + BERT language quality assessment, and weighted fusion to obtain a percentage score;
[0139] 3. Feasibility of reproduction steps: Sentence segmentation identifies preconditions, operation sequence, expected results, and verification methods, and scores are calculated by weighting according to preset weights;
[0140] 4. Reasonableness of repair suggestions: Extract the suggested text, compare its semantic similarity with the standard repair solution, and generate a score by combining configuration / code example bonus items;
[0141] 5. Reasonableness of Privilege Escalation Path: Convert the operation sequence into a directed graph, compare it with the optimal path, and evaluate it from three dimensions: path redundancy, core node hit rate, and operation risk, and convert it into a percentage score.
[0142] Phase 4: Aggregation layer execution.
[0143] Once all leaf indicators are scored, a bottom-up, weighted aggregation process is initiated to achieve accurate calculation from fine-grained indicators to the overall score, and single-point updates and recalculations are supported.
[0144] Step 5: Calculate the weighted summaries from bottom to top.
[0145] The system starts from the parent node of the leaf node and calculates upwards layer by layer along the parent node's reference chain:
[0146] 1. Sub-capability layer summary: Taking information collection capability as an example, sum the scores of leaf indicators by weight, and write the result to this node;
[0147] 2. Capability Dimension Summary: Taking penetration testing capabilities as an example, the scores of sub-capabilities are summed by multiplying their weights, and the results are written to the corresponding dimension node.
[0148] 3. Root node summary: Sum the scores of the enabled capability dimensions by multiplying their weights to obtain the total comprehensive capability score.
[0149] Phase 5: Results Output and Dynamic Expansion of the System
[0150] This phase completes the visualization of assessment results, the implementation of teaching feedback, the hot-upgrading of algorithms, and the dynamic updating of data, thereby achieving a closed loop and continuous optimization of the assessment system.
[0151] Step 6: Evaluation report generation and two-way feedback in teaching.
[0152] The system exports a structured and visual evaluation report, which includes the overall score, detailed scores for each dimension, leaf indicator scores, and weight snapshots, supplemented by radar charts and bar charts to present the capability distribution.
[0153] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit them; although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications can still be made to the specific implementation of the present invention or equivalent substitutions can be made to some technical features without departing from the spirit of the technical solutions of the present invention, and all such modifications and substitutions should be covered within the scope of the technical solutions claimed in the present invention.
Claims
1. A method for evaluating the effectiveness of cybersecurity training, characterized in that, include: A cybersecurity knowledge system is constructed, relying on the multilingual natural language processing technology HanLP and rule constraints based on the cybersecurity knowledge system to perform lexical constraint analysis, driving the construction of practical training subjects; Based on flags, a comprehensive ability assessment system model was constructed, and the practical training curriculum system was planned. Real-world training scenarios are constructed using a technology that combines virtual and real network scenarios. A network security training performance evaluation algorithm manager was constructed based on the SPI interface specification and a dynamic multi-language algorithm loading mechanism. During the practical training, a lightweight dynamic implantation technology based on kernel parameters is used to dynamically implant flags in the training scenario. The flag data obtained by the trainees during the training process is then sent to the cybersecurity training performance evaluation algorithm manager to evaluate the training performance of the cybersecurity trainees.
2. The method for evaluating the effectiveness of network security training according to claim 1, characterized in that, When constructing the cybersecurity knowledge system, a forest data structure is adopted. The cybersecurity knowledge system includes several knowledge subtrees, each subtree corresponds to an independent cybersecurity knowledge module, and each knowledge node includes at least a unique identifier, a parent node identifier, a node name, and a set of child nodes.
3. The method for evaluating the effectiveness of network security training according to claim 2, characterized in that, The steps for constructing practical training subjects are as follows: The target knowledge points are vectorized to obtain target word vectors. The descriptions of cybersecurity training subjects entered by instructors are input into the multilingual natural language processing technology HanLP for word segmentation and semantic dependency analysis to obtain word segmentation result vectors. The existence of target words is checked for each word segmentation result vector, and the word inclusion degree is calculated. Improve the content of practical training subjects based on word inclusion degree.
4. The method for evaluating the effectiveness of network security training according to claim 1, characterized in that, The steps for constructing a comprehensive ability assessment system model include: Construct an evaluation indicator layer to collect multi-dimensional flag behavior data of trainees during the training process; Construct an evaluation criteria layer to evaluate different dimensions based on multi-dimensional flag behavior data, and obtain the capability scores and integrated scores for each sub-dimensional dimension under each evaluation criterion. A comprehensive competency layer is constructed to aggregate the combined scores of various assessment criteria and output the comprehensive assessment results of trainees' competency based on the weight of each assessment criterion.
5. The method for evaluating the effectiveness of network security training according to claim 2, characterized in that, The steps for constructing a practical training scenario include: Based on the content of the practical training curriculum system, extract the key attribute set of the physical equipment involved, and assemble and generate a virtual-physical equivalent execution object model based on the key attribute set; A virtual network mapping model is constructed based on the underlying physical network and virtual network requests. Based on the virtual network mapping model, a virtual-physical equivalent execution object model is mapped to a virtual network to generate virtual-physical equivalent execution instances. Identify heterogeneous equivalent execution entities in virtual and real equivalent execution entity instances and store them as virtual device logical entity models to form a logical entity scene model library for virtual and real integration; Listen to custom network topology drawing operations, obtain the logical entity models of virtual devices and their relationships in the three dimensions of spatial distribution, functional networking, and task networking, and generate a network spatial information topology model using a multi-layer network-based spatial information network topology modeling method. Based on the device application protocol of the virtual device logical entity model, a virtual-physical hybrid network is constructed using the programmable SDN controller based on OPS and network virtualization technologies such as VLAN and VXLAN. A visual data display model is generated based on a virtual-real network. The model is then managed visually using visualization components to construct the topology of the training scenario.
6. The method for evaluating the effectiveness of network security training according to claim 5, characterized in that, The steps for implementing dynamic flag insertion in a scenario using a lightweight, dynamic insertion method based on kernel parameters are as follows: The host machine generates a unique dynamic flag by combining a timestamp and a UUID and adds it to the task queue associated with that scenario; Restart the completed training scenario, and the virtualization server management platform will automatically read the dynamic flag in the task queue. At the same time, the virtualization management suite will add a custom flag parameter field by modifying the virtual machine startup command parameter -append, so as to inject the dynamically generated flag into the startup process. The flag parameter field and storage path are cached in the training scenario database.
7. The method for evaluating the effectiveness of network security training according to claim 5, characterized in that, After acquiring the flag data obtained by trainees during their practical training, the system performs format parsing and compliance screening preprocessing on the flag verification voucher data submitted by the trainees. It then calls the standard flag data for the corresponding scenario to compare and determine the correctness and completeness of the voucher content, automatically generating correct and incorrect verification results. Finally, it creates a flag data mapping relationship and records the verification results and relationships in the database for storage.
8. The method for evaluating the effectiveness of network security training according to claim 5, characterized in that, The network security training performance evaluation algorithm manager includes: a service access module, an algorithm scheduling manager, an algorithm plugin management module, and a data persistence module; The business access module is used to store the flag data related to the training in a structured manner according to the hierarchical structure of the comprehensive capability assessment system model. The algorithm scheduling manager integrates three core components: the SPI algorithm registration center, the multi-language dynamic loading engine, and the task scheduling module, to realize the functions of algorithm registration, loading, scheduling, and management. The algorithm plugin management module uses the SPI unified interface to achieve standardized access, dynamic discovery, and lossless replacement of algorithms; The data persistence module is used to persist and cache the evaluation results.
9. The method for evaluating the effectiveness of network security training according to claim 8, characterized in that, The evaluation steps of the network security training performance evaluation algorithm manager include: Based on the business access module, the flag data related to the training is stored in a structured manner according to the hierarchical structure of the comprehensive capability evaluation system model. The structured data and the unique identifier of the algorithm used are input into the algorithm scheduling manager and cached in the MySQL database. The algorithm scheduler searches for the corresponding algorithm in the SPI algorithm registry of the SPI algorithm registration center based on the algorithm's unique identifier. The multilingual dynamic loading engine scans the algorithm plugin storage path by unique algorithm identifiers and language types, and verifies the process status of the algorithm's runtime environment, while creating an isolated sandbox environment for the algorithm. The task scheduling module drives the algorithm plugin management module to initialize the algorithm based on the SPI unified interface init(), and dynamically register the algorithm to the sandbox created by the multi-language dynamic loading engine. The algorithm plugin manager uses the SPI unified interface specification getInfo() to parse and obtain algorithm metadata and normalized data to be evaluated cached in the MySQL database. It performs performance evaluation calculations through asynchronous task scheduling calculate(), stores the results in the Redis cache, and sends the quantitative results of the training evaluation back to the business platform to complete the fully automated evaluation process.
10. A network security training effectiveness evaluation system, characterized in that, include: The training subject construction module is configured to build a cybersecurity knowledge system. It relies on the multilingual natural language processing technology HanLP and rule constraints based on the cybersecurity knowledge system to perform lexical constraint analysis, thereby driving the construction of training subjects. The comprehensive ability assessment system model is constructed based on flags, and the practical training curriculum system planning is completed. The training scenario construction module is configured to construct training scenarios based on virtual-real network scenario construction technology. The cybersecurity training performance evaluation algorithm manager is configured to build the cybersecurity training performance evaluation algorithm manager based on the SPI interface specification and a dynamic multi-language algorithm loading mechanism. The dynamic implantation module is configured to implement dynamic implantation of flags in the scenario using a lightweight dynamic implantation technique based on kernel parameters. The evaluation module is used to acquire flag data obtained by trainees during the training process and send it to the cybersecurity training effectiveness evaluation algorithm manager to evaluate the training effectiveness of cybersecurity trainees.
Citation Information
Patent Citations
Performance evaluation improvement method based on multivariate data
CN121257968A
