A network security protection policy effectiveness verification method and system

By establishing protective intent and static baselines, generating harmless adversarial tasks, collecting and linking end-to-end evidence chains, the fragmentation problem of network security protection strategy verification is solved, end-to-end verification and breakpoint location are realized, and queryable verification results and rectification suggestions are provided.

CN123184993APending Publication Date: 2026-11-27INFORMATION & TELECOMM COMPANY SICHUAN ELECTRIC POWER
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611709927.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-11-02
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing network security protection strategies and verification methods are fragmented and cannot perform end-to-end unified verification. Adversarial verification poses risks to production operations, and when alarms are missing, it is impossible to accurately locate the link breakpoint.

Method used

Establish protective intent and static baseline, generate harmless countermeasure tasks, collect and correlate end-to-end evidence chains, and achieve end-to-end verification and breakpoint location through breakpoint diagnosis and comprehensive scoring.

Benefits of technology

It enables end-to-end verification of network security protection strategies, eliminates the risk of disruption to production operations, accurately locates link breakpoints, and provides queryable verification results and rectification suggestions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123184993A_ABST
    Figure CN123184993A_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of network security, and provides a network security protection policy effectiveness verification method and system.The method comprises the following steps: establishing a protection intention and a static baseline, comparing and outputting a baseline compliance state; generating and scheduling a harmless countermeasure task; collecting static evidence, countermeasure evidence and operation evidence, performing multi-field matching scoring and establishing an ordered evidence chain; determining a breakpoint type by mutually exclusive attribution for a missing stage in the ordered evidence chain, and calculating a comprehensive score in a geometric aggregation mode; performing rectification and retesting, and saving an audit record.The system comprises various functional modules for realizing the above method.The present application is used for end-to-end quantitative verification, breakpoint accurate attribution and rectification retesting management of network security protection policies.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of network security technology, and specifically to a method and system for verifying the effectiveness of network security protection strategies. Background Technology

[0002] As cyberattack methods continue to evolve, enterprises and organizations have widely deployed security protection equipment such as intrusion detection, intrusion prevention, antivirus, and firewalls, and centrally received and coordinated alerts through security operations centers. How to verify the effectiveness of these security protection strategies has become a crucial issue in cybersecurity operations.

[0003] Currently, the effectiveness verification of security protection strategies is typically implemented separately through configuration checks, rule base checks, sampled attack verification, alarm review, and operational metric statistics. Verification results are scattered across different reports, device consoles, and log platforms. However, existing verification methods have at least the following shortcomings: First, static configuration checks, adversarial verification, and operational alarm statistics are fragmented, lacking an automatic correlation mechanism oriented towards the same protection target. Simply confirming that a policy is enabled does not prove that real traffic can be observed by devices, rules can be triggered, alarms can be reported and responded to, making end-to-end unified verification of the protection chain impossible. Second, existing adversarial verification often directly uses real attack samples or vulnerability payloads, which may cause interruptions to production operations or data corruption, making it difficult to continuously conduct verification without affecting the production environment. Third, when alarms are missing, existing technologies struggle to distinguish the specific cause, cannot locate specific breakpoints in the protection chain, and therefore cannot generate targeted remediation suggestions.

[0004] Therefore, there is a need for a method and system for verifying the effectiveness of network security protection strategies that can unify static verification, adversarial verification, and operational verification under the same protection objective, perform end-to-end verification of the effectiveness of network security protection strategies, and accurately locate link breakpoints. Summary of the Invention

[0005] To address the shortcomings of existing technologies, this invention provides a method and system for verifying the effectiveness of network security protection strategies. This addresses the problems in existing technologies, such as fragmented verification methods that cannot achieve end-to-end unified verification under the same protection intent, the risks that adversarial verification poses to production operations, and the inability to accurately attribute the cause when alarms are missing.

[0006] To achieve the above objectives, the present invention provides the following technical solution:

[0007] A method for verifying the effectiveness of a network security protection strategy includes the following steps:

[0008] Step S1: Establish protection intent and static baseline. Define control identifier for each protection control, collect device configuration, interface status, policy status, rule version and log forwarding configuration, compare them with the static baseline item by item and output the baseline compliance status. The static baseline is anchored by the control identifier and includes the expected evidence stage sequence, maximum latency constraint and recovery conditions.

[0009] Step S2: Generate and schedule harmless countermeasure tasks. Select detection semantics from the scene template according to the protection intent. Replace the execution parts in the detection semantics that may cause damage with non-executable markers or test receiver echoes. Generate task identifiers and marker summaries for each task. Before execution, check the target authorization status, authorization time window, task sending frequency, payload harmless status and production sensitive interface access restrictions in sequence. If any check is not satisfied, refuse to execute.

[0010] Step S3: Connect the end-to-end evidence chain, collect static evidence, adversarial evidence and operational evidence. When the task is sent, only the tag digest is recorded. Use the task identifier, tag digest, asset identifier, quintuple, rule identifier and time window to perform multi-field matching and scoring on the event, and establish an ordered evidence chain for the event whose score exceeds the preset threshold.

[0011] Step S4, Breakpoint Diagnosis and Comprehensive Score: According to the ordered decision-making sequence of baseline deviation, traffic coverage, rule gap, log forwarding, linkage response, and recovery verification, the missing stages in the ordered evidence chain are mutually exclusive attributed, and the breakpoint type is determined by the first unsatisfied stage; the static score, adversarial score, runtime score and evidence chain credibility are calculated respectively, and the evidence chain credibility is used as a global multiplication constraint to calculate the comprehensive score in a geometric aggregation manner;

[0012] Step S5: Perform rectification and retest. Based on the breakpoint type, associate the rectification suggestions with specific devices, policy objects, rule versions, log forwarding links, and responsible persons. After the rectification is completed, reuse the original protection intent, compare the changes in the orderly evidence chain and comprehensive score before and after the rectification, and save the audit records.

[0013] Furthermore, establishing the protection intent and static baseline in step S1 specifically includes:

[0014] For each protection control, define the control identifier, asset identifier, control type, and necessary status, and specify the rule version requirements, log field mode, maximum latency, and response requirements;

[0015] Set recovery conditions, effective time and version number, and combine the above fields into a baseline entry. Version the baseline entry and retain the old version baseline entry when the protection policy changes.

[0016] The baseline entries are compared item by item with the actual device configuration, policy status, and log forwarding configuration collected from the device, and the baseline compliance status is output.

[0017] Furthermore, the specific steps in step S2 for generating the harmless countermeasure task include:

[0018] The selected detection semantics are broken down into four elements: detection features, transmission carrier, target object, and potential harmful actions;

[0019] Retain the minimum features required for detection, and replace command execution, file modification, permission change and data reading actions with non-executable flags or test receiver echoes to generate harmless payloads;

[0020] Generate a unique task identifier and tag summary for each harmless payload, and bind it to an authorized target whitelist, sending frequency, validity period, and stop conditions. Reject tasks that contain actual credentials, real sensitive data, persistent actions, or unauthorized targets.

[0021] Furthermore, step S2, which involves performing security access control verification and scheduling harmless countermeasures tasks, specifically includes:

[0022] The system sequentially verifies whether the target belongs to an authorized test asset or test receiver, whether the current time is within the authorized time window, whether the task sending frequency is lower than the preset frequency threshold, whether the payload has passed the harmlessness check, and whether access to production sensitive interfaces is prohibited. If any condition is not met, the system will refuse to execute.

[0023] After verification, in the production environment, the harmless countermeasures task should be scheduled using mirrored traffic replay or test receiver methods, and no payloads that may have an impact should be sent to production assets.

[0024] Furthermore, the end-to-end evidence chain in step S3 specifically includes:

[0025] Clock deviations from sources of static evidence, adversarial evidence, and operational evidence are normalized, and duplicate reports of the same event are deduplicated based on event summaries.

[0026] First, the events are initially screened according to asset identifier and authorization time window to obtain a set of candidate events. Then, the events in the candidate event set are scored in sequence according to the tag summary, quintuple, rule identifier and event fingerprint. Events with scores exceeding the preset threshold are included in the same chain of evidence.

[0027] Furthermore, events belonging to the same chain of evidence are arranged in an ordered chain of evidence according to the six stages of task sent, device observed, alarm generated, alarm forwarded, response executed, and state restored.

[0028] Furthermore, the breakpoint diagnosis described in step S4 specifically includes:

[0029] Check if the static configuration conforms to the static baseline. If it does not, mark it as a baseline deviation breakpoint and terminate subsequent judgments.

[0030] When the static baseline is met but there is no equipment observation evidence, it is marked as a traffic coverage breakpoint;

[0031] When there is evidence of equipment observation but no alarm is generated, it is marked as a rule gap breakpoint;

[0032] If an alarm has been generated but the Security Operations Center has not received it within the maximum latency constraint, it is marked as a log forwarding breakpoint.

[0033] If the message has been forwarded but no action has been taken, mark it as a trigger response breakpoint;

[0034] If the status does not return to consistency after processing, it is marked as a recovery verification breakpoint;

[0035] The breakpoint types are mutually exclusive, and the first unsatisfied stage is the final breakpoint.

[0036] Furthermore, the calculation of the comprehensive score in step S4 specifically includes:

[0037] The static score B, adversarial score A, operational score O, and evidence chain credibility C are calculated separately. The static score is the weighted proportion of the baseline items that are met, the adversarial score is the proportion of the expected link stage that is complete, the operational score is obtained by combining the evidence completeness rate, alarm latency, field completeness, and handling closure rate, and the evidence chain credibility is obtained by aggregating the reliability of each evidence source.

[0038] Calculate the overall score using the following formula:

[0039] ;

[0040] Among them, w b w a and w o Let w be the weights corresponding to the static score, adversarial score, and runtime score, respectively, and satisfy w b +w a +w o =1, c0 is the basic confidence coefficient.

[0041] Furthermore, step S5, which involves rectification and retesting, specifically includes:

[0042] Based on the breakpoint type, the rectification suggestions are associated with specific devices, policy objects, rule versions, log forwarding links, and responsible persons, generating a structured rectification task that includes a description of the rectification operation and acceptance conditions;

[0043] After rectification, the original protective intent is reused to re-execute steps S2 to S4, generate a new harmless countermeasure task and collect a new round of orderly evidence chain;

[0044] Compare the changes in stage completeness, static score, adversarial score, operational score, and overall score of the orderly evidence chain before and after rectification. Save the baseline version, verification results, operational evidence, score changes, and rectification records as timestamped audit records, and support version comparison of multiple rounds of retest results.

[0045] A network security protection strategy effectiveness verification system includes:

[0046] The baseline management module is used to define control identifiers for each protection control, collect device configuration, interface status, policy status, rule version, and log forwarding configuration, compare them item by item with the static baseline, and output the baseline compliance status. The static baseline uses the control identifier as an anchor point and includes the expected evidence stage sequence, maximum delay constraint, and recovery conditions.

[0047] The harmless task generation module is signal-connected to the baseline management module. It is used to select detection semantics from the scene template according to the protection intention, replace the execution part of the detection semantics that may cause damage with non-executable markers or test receiver echoes, generate task identifiers and marker summaries for each harmless countermeasure task, and bind authorized target whitelists, sending frequency, validity period and stop conditions.

[0048] The security access control module is signal-connected to the harmless task generation module and is used to sequentially verify the target authorization status, authorization time window, task sending frequency, load harmless status and production sensitive interface access restrictions. If any verification is not satisfied, execution will be refused.

[0049] The verification scheduling module is signal-connected to the security access control module and is used to schedule the execution of the harmless countermeasure task after the verification is passed.

[0050] The evidence collection and association module is signal-connected to the verification and scheduling module. It is used to collect static evidence, adversarial evidence, and operational evidence and record reliability. When a task is sent, only the tag digest is recorded and not the plaintext. The task identifier, tag digest, asset identifier, quintuple, rule identifier, and time window are used to perform multi-field matching and scoring on events. Events with scores exceeding a preset threshold are established into an ordered evidence chain in a six-stage sequence: task sent, device observed, alarm generated, alarm forwarded, response executed, and state restored.

[0051] The breakpoint diagnosis module is signal-connected to the evidence collection and association module, and is used to perform mutually exclusive attribution of missing stages according to the ordered decision sequence of baseline deviation, traffic coverage, rule gap, log forwarding, linkage response, and recovery verification.

[0052] A comprehensive scoring module, which is in signal connection with the breakpoint diagnosis module, is configured to calculate a static score, an adversarial score, an operation score and evidence chain credibility respectively, and calculate a comprehensive score by taking the evidence chain credibility as a global multiplicative constraint in a geometric aggregation manner;

[0053] A rectification and retesting module, which is in signal connection with the comprehensive scoring module, is configured to associate rectification suggestions with equipment, policies, rules, log links and responsible persons according to breakpoint types, reuse the original protection intent to generate a new harmless adversarial task, compare ordered evidence chains and comprehensive score changes before and after the task, and retain version and audit records.

[0054] Compared with the prior art, the present invention has the following beneficial effects: the present invention unifies static baselines, harmless adversarial tasks and actual operation evidence into an end-to-end ordered evidence chain anchored by protection intent. By embedding an expected evidence phase sequence into baseline items of the static baseline, the static baseline no longer only describes static configuration requirements, but also specifies expected behaviors of each phase of a complete protection link, thereby performing unified verification on static evidence, adversarial evidence and operation evidence under the same protection intent and the same evidence chain, and realizing full-coverage verification from static configuration inspection to end-to-end operation links, which fundamentally solves the problems that existing verification methods are isolated from each other and there is no automatic association mechanism between static configuration inspection and operation period alarm statistics. On this basis, the present invention retains minimum features required for detection and replaces destructive actions with a harmless mechanism of unexecutable marks or test receiver echo, and cooperates with multiple security gate checks including target authorization status, authorization time window, task sending frequency, payload harmless status and production sensitive interface access restriction, so as to retain complete detectable semantics without sending destructive payloads to production assets, enabling verification to be continuously and actively carried out in the production environment, and eliminating the risk of production business interruption and data damage caused by existing adversarial verification methods. Meanwhile, the present invention adopts a non-plaintext record mechanism for task identifiers and mark abstracts, a cross-device multi-field matching scoring association mechanism, and mutually exclusive attribution performed in an ordered decision sequence of baseline deviation, traffic coverage, rule gap, log forwarding, linkage response and recovery verification, which can accurately locate specific breakpoints of non-observation, non-alarm, non-forwarding, non-response or non-recovery, avoid misjudgment between different root causes, and provide an accurate basis for generating targeted rectification suggestions. Further, the present invention calculates the comprehensive score in a geometric aggregation manner and takes the evidence chain credibility as a global multiplicative constraint, so that the comprehensive score drops significantly when any key component approaches zero, which mechanically prevents the situation that a high static configuration score masks operation link failures, and outputs explainable itemized scores, the first breakpoint position and evidence references; combined with structured rectification tasks generated according to breakpoint types and a retesting loop that reuses the original protection intent, a quantifiable evaluation system with full traceability of baseline versions, verification results, operation evidence and score changes is formed, providing a queryable evidence basis for compliance evaluation and continuous improvement of network security protection policies. Attached Figure Description

[0055] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0056] Figure 1 This is a flowchart illustrating a method for verifying the effectiveness of a network security protection strategy.

[0057] Figure 2 This is a schematic diagram of the end-to-end evidence chain for a method to verify the effectiveness of a network security protection strategy.

[0058] Figure 3 This is a schematic diagram of the breakpoint diagnosis and comprehensive scoring process for verifying the effectiveness of network security protection strategies.

[0059] Figure 4 System architecture diagram for verifying the effectiveness of network security protection strategies. Detailed Implementation

[0060] The embodiments of the present invention will now be described in detail with reference to the accompanying drawings.

[0061] Example 1

[0062] A method for verifying the effectiveness of a network security protection strategy includes the following steps:

[0063] Step S1: Establish protection intent and static baseline. Define control identifier for each protection control, collect device configuration, interface status, policy status, rule version and log forwarding configuration, compare them with the static baseline item by item and output the baseline compliance status. The static baseline is anchored by the control identifier and includes the expected evidence stage sequence, maximum latency constraint and recovery conditions.

[0064] Step S2: Generate and schedule harmless countermeasure tasks. Select detection semantics from the scene template according to the protection intent. Replace the execution parts in the detection semantics that may cause damage with non-executable markers or test receiver echoes. Generate task identifiers and marker summaries for each task. Before execution, check the target authorization status, authorization time window, task sending frequency, payload harmless status and production sensitive interface access restrictions in sequence. If any check is not satisfied, refuse to execute.

[0065] Step S3: Connect the end-to-end evidence chain, collect static evidence, adversarial evidence and operational evidence. When the task is sent, only the tag digest is recorded. Use the task identifier, tag digest, asset identifier, quintuple, rule identifier and time window to perform multi-field matching and scoring on the event, and establish an ordered evidence chain for the event whose score exceeds the preset threshold.

[0066] Step S4, Breakpoint Diagnosis and Comprehensive Score: According to the ordered decision-making sequence of baseline deviation, traffic coverage, rule gap, log forwarding, linkage response, and recovery verification, the missing stages in the ordered evidence chain are mutually exclusive attributed, and the breakpoint type is determined by the first unsatisfied stage; the static score, adversarial score, runtime score and evidence chain credibility are calculated respectively, and the evidence chain credibility is used as a global multiplication constraint to calculate the comprehensive score in a geometric aggregation manner;

[0067] Step S5: Perform rectification and retest. Based on the breakpoint type, associate the rectification suggestions with specific devices, policy objects, rule versions, log forwarding links, and responsible persons. After the rectification is completed, reuse the original protection intent, compare the changes in the orderly evidence chain and comprehensive score before and after the rectification, and save the audit records.

[0068] In specific implementation, the protection intent in this embodiment refers to a structured expression of the protection objective undertaken by a specific protection control for a specific asset or area. It specifies the protection control that needs to be verified, the types of threats that the protection control should detect or block, and the expected protection effect. The protection intent serves as a unified anchor point throughout steps S1 to S5, ensuring that static baseline comparison, harmless countermeasure task generation, evidence chain association, breakpoint attribution, and remediation retesting all revolve around the same protection objective. For example... Figure 1 As shown, the specific implementation methods for the five steps are summarized below.

[0069] In step S1, a control identifier is defined for each protection control, and device configuration, interface status, policy status, rule version, and log forwarding configuration are collected. These are compared item by item with the static baseline, and the baseline compliance status is output. The static baseline, anchored by the control identifier, includes an expected evidence stage sequence, a maximum latency constraint, and recovery conditions. The expected evidence stage sequence embeds the expected topology of the end-to-end evidence chain, specifying the expected behavior of each stage of the complete protection link from task sent, device observed, alarm generated, alarm forwarded, response executed, to state recovery. The maximum latency constraint specifies the longest allowable latency for each stage. The recovery conditions specify the consistency requirements that the device and policy states should return to after the handling is completed. Through this structured definition, the static baseline not only describes the static configuration requirements but also specifies the expected behavior of each stage of the complete protection link.

[0070] In step S2, detection semantics are selected from the scenario template based on the established protection intent. The potentially destructive execution parts of the detection semantics are replaced with non-executable markers or test receiver echoes. A task identifier and marker summary are generated for each task. Before execution, the target authorization status, authorization time window, task sending frequency, payload harmlessness status, and production-sensitive interface access restrictions are verified sequentially. If any verification fails, execution is rejected. Because the complete detectable semantics are preserved while eliminating destructive capabilities, the harmless countermeasure task provides step S3 with a controllable, traceable, and non-hazardous source of countermeasure evidence. This enables continuous proactive verification of the detection and linkage links without affecting production operations, solving the technical problem of existing countermeasure verification methods posing risks to production operations.

[0071] In step S3, static evidence, adversarial evidence, and operational evidence are collected. Only a tag summary is recorded when the task is sent. Multi-field matching and scoring of events are performed using task identifiers, tag summaries, asset identifiers, quintuples, rule identifiers, and time windows. An ordered evidence chain is established for events whose scores exceed a preset threshold. This ordered evidence chain is isomorphic to the expected evidence stage sequence in the static baseline, allowing for precise identification of missing stages in the chain and providing a clear attribution object for the mutual exclusion attribution in step S4.

[0072] In step S4, the missing stages in the ordered evidence chain are mutually exclusively attributed according to the ordered decision sequence of baseline deviation, traffic coverage, rule gap, log forwarding, linkage response, and recovery verification. The first non-satisfied stage is used to determine the breakpoint type. Static score, adversarial score, operational score, and evidence chain credibility are calculated separately. The evidence chain credibility is used as a global multiplication constraint to calculate the comprehensive score in a geometric aggregation manner. This ensures that the comprehensive score decreases significantly when any key component approaches zero, thus preventing a high score in one item from masking the failure of a critical link. The breakpoint types determined in step S4 provide a precise basis for rectification in step S5.

[0073] In step S5, the rectification suggestions are associated with specific devices, policy objects, rule versions, log forwarding links, and responsible persons based on the breakpoint type. After rectification is completed, steps S2 to S4 are re-executed using the original protection intent. The changes in the ordered evidence chain and comprehensive score before and after rectification are compared, and audit records are saved. This forms a complete closed loop of verification, attribution, rectification, and retesting, with full record traceability.

[0074] By unifying the static baseline, harmless countermeasure tasks, and actual operational evidence into an end-to-end ordered evidence chain anchored by the protection intent, the technical problem of existing verification methods being fragmented and unable to achieve unified end-to-end verification under the same protection intent is solved. On this basis, the harmless countermeasure task is combined with multiple security access control verifications, which solves the problem of the risk to production operations caused by countermeasure verification. The combination of ordered mutual exclusion attribution and geometric aggregation comprehensive scoring solves the problems of inaccurate attribution of missing alarms and the easy obscuring of verification conclusions by high scores in a single item. Ultimately, end-to-end quantitative verification of the protection link is achieved, as well as full traceability management of breakpoint location, rectification suggestion generation, and rectification effect retesting and confirmation.

[0075] Furthermore, establishing the protection intent and static baseline in step S1 specifically includes:

[0076] For each protection control, define the control identifier, asset identifier, control type, and necessary status, and specify the rule version requirements, log field mode, maximum latency, and response requirements;

[0077] Set recovery conditions, effective time and version number, and combine the above fields into a baseline entry. Version the baseline entry and retain the old version baseline entry when the protection policy changes.

[0078] The baseline entries are compared item by item with the actual device configuration, policy status, and log forwarding configuration collected from the device, and the baseline compliance status is output.

[0079] In practical implementation, each baseline entry must include at least the following fields: control identifier, asset identifier, control type, necessary state, expected evidence stage sequence, rule version requirement, log field pattern, maximum latency, response requirement, recovery condition, effective time, and version number. Among these, the control identifier serves as the anchor point of the static baseline, uniquely identifying a protection control; the necessary state specifies the operational state that the protection control must be in; the expected evidence stage sequence embeds the expected topology of the end-to-end evidence chain; the rule version requirement and log field pattern specify the minimum requirements that the device rule base and alarm logs must meet; the maximum latency and response requirement specify the time limits for alarm reporting and coordinated handling; and the recovery condition specifies the consistency requirements that the device and policy states should be restored to after handling. Static baselines can originate from regulations and configuration standards, or be generated from confirmed valid policy snapshots. By storing these fields in a structured manner, the static baseline no longer only describes static configuration requirements but also specifies the expected behavior of each stage of the complete protection chain.

[0080] Regarding baseline versioning management, when protection strategies change, old baseline entries are not deleted but are retained, archived, and marked as historical versions. New baseline entries are generated with incrementing version numbers and coexist with old baseline entries in the baseline library. Each round of verification tasks is bound to the currently effective baseline version number during execution, and historical verification results are stored bound to the corresponding version baseline, supporting cross-version comparison analysis. When it is necessary to evaluate the effect of strategy changes, the verification results of two versions before and after the change can be compared horizontally, outputting the changes in the scores of each component and the completeness rate of the ordered evidence chain stage. Regarding parallel comparison of multiple protection controls, a single verification task can simultaneously perform baseline comparisons on multiple control identifiers. Collection and comparison are performed independently for each control identifier, and the comparison results of each control identifier are output independently, summarized into a baseline compliance status matrix for this verification. The rows of the matrix correspond to each control identifier, the columns correspond to each comparison field, and the cell values ​​are compliant, non-compliant, or not collected, providing a complete static foundation for subsequent breakpoint diagnosis.

[0081] Taking an intrusion detection device in a VPN zone as an example, the specific field values ​​for the baseline entry are explained. The control identifier is IDS-VPN-001, the asset identifier is VPN-GW-ASSET-01, the control type is intrusion detection, the necessary state is that the policy is enabled and the engine is running normally, the expected evidence stage sequence is as follows: task sent, device observed, alarm generated, alarm forwarded, response executed, state restored, rule version required to be no lower than 3.2.1, log field pattern requires alarm logs to include source IP, destination IP, rule identifier, and timestamp fields, maximum latency is 5000 milliseconds, response requirement is to report the alarm to the security operations center and trigger blocking action within the maximum latency, recovery condition is that after the handling is completed, the device policy state is restored to enabled and the rule base version remains unchanged, the effective time is the creation time of this verification task, and the version number is v1.0. The above fields are stored in a structured manner as the basis for subsequent evidence association and breakpoint attribution determination.

[0082] Through the above steps, the baseline entries use control identifiers as anchors to uniformly describe the static configuration requirements and the expected behavior of the end-to-end link, and perform version management. This allows the baseline comparison results to directly support the determination of baseline deviation from the breakpoint, and also to support cross-version comparison of multiple rounds of retest results. This solves the problem of the lack of a unified anchor point between static verification and operational verification, and the inability to correlate and evaluate them.

[0083] Furthermore, the specific steps in step S2 for generating the harmless countermeasure task include:

[0084] The selected detection semantics are broken down into four elements: detection features, transmission carrier, target object, and potential harmful actions;

[0085] Retain the minimum features required for detection, and replace command execution, file modification, permission change and data reading actions with non-executable flags or test receiver echoes to generate harmless payloads;

[0086] Generate a unique task identifier and tag summary for each harmless payload, and bind it to an authorized target whitelist, sending frequency, validity period, and stop conditions. Reject tasks that contain actual credentials, real sensitive data, persistent actions, or unauthorized targets.

[0087] In practical implementation, a scenario template is selected based on the protection intent. The detection semantics in the scenario template are broken down into four elements: detection features, transmission carrier, target object, and potential harmful actions. Detection features are the necessary characteristics used by security devices to identify events; the transmission carrier is the protocol, connection, or data carrier method used by the detection features to enter the detection link; the target object is the authorized test asset or test receiver targeted by the harmless countermeasure task; and potential harmful actions are actions in the original attack semantics that may cause damage but need to be replaced in this implementation. Only the minimum features required for detection are retained. For example, for scenarios that rely on abnormal request headers to trigger detection, only the abnormal request header combination and its transmission method are retained; for scenarios that rely on file signature codes to trigger detection, only signature code fragments or their digests are retained; and for scenarios that rely on address reputation to trigger blocking, only the connection features used to match reputation rules are retained. This ensures that the detection device can still identify the detection feature while avoiding carrying additional content unrelated to the detection purpose.

[0088] For potentially hazardous actions, action replacements are performed: command execution is replaced with a non-executable flag containing no executable instructions; file modification is replaced with a decoy file fingerprint echo; permission changes are replaced with a permission change simulation result returned by the test receiver; and data reading is replaced with test data echo generated by the test receiver. The replaced content forms a harmless payload. The harmless payload enables the detection chain to identify detection features but will not execute commands, modify files, change permissions, or read real data on the target asset.

[0089] In protocol anomaly detection semantics, the detection feature can be an abnormal HTTP request header combination, the transmission medium is a standard TCP connection, the target object is a test receiver address, and the potential harmful action is command injection. When generating a harmless payload, the command injection action is replaced with a non-executable tag formed by concatenating a string prefix with a task identifier hash value. Intrusion detection devices can still generate alarms based on the request header features, but the non-executable tag does not contain executable instructions and will not produce any execution effect on the target system. In malicious file landing detection semantics, the detection feature can be a specific PE file signature fragment, the transmission medium is the SMB protocol, the target object is an isolated sandbox receiver, and the potential harmful action is file writing. When generating a harmless payload, the file writing action is replaced with a decoy file fingerprint echo. The antivirus engine can trigger a scan alarm based on the signature fragment, but the actual transmitted content is only a signature digest or decoy file fingerprint, and does not contain a complete executable file. In linked blocking verification semantics, the detection feature can be a connection request from a known malicious address, the transmission medium is TCP SYN, the target object is a test receiver, and the potential harmful action is establishing a persistent connection. When generating a harmless payload, persistent connection actions are replaced with a single test echo. Firewalls or intrusion prevention devices can trigger blocking based on address reputation rules, and the connection terminates at the test receiver, without generating persistent connections or persistent traffic.

[0090] Each harmless payload generates a unique task identifier and tag digest. The task identifier is calculated using a one-way hash function by concatenating the control identifier, asset identifier, current timestamp, and random salt value, ensuring global uniqueness. The tag digest is calculated again using a one-way hash function by concatenating the task identifier and payload characteristics. After task generation, an authorized target whitelist, a sending frequency limit, validity period, and stop conditions are bound. The authorized target whitelist limits the target objects that can receive the task; the sending frequency limit limits the number of times the task can be sent per unit time; the validity period limits the authorized time window for task execution; and the stop conditions limit the situations in which the task must be terminated immediately during execution. Tasks containing actual credentials, real sensitive data, persistent actions, or unauthorized targets are rejected to prevent test payloads from carrying exploitable real information. Stop conditions may include detecting unexpected real business alarms, abnormal target asset status, task sending frequency exceeding the bound upper limit threshold, or receiving a manual intervention stop command. After the stop condition is triggered, the subsequent sending of the task is terminated, and the sent portion of adversarial evidence is marked as forcibly stopped. During subsequent breakpoint diagnosis, this batch of evidence is processed separately, and the forced stop is not directly attributed to the failure of the protection link.

[0091] This step breaks down the detection semantics into four elements and retains only the minimum features required for detection, replacing potentially harmful actions. This ensures that the harmless payload retains complete detectable semantics without any destructive capabilities. The hash generation mechanism for task identifiers and tag digests guarantees the global uniqueness and cross-device traceability of the task, and the plaintext tags are not leaked. This solves the technical problem that existing adversarial verification methods use real attack samples or vulnerability payloads, which pose a risk of interruption or data corruption to production operations. This lays the foundation for evidence collection in step S3.

[0092] Furthermore, step S2, which involves performing security access control verification and scheduling harmless countermeasures tasks, specifically includes:

[0093] The system sequentially verifies whether the target belongs to an authorized test asset or test receiver, whether the current time is within the authorized time window, whether the task sending frequency is lower than the preset frequency threshold, whether the payload has passed the harmlessness check, and whether access to production sensitive interfaces is prohibited. If any condition is not met, the system will refuse to execute.

[0094] After verification, in the production environment, the harmless countermeasures task should be scheduled using mirrored traffic replay or test receiver methods, and no payloads that may have an impact should be sent to production assets.

[0095] In practice, five security access checks are performed sequentially before task execution. The first check verifies whether the target belongs to an authorized test asset or test receiver; the second checks whether the current time is within the authorized time window; the third checks whether the task sending frequency is below a preset frequency threshold; the fourth checks whether the payload passes a harmlessness check; and the fifth checks whether access to sensitive production interfaces is prohibited. These five checks are performed serially, and the task is rejected if any condition is not met. In the production environment, harmlessness mitigation tasks are scheduled primarily using mirrored traffic replay or test receiver methods, avoiding direct transmission of potentially impactful payloads to production assets.

[0096] Regarding the triggering mechanism for stopping the task, the subsequent transmission of the task will be immediately terminated when any of the following situations occur during task execution: detection of unexpected real business alarms, abnormal status of target assets, task transmission frequency exceeding the bound upper limit threshold, or receipt of a manual intervention stop instruction. After termination, the evidence records of the transmitted portion will be marked as forcibly stopped. During subsequent breakpoint diagnosis, this batch of evidence will be processed separately, and the stage loss caused by the forced stop will not be attributed to the failure of the protection link.

[0097] By combining five layers of security access control with a harmless payload generation mechanism, the task execution is serially constrained from five dimensions: target, time, frequency, payload, and interface. With the scheduling method of mirror traffic playback or test receiver and the stop condition triggering mechanism, the integrity of the detection and linkage link can be continuously and proactively verified without affecting production operations. It also avoids misjudging the stage missing caused by forced termination as the failure of the protection link, thus ensuring the accuracy of the breakpoint attribution in step S4.

[0098] Furthermore, the end-to-end evidence chain in step S3 specifically includes:

[0099] Clock deviations from sources of static evidence, adversarial evidence, and operational evidence are normalized, and duplicate reports of the same event are deduplicated based on event summaries.

[0100] First, the events are initially screened according to asset identifier and authorization time window to obtain a set of candidate events. Then, the events in the candidate event set are scored in sequence according to the tag summary, quintuple, rule identifier and event fingerprint. Events with scores exceeding the preset threshold are included in the same chain of evidence.

[0101] In practice, three types of evidence are collected: static evidence, adversarial evidence, and operational evidence. Each piece of evidence is recorded using a unified data structure, including its source, object, collection time, content summary, and reliability. Static evidence includes device configuration, policy status, rule version, interface status, and backup records; adversarial evidence includes task definition, sending time, tag summary, and execution result; and operational evidence includes sensor observation records, device alarms, security operations center reception records, handling actions, recovery status, historical alarms, and health indicators. The structure of the evidence record is illustrated using specific field examples for three types of evidence. In the static evidence example, the source is the device configuration collector, the object is IDS-VPN-001, the collection time is when a certain verification task is started, the content summary recording policy is enabled, the rule base version meets the requirements, and the log upload interface is active, with a reliability of 0.95. In the adversarial evidence example, the source is the task scheduler, the object is the unique task identifier of this task, the sending time is the actual time the task is sent, the tag digest is the digest value calculated by a one-way hash function, and the execution result record has been successfully sent to the test receiver, with a reliability of 1.0. In the running evidence example, the source is the security operations center platform, the object is IDS-VPN-001, the collection time is the time when the platform receives the alarm, the content summary records the alarm number, the hit rule identifier, and the reporting status, with a reliability of 0.9.

[0102] Regarding clock normalization, clocks across different devices and platforms may have deviations on the order of several seconds. Using the task scheduler clock as a benchmark, event timestamps are corrected based on pre-calibrated clock deviation values ​​for each data source. The corrected timestamps are used for authorized time window filtering and stage delay calculation. Clock calibration is completed during system initialization and subsequently periodically calibrated. For data sources where clock deviation cannot be calibrated, a conservative time window expansion strategy is adopted to reduce the probability of missed event correlations due to clock deviations. Duplicate reports of the same event are deduplicated using event summaries.

[0103] Regarding the two-stage scoring mechanism, the first stage is coarse screening, which initially filters all events based on asset identification and authorized time windows. The authorized time window is a few minutes before and after the task sending time, determined by the maximum latency constraint of the baseline entries and historical clock deviation. This results in a set of candidate events. The second stage is fine evaluation, which calculates four scores for each event in the candidate event set: 20 points for tag summary matching, 30 points for quintuple matching, 30 points for rule identifier matching, and 20 points for event fingerprint matching, for a maximum score of 100 points. Events with a total score exceeding a preset threshold of 60 points are grouped into the same evidence chain, while events below the threshold are excluded as noise. In this embodiment, the event fingerprint refers to a feature value generated by normalizing and combining key fields of an event, used to uniquely identify the same event, distinguishing between events with the same content but different evidence sources, and different events with similar content. This two-stage mechanism, while ensuring the accuracy of association, significantly reduces the computational load of the fine evaluation stage through coarse screening.

[0104] Regarding the cross-device feedback mechanism, intrusion detection devices send back a tag digest in the extended field area of ​​alarm logs; the log platform carries the tag digest in the additional field when forwarding logs; and the response system sends back the tag digest in the remarks field of the handling record. This enables end-to-end cross-device tracing from task dispatch to response completion without requiring a unified modification to the log format of each device; association can be achieved simply by each device carrying the tag digest in its existing extended fields.

[0105] By eliminating the time and content deviations and redundancies of multi-source evidence through clock normalization and event digest deduplication, the two-stage multi-field matching scoring reduces the amount of computation while ensuring the accuracy of association. When the task is sent, only the tag digest is recorded and not the plaintext is recorded to prevent the plaintext tags from being identified or abused during log transmission. The cross-device backhaul mechanism can achieve full-link tracing without modifying the existing log format. It solves the technical problem that static evidence, adversarial evidence and operational evidence are scattered on different platforms and lack an automatic association mechanism, enabling step S4 to perform breakpoint attribution with a complete and ordered chain of evidence.

[0106] Furthermore, events belonging to the same chain of evidence are arranged in an ordered chain of evidence according to the six stages of task sent, device observed, alarm generated, alarm forwarded, response executed, and state restored.

[0107] In specific implementation, the ordered chain of evidence in this embodiment refers to an end-to-end evidence sequence formed by arranging events belonging to the same chain of evidence in a six-stage order: task sent, device observed, alarm generated, alarm forwarded, response executed, and state restored, with a strict sequential order between each stage. For example... Figure 2 As shown, the harmless countermeasure task serves as the trigger source for the entire orderly chain of evidence. After its execution, it sequentially goes through six stages: task sent, equipment observed, alarm generated, alarm forwarded, response executed, and status restored. Each stage is supported by corresponding evidence. The task sent stage is supported by the sending record in the countermeasure evidence; the equipment observed stage is supported by the sensor observation record in the operational evidence; the alarm generated stage is supported by the equipment alarm; the alarm forwarded stage is supported by the receiving record of the security operations center; the response executed stage is supported by the handling action record; and the status restored stage is supported by the restored status record.

[0108] The completed ordered chain of evidence is compared stage by stage with the expected evidence stage sequence in the baseline entries to form an end-to-end traceable evidence record. Since the stage order of the ordered chain of evidence is isomorphic to the expected evidence stage sequence embedded in the static baseline, the absence of any due stage can be accurately located on the ordered chain of evidence, thus providing a structured object for mutually exclusive attribution of the ordered decision-making sequence.

[0109] By organizing scattered events into an ordered chain of evidence with a strict sequence between stages, static evidence, adversarial evidence, and operational evidence are unified into the same protective intent and the same chain of evidence. This achieves full-coverage verification from static configuration check to end-to-end operational link, solving the problem of lack of automated correlation between static configuration check and operational alarm statistics in existing technologies.

[0110] Furthermore, the breakpoint diagnosis described in step S4 specifically includes:

[0111] Check if the static configuration conforms to the static baseline. If it does not, mark it as a baseline deviation breakpoint and terminate subsequent judgments.

[0112] When the static baseline is met but there is no equipment observation evidence, it is marked as a traffic coverage breakpoint;

[0113] When there is evidence of equipment observation but no alarm is generated, it is marked as a rule gap breakpoint;

[0114] If an alarm has been generated but the Security Operations Center has not received it within the maximum latency constraint, it is marked as a log forwarding breakpoint.

[0115] If the message has been forwarded but no action has been taken, mark it as a trigger response breakpoint;

[0116] If the status does not return to consistency after processing, it is marked as a recovery verification breakpoint;

[0117] The breakpoint types are mutually exclusive, and the first unsatisfied stage is the final breakpoint.

[0118] In specific implementation, the mutual exclusion attribution in this embodiment refers to a method of attribution that judges the missing stages in the ordered evidence chain step by step according to a fixed and ordered decision sequence of baseline deviation, traffic coverage, rule gap, log forwarding, linkage response, and recovery verification. Each breakpoint type is mutually exclusive, and the first non-satisfied stage is taken as the final breakpoint type, terminating subsequent judgments after the breakpoint is determined. For example... Figure 3 As shown, the breakpoint diagnosis executes six checks sequentially from the start of the diagnosis: First, it checks if the static configuration conforms to the static baseline; if not, it outputs a baseline deviation breakpoint. If it conforms, it checks if the device has observed traffic; if not, it outputs a traffic coverage breakpoint. If traffic is observed, it checks if the device has generated an alarm; if not, it outputs a rule gap breakpoint. If an alarm has been generated, it checks if the security operations center received the alarm within the maximum latency constraint; if not, it outputs a log forwarding breakpoint. If the alarm has been received, it checks if the handling action has been executed; if not, it outputs a linkage response breakpoint. If the action has been executed, it checks if the status has returned to consistency; if not, it outputs a recovery verification breakpoint. If all conditions are met, the comprehensive score is calculated.

[0119] Taking six types of breakpoints within the same VPN region as examples, the specific judgment process for each type of breakpoint is explained. Breakpoint Type 1 is the baseline deviation breakpoint. If the collected intrusion detection device's policy status is disabled, which does not match the enabled status specified in the baseline necessary status, it is directly marked as a baseline deviation breakpoint, terminating subsequent judgment stages and outputting rectification suggestions, requiring the re-enabling of the intrusion detection policy and verification of the reason for the policy disabling. Breakpoint Type 2 is the traffic coverage breakpoint. If the baseline comparison matches, but the ordered evidence chain lacks evidence of the device's observation stage, it indicates that the traffic generated by the harmless countermeasure task did not reach the device's collection interface, and it is marked as a traffic coverage breakpoint. The rectification suggestion is to verify whether the mirror port configuration and traffic diversion strategy are correct. Breakpoint Type 3 is the rule gap breakpoint. If the device has observed traffic but has not generated any alarm records, it indicates that the device's rule base has failed to hit this type of detection feature, and it is marked as a rule gap breakpoint. The rectification suggestion is to update the rule base to the latest version or supplement custom rules for this scenario. Type 4 breakpoint is a log forwarding breakpoint. If the device has generated an alarm, but the security operations center has not received the alarm within the maximum latency constraint, it indicates an anomaly in the log forwarding link, and is marked as a log forwarding breakpoint. The rectification suggestion is to check the Syslog forwarding configuration and network connectivity. Type 5 breakpoint is a linkage response breakpoint. If the security operations center has received an alarm but has not executed the blocking action within the specified time, it is marked as a linkage response breakpoint. The rectification suggestion is to check the linkage rule configuration and whether the response script is correctly triggered. Type 6 breakpoint is a recovery verification breakpoint. If the action has been executed, but the device policy state has not recovered to the consistency requirements specified in the baseline, it is marked as a recovery verification breakpoint. The rectification suggestion is to check the execution logic of the recovery script and the judgment of recovery conditions.

[0120] By performing mutual exclusion judgments on each breakpoint type according to the ordered decision sequence that strictly corresponds to the six stages of the ordered evidence chain, and taking the first unsatisfied stage as the final breakpoint, different root causes such as policy not enabled, traffic not covered, rule not hit, log not forwarded, linkage response failure, and recovery verification failure can be accurately distinguished. This avoids misattributing log forwarding problems to situations such as missing detection rules, solves the problem that existing technologies cannot accurately attribute missing alarms, and provides an accurate basis for generating targeted rectification suggestions in step S5.

[0121] Furthermore, the calculation of the comprehensive score in step S4 specifically includes:

[0122] The static score B, adversarial score A, operational score O, and evidence chain credibility C are calculated separately. The static score is the weighted proportion of the baseline items that are met, the adversarial score is the proportion of the expected link stage that is complete, the operational score is obtained by combining the evidence completeness rate, alarm latency, field completeness, and handling closure rate, and the evidence chain credibility is obtained by aggregating the reliability of each evidence source.

[0123] Calculate the overall score using the following formula:

[0124] ;

[0125] Among them, w b w a and w o Let w be the weights corresponding to the static score, adversarial score, and runtime score, respectively, and satisfy w b +w a +w o =1, c0 is the basic confidence coefficient.

[0126] In practical implementation, the static score B is the weighted proportion of baseline items met, reflecting the degree of compliance at the static configuration level; the adversarial score A is the completeness proportion of the expected link stages, reflecting the completion status of each stage of the end-to-end link triggered by the harmless adversarial task; the operational score O is obtained by combining evidence completeness rate, alarm latency, field completeness, and handling closure rate, reflecting the actual performance of the protection link during daily operation; the credibility of the evidence chain C is obtained by aggregating the reliability of each evidence source, reflecting the credibility of the entire ordered evidence chain. The comprehensive score is calculated according to the following formula:

[0127] ;

[0128] Among them, w b w a and w o Let w be the weights corresponding to the static score, adversarial score, and runtime score, respectively, and satisfy w b +w a +w o =1; c0 is the basic credibility coefficient, used to introduce the credibility of the evidence chain C as a global multiplicative constraint into the comprehensive score. The anti-masking mechanism of geometric aggregation is reflected in the fact that when any key component B, A, or O approaches zero, the comprehensive score Eff decreases significantly, thus preventing the situation where a high static configuration score is masked by a high operational failure. At the same time, the credibility of the evidence chain C is reduced as a whole by the term [c0 + (1-c0) × C], so that the lower the credibility of the evidence chain, the lower the comprehensive score. Figure 3 As shown, after completing the breakpoint diagnosis, the output includes the overall score, the scores of each component, the location of the first breakpoint, the affected control indicators, the evidence list, and the rectification suggestions.

[0129] Taking a specific comprehensive score calculation process as an example, this paper illustrates the calculation method of each component and the anti-masking effect of geometric aggregation. In a VPN area intrusion detection verification task, the static score B is 0.92, corresponding to a weighted average of 0.92 for the 10 baseline items; the adversarial score A is 0.75, corresponding to the completion of 4.5 stages in the six-stage ordered evidence chain, with the breakpoint located in the log forwarding stage; the operational score O is 0.68, where the evidence integrity rate is 0.8, the alarm latency compliance rate is 0.6, the field integrity rate is 0.7, and the handling closure rate is 0.7, with the weighted average of the four items resulting in 0.68; the evidence chain credibility C is 0.85, obtained by weighted aggregation of the reliability of each evidence source. The weight parameter w is taken. b 0.3, w a 0.4, w o The base confidence coefficient is 0.3, and the basic confidence coefficient c0 is 0.5. Substituting these values ​​into the formula:

[0130] ;

[0131] The calculated overall score is approximately 71.6 points, which directly reflects the actual situation of a break in the log forwarding link. Furthermore, if the adversarial score A drops to 0.05, meaning the adversarial link is almost completely ineffective, the overall score will significantly decrease to approximately 24.2 points, assuming other parameters remain unchanged. This verifies the effective suppression effect of the geometric aggregation mechanism on masking the failure of critical links by high scores in a single item.

[0132] By calculating the comprehensive score using geometric aggregation and using the credibility of the evidence chain as a global multiplication constraint, the comprehensive score drops significantly when any key component approaches zero, thus preventing static high scores from masking operational link failures. At the same time, it outputs interpretable sub-scores, the location of the first breakpoint, and evidence citations, providing a quantitative and interpretable basis for rectification and forming a quantitative evaluation system for the effectiveness of protection that can be compared horizontally.

[0133] Furthermore, step S5, which involves rectification and retesting, specifically includes:

[0134] Based on the breakpoint type, the rectification suggestions are associated with specific devices, policy objects, rule versions, log forwarding links, and responsible persons, generating a structured rectification task that includes a description of the rectification operation and acceptance conditions;

[0135] After rectification, the original protective intent is reused to re-execute steps S2 to S4, generate a new harmless countermeasure task and collect a new round of orderly evidence chain;

[0136] Compare the changes in stage completeness, static score, adversarial score, operational score, and overall score of the orderly evidence chain before and after rectification. Save the baseline version, verification results, operational evidence, score changes, and rectification records as timestamped audit records, and support version comparison of multiple rounds of retest results.

[0137] In practical implementation, regarding the specific format of structured rectification tasks, each rectification task should include at least the following fields: rectification number, breakpoint type, affected control identifier, specific device or policy object, rectification operation description, responsible person, planned completion time, and acceptance criteria. The rectification operation description should be based on specific executable steps. For example, for a log forwarding breakpoint, the description should include checking the Syslog server address configuration, confirming UDP port connectivity, and restarting the log forwarding service. The acceptance criteria are that the security operations center receives an alarm within the maximum latency constraint during the next round of retesting, and the evidence from the log forwarding phase is complete. This structured format allows rectification tasks to be directly assigned to responsible persons for execution and serves as the basis for acceptance during retesting.

[0138] After rectification, steps S2 to S4 are re-executed using the original protective intent to generate a new harmless countermeasure task and collect a new round of ordered evidence chain. Regarding the version comparison mechanism for multiple rounds of retesting, the verification results of each round are stored in the audit log database using a triplet of baseline version, task batch, and verification time as an index. It supports selecting any two rounds of results for horizontal comparison, outputting the change in scores for each component and the trend of the overall score; it also outputs the change in the completeness rate of each stage of the ordered evidence chain, intuitively demonstrating the improvement effect of the rectification measures on each stage. When the overall score of multiple rounds of retesting continues to fall below a set threshold, an upgrade alarm is automatically triggered, indicating a persistent risk to the effectiveness of the relevant protective controls.

[0139] Regarding the handling of overdue rectification, if a rectification task is not completed within the planned completion time, the alarm level for that task will be automatically upgraded from normal to emergency, and the responsible person and their superior will be notified. In the next automatically triggered retest, the comprehensive score of the corresponding control indicator will be reduced by a penalty coefficient. The penalty coefficient is determined based on the overdue period; the longer the overdue period, the greater the reduction, thus continuously reflecting the impact of rectification delays on the effectiveness of protection at the quantitative scoring level.

[0140] Through this step, the rectification recommendations are precisely linked to specific devices, policy objects, rule versions, log forwarding links, and responsible persons based on the breakpoint types determined by mutual exclusion attribution. Reusing the original protection intent for retesting ensures the consistency of verification conditions before and after rectification. Baseline versions, verification results, operational evidence, score changes, and rectification records are saved as timestamped and traceable audit records, supporting version comparison of multiple rounds of retest results. This forms a quantitative assessment closed loop where the baseline version, verification results, operational evidence, and score changes are fully traceable, providing a searchable evidentiary basis for compliance assessment and continuous improvement.

[0141] A network security protection strategy effectiveness verification system includes:

[0142] The baseline management module is used to define control identifiers for each protection control, collect device configuration, interface status, policy status, rule version, and log forwarding configuration, compare them item by item with the static baseline, and output the baseline compliance status. The static baseline uses the control identifier as an anchor point and includes the expected evidence stage sequence, maximum delay constraint, and recovery conditions.

[0143] The harmless task generation module is signal-connected to the baseline management module. It is used to select detection semantics from the scene template according to the protection intention, replace the execution part of the detection semantics that may cause damage with non-executable markers or test receiver echoes, generate task identifiers and marker summaries for each harmless countermeasure task, and bind authorized target whitelists, sending frequency, validity period and stop conditions.

[0144] The security access control module is signal-connected to the harmless task generation module and is used to sequentially verify the target authorization status, authorization time window, task sending frequency, load harmless status and production sensitive interface access restrictions. If any verification is not satisfied, execution will be refused.

[0145] The verification scheduling module is signal-connected to the security access control module and is used to schedule the execution of the harmless countermeasure task after the verification is passed.

[0146] The evidence collection and association module is signal-connected to the verification and scheduling module. It is used to collect static evidence, adversarial evidence, and operational evidence and record reliability. When a task is sent, only the tag digest is recorded and not the plaintext. The task identifier, tag digest, asset identifier, quintuple, rule identifier, and time window are used to perform multi-field matching and scoring on events. Events with scores exceeding a preset threshold are established into an ordered evidence chain in a six-stage sequence: task sent, device observed, alarm generated, alarm forwarded, response executed, and state restored.

[0147] The breakpoint diagnosis module is signal-connected to the evidence collection and association module, and is used to perform mutually exclusive attribution of missing stages according to the ordered decision sequence of baseline deviation, traffic coverage, rule gap, log forwarding, linkage response, and recovery verification.

[0148] The comprehensive scoring module is signal-connected to the breakpoint diagnosis module and is used to calculate the static score, adversarial score, running score and evidence chain credibility respectively. The evidence chain credibility is used as a global multiplication constraint to calculate the comprehensive score in a geometric aggregation manner.

[0149] The rectification and retesting module is connected to the comprehensive scoring module. It is used to associate rectification suggestions with devices, policies, rules, log links and responsible persons according to the breakpoint type, reuse the original protection intent to generate new harmless countermeasure tasks, compare the changes in the orderly evidence chain and comprehensive score before and after, and retain the version and audit records.

[0150] In practical implementation, the system in this embodiment can be implemented by computing devices deployed in servers, security device management platforms, or security operations centers. For example... Figure 4 As shown, signal connections between modules refer to the ability of one module's output to serve as the input of another module. These connections can be established through in-process calls, application programming interfaces (APIs), message queues, shared data storage, or network communication. Modules can be deployed on the same device or distributed across multiple devices.

[0151] The baseline management module serves as the system entry point, receiving protection intents and generating or retrieving baseline entries. It collects device configuration, interface status, policy status, rule version, and log forwarding configuration, compares each item, and outputs the baseline compliance status, baseline version number, and baseline compliance status matrix.

[0152] The harmless disposal task generation module receives the protection intent, control identifier, and baseline entries output by the baseline management module. It selects matching detection semantics from the scenario template and breaks down the detection semantics into detection features, transmission carrier, target object, and potential hazard actions. The harmless disposal task generation module retains the minimum features required for detection, replaces potential hazard actions with non-executable markers or test receiver echoes, generates a harmless disposal payload, task identifier, and marker summary, and binds them to an authorized target whitelist, transmission frequency, validity period, and stop conditions.

[0153] The security access control module receives the harmless countermeasure task output by the harmless task generation module and sequentially performs five checks: target authorization status, authorization time window, task sending frequency, payload harmless status, and access restrictions on production sensitive interfaces. If any check fails, the security access control module sends a rejection signal to the verification scheduling module and writes the rejection reason to the audit log; if all checks pass, it sends an allow execution signal to the verification scheduling module.

[0154] The verification scheduling module schedules harmless adversarial tasks only upon receiving a permission signal. For isolated verification environments, the module can send harmless payloads to authorized test assets or test receivers; for production environments, the module prioritizes mirrored traffic replay or test receiver methods. The verification scheduling module records the task identifier, sending time, target object, tag summary, and execution result, forming adversarial evidence.

[0155] The evidence collection and association module collects static evidence, adversarial evidence, and operational evidence from device configuration collectors, verification scheduling modules, sensors, security devices, log platforms, security operations centers, and response systems, and records the source, object, collection time, content summary, and reliability of each piece of evidence. This module normalizes clock deviations, removes duplicate reports by event summary, first filters candidate event sets by asset identifier and authorized time window, then groups events with scores exceeding a preset threshold into the same evidence chain, forming an ordered evidence chain in a six-stage sequence.

[0156] The breakpoint diagnosis module receives the baseline compliance status output by the baseline management module and the ordered chain of evidence output by the evidence collection and association module, and judges them in the order of baseline deviation, traffic coverage, rule gap, log forwarding, linkage response, and recovery verification. The breakpoint diagnosis module outputs the breakpoint type, the location of the first breakpoint, the affected control identifier, and the corresponding evidence reference.

[0157] The comprehensive scoring module receives the breakpoint diagnosis results, baseline compliance status, stage status, and evidence reliability, and calculates the static score B, adversarial score A, operational score O, and chain of evidence credibility C, respectively, and then uses the following formula:

[0158] ;

[0159] Calculate the overall score. The overall score module outputs the overall score, scores for each component, credibility of the chain of evidence, list of evidence, and breakpoint locations.

[0160] The rectification and retesting module receives the breakpoint type, overall score, and evidence list output by the comprehensive scoring module, generates a structured rectification task, and assigns it to the responsible person. After rectification is completed, the rectification and retesting module calls the harmlessness task generation module to reuse the original protection intent to generate a new harmlessness countermeasure task. This task is then executed in a new round of verification by the security access control module and the verification scheduling module. Finally, the module calls the evidence collection and association module, the breakpoint diagnosis module, and the comprehensive scoring module to generate the retest results. The rectification and retesting module saves the baseline version, verification results, operational evidence, score changes, rectification records, and audit records.

[0161] The modules in the above embodiments can be implemented by a processor executing a computer program stored in memory, or by dedicated hardware, a programmable device, or a combination thereof. The computer program can be stored in a computer-readable storage medium, and the processor executes the computer program to implement the aforementioned method steps.

[0162] Example 2

[0163] This embodiment uses a specific scenario to further illustrate the specific implementation of the present invention. Taking the verification of intrusion detection and antivirus capabilities of a VPN zone as an example, the complete execution process of the above method is explained.

[0164] First, execute step S1: Import the interface status, policy enabling status, rule base version, log upload configuration, and backup baseline of the VPN zone, generate a baseline entry with control identifier IDS-VPN-001, which includes the expected evidence phase sequence and a maximum latency constraint of 5000 milliseconds, complete the baseline comparison, and confirm that the baseline conforms.

[0165] Then, step S2 is executed: Based on the intrusion detection and protection intent, protocol anomaly detection semantics are selected from the scenario template. The detection feature is an abnormal HTTP request header combination. Command injection actions that may cause damage are replaced with non-executable tags composed of string prefixes and task identifier hash values. A harmless adversarial task with a unique task identifier and tag digest is generated. After passing five security access control checks, including target authorization status, authorization time window, task sending frequency, payload harmlessness status, and access restrictions on production sensitive interfaces, the task is sent to the test receiver in the authorized isolation environment. When the task is sent, only the tag digest is written to the local log.

[0166] Next, proceed to step S3: collect three types of evidence: static evidence, adversarial evidence, and operational evidence, including equipment observation records, console alarms, and security operations center reporting records. Normalize the clock deviations of each evidence source and remove duplicates by event summary. First, perform preliminary screening by asset identifier and authorized time window to obtain a set of candidate events. Then, score them sequentially by tag summary, quintuple, rule identifier, and event fingerprint. Events with scores exceeding the preset threshold are established into an ordered evidence chain in a six-stage sequence: task sent, equipment observed, alarm generated, alarm forwarded, response executed, and status restored.

[0167] Then, during step S4: breakpoint diagnosis, it was found that the device had observed traffic and generated an alarm, but the security operations center did not receive the alarm within the maximum latency constraint. Figure 3 As shown, based on the ordered mutual exclusion decision rule, this situation is not attributed to a rule gap breakpoint, but rather precisely located as a log forwarding breakpoint, i.e., an anomaly in log forwarding or platform access links; subsequently, the static score, adversarial score, runtime score, and evidence chain credibility are calculated according to the formula. Calculate the overall score.

[0168] Finally, execute step S5: Generate a structured rectification task for the log forwarding link. The rectification operation description is to check the Syslog server address configuration, confirm the UDP port connectivity and restart the log forwarding service, and associate it with the corresponding responsible person. After the rectification is completed, reuse the same protection intent to regenerate a new harmless countermeasure task and perform a retest. Compare the changes in alarm latency and the completeness rate of the ordered evidence chain stage before and after the rectification to verify the rectification effect, and save the entire process as a timestamped traceable audit record.

[0169] Furthermore, taking the effectiveness verification of an enterprise's terminal area as an example, the applicability of this method under different protection scenarios is illustrated. First, a baseline entry for antivirus control is established, with the control identifier AV-ENDPOINT-001. The necessary state is that the antivirus engine is enabled and the virus database version is not lower than the specified version. The expected evidence stage sequence includes six stages: task sent, device observed, alarm generated, alarm forwarded, response executed, and state restored. The maximum latency constraint is 3000 milliseconds. Based on the antivirus protection intent, malicious file landing detection semantics are selected from the scenario template. The detection feature is a specific PE file signature fragment, and the transmission carrier is the SMB protocol. The file writing action is replaced with a decoy file fingerprint echo, generating a harmless test task with a unique task identifier. After five layers of security access control verification, the harmless sample is delivered to the test receiver in an isolated sandbox environment. The antivirus engine can trigger a scan alarm based on the signature, but the actual transmitted content does not contain a complete executable file and does not have a destructive impact on the sandbox environment.

[0170] Scanning records, alarm logs, and reports from the security operations center were collected from the antivirus engine. Two-stage, multi-field matching and scoring were performed using task identifiers and tag summaries to establish an ordered chain of evidence. During breakpoint diagnosis, it was found that the antivirus engine had detected sample characteristics and generated an alarm, indicating a complete alarm generation phase; the security operations center platform also received the alarm within the maximum latency constraint, indicating a complete alarm forwarding phase. However, the action of file isolation was not executed within the specified time, indicating a missing response execution phase. Based on the ordered mutual exclusion decision rule, the first non-compliance phase in this situation is response execution, precisely pinpointing the linked response breakpoint, rather than a lack of detection capability or abnormal log forwarding. Based on this, a structured remediation task was generated for the linked response configuration. The remediation operation description is to check the automatic isolation policy configuration and triggering conditions of the endpoint security management platform. The responsible person is the endpoint security administrator, and the acceptance condition is that the evidence for the response execution phase is complete and the handling latency meets the maximum latency constraint in the next round of retesting.

[0171] After rectification, the same protective intent was reused to regenerate the harmlessness test task and execute a second round of retesting. The second round of verification results showed that the evidence in the coordinated response phase was complete, and all six-stage orderly evidence chains were established. Comparing the two rounds of verification results, the adversarial score improved from 0.67 in the first round to 0.92 in the second round, and the overall score improved from 65.3 to 88.7, quantifying the effectiveness of the rectification. The two rounds of verification results were stored using a triplet index of baseline version, task batch, and verification time, supporting subsequent cross-version comparative analysis. The entire process was recorded and saved as a timestamped, traceable audit record, providing a searchable evidentiary basis for compliance assessment and continuous improvement.

[0172] The above embodiments are merely preferred embodiments of the present invention and are not intended to limit the technical solutions of the present invention. Any technical solution that can be implemented based on the above embodiments without creative effort should be considered to fall within the scope of protection of the patent of the present invention.

Claims

1. A method for verifying the effectiveness of a network security protection strategy, characterized in that, Includes the following steps: Step S1: Establish protection intent and static baseline. Define control identifier for each protection control, collect device configuration, interface status, policy status, rule version and log forwarding configuration, compare them with the static baseline item by item and output the baseline compliance status. The static baseline is anchored by the control identifier and includes the expected evidence stage sequence, maximum latency constraint and recovery conditions. Step S2: Generate and schedule harmless countermeasure tasks. Select detection semantics from the scene template according to the protection intent. Replace the execution parts in the detection semantics that may cause damage with non-executable markers or test receiver echoes. Generate task identifiers and marker summaries for each task. Before execution, check the target authorization status, authorization time window, task sending frequency, payload harmless status and production sensitive interface access restrictions in sequence. If any check is not satisfied, refuse to execute. Step S3: Connect the end-to-end evidence chain, collect static evidence, adversarial evidence and operational evidence. When the task is sent, only the tag digest is recorded. Use the task identifier, tag digest, asset identifier, quintuple, rule identifier and time window to perform multi-field matching and scoring on the event, and establish an ordered evidence chain for the event whose score exceeds the preset threshold. Step S4, Breakpoint Diagnosis and Comprehensive Score: According to the ordered decision-making sequence of baseline deviation, traffic coverage, rule gap, log forwarding, linkage response, and recovery verification, the missing stages in the ordered evidence chain are mutually exclusive attributed, and the breakpoint type is determined by the first unsatisfied stage; the static score, adversarial score, runtime score and evidence chain credibility are calculated respectively, and the evidence chain credibility is used as a global multiplication constraint to calculate the comprehensive score in a geometric aggregation manner; Step S5: Perform rectification and retest. Based on the breakpoint type, associate the rectification suggestions with specific devices, policy objects, rule versions, log forwarding links, and responsible persons. After the rectification is completed, reuse the original protection intent, compare the changes in the orderly evidence chain and comprehensive score before and after the rectification, and save the audit records.

2. The method for verifying the effectiveness of network security protection strategies according to claim 1, characterized in that, Step S1, establishing the protection intent and static baseline, specifically includes: For each protection control, define the control identifier, asset identifier, control type, and necessary status, and specify the rule version requirements, log field mode, maximum latency, and response requirements; Set recovery conditions, effective time and version number, and combine the above fields into a baseline entry. Version the baseline entry and retain the old version baseline entry when the protection policy changes. The baseline entries are compared item by item with the actual device configuration, policy status, and log forwarding configuration collected from the device, and the baseline compliance status is output.

3. The method for verifying the effectiveness of network security protection strategies according to claim 1, characterized in that, Step S2, which generates the harmless countermeasure task, specifically includes: The selected detection semantics are broken down into four elements: detection features, transmission carrier, target object, and potential harmful actions; Retain the minimum features required for detection, and replace command execution, file modification, permission change and data reading actions with non-executable flags or test receiver echoes to generate harmless payloads; Generate a unique task identifier and tag summary for each harmless payload, and bind it to an authorized target whitelist, sending frequency, validity period, and stop conditions. Reject tasks that contain actual credentials, real sensitive data, persistent actions, or unauthorized targets.

4. The method for verifying the effectiveness of network security protection strategies according to claim 3, characterized in that, Step S2, which involves performing security access control verification and scheduling harmless countermeasures, specifically includes: The system sequentially verifies whether the target belongs to an authorized test asset or test receiver, whether the current time is within the authorized time window, whether the task sending frequency is lower than the preset frequency threshold, whether the payload has passed the harmlessness check, and whether access to production sensitive interfaces is prohibited. If any condition is not met, the system will refuse to execute. After verification, in the production environment, the harmless countermeasures task should be scheduled using mirrored traffic replay or test receiver methods, and no payloads that may have an impact should be sent to production assets.

5. The method for verifying the effectiveness of network security protection strategies according to claim 1, characterized in that, The end-to-end evidence chain in step S3 specifically includes: Clock deviations from sources of static evidence, adversarial evidence, and operational evidence are normalized, and duplicate reports of the same event are deduplicated based on event summaries. First, the events are initially screened according to asset identifier and authorization time window to obtain a set of candidate events. Then, the events in the candidate event set are scored in sequence according to the tag summary, quintuple, rule identifier and event fingerprint. Events with scores exceeding the preset threshold are included in the same chain of evidence.

6. The method for verifying the effectiveness of network security protection strategies according to claim 5, characterized in that, Events belonging to the same chain of evidence are arranged in an ordered chain of evidence according to the six stages of task sent, device observed, alarm generated, alarm forwarded, response executed, and state restored.

7. The method for verifying the effectiveness of network security protection strategies according to claim 1, characterized in that, The breakpoint diagnosis in step S4 specifically includes: Check if the static configuration conforms to the static baseline. If it does not, mark it as a baseline deviation breakpoint and terminate subsequent judgments. When the static baseline is met but there is no equipment observation evidence, it is marked as a traffic coverage breakpoint; When there is evidence of equipment observation but no alarm is generated, it is marked as a rule gap breakpoint; If an alarm has been generated but the Security Operations Center has not received it within the maximum latency constraint, it is marked as a log forwarding breakpoint. If the message has been forwarded but no action has been taken, mark it as a trigger response breakpoint; If the status does not return to consistency after processing, it is marked as a recovery verification breakpoint; The breakpoint types are mutually exclusive, and the first unsatisfied stage is the final breakpoint.

8. The method for verifying the effectiveness of network security protection strategies according to claim 7, characterized in that, Step S4, calculating the comprehensive score, specifically includes: The static score B, adversarial score A, operational score O, and evidence chain credibility C are calculated separately. The static score is the weighted proportion of the baseline items that are met, the adversarial score is the proportion of the expected link stage that is complete, the operational score is obtained by combining the evidence completeness rate, alarm latency, field completeness, and handling closure rate, and the evidence chain credibility is obtained by aggregating the reliability of each evidence source. Calculate the overall score using the following formula: ; Among them, w b w a and w o Let w be the weights corresponding to the static score, adversarial score, and runtime score, respectively, and satisfy w b +w a +w o =1, c0 is the basic confidence coefficient.

9. The method for verifying the effectiveness of network security protection strategies according to claim 1, characterized in that, Step S5, which involves rectification and retesting, specifically includes: Based on the breakpoint type, the rectification suggestions are associated with specific devices, policy objects, rule versions, log forwarding links, and responsible persons, generating a structured rectification task that includes a description of the rectification operation and acceptance conditions; After rectification, the original protective intent is reused to re-execute steps S2 to S4, generate a new harmless countermeasure task and collect a new round of orderly evidence chain; Compare the changes in stage completeness, static score, adversarial score, operational score, and overall score of the orderly evidence chain before and after rectification. Save the baseline version, verification results, operational evidence, score changes, and rectification records as timestamped audit records, and support version comparison of multiple rounds of retest results.

10. A network security protection strategy effectiveness verification system, characterized in that, include: The baseline management module is used to define control identifiers for each protection control, collect device configuration, interface status, policy status, rule version, and log forwarding configuration, compare them item by item with the static baseline, and output the baseline compliance status. The static baseline uses the control identifier as an anchor point and includes the expected evidence stage sequence, maximum delay constraint, and recovery conditions. The harmless task generation module is signal-connected to the baseline management module. It is used to select detection semantics from the scene template according to the protection intention, replace the execution part of the detection semantics that may cause damage with non-executable markers or test receiver echoes, generate task identifiers and marker summaries for each harmless countermeasure task, and bind authorized target whitelists, sending frequency, validity period and stop conditions. The security access control module is signal-connected to the harmless task generation module and is used to sequentially verify the target authorization status, authorization time window, task sending frequency, load harmless status and production sensitive interface access restrictions. If any verification is not satisfied, execution will be refused. The verification scheduling module is signal-connected to the security access control module and is used to schedule the execution of the harmless countermeasure task after the verification is passed. The evidence collection and association module is signal-connected to the verification and scheduling module. It is used to collect static evidence, adversarial evidence, and operational evidence and record reliability. When a task is sent, only the tag digest is recorded and not the plaintext. The task identifier, tag digest, asset identifier, quintuple, rule identifier, and time window are used to perform multi-field matching and scoring on events. Events with scores exceeding a preset threshold are established into an ordered evidence chain in a six-stage sequence: task sent, device observed, alarm generated, alarm forwarded, response executed, and state restored. The breakpoint diagnosis module is signal-connected to the evidence collection and association module, and is used to perform mutually exclusive attribution of missing stages according to the ordered decision sequence of baseline deviation, traffic coverage, rule gap, log forwarding, linkage response, and recovery verification. The comprehensive scoring module is signal-connected to the breakpoint diagnosis module and is used to calculate the static score, adversarial score, running score and evidence chain credibility respectively. The evidence chain credibility is used as a global multiplication constraint to calculate the comprehensive score in a geometric aggregation manner. The rectification and retesting module is connected to the comprehensive scoring module. It is used to associate rectification suggestions with devices, policies, rules, log links and responsible persons according to the breakpoint type, reuse the original protection intent to generate new harmless countermeasure tasks, compare the changes in the orderly evidence chain and comprehensive score before and after, and retain the version and audit records.