Password service protection method and system based on dynamic defense

By deploying a virtual password service system and knowledge graph analysis in the password service device, dynamically analyzing authentication credential risks, disabling risky terminals from accessing the original system, and simulating the virtual environment to induce attackers to conduct false business access, the static security strategy in the existing technology is solved. It is difficult to deal with the problem of dynamic attacks and improves the security and reliability of cryptographic services.

CN118709175AActive Publication Date: 2024-09-27HANGZHOU HIKVISION DIGITAL TECHNOLOGY CO LTD
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
CN202411205881.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-29
Publication Date
2024-09-27
Estimated Expiration
2044-08-29

AI Technical Summary

Technical Problem

Existing password service protection methods rely on static security policies, which are difficult to deal with dynamically changing attack methods and cannot effectively protect data security.

Method used

Adopt a password service protection method based on dynamic defense, deploy an independent virtual password service system in the password service device, use the knowledge graph to analyze the authentication credential behavior information in the authentication request, determine its risk, and disable the risky terminal when authentication fails Access the original system and simulate a virtual environment to induce attackers to conduct false business access.

Benefits of technology

It improves the security and reliability of cryptographic services, reduces manual intervention, realizes intelligent security analysis and dynamic defense, and effectively responds to dynamically changing attack methods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118709175A
    Figure CN118709175A
Patent Text Reader

Abstract

The embodiment of the invention provides a password service protection method and system based on dynamic defense. According to the embodiment of the invention, after the authentication request fails to authenticate, whether the authentication certificate carried by the authentication request has a risk is dynamically analyzed, if the authentication certificate has the risk, the application authority corresponding to any terminal carrying the authentication certificate is forbidden, such as accessing the original password service system and the like, and the virtual password service system is dynamically adjusted, so that the user experience is improved. The virtual password service system is controlled to simulate the original password service system to construct a virtual environment; the terminal carrying the authentication credential is induced to carry out false service access in a virtual environment, for example, the virtual environment actively interacts with any terminal (also called an access party) carrying the authentication credential through methods such as randomization of an access address, authentication permission simulation, virtual application access and the like, and the real service environment is obscured; and an attacker is induced to perform false service access, so that the password service protection method with dynamic defense in a real sense is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data security, and in particular to a cryptographic service protection method and system based on dynamic defense. Background Art

[0002] With the continuous development of network technology, cryptographic services have become an important means of protecting data security. Currently, the commonly used cryptographic service protection methods often rely on static security strategies or fixed protection mechanisms, which are difficult to cope with dynamically changing attack methods.

[0003] Therefore, the cryptographic service protection method based on dynamic defense is a technical problem that needs to be solved urgently. Summary of the invention

[0004] The embodiments of the present application provide a cryptographic service protection method and system based on dynamic defense to implement cryptographic service protection based on dynamic defense.

[0005] The embodiment of the present application provides a cryptographic service protection method based on dynamic defense, which is applied to a cryptographic service device for providing cryptographic services; the cryptographic service device is deployed with a virtual cryptographic service system independent of the original cryptographic service system; the method comprises: Authenticate the authentication request sent by the terminal before accessing the service; If the authentication fails, the authentication request is analyzed using a knowledge graph analysis method to obtain behavior analysis information corresponding to the authentication credentials carried in the authentication request; Determine whether the authentication credential has a risk based on the security behavior analysis information corresponding to the authentication credential and the security behavior analysis information corresponding to the authentication credential recorded in the knowledge graph data table; If there is a risk with the authentication credentials, any terminal carrying the authentication credentials is prohibited from accessing the original cryptographic service system, and the virtual cryptographic service system is controlled to simulate the original cryptographic service system to construct a virtual environment to induce the terminal carrying the authentication credentials to perform false business access in the virtual environment.

[0006] The embodiment of the present application also provides a cryptographic service protection system based on dynamic defense, the system at least comprising a cryptographic service device for providing cryptographic services; the cryptographic service device is deployed with a virtual cryptographic service system independent of the original cryptographic service system; there is a network connection between the original cryptographic service system and the virtual cryptographic service system; The cryptographic service device further comprises: a main control scheduling module and a decision module; The master control scheduling module is used to schedule the authentication request sent by the terminal before the service access to the decision module; The adjudication module is used to authenticate the authentication request sent by the terminal before the service access; if the authentication fails, the authentication request is analyzed by using the knowledge graph analysis method to obtain the behavior analysis information corresponding to the authentication credential carried by the authentication request; and based on the security behavior analysis information corresponding to the authentication credential and the security behavior analysis information corresponding to the authentication credential recorded in the knowledge graph data table, it is determined whether the authentication credential has a risk; if the authentication credential has a risk, the main control scheduling module is notified; The master control scheduling module further prohibits any terminal carrying the authentication credentials from accessing the original cryptographic service system based on the notification, and controls the virtual cryptographic service system to simulate the original cryptographic service system to construct a virtual environment to induce the terminal carrying the authentication credentials to perform false business access in the virtual environment.

[0007] An embodiment of the present application also provides an electronic device, including: a processor and a memory for storing computer program instructions, and when the computer program instructions are executed by the processor, the processor executes the steps of the above method.

[0008] An embodiment of the present application also provides a machine-readable storage medium, which stores computer program instructions. When the computer program instructions are executed, the steps of the above method can be implemented.

[0009] It can be seen from the above technical scheme that after the authentication request fails, this embodiment will dynamically analyze whether the authentication credentials carried by the authentication request are at risk. If the authentication credentials are at risk, the application permissions corresponding to any terminal carrying the authentication credentials, such as access to the above-mentioned original password service system, will be disabled, and the virtual password service system will be dynamically adjusted to control the virtual password service system to simulate the above-mentioned original password service system to construct a virtual environment, so as to induce the terminal carrying the above-mentioned authentication credentials to perform false business access in the virtual environment. For example, the virtual environment actively interacts with any terminal (also referred to as the access party) carrying the authentication credentials through methods such as randomized access address, authentication permission simulation, and virtual application access, blurring the real business environment and inducing attackers to perform false business access, thereby realizing a truly dynamic defense password service protection method; effectively improving the security and reliability of password services.

[0010] Furthermore, this embodiment uses knowledge graph analysis to assist in deciding whether authentication credentials are at risk, thereby reducing manual intervention and making security analysis behavior intelligent. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] Figure 1 A flow chart of the method provided in an embodiment of the present application.

[0012] Figure 2 A schematic diagram of the structure provided for an embodiment of the present application.

[0013] Figure 3 Provided in the embodiments of this application Figure 1 Schematic diagram of an embodiment of the present invention.

[0014] Figure 4 A login control flow chart provided for an embodiment of the present application.

[0015] Figure 5 Provided in the embodiments of this application Figure 4 Schematic diagram of an embodiment of the present invention.

[0016] Figure 6 A malicious access control flow chart provided for an embodiment of the present application.

[0017] Figure 7 Provided in the embodiments of this application Figure 6 Schematic diagram of an embodiment of the present invention.

[0018] Figure 8 A system structure diagram provided for an embodiment of the present application.

[0019] Fig. 9 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0020] In order to enable those skilled in the art to better understand the technical solutions provided by the embodiments of the present application and to make the above-mentioned purposes, features and advantages of the embodiments of the present application more obvious and understandable, the technical solutions in the embodiments of the present application are further described in detail below in conjunction with the accompanying drawings.

[0021] See also Figure 1 , Figure 1 The method flow chart provided in the embodiment of the present application is applied to cryptographic service equipment such as cryptographic machines, cryptographic service platforms and other electronic equipment.

[0022] Compared with the existing cryptographic service device, this embodiment deploys a virtual cryptographic service system independent of the original cryptographic service system based on the original cryptographic service system of the existing cryptographic service device (hereinafter referred to as the original cryptographic service system). Figure 2 shown.

[0023] It should be noted that in this embodiment, the original password service system is used to provide password services for normal terminals (such as terminals without attack or malicious behavior). The virtual password service system simulates the behavior and characteristics of the original password service system, such as implementing password functions based on password technology and products. Figure 2The basic equipment layer shown provides password protection. However, the virtual password service system mainly detects abnormalities, such as warning behaviors such as attack warnings, to protect the original password service system from attacks. For example, it changes the current operating environment to enter the fake (virtual) environment corresponding to the virtual password service system, induces attackers such as the attacker or the attacking end below to perform false logins or false business access in the virtual environment, and / or reversely tracks and locates attackers to improve the robustness and availability of the service.

[0024] It should be noted that the virtual cryptographic service system and the original cryptographic service system are connected via a network and share the same network traffic.

[0025] like Figure 1 As shown, the process may include the following steps: Step 101: authenticating an authentication request sent by a terminal before accessing a service.

[0026] As an embodiment, after successfully logging into the cryptographic service device, if the terminal needs to access a service, it will first send an authentication request to the cryptographic service device before accessing the service. Finally, the cryptographic service device will receive the authentication request sent by the terminal before accessing the service.

[0027] When the above-mentioned password service device receives the authentication request sent by the terminal before the service access, it will authenticate the authentication request sent by the terminal before the service access. Optionally, the authentication request sent by the terminal before the service access can be authenticated, for example, the authentication credentials carried by the authentication request, such as an identity token, etc. The authentication credentials here can be allocated by the above-mentioned password service device or other devices after the terminal successfully logs in or successfully registers with the above-mentioned password service device, and this embodiment does not specifically limit it.

[0028] If the authentication is successful, the terminal is controlled to access services such as the above-mentioned original password service system.

[0029] If the authentication fails, execute step 102.

[0030] Step 102: If the authentication fails, the authentication request is analyzed using a knowledge graph analysis method to obtain security behavior analysis information corresponding to the authentication credentials carried in the authentication request.

[0031] As an embodiment, when this step 102 is specifically implemented, analyzing the authentication request to obtain the security behavior analysis information corresponding to the authentication credentials carried by the authentication request may include: By analyzing the above authentication request, the attribute information corresponding to the M specified attributes required by the knowledge graph data table is obtained; the attribute information corresponding to the M specified attributes is used as the security behavior analysis information corresponding to the authentication credentials carried by the above authentication request.

[0032] This embodiment introduces a graph data table (referred to as the knowledge graph data table) constructed based on the knowledge graph analysis method. Here, the knowledge graph data table mainly includes information such as column names, primary keys and foreign keys. Here, the column name refers to the first type of specified attributes carried by the authentication request, such as source IP address, frequency, and reason for authentication failure; the primary key refers to the specific information corresponding to the first type of specified attributes included in the above column name; the foreign key refers to the specific information corresponding to the second type of specified attributes associated with the first type of specified attributes included in the above column name. The second type of specified attributes are extended from the first type of specified attributes, such as the network segment to which the source IP address in the first type of specified attributes belongs, which contains the source IP addresses of each authentication request that failed authentication (the network segment is the second type of specified attribute).

[0033] Based on the above description, in this embodiment, the above-mentioned M specified attributes may include the above-mentioned first-category specified attributes and the second-category specified attributes. Based on this, this embodiment can analyze the above-mentioned authentication request with the help of knowledge graph analysis technology, perform structural decomposition according to regulations, and decompose the attribute information (also called data) corresponding to the corresponding M specified attributes.

[0034] Step 103, based on the security behavior analysis information corresponding to the above authentication credentials and the security behavior analysis information corresponding to the above authentication credentials recorded in the knowledge graph data table, determine whether there is a risk in the authentication credentials.

[0035] In specific implementation, the same authentication credential is not limited to be used by one terminal, but can be used by multiple terminals. Under this premise, it can be determined whether the authentication credential has risks based on the security behavior analysis information corresponding to the above authentication credential and the security behavior analysis information corresponding to the above authentication credential recorded in the knowledge graph data table.

[0036] As an embodiment, whether the authentication credential is at risk is determined based on the cumulative number; wherein, when the cumulative number is greater than or equal to a set security threshold, it is determined that the authentication credential is at risk, otherwise, it is determined that the authentication credential is not at risk.

[0037] Here, the above-mentioned cumulative number refers to: the number of security behavior analysis information containing malicious behaviors counted from the security behavior analysis information corresponding to the authentication credentials carried in the above-mentioned authentication request and the security behavior analysis information corresponding to the authentication credentials recorded in the knowledge graph data table.

[0038] In specific implementation, this embodiment can decide how to determine whether the authentication credential is at risk based on the cumulative quantity according to the type of intelligent control used for authentication.

[0039] As an embodiment, if the intelligent control type is an intelligent assisted decision-making type, the above-mentioned cumulative number is counted through the obtained intelligent graph model based on the security behavior analysis information corresponding to the authentication credentials carried in the above-mentioned authentication request and the security behavior analysis information corresponding to the above-mentioned authentication credentials recorded in the knowledge graph data table, and based on the above-mentioned cumulative number, it is decided whether the above-mentioned authentication credentials have risks, and then the final decision result (that is, whether the authentication credentials have risks or not) is output.

[0040] As an embodiment, if the intelligent control type is a human-machine combined decision type, the above-mentioned cumulative number is first counted; then it is determined whether the above-mentioned cumulative number is greater than or equal to the set security threshold. If so, it is determined that the authentication credentials are at risk; otherwise, it is determined that the authentication credentials are not at risk.

[0041] It should be noted that, as an embodiment, the number of security behavior analysis information with malicious behavior counted above can also be simplified to the number of terminals with malicious behavior. Here, the terminals with malicious behavior can be limited according to actual conditions. For example, if the number of authentication requests sent by a terminal in a set time such as 1 second is greater than a set threshold, the terminal is considered to be a terminal with malicious behavior; for another example, if the IP address of a terminal is in a set IP address blacklist, the terminal is considered to be a terminal with malicious behavior; etc., this embodiment does not specifically limit it.

[0042] If the authentication credentials are at risk, the following step 104 is performed. As an embodiment, if the authentication credentials are not at risk, the authentication may be allowed to continue, such as outputting the reason for the authentication failure, and / or instructing the terminal carrying the authentication credentials to initiate an authentication request again, so as to authenticate the authentication credentials carried by the authentication request again.

[0043] Step 104: If there is a risk with the authentication credentials, any terminal carrying the authentication credentials is prohibited from accessing the original cryptographic service system, and the virtual cryptographic service system is controlled to simulate the original cryptographic service system to construct a virtual environment to induce the terminal carrying the authentication credentials to perform false business access in the virtual environment.

[0044] If it is determined that there is a risk in the authentication credential, as an embodiment, the authentication credential can be marked with a security warning to indicate that any terminal carrying the authentication credential is disabled with corresponding application permissions, such as access to the above-mentioned original cryptographic service system, and the virtual cryptographic service system is dynamically adjusted to control the virtual cryptographic service system to simulate the above-mentioned original cryptographic service system to construct a virtual environment, so as to induce the terminal carrying the above-mentioned authentication credential to perform false business access in the virtual environment. For example, the virtual environment actively interacts with any terminal carrying the authentication credential (also known as the access party) through methods such as randomized access address, authentication permission simulation, and virtual application access, thereby obscuring the real business environment and inducing attackers to perform false business access.

[0045] So far, completed Figure 1 The process shown.

[0046] To make Figure 1 The process shown is clearer. Figure 3 An example shows Figure 1 Structural diagram of the process shown.

[0047] pass Figure 1 As can be seen from the process shown, after the authentication request fails, this embodiment will dynamically analyze whether the authentication credentials carried in the authentication request are at risk. If the authentication credentials are at risk, the application permissions corresponding to any terminal carrying the authentication credentials, such as access to the above-mentioned original cryptographic service system, will be disabled, and the virtual cryptographic service system will be dynamically adjusted to control the virtual cryptographic service system to simulate the above-mentioned original cryptographic service system to construct a virtual environment, so as to induce the terminal carrying the above-mentioned authentication credentials to perform false business access in the virtual environment. For example, the virtual environment actively interacts with any terminal (also referred to as the access party) carrying the authentication credentials through methods such as randomized access address, authentication permission simulation, and virtual application access, thereby obscuring the real business environment and inducing attackers to perform false business access, thereby realizing a truly dynamic defense cryptographic service protection method; effectively improving the security and reliability of cryptographic services.

[0048] Furthermore, this embodiment uses knowledge graph analysis to assist in deciding whether authentication credentials are at risk, thereby reducing manual intervention and making security analysis behavior intelligent.

[0049] The above Figure 1 The access control in the process shown is described below, and the login control is described below: See also Figure 4 , Figure 4 This is a login control flow chart provided in an embodiment of the present application. This process is still applicable to the above-mentioned password service device.

[0050] like Figure 4 As shown, the process may include the following steps: Step 401, after receiving the login request sent by the terminal, a login verification is performed. If the verification is successful, the login is considered successful, and a login success response is returned to allow the terminal to access subsequent services. If the verification fails, the login is considered failed, and the following step 402 is executed.

[0051] This embodiment performs login verification on the login request, mainly to verify the legitimacy of the identity. This embodiment does not specifically limit how to perform login verification on the login request.

[0052] Step 402: Analyze the risk behavior that causes the terminal login failure to determine the login risk value of the terminal under the risk behavior.

[0053] As an embodiment, the risk behavior that causes terminal login failure here is, for example, an incorrect login password, etc., which is not specifically limited in this embodiment.

[0054] As an embodiment, this step 402 introduces a risk matrix to determine the account security of the terminal (i.e., the above-mentioned login risk value) during specific implementation. Here, the risk matrix plots various risks in a matrix diagram according to the probability of occurrence of various risks and the severity of the consequences of various risks, forming a risk matrix to display various risks and their risk levels. Risk management tools.

[0055] As an embodiment, the risk matrix here may involve various risk types, such as N risk types. The N risk types represent the preset risks that may cause terminal login failure, such as account randomness risk, password collision risk, information forgetting risk (such as setting questions during login, wrong answers to the questions, etc.), forced destruction risk (such as the number of wrong logins exceeds the set number of times), etc. The risk matrix has corresponding risk criteria such as the impact of the risk (represented by the risk impact factor) and / or the probability of the risk occurring.

[0056] Based on this, the login risk value of the terminal under the above-mentioned risk behavior may include: Determine the risk type under the above risk behavior; for example, if the risk behavior is an incorrect login password, the corresponding risk types may include collision risk, forgetting risk, destruction risk, etc.

[0057] For each risk type, the risk value corresponding to the risk type is determined based on the number N of risk types in the risk matrix that has been set and the risk level of the risk type under the risk criteria corresponding to the risk matrix.

[0058] According to the risk values ​​corresponding to the risk types under the risk behaviors, the login risk value of the terminal under the risk behaviors is determined.

[0059] For example, let i be a specific risk behavior, k be the criterion of the risk matrix such as risk impact factor and / or risk occurrence probability, It represents the risk level of the next risk type under criterion k for risk behavior i, and performs a specified operation such as subtraction on the above N and the above risk level. , and obtain the risk value corresponding to the risk type. Then, according to the risk value corresponding to each risk type under the above risk behavior, determine the login risk value of the terminal under the above risk behavior, for example . Indicates the login risk value of the terminal. Finally, the login risk value of the terminal under any risk behavior is determined.

[0060] Step 403: If the terminal is determined to be an attacker based on the login risk value of the terminal, the terminal is controlled to log in to the virtual cryptographic service system to induce the terminal to perform false operations.

[0061] As an embodiment, when the login risk value of the terminal is greater than or equal to the set login risk threshold, the terminal is determined to be an attacker. Optionally, in this embodiment, different risk types may correspond to the same login risk threshold.

[0062] As an embodiment, when a terminal is determined to be an attacker, a security alert can be output and the terminal can be marked as a risk so that when the terminal with the risk mark logs in, the terminal can be controlled to log in to the virtual password service system to induce the terminal to perform false operations. Optionally, the real login information of the above terminal can be mapped to the virtual login information and submitted to the virtual password service system; the virtual login information corresponds to the virtual login success page; then the virtual login success page is output to induce the terminal to perform false operations such as false interaction with the terminal, locating the real address of the attacker, and consuming the attacker's resources to gain a longer buffer time to protect the real password service system (the above-mentioned original password service system).

[0063] Of course, if the login risk value of the above terminal under any risk type that currently causes the terminal login failure is less than the set login risk threshold, a login failure response is returned, such as indicating the reason for the failure.

[0064] So far, completed Figure 4 The process shown.

[0065] To make Figure 4 The process shown is clearer. Figure 5 An example shows Figure 4 Structural diagram of the process shown.

[0066] pass Figure 4It can be seen from the process shown that after a login failure, this embodiment will dynamically analyze the risk type that causes the terminal login failure to determine the login risk value of the terminal under the risk type; and when the terminal is determined to be an attacker based on the login risk value of the terminal, the terminal is controlled to log in to the virtual password service system to induce the terminal to perform false operations, thereby realizing a password service protection method with dynamic defense in a true sense; Furthermore, this embodiment uses a risk matrix to evaluate the login risk value. Based on the various risk types involved in the risk matrix, such as N risk types, this realizes the optimization from the binary nature of successful and failed logins in the past to a comprehensive consideration of the reasons for failure, helping to evaluate terminal login failures and terminal account risks, so as to achieve dynamic defense of terminal logins.

[0067] The following describes malicious access control: See also Figure 6 , Figure 6 This is a malicious access control flow chart provided in the embodiment of the present application. This process is still applied to the above-mentioned cryptographic service device.

[0068] like Figure 6 As shown, the process may include the following steps: Step 601: If abnormal traffic is determined based on each service data packet monitored within a time period, each service data packet received within the time period is analyzed to determine abnormal type information.

[0069] As an embodiment, the cryptographic service device may be arranged at a network entrance to monitor network traffic in real time, such as each service data packet within the above-mentioned time period.

[0070] As another embodiment, a monitoring device different from the above-mentioned cryptographic service device may also be deployed at the network entrance to monitor network traffic in real time, such as each business data packet within the above-mentioned time period.

[0071] In this embodiment, it can be determined whether there is abnormal traffic based on each service data packet monitored in the above time period. Here, there are many situations to determine whether there is abnormal traffic, such as the number of service data packets with the same source IP address monitored in the above time period is greater than or equal to a set value, etc., which is not specifically limited in this embodiment.

[0072] Once abnormal traffic (also known as attack behavior) is detected, an alarm is triggered immediately, and each business data packet received during the above time period is analyzed to determine the abnormal type information.

[0073] As an embodiment, this embodiment can classify traffic (ie, determine abnormal type information) according to the nature of abnormal traffic and the characteristics of attack behavior.

[0074] Optionally, this embodiment may introduce traffic classification based on the Naive Bayes method. Here, the Naive Bayes method is a method that uses the Bayesian theorem to model the probabilistic relationship between an attribute set and a type variable. With the help of the Naive Bayes method, this embodiment can abstract each service data packet received within the above time period into a corresponding attribute vector; the attribute vector corresponding to any service data packet may include attribute information corresponding to K specified attributes such as packet size, protocol type, number of ports, etc. Afterwards, the attribute vectors corresponding to each service data packet received within the above time period are input into the specified Naive Bayes method to obtain abnormal type information. The abnormal type information here at least includes the probability of belonging to an abnormal type.

[0075] For example, for any service data packet (belonging to network flow X), the probability that it belongs to anomaly type Y is for: ; Among them, P(Y) represents the proportion of network flows with abnormal type Y in the network flow set, which is the prior probability; the network flow set here is, for example, a set of network flows, or a set of network flows consisting of all business data packets received from the set start time to the current time period. P(X|Y) represents the class-conditional probability, which is specifically the probability of network flow X appearing in the network flow with abnormal type Y from the set start time to the current time period; the denominator P(X) represents the probability of network flow X appearing in the time period from the set start time to the current time period.

[0076] By means of the attribute vector corresponding to any of the above-mentioned service data packets, the attribute information corresponding to K specified attributes such as packet size, protocol type, number of ports, etc. can be specifically , then the above formula can be expanded to: .

[0077] Step 602: Based on the above abnormality type information, a corresponding dynamic defense strategy is determined, and the above dynamic defense strategy is used to perform dynamic defense.

[0078] In this embodiment, the above-mentioned abnormal type information, such as the above-mentioned probability, is incorporated into different network classifications to determine the corresponding dynamic defense strategies, wherein different probabilities within different set probability ranges correspond to different dynamic defense strategies.

[0079] For example, if the probability is relatively small, such as the probability is within a first probability range (such as a range less than a set probability threshold), the corresponding dynamic defense strategy is: inducing the attacker to misjudge the target through the virtual password service system. Here, the attacker is at least one of the source terminals from which each service data packet received within the above time period originates, specifically: a terminal with attacking behavior determined based on the service data packets sent by each source terminal.

[0080] Here, the attacker is induced to misjudge the target through the virtual cryptographic service system, for example, by changing the response time of the virtual service system, such as extending the response time of the virtual cryptographic service system so that the virtual cryptographic service system responds to the attacker's access according to the extended response time when the attacker accesses, and returning error data through the virtual cryptographic service system when the attacker accesses, etc., so that the virtual cryptographic service system and the real cryptographic service system (that is, the original cryptographic service system mentioned above) are different, and the attacker is induced to misjudge the target, such as misjudging the virtual cryptographic service system as the real cryptographic service system (that is, the original cryptographic service system mentioned above).

[0081] Of course, if the above probability is relatively large, for example, greater than the upper limit of the above first probability range, the attack can be considered to be relatively serious, and the business data packets (also called malicious data packets) sent by the attacker are detected and intercepted based on the acquired IP address and using the virtual password service system as bait, and / or the attacker is counterattacked by reverse tracking means. Etc., this embodiment is not specifically limited.

[0082] As an embodiment, the present embodiment may analyze the above-mentioned attacker's behavior in advance to obtain information such as its IP address, attack means, etc. Then, based on the obtained IP address and using the virtual password service system as bait, the service data packet (also called malicious data packet) sent by the attacker is detected and intercepted. Alternatively, based on the above-mentioned attack means, the attacker is counterattacked through reverse tracking means.

[0083] After that, this embodiment can perform dynamic defense based on the corresponding dynamic defense strategy determined above. It should be noted that in this embodiment, the dynamic defense strategy is not fixed, and it will also be optimized or adjusted based on each business data packet received in a subsequent period of time to improve its ability to respond to security issues such as unknown threats and zero-day vulnerabilities, and improve the abnormal traffic monitoring mechanism.

[0084] So far, completed Figure 6 The process shown.

[0085] To make Figure 6 The process shown is clearer. Figure 7 An example shows Figure 6 Structural diagram of the process shown.

[0086] pass Figure 6 As can be seen from the process shown, after detecting abnormal traffic (also called malicious traffic), this embodiment will dynamically analyze the abnormal type information; then, based on the abnormal type information, determine the corresponding dynamic defense strategy, and use the dynamic defense strategy to perform dynamic defense, thereby realizing a cryptographic service protection method of dynamic defense in a true sense; Furthermore, this embodiment determines the abnormality type information by means of a naive Bayes method to ensure the accuracy of the abnormality type information.

[0087] From the above, it can be seen that, under the premise that the given service functions and performance of the target object remain unchanged, this embodiment can make strategic spatiotemporal changes to unknown vulnerabilities, backdoors or Trojan viruses that may be attached to environmental factors such as internal architecture, redundant resources, operating mechanisms, core algorithms, and abnormal performance, thereby presenting a "plausible" scenario to the attacker, thereby disrupting the construction and effectiveness of the attack chain and increasing the attacker's attack cost.

[0088] The above describes the method provided in the embodiment of the present application. The following describes the system provided in the embodiment of the present application: See also Figure 8 , Figure 8 A system structure diagram provided for an embodiment of the present application. The system at least includes a cryptographic service device for providing cryptographic services; the cryptographic service device is deployed with a virtual cryptographic service system independent of the original cryptographic service system; there is a network connection between the original cryptographic service system and the virtual cryptographic service system; like Figure 8 As shown, the system includes: a main control scheduling module and a decision module; The master control scheduling module is used to schedule the authentication request sent by the terminal before the service access to the decision module; The adjudication module is used to authenticate the authentication request sent by the terminal before the service access; if the authentication fails, the authentication request is analyzed by using the knowledge graph analysis method to obtain the behavior analysis information corresponding to the authentication credential carried by the authentication request; and based on the security behavior analysis information corresponding to the authentication credential and the security behavior analysis information corresponding to the authentication credential recorded in the knowledge graph data table, it is determined whether the authentication credential has a risk; if the authentication credential has a risk, the main control scheduling module is notified; The master control scheduling module further prohibits any terminal carrying the authentication credentials from accessing the original cryptographic service system based on the notification, and controls the virtual cryptographic service system to simulate the original cryptographic service system to construct a virtual environment to induce the terminal carrying the authentication credentials to perform false business access in the virtual environment.

[0089] As an embodiment, the main control scheduling module further schedules the decision module to verify the login of the terminal; The adjudication module further verifies the login of the terminal. If the verification fails, it is considered that the terminal fails to log in to the cryptographic service device, and the risk behavior causing the terminal login failure is analyzed to determine the login risk value of the terminal under the risk behavior; if the terminal is determined to be an attacker based on the login risk value of the terminal, the main control scheduling module is notified so that the main control scheduling module further controls the terminal to log in to the virtual cryptographic service system to induce the terminal to perform false operations; The main control scheduling module further schedules the decision module to monitor each service data packet within a time period; When the adjudication module determines that there is abnormal traffic based on each service data packet monitored within a time period, the adjudication module analyzes each service data packet received within the time period to determine abnormal type information; based on the abnormal type information, determines a corresponding dynamic defense strategy and notifies the main control scheduling module; The master control scheduling module further performs dynamic defense based on the dynamic defense strategy.

[0090] So far, completed Figure 8 Structural description of the system shown.

[0091] See also Fig. 9 , Fig. 9 This is a hardware structure diagram of the embodiment of this application. Fig. 9 As shown, the hardware structure may include: a processor and a machine-readable storage medium, the machine-readable storage medium storing machine-executable instructions that can be executed by the processor; the processor is used to execute the machine-executable instructions to implement the method disclosed in the above example of this application.

[0092] Based on the same application concept as the above method, an embodiment of the present application also provides a machine-readable storage medium, on which a number of computer instructions are stored. When the computer instructions are executed by a processor, the method disclosed in the above example of the present application can be implemented.

[0093] Exemplarily, the above-mentioned machine-readable storage medium can be any electronic, magnetic, optical or other physical storage device, which can contain or store information, such as executable instructions, data, etc. For example, the machine-readable storage medium can be: RAM (Radom Access Memory), volatile memory, non-volatile memory, flash memory, storage drive (such as hard disk drive), solid state drive, any type of storage disk (such as optical disk, DVD, etc.), or similar storage medium, or a combination thereof.

[0094] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims

1. A cryptographic service protection method based on dynamic defense, characterized in that: The method is applied to a cryptographic service device for providing cryptographic services; The cryptographic service device is deployed with a virtual cryptographic service system independent of the original cryptographic service system; the method comprises: Authenticate the authentication request sent by the terminal before accessing the service; If the authentication fails, the authentication request is analyzed using a knowledge graph analysis method to obtain security behavior analysis information corresponding to the authentication credentials carried in the authentication request; Determine whether the authentication credential has a risk based on the security behavior analysis information corresponding to the authentication credential and the security behavior analysis information corresponding to the authentication credential recorded in the knowledge graph data table; If there is a risk with the authentication credentials, any terminal carrying the authentication credentials is prohibited from accessing the original cryptographic service system, and the virtual cryptographic service system is controlled to simulate the original cryptographic service system to construct a virtual environment to induce the terminal carrying the authentication credentials to perform false business access in the virtual environment.

2. The method according to claim 1, characterized in that: The method of analyzing the authentication request by using a knowledge graph analysis method to obtain security behavior analysis information corresponding to the authentication credentials carried by the authentication request includes: Analyze the authentication request by using a knowledge graph analysis method to obtain attribute information corresponding to the M specified attributes required by the knowledge graph data table; The attribute information corresponding to the M specified attributes is used as the security behavior analysis information corresponding to the authentication credential carried in the authentication request.

3. The method according to claim 1, characterized in that Whether the authentication credential is at risk is determined based on the accumulated number; wherein, when the accumulated number is greater than or equal to a set security threshold, it is determined that the authentication credential is at risk, otherwise, it is determined that the authentication credential is not at risk; The cumulative number refers to: the number of security behavior analysis information with malicious behaviors counted from the security behavior analysis information corresponding to the authentication credentials carried in the authentication request and the security behavior analysis information corresponding to the authentication credentials recorded in the knowledge graph data table; The method further includes: recording the security behavior analysis information corresponding to the authentication credentials carried by the authentication request into the knowledge graph data table.

4. The method according to claim 3, characterized in that Whether the authentication credential is at risk is determined by the obtained intelligent graph model based on the security behavior analysis information corresponding to the authentication credential carried in the authentication request and the security behavior analysis information corresponding to the authentication credential recorded in the knowledge graph data table, which counts the cumulative number and decides whether the authentication credential is at risk based on the cumulative number.

5. The method according to claim 1, characterized in that The method further comprises: If it is found that the terminal fails to log in to the cryptographic service device, analyzing the risk behavior that causes the terminal to log in to fail to determine the login risk value of the terminal under the risk behavior; If the terminal is determined to be an attacker based on the login risk value of the terminal, the terminal is controlled to log in to the virtual password service system to induce the terminal to perform false operations.

6. The method according to claim 5, characterized in that Determining the login risk value of the terminal under the risk behavior includes: Determine the type of risk underlying the risk behavior; For each risk type, based on the number N of risk types in a set risk matrix and the risk level of the risk type under the risk criteria corresponding to the risk matrix, determine the risk value corresponding to the risk type; the risk criteria at least include the influencing factor of the risk type and / or the probability of occurrence of the risk type; According to the risk values ​​corresponding to the risk types under the risk behavior, a login risk value of the terminal under the risk behavior is determined.

7. The method according to claim 5, characterized in that The determining that the terminal is an attacker based on the login risk value of the terminal includes: When the login risk value is greater than or equal to a set login risk threshold, the terminal is determined to be an attacker.

8. The method according to claim 5, characterized in that The control terminal logs into the virtual password service system including: Mapping the real login information of the terminal to the virtual login information and submitting it to the virtual password service system; the virtual login information corresponds to the virtual login success page; The virtual login success page is output to induce the terminal to perform a false operation.

9. The method according to claim 1, characterized in that: The method further comprises: If it is determined that abnormal traffic exists based on each service data packet monitored within a time period, each service data packet received within the time period is analyzed to determine abnormal type information; Based on the abnormality type information, a corresponding dynamic defense strategy is determined, and the dynamic defense strategy is adopted to perform dynamic defense.

10. The method according to claim 9, characterized in that The analyzing each service data packet received within the time period to determine the abnormal type information includes: Abstracting each service data packet received within the time period into a corresponding attribute vector; the attribute vector corresponding to any service data packet includes attribute information corresponding to K specified attributes; The attribute vectors corresponding to the service data packets received in the time period are respectively input into a specified naive Bayes method to obtain abnormality type information, wherein the abnormality type information at least includes a probability of belonging to an abnormality type.

11. The method according to claim 10, characterized in that The determining of a corresponding dynamic defense strategy based on the abnormality type information includes: Based on the probability, determining a corresponding dynamic defense strategy; wherein different probabilities within different set probability ranges correspond to different dynamic defense strategies; Among them, if the probability is within the first probability range, the corresponding dynamic defense strategy is: inducing the attacker to misjudge the target through the virtual password service system; the attacker is at least one of the source terminals from which each service data packet received within the time period comes; the attacker is a terminal with attack behavior determined based on the service data packets sent by each source terminal; If the probability is greater than the upper limit of the first probability range, the virtual cryptographic service system is used as a bait to detect and intercept malicious data packets sent by the attacker, and / or the attacker is counterattacked by reverse tracking means.

12. The method according to claim 11, characterized in that The method of inducing an attacker to misjudge a target by using a virtual password service system includes: Prolonging the response time of the virtual cryptographic service system so that the virtual cryptographic service system responds to the attacker's access according to the extended response time when the attacker accesses the service; and / or, When accessed by an attacker, the virtual password service system returns incorrect data.

13. A cryptographic service protection system based on dynamic defense, characterized in that: The system at least includes a cryptographic service device for providing cryptographic services; the cryptographic service device is deployed with a virtual cryptographic service system independent of an original cryptographic service system; a network connection exists between the original cryptographic service system and the virtual cryptographic service system; The cryptographic service device further comprises: a main control scheduling module and a decision module; The master control scheduling module is used to schedule the authentication request sent by the terminal before the service access to the decision module; The adjudication module is used to authenticate the authentication request sent by the terminal before the service access; if the authentication fails, the authentication request is analyzed by using the knowledge graph analysis method to obtain the behavior analysis information corresponding to the authentication credential carried by the authentication request; and based on the security behavior analysis information corresponding to the authentication credential and the security behavior analysis information corresponding to the authentication credential recorded in the knowledge graph data table, it is determined whether the authentication credential has a risk; if the authentication credential has a risk, the main control scheduling module is notified; The master control scheduling module further prohibits any terminal carrying the authentication credentials from accessing the original cryptographic service system based on the notification, and controls the virtual cryptographic service system to simulate the original cryptographic service system to construct a virtual environment to induce the terminal carrying the authentication credentials to perform false business access in the virtual environment.

14. The system according to claim 13, characterized in that The main control scheduling module further schedules the decision module to verify the login of the terminal; The adjudication module further verifies the login of the terminal. If the verification fails, it is considered that the terminal fails to log in to the cryptographic service device, and the risk behavior causing the terminal login failure is analyzed to determine the login risk value of the terminal under the risk behavior; if the terminal is determined to be an attacker based on the login risk value of the terminal, the main control scheduling module is notified so that the main control scheduling module further controls the terminal to log in to the virtual cryptographic service system to induce the terminal to perform false operations; The main control scheduling module further schedules the decision module to monitor each service data packet within a time period; The adjudication module, when determining that abnormal traffic exists based on each service data packet monitored within a time period, analyzes each service data packet received within the time period to determine abnormal type information; Based on the abnormal type information, determine the corresponding dynamic defense strategy and notify the main control scheduling module; The master control scheduling module further performs dynamic defense based on the dynamic defense strategy.

Citation Information

Patent Citations

  • Database collision attack monitoring method, device and system and computer storage medium

    CN110213199A

  • Encrypted network abnormal flow detection method based on knowledge graph

    CN112788064A

  • Method and device for carrying out anomaly identification on user behavior

    CN114640499A

  • Network analysis method and device based on knowledge graph

    CN114745743A

  • Deception defense method and device based on reinforcement learning high attack and defense interaction in multi-honeypot scene

    CN117938473A