Network security assessment method based on machine learning

Through network security assessment methods based on machine learning, computer security data is collected and analyzed, traffic transformation curves are constructed, abnormal communication protocols are decomposed, security alarms and repairs are performed, and repair completion is assessed, solving the problem of limited evaluation scope and repair problems in the existing technology. The problem of low efficiency improves the efficiency of network security identification and repair, and enhances the security of the network system.

CN118740424AInactive Publication Date: 2024-10-01GUANGDONG JUSTICE POLICE VOCATIONAL COLLEGE
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410713620.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-04
Publication Date
2024-10-01
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing network security assessment methods have limited assessment scope and require manual judgment of complex security vulnerabilities and repairs that are difficult to assess, resulting in low vulnerability repair efficiency and insufficient security.

Method used

Using machine learning-based methods, it collects computer security data, constructs traffic transformation curves, decomposes abnormal communication protocols, conducts security alarms and repairs, evaluates repair completion, and provides failure, good, or excellent repair levels.

Benefits of technology

It improves the efficiency of network security identification and repair, identifies malicious attacks in a timely manner, enhances the security of network systems, continuously improves network security, and effectively responds to changing hidden dangers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118740424A_ABST
    Figure CN118740424A_ABST
Patent Text Reader

Abstract

The invention discloses a network security assessment method based on machine learning, and relates to the technical field of network security. Security data of a computer is collected, a traffic transformation curve graph is constructed according to the obtained security data, abnormal traffic is obtained, the security data is decomposed, and an abnormal communication protocol is obtained; performing security alarm on the obtained abnormal traffic and the abnormal communication protocol, and performing security repair on the obtained abnormal traffic and the abnormal communication protocol according to the security alarm; obtaining a repair completion degree according to the obtained safety alarm and safety repair, and rating the repair completion degree to obtain a repair completion degree grade; the network security can be continuously improved, the weakness of the network security can be protected and upgraded, hostile attacks can be recognized in time, corresponding measures are taken for repairing the hostile attacks, the security of a network system is improved, and variable network hidden dangers are effectively dealt with.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of network security, and in particular to a network security assessment method based on machine learning. Background Art

[0002] Network security refers to the protection of computer networks, systems and data from unauthorized access, damage, theft or destruction. It involves taking a series of measures and technologies to protect information and resources in the network from threats such as malicious attacks, malware, data leaks, etc.

[0003] The goal of network security is to protect the privacy and confidentiality of data, maintain the accuracy and integrity of data, and ensure the continuous availability of networks and systems. With the development of science and technology, there are some deficiencies in network security, so network security needs to be evaluated. There are some common shortcomings and loopholes in network security evaluation, including: limited evaluation scope, resulting in the neglect of some potential threats and loopholes; repairing detected loopholes, and even some complex security loopholes require manual judgment and analysis, resulting in increased work intensity and the number of times security loopholes are repaired, and it is difficult to determine whether the loopholes have been repaired; at this time, it is necessary to evaluate network security to detect and discover loopholes, and evaluate the extent to which known loopholes have been repaired, which has important theoretical and practical significance.

[0004] How to use machine learning to evaluate the network security of computers, obtain abnormal traffic and abnormal communication protocols by processing the collected security data, and issue security alerts and security repairs for the abnormal traffic and abnormal communication protocols, rate the repair completion of security alerts and security repairs, and obtain the repair completion level, is a problem we need to solve. To this end, a network security assessment method based on machine learning is now provided. Summary of the invention

[0005] The purpose of the present invention can be achieved through the following technical solutions:

[0006] A network security assessment method based on machine learning includes the following steps:

[0007] Step S1: Collecting security data of the computer, wherein the security data includes communication protocol, data packet flow and timestamp;

[0008] Step S2: construct a flow change curve diagram based on the data packet flow and timestamp in the obtained security data, obtain abnormal flow, decompose the communication protocol in the security data, and obtain abnormal communication protocol;

[0009] Step S3: issuing a security alert for the acquired abnormal traffic and abnormal communication protocol, and performing security repair on the acquired abnormal traffic and abnormal communication protocol according to the security alert;

[0010] Step S4: Obtain the degree of repair completion based on the obtained security warnings and security repairs, and rate the degree of repair completion to obtain a repair completion level.

[0011] The process of collecting computer security data includes:

[0012] The data interaction type of the computer is obtained, and the security data required for interaction in the data interaction type is obtained, the obtained security data is marked, and the obtained data packet flow is associated with the corresponding communication protocol.

[0013] The process of constructing a flow change curve graph includes:

[0014] Establishing a two-dimensional rectangular coordinate system of time with respect to the data packet flow rate according to the data packet flow rate and time stamp in the obtained security data;

[0015] Generate a flow change curve according to the obtained data packet flow, map the generated flow change curve into a two-dimensional rectangular coordinate system, and obtain a flow change curve diagram of the data packet;

[0016] According to the obtained flow change curve, mark the duration of the test period;

[0017] Obtaining the period average flow rate according to the obtained test period, data packet flow rate, flow rate change curve diagram and the duration of the test period;

[0018] Obtaining a flow fluctuation range according to the obtained data packet flow and period average flow;

[0019] Setting an initial threshold value according to the obtained flow dynamic range;

[0020] The obtained initial threshold is marked in the flow change curve diagram, and the data packet flow in the flow change curve diagram is compared with the initial threshold. If the data packet flow is greater than the initial threshold, the obtained data packet flow is marked as abnormal flow.

[0021] The process of decomposing the communication protocol in the security data includes:

[0022] Decomposing the communication protocol into a plurality of protocol fields, wherein the protocol fields include a protocol identifier, a protocol sequence number, a source IP address, and a destination IP address;

[0023] According to the obtained protocol identifiers of the communication protocols, the communication protocols corresponding to the same protocol identifiers are marked as the same type of communication protocols;

[0024] Mark the protocol fields included in the same type of communication protocols as standard protocol fields;

[0025] Mark the communication protocol associated with the abnormal traffic as a communication protocol to be tested;

[0026] Acquire the protocol field of the communication protocol to be tested, and mark the obtained protocol field of the communication protocol to be tested as the protocol field to be tested, and match the obtained protocol field to be tested with the standard protocol field. If the match is successful, it means that the communication protocol to be tested corresponding to the protocol field to be tested is the standard communication protocol. Otherwise, it means that the communication protocol to be tested corresponding to the protocol field to be tested is an abnormal communication protocol.

[0027] The obtained abnormal traffic and abnormal communication protocol are marked as response information, and a security alarm is issued for the obtained response information.

[0028] The process of issuing a security alert for abnormal traffic in the response information includes:

[0029] A warning frame is constructed according to the obtained response information, and a check point a1, a release point a2, a check point b1 and a release point b2 are set at the warning frame;

[0030] Associating the abnormal traffic in the response information with the inspection point a1 and the release point a2, and associating the abnormal communication protocol in the response information with the inspection point b1 and the release point b2;

[0031] When the received response information is abnormal traffic, the received abnormal traffic is converted into a traffic instruction, and the traffic instruction is sent to the inspection point a and the release point a2. After the release point a2 receives the traffic instruction, the indicator light flashes;

[0032] Receive the flow instruction through the inspection point a, and record the time when the inspection point a receives the flow instruction;

[0033] When the inspection point a receives the flow instruction, it sends the first repair instruction to the control center and records the time when the control center receives the first repair instruction;

[0034] After completing the first repair instruction, the control center sends a first release instruction to the release point a2, records the time when the release point a2 receives the first release instruction, and turns off the flashing indicator light of the release point a2.

[0035] The process of providing a security alert for an abnormal communication protocol in the response information includes:

[0036] The received abnormal communication protocol is converted into a protocol instruction, and the protocol instruction is sent to the inspection point b and the release point b2. After the release point b2 receives the flow instruction, the indicator light flashes;

[0037] Receive the protocol instruction through the inspection point b, and record the time when the inspection point b receives the protocol instruction;

[0038] When the inspection point b receives the protocol instruction, it sends the second repair instruction to the control center and records the time when the control center receives the second repair instruction;

[0039] After completing the second repair instruction, the control center sends a second release instruction to the release point b2, records the time when the release point b2 receives the second release instruction, and turns off the flashing indicator light of the release point b2.

[0040] The process of obtaining the degree of repair completion includes:

[0041] According to the obtained warning frame, count the number of times the inspection point a receives the flow instruction and the number of times the inspection point b receives the protocol instruction;

[0042] Obtain comprehensive processing efficiency based on the obtained time when the inspection point a receives the flow instruction, the time when the control center receives the first repair instruction, the number of times the inspection point a receives the flow instruction, the time when the inspection point b receives the protocol instruction, the time when the control center receives the second repair instruction, and the number of times the inspection point b receives the protocol instruction, and set a statistical period;

[0043] Obtain the number of indicator light flashes according to the obtained states of the indicator lights at the release point a2 and the release point b2;

[0044] Obtain a first number of vulnerabilities and a second number of vulnerabilities according to the obtained first repair instruction and the second repair instruction;

[0045] Obtain a first number to be repaired and a second number to be repaired according to the obtained first release instruction and the second release instruction;

[0046] Obtaining a repair accuracy rate according to the obtained number of indicator light flashes, the first number of vulnerabilities, the second number of vulnerabilities, the first number to be repaired, and the second number to be repaired;

[0047] The repair completion degree is obtained based on the time when the control center receives the first repair instruction, the time when the control center receives the second repair instruction, the time when the release point a2 receives the first release instruction, the time when the release point b2 receives the second release instruction, the comprehensive processing efficiency and the repair accuracy.

[0048] The process of rating the degree of completion of network security repairs includes:

[0049] The response time mean is obtained based on the time when the inspection point a receives the flow instruction, the time when the inspection point b receives the protocol instruction, the time when the release point a2 receives the first release instruction, the time when the release point b2 receives the second release instruction, and the statistical period;

[0050] Setting a first evaluation threshold and a second evaluation threshold according to the obtained response time mean and repair completion degree;

[0051] The obtained repair completion degree is compared with the first evaluation threshold and the second evaluation threshold. When the repair completion degree is less than the first evaluation threshold, it indicates that the repair completion degree is unsatisfactory.

[0052] When the repair completion degree is not less than the first evaluation threshold and less than the second evaluation threshold, it indicates that the repair completion degree is good;

[0053] When the repair completion degree is not less than the second evaluation threshold, it indicates that the repair completion degree is excellent.

[0054] Compared with the prior art, the beneficial effects of the present invention are as follows: by processing the collected computer security data, constructing a flow conversion curve diagram, obtaining abnormal flow, decomposing the communication protocol in the security data, obtaining several protocol fields, and by constructing a standard protocol field, matching the obtained communication protocol field with the standard protocol field, and marking the communication protocol that fails to match as an abnormal communication protocol;

[0055] A warning box is constructed based on the abnormal traffic and abnormal communication protocol obtained, and security alarms are issued by setting inspection points and release points in the warning box. The security alarms are repaired through the control center, and the alarm processing efficiency of the security alarms and the repair completion of the security alarms are obtained. The repair completion degree is rated and the levels of repair completion are obtained as unsatisfactory, good, and excellent. This can continuously improve network security, protect and upgrade network security weaknesses, help to identify malicious attacks in a timely manner, and take corresponding measures to repair malicious attacks, improve the security of the network system, and effectively respond to changing network risks. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0057] Figure 1 It is a schematic diagram of the present invention. DETAILED DESCRIPTION

[0058] The technical scheme of the present invention will be clearly and completely described below in conjunction with the embodiments. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0059] like Figure 1As shown, a network security assessment method based on machine learning includes the following steps:

[0060] Step S1: Collecting security data of the computer, wherein the security data includes communication protocol, data packet flow and timestamp;

[0061] Step S2: construct a flow change curve diagram based on the data packet flow and timestamp in the obtained security data, obtain abnormal flow, decompose the communication protocol in the security data, and obtain abnormal communication protocol;

[0062] Step S3: issuing a security alert for the acquired abnormal traffic and abnormal communication protocol, and performing security repair on the acquired abnormal traffic and abnormal communication protocol according to the security alert;

[0063] Step S4: Obtain the degree of repair completion based on the obtained security warnings and security repairs, and rate the degree of repair completion to obtain a repair completion level.

[0064] It should be further explained that, in the specific implementation process, the process of collecting safety data includes:

[0065] Acquiring the data interaction type of the computer, it should be further explained that, in the specific implementation process, the data interaction type includes the user end and the network end, the network end and the user end, and the network end and the network end;

[0066] Acquire the security data required for interaction in the data interaction type, wherein the security data includes communication protocol, data packet flow and timestamp;

[0067] The obtained data packet is marked as i, where i=1, 2, 3, ..., n1, n1 is a positive integer, the communication protocol corresponding to the obtained data packet labeled i is marked as TXi, and the corresponding data packet flow is marked as SLi;

[0068] The obtained packet traffic is associated with the corresponding communication protocol.

[0069] It should be further explained that, in the specific implementation process, the process of processing the obtained security data is as follows:

[0070] Establishing a two-dimensional rectangular coordinate system of time with respect to the data packet flow rate according to the data packet flow rate and time stamp in the obtained security data;

[0071] Generate a flow change curve according to the obtained data packet flow, map the generated flow change curve into a two-dimensional rectangular coordinate system, and obtain a flow change curve diagram of the data packet;

[0072] According to the obtained flow change curve, a test period is set, and the obtained test period is marked as t, where t=1, 2, 3, ..., n2, and n2 is a positive integer; the duration of the test period is marked as T;

[0073] The average flow rate of the cycle is obtained according to the obtained test cycle, data packet flow, flow change curve and the duration of the test cycle, and the obtained average flow rate of the cycle is marked as in

[0074]

[0075] The traffic fluctuation range is obtained according to the obtained data packet traffic and the period average traffic, and the obtained traffic fluctuation range is marked as BFt, where Where e is the number of period average flow values;

[0076] The initial threshold is set according to the obtained flow dynamic range, and the obtained initial threshold is marked as CYt, where And α1 is the adjustment coefficient;

[0077] The obtained initial threshold is marked in the flow change curve diagram, and the data packet flow in the flow change curve diagram is compared with the initial threshold. If SLi>CYt, the obtained data packet flow is marked as abnormal flow;

[0078] According to the obtained communication protocol, the communication protocol is decomposed into a plurality of protocol fields, wherein the protocol fields include a protocol identifier, a protocol sequence number, a source IP address, and a destination IP address;

[0079] According to the obtained protocol identifiers of the communication protocols, the communication protocols corresponding to the same protocol identifiers are marked as the same type of communication protocols;

[0080] Mark the protocol fields included in the same type of communication protocols as standard protocol fields;

[0081] Mark the communication protocol associated with the abnormal traffic as a communication protocol to be tested;

[0082] The protocol field of the communication protocol to be tested is obtained, and the obtained protocol field of the communication protocol to be tested is marked as the protocol field to be tested, and the protocol identifier, protocol serial number, source IP address and target IP address in the obtained protocol field to be tested are matched with the protocol identifier, protocol serial number, source IP address and target IP address in the standard protocol field. If all items are matched successfully, it means that the communication protocol to be tested corresponding to the protocol field to be tested is the standard communication protocol. Otherwise, it means that the communication protocol to be tested corresponding to the protocol field to be tested is an abnormal communication protocol.

[0083] Mark the obtained abnormal traffic and abnormal communication protocol as response information, and issue a security alert for the obtained response information;

[0084] The process of issuing a security alert for the obtained response information is as follows:

[0085] A warning frame is constructed according to the obtained response information, wherein the warning frame is used to display the response information, and a check point a1, a release point a2, a check point b1, and a release point b2 are set at the warning frame;

[0086] Associating the abnormal traffic in the response information with the inspection point a1 and the release point a2, and associating the abnormal communication protocol in the response information with the inspection point b1 and the release point b2;

[0087] When the received response information is abnormal traffic, the received abnormal traffic is converted into a traffic instruction, and the traffic instruction is sent to the inspection point a and the release point a2. After the release point a2 receives the traffic instruction, the indicator light flashes;

[0088] Receive the flow instruction through the inspection point a, and mark the time when the inspection point a receives the flow instruction as ta1;

[0089] When the inspection point a receives the flow instruction, it sends a first repair instruction to the control center, and the control center is used to repair the security vulnerability of the computer. The time when the control center receives the first repair instruction is recorded, which is recorded as ta2;

[0090] After the control center completes the first repair instruction, it sends a first release instruction to the release point a2, records the time when the release point a2 receives the first release instruction, recorded as ta3, and turns off the flashing indicator light of the release point a2;

[0091] It should be further explained that, in the specific implementation process, if the control center has not sent the first repair instruction, the indicator light of the release point a2 will keep flashing;

[0092] When the received response information is an abnormal communication protocol, the received abnormal communication protocol is converted into a protocol instruction, and the protocol instruction is sent to the inspection point b and the release point b2. After the release point b2 receives the flow instruction, the indicator light flashes;

[0093] Receive the protocol instruction through the inspection point b, and mark the time when the inspection point b receives the protocol instruction as tb1;

[0094] When the inspection point b receives the protocol instruction, it sends the second repair instruction to the control center and records the time when the control center receives the second repair instruction, which is recorded as tb2;

[0095] After the control center completes the second repair instruction, it sends a second release instruction to the release point b2, records the time when the release point b2 receives the second release instruction, recorded as tb3, and turns off the flashing indicator light of the release point b2;

[0096] It should be further explained that, in the specific implementation process, if the control center has not sent the second repair instruction, the indicator light of the release point b2 keeps flashing.

[0097] According to the obtained warning frame, the number of times that the inspection point a receives the flow command and the number of times that the inspection point b receives the protocol command are counted, and they are marked as c1 and c2 respectively;

[0098] The traffic alarm processing efficiency is obtained according to the time when the inspection point a receives the traffic instruction, the time when the control center receives the first repair instruction, and the number of times the inspection point a receives the traffic instruction, and the obtained traffic alarm processing efficiency is marked as X1, where

[0099] The protocol alarm processing efficiency is obtained according to the obtained time when the inspection point b receives the protocol instruction, the time when the control center receives the second repair instruction, and the number of times the inspection point b receives the protocol instruction, and the obtained protocol alarm processing efficiency is marked as X2, where

[0100] The comprehensive processing efficiency is obtained according to the obtained traffic alarm processing efficiency and protocol alarm processing efficiency, and the obtained comprehensive processing efficiency is marked as X. 总 , where X 总 =β1*X1+β2*X2, β1 and β2 are weight coefficients, and β1+β2=1;

[0101] According to the obtained time when the control center receives the first repair instruction, the time when the release point a2 receives the first release instruction, the time when the control center receives the second repair instruction, and the time when the release point b2 receives the second release instruction, a statistical period is set, and the statistical period is marked as T1;

[0102] Obtain the number of indicator light flashes according to the obtained states of the indicator lights at the release point a2 and the release point b2 of the warning box, and mark the obtained numbers of indicator light flashes at the release point a2 and the release point b2 as c3 and c4 respectively;

[0103] Obtain a first number of vulnerabilities and a second number of vulnerabilities according to the obtained first repair instruction and the second repair instruction, and mark the obtained first number of vulnerabilities and the second number of vulnerabilities as d1 and d2 respectively;

[0104] Obtain a first number to be repaired and a second number to be repaired according to the obtained first release instruction and the second release instruction, and mark the obtained first number to be repaired and the second number to be repaired as d3 and d4 respectively;

[0105] The repair accuracy is obtained according to the obtained number of indicator light flashes at the release point a2 and the release point b2, the first number of vulnerabilities, the second number of vulnerabilities, the first number to be repaired, and the second number to be repaired, and the obtained repair accuracy is marked as XJ, where ω1 and ω2 are weight coefficients, and ω1+ω2=1;

[0106] The repair completion degree is obtained according to the time when the control center receives the first repair instruction, the time when the control center receives the second repair instruction, the time when the release point a2 receives the first release instruction, the time when the release point b2 receives the second release instruction, the comprehensive processing efficiency and the repair accuracy, and the obtained repair completion degree is marked as W, where Δt1 and Δt2 are time influencing factors;

[0107] The average response time is obtained based on the time when the inspection point a receives the flow instruction, the time when the inspection point b receives the protocol instruction, the time when the release point a2 receives the first release instruction, the time when the release point b2 receives the second release instruction, and the statistical period, and the obtained response time average is marked as in,

[0108] The first evaluation threshold and the second evaluation threshold are set according to the obtained response time mean and repair completion, and the obtained first evaluation threshold and the second evaluation threshold are marked as P0 and P1 respectively, where γ1 and γ2 are indicator coefficients, and 1<k;

[0109] comparing the obtained restoration completion degree with a first evaluation threshold and a second evaluation threshold;

[0110] If W < P0, it means that the repair completion is unsatisfactory;

[0111] If P0≤W<P1, it means that the repair completion is good;

[0112] If P1≤W, it means the repair completion is excellent;

[0113] It should be further explained that, in the specific implementation process, the level of repair completion corresponds to the network security level one by one, that is, the network security level includes failing, good and excellent.

[0114] The preferred embodiments of the present invention disclosed above are only used to help explain the present invention. The preferred embodiments do not describe all the details in detail, nor do they limit the invention to only specific implementation methods. Obviously, many modifications and changes can be made according to the content of this specification. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the present invention, so that those skilled in the art can understand and use the present invention well. The present invention is limited only by the claims and their full scope and equivalents.

Claims

1. A network security assessment method based on machine learning, characterized in that: The following steps are involved: Step S1: Collecting security data of the computer, wherein the security data includes communication protocol, data packet flow and timestamp; Step S2: construct a flow change curve diagram based on the data packet flow and timestamp in the obtained security data, obtain abnormal flow, decompose the communication protocol in the security data, and obtain abnormal communication protocol; Step S3: issuing a security alert for the acquired abnormal traffic and abnormal communication protocol, and performing security repair on the acquired abnormal traffic and abnormal communication protocol according to the security alert; Step S4: Obtain the degree of repair completion based on the obtained security warnings and security repairs, and rate the degree of repair completion to obtain a repair completion level.

2. A network security assessment method based on machine learning according to claim 1, characterized in that: The process of collecting computer security data includes: The data interaction type of the computer is obtained, and the security data required for interaction in the data interaction type is obtained, the obtained security data is marked, and the obtained data packet flow is associated with the corresponding communication protocol.

3. A network security assessment method based on machine learning according to claim 2, characterized in that: The process of constructing a flow change curve graph includes: Establishing a two-dimensional rectangular coordinate system of time with respect to the data packet flow rate according to the data packet flow rate and time stamp in the obtained security data; Generate a flow change curve according to the obtained data packet flow, map the generated flow change curve into a two-dimensional rectangular coordinate system, and obtain a flow change curve diagram of the data packet; According to the obtained flow change curve, mark the duration of the test period; Obtaining the period average flow rate according to the obtained test period, data packet flow rate, flow rate change curve diagram and the duration of the test period; Obtaining a flow fluctuation range according to the obtained data packet flow and period average flow; Setting an initial threshold value according to the obtained flow dynamic range; The obtained initial threshold is marked in the flow change curve diagram, and the data packet flow in the flow change curve diagram is compared with the initial threshold. If the data packet flow is greater than the initial threshold, the obtained data packet flow is marked as abnormal flow.

4. A network security assessment method based on machine learning according to claim 3, characterized in that: The process of decomposing the communication protocol in the security data includes: Decomposing the communication protocol into a plurality of protocol fields, wherein the protocol fields include a protocol identifier, a protocol sequence number, a source IP address, and a destination IP address; According to the obtained protocol identifiers of the communication protocols, the communication protocols corresponding to the same protocol identifiers are marked as the same type of communication protocols; Mark the protocol fields included in the same type of communication protocols as standard protocol fields; Mark the communication protocol associated with the abnormal traffic as a communication protocol to be tested; Acquire the protocol field of the communication protocol to be tested, and mark the obtained protocol field of the communication protocol to be tested as the protocol field to be tested, and match the obtained protocol field to be tested with the standard protocol field. If the match is successful, it means that the communication protocol to be tested corresponding to the protocol field to be tested is the standard communication protocol. Otherwise, it means that the communication protocol to be tested corresponding to the protocol field to be tested is an abnormal communication protocol. The obtained abnormal traffic and abnormal communication protocol are marked as response information, and a security alarm is issued for the obtained response information.

5. A network security assessment method based on machine learning according to claim 4, characterized in that: The process of issuing a security alert for abnormal traffic in the response information includes: A warning frame is constructed according to the obtained response information, and a check point a1, a release point a2, a check point b1 and a release point b2 are set at the warning frame; Associating the abnormal traffic in the response information with the inspection point a1 and the release point a2, and associating the abnormal communication protocol in the response information with the inspection point b1 and the release point b2; When the received response information is abnormal traffic, the received abnormal traffic is converted into a traffic instruction, and the traffic instruction is sent to the inspection point a and the release point a2. After the release point a2 receives the traffic instruction, the indicator light flashes; Receive the flow instruction through the inspection point a, and record the time when the inspection point a receives the flow instruction; When the inspection point a receives the flow instruction, it sends the first repair instruction to the control center and records the time when the control center receives the first repair instruction; After completing the first repair instruction, the control center sends a first release instruction to the release point a2, records the time when the release point a2 receives the first release instruction, and turns off the flashing indicator light of the release point a2.

6. A network security assessment method based on machine learning according to claim 5, characterized in that: The process of issuing a security alert for abnormal communication protocols in the response information includes: The received abnormal communication protocol is converted into a protocol instruction, and the protocol instruction is sent to the inspection point b and the release point b2. After the release point b2 receives the flow instruction, the indicator light flashes; Receive the protocol instruction through the inspection point b, and record the time when the inspection point b receives the protocol instruction; When the inspection point b receives the protocol instruction, it sends the second repair instruction to the control center and records the time when the control center receives the second repair instruction; After completing the second repair instruction, the control center sends a second release instruction to the release point b2, records the time when the release point b2 receives the second release instruction, and turns off the flashing indicator light of the release point b2.

7. A network security assessment method based on machine learning according to claim 6, characterized in that: The process of achieving restoration completion includes: According to the obtained warning frame, count the number of times the inspection point a receives the flow instruction and the number of times the inspection point b receives the protocol instruction; Obtain comprehensive processing efficiency based on the obtained time when the inspection point a receives the flow instruction, the time when the control center receives the first repair instruction, the number of times the inspection point a receives the flow instruction, the time when the inspection point b receives the protocol instruction, the time when the control center receives the second repair instruction, and the number of times the inspection point b receives the protocol instruction, and set a statistical period; Obtain the number of indicator light flashes according to the obtained states of the indicator lights at the release point a2 and the release point b2; Obtain a first number of vulnerabilities and a second number of vulnerabilities according to the obtained first repair instruction and the second repair instruction; Obtain a first number to be repaired and a second number to be repaired according to the obtained first release instruction and the second release instruction; Obtaining a repair accuracy rate according to the obtained number of indicator light flashes, the first number of vulnerabilities, the second number of vulnerabilities, the first number to be repaired, and the second number to be repaired; The repair completion degree is obtained based on the time when the control center receives the first repair instruction, the time when the control center receives the second repair instruction, the time when the release point a2 receives the first release instruction, the time when the release point b2 receives the second release instruction, the comprehensive processing efficiency and the repair accuracy.

8. A network security assessment method based on machine learning according to claim 7, characterized in that: The process for rating the completeness of cybersecurity remediation includes: The average response time is obtained based on the time when the inspection point a receives the flow instruction, the time when the inspection point b receives the protocol instruction, the time when the release point a2 receives the first release instruction, the time when the release point b2 receives the second release instruction, and the statistical period; Setting a first evaluation threshold and a second evaluation threshold according to the obtained response time mean and repair completion degree; The obtained repair completion degree is compared with the first evaluation threshold and the second evaluation threshold. When the repair completion degree is less than the first evaluation threshold, it indicates that the repair completion degree is unsatisfactory. When the repair completion degree is not less than the first evaluation threshold and less than the second evaluation threshold, it indicates that the repair completion degree is good; When the repair completion degree is not less than the second evaluation threshold, it indicates that the repair completion degree is excellent.

Citation Information

Cited By

  • A network security situation awareness method based on artificial intelligence

    CN119232508B