Security protection method and device for system verification code
By introducing random algorithms and interference elements into the verification code, dynamically adjusting the difficulty, and building an anti-automatic detection module, the problem of existing verification code technology being unable to balance security and user experience is solved, and the security and user experience of the system are improved. and increased resistance to AI attacks.
Patent Information
- Application Number
- CN202410655798.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-24
- Publication Date
- 2024-08-23
AI Technical Summary
Existing CAPTCHA technology cannot balance security and user experience, and is less resistant to AI-based attacks.
Use a random algorithm to generate a dynamic verification code, add interference elements to it, dynamically adjust the difficulty based on system historical data and user behavior data, build an anti-automatic detection module to detect and intercept malicious behaviors, collect feedback information to adjust the difficulty, and combine with large models Technology for user behavior analysis and abnormal behavior detection.
It effectively reduces the automatic recognition rate of verification codes by large models, improves system security, enhances user experience, and has broad application prospects and self-updating capabilities.
Smart Images

Figure CN118540132A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of verification code security technology, and in particular to a system verification code security protection method and device. Background Art
[0002] With the rapid development of the Internet and artificial intelligence technology, data security and privacy protection have become increasingly important issues. As an important technology in data security and privacy protection, CAPTCHAs are widely used in various online services and applications to verify the identity of users and prevent malicious attacks. However, with the continuous advancement of machine learning and artificial intelligence technology, large models have achieved remarkable results in image recognition, speech recognition and other fields, and the security of CAPTCHAs has been challenged. Large models can automatically identify and crack traditional static CAPTCHAs, resulting in increased risks of security vulnerabilities and data leakage. Traditional CAPTCHA technologies mainly include text-based, image-based and voice-based CAPTCHAs. Among them, text-based CAPTCHAs are the earliest form of CAPTCHAs, but they are easily recognized by machines automatically. Image-based CAPTCHAs increase the difficulty of recognition by displaying a series of distorted or obfuscated images, but with the development of machine learning technology, image recognition algorithms can gradually adapt to and recognize these CAPTCHAs. Although voice-based CAPTCHAs are more friendly to the visually impaired, they also face the risk of being cracked by automatic speech recognition technology.
[0003] In order to solve these problems, some new verification code technologies have begun to emerge, such as dynamic verification codes based on sliding puzzles, drag-and-drop puzzles, etc. These dynamic verification codes verify the identity of users through the interaction between users and pages, which increases the difficulty of automatic machine recognition. At the same time, some verification code systems based on artificial intelligence have also been developed. These systems determine whether the user is a machine behavior by analyzing the user's operation behavior, mouse movement trajectory, keyboard tapping frequency and other characteristics, and take corresponding security measures. Although the existing verification code technology has achieved certain results, there are still some challenges and problems. These new verification code technologies have not taken into account the improvement of user experience while improving security, and have low resistance to attacks based on artificial intelligence. Summary of the invention
[0004] The embodiments of the present invention provide a system verification code security protection method and device for solving the following technical problems: the current verification code technology cannot balance security and user experience, and has low resistance to attacks based on artificial intelligence.
[0005] The embodiment of the present invention adopts the following technical solution:
[0006] On the one hand, an embodiment of the present invention provides a security protection method for a system verification code, the method comprising: generating a dynamic verification code based on a random algorithm; adding interference elements to the dynamic verification code to obtain an advanced verification code; dynamically adjusting the difficulty of the advanced verification code according to system historical data and user behavior data to obtain a final system verification code; constructing an anti-automation detection module to detect and intercept malicious identification behavior of the system verification code; collecting feedback information on the system verification code, and adjusting the difficulty of the system verification code according to the feedback information.
[0007] In a feasible implementation, a dynamic verification code is generated based on a random algorithm, specifically including: obtaining user behavior data of the current system; using the user behavior data and the current operation time as random factors of the random algorithm to generate a dynamic verification code data group; wherein the verification code data group includes a plurality of the dynamic verification codes; each dynamic verification code has different attributes, and the attributes include at least characters, background, color and shape.
[0008] In a feasible implementation, interference elements are added to the dynamic verification code to obtain an advanced verification code, specifically including: randomly selecting one or more interference element types from all preset interference element types; wherein the interference element types include at least one or more of the following: noise, deformation, and flicker; generating random interference parameters, and randomly adjusting parameters of the selected one or more interference element types to obtain actual interference elements; wherein the random interference parameters include at least one or more of the following: random pixel values, random colors, and random shape distortion values; adding the actual interference elements to random positions in the dynamic verification code to obtain the advanced verification code.
[0009] In a feasible implementation, the difficulty of the advanced verification code is dynamically adjusted according to the system historical data and the user behavior data to obtain the final system verification code, which specifically includes: obtaining the system historical data and the user behavior data of the current system; analyzing the potential security threat characteristics in the system historical data and the user behavior data; based on the potential security threat characteristics, increasing the difficulty of the advanced verification code to obtain the final system verification code; wherein, methods of increasing the difficulty of the verification code include: using a more complex combination of verification code attributes, increasing the length of the verification code, adding interference lines or patterns, and introducing multiple modal information.
[0010] In a feasible implementation, an anti-automation detection module is constructed to detect and intercept malicious identification behavior of the system verification code, specifically including: constructing an anti-automation detection module based on large model technology; wherein the anti-automation detection module includes a user behavior analysis model and an abnormal behavior detection model; through the user behavior analysis model, collecting and analyzing the user's behavior pattern data, and judging whether the current user behavior is automatic identification behavior based on the behavior pattern data; wherein the behavior pattern data at least includes: access frequency, access time, click pattern and verification code usage; through the abnormal behavior detection model, identifying abnormal behavior indicator data in the behavior pattern data to obtain user abnormal behavior; wherein the abnormal behavior indicator data includes: number of login failures, login attempt frequency, abnormal device or abnormal geographical location login; through the abnormal behavior detection model, analyzing the IP address history record of accessing the current system, and judging whether the current access IP is a malicious attack IP based on the IP address history record.
[0011] In a feasible implementation, an anti-automation detection module is constructed based on the big model technology, specifically including: constructing a user behavior analysis model based on a machine learning algorithm; using the user behavior data of the current system as the first training data set to train the user behavior analysis model; constructing an abnormal behavior detection model based on the big model algorithm; using the system history data of the current system as the second training data set to train the abnormal behavior detection model; verifying the user behavior analysis model and the abnormal behavior detection model through a test data set, and optimizing the model parameters according to the verification results until the accuracy and recall rates reach the usage standards.
[0012] In a feasible implementation, feedback information on the system verification code is collected, and the difficulty of the system verification code is adjusted according to the feedback information, specifically including: collecting user feedback information on the system verification code, the feedback information including the number of successful and failed recognition times of the system verification code by the user; judging a difficulty adjustment method for the system verification code according to the feedback information; adjusting the difficulty or display form of the system verification code according to the difficulty adjustment method; wherein, methods for adjusting the difficulty of the system verification code include: changing the complexity of the combination of verification code attributes, changing the length of the verification code, changing interference lines or patterns, and introducing or reducing other modal information.
[0013] In a feasible implementation, after dynamically adjusting the difficulty of the advanced verification code according to system historical data and user behavior data to obtain the final system verification code, the method also includes: presetting a limit on the number of attempts for the system verification code; if the actual number of times the user attempts the system verification code exceeds the limit on attempts, triggering a security mechanism to temporarily lock the user's account; and unlocking the user's account after the user enters the SMS verification code or manually verifies.
[0014] In a feasible implementation manner, the method further includes: updating the generation strategy and interference elements of the system verification code based on a preset time interval.
[0015] On the other hand, an embodiment of the present invention also provides a security protection device for a system verification code, the device comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions that can be executed by the at least one processor so that the at least one processor can execute the security protection method for the system verification code.
[0016] Compared with the prior art, the security protection method and device of a system verification code provided by the embodiment of the present invention have the following beneficial effects:
[0017] The verification code protection method provided by the present invention can effectively reduce the automatic recognition rate of verification codes by large models and improve the security of websites and applications. The specific advantages are:
[0018] 1. High security: By dynamically adjusting the difficulty and display form of the verification code, it effectively prevents the automatic recognition of the verification code by the large model, thereby improving the security of the system.
[0019] 2. Good user experience: Through the user feedback mechanism, the difficulty and form of the verification code are adjusted in a timely manner, which reduces user usage troubles and improves user experience.
[0020] 3. Wide scope of application: The present invention is applicable to various systems that need to be protected, such as login systems, payment systems, etc., and has broad application prospects.
[0021] 4. Strong self-update capability: By regularly updating the verification code data and form, the possibility of malicious users identifying new verification codes by training old data is reduced, and the system's self-update capability is improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings described below are only some embodiments recorded in the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:
[0023] Figure 1 A flow chart of a security protection method for a system verification code provided by an embodiment of the present invention;
[0024] Figure 2 A schematic diagram of the structure of a security protection device for a system verification code provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0025] In order to enable those skilled in the art to better understand the technical solutions in the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0026] The embodiment of the present invention provides a method for protecting the security of a system verification code. Figure 1 As shown, the security protection method of the system verification code specifically includes steps S101-S105:
[0027] S101. Generate a dynamic verification code based on a random algorithm.
[0028] Specifically, firstly, the user behavior data of the current system is obtained; then the user behavior data and the current operation time are used as random factors of the random algorithm to generate a dynamic verification code data group. The verification code data group contains several dynamic verification codes; each dynamic verification code has different attributes, which at least include characters, background, color and shape.
[0029] As a feasible implementation method, a random algorithm is used to generate a dynamic verification code data set, and each dynamic verification code in the verification code data set has different attributes such as characters, backgrounds, colors and shapes. In the present invention, the generation of verification codes is no longer fixed, but dynamically generated according to random factors such as user behavior and time. Each dynamic verification code generated is unique and unpredictable, making it impossible for a large model to recognize it by training a large number of samples.
[0030] S102: adding interference elements to the dynamic verification code to obtain an advanced verification code.
[0031] Specifically, one or more interference element types are randomly selected from all preset interference element types; wherein the interference element types include at least one or more of the following: noise, deformation, and flicker.
[0032] Furthermore, random interference parameters are generated, and parameters of one or more selected interference element types are randomly adjusted to obtain actual interference elements; wherein the random interference parameters include at least one or more of the following: random pixel values, random colors, and random shape distortion values.
[0033] Finally, the actual interference elements are added to random positions in the dynamic verification code to obtain the advanced verification code.
[0034] As a feasible implementation method, noise, deformation, flicker and other interference elements are added to the generated dynamic verification code to increase the complexity and uncertainty of the verification code, making it difficult for the large model to accurately recognize it. The added noise and deformation can be adjusted using various interference parameters such as different random pixel values, different color changes, and different shape distortions, thereby forming a variety of interference effects.
[0035] S103: dynamically adjust the difficulty of the advanced verification code according to the system historical data and the user behavior data to obtain the final system verification code.
[0036] Specifically, the system history data and user behavior data of the current system are obtained. The potential security threat features in the system history data and user behavior data are analyzed. Then, based on the potential security threat features, the difficulty of the advanced verification code is increased to obtain the final system verification code. Among them, the ways to increase the difficulty of the verification code include: using a more complex combination of verification code attributes, increasing the length of the verification code, adding interference lines or patterns, and introducing multiple modal information.
[0037] As a feasible implementation method, historical data and user behavior are analyzed. If the user's behavior indicates a potential security threat, the system can automatically adjust the difficulty of the verification code, such as using more complex verification code patterns and character combinations, increasing the length of the verification code, adding interference lines or patterns, and even introducing multiple modal information such as audio, video, dynamic graphics, etc., to increase the learning and recognition difficulty of the large model.
[0038] Furthermore, a system verification code attempt limit is preset. If the actual number of times a user attempts a system verification code exceeds the attempt limit, a security mechanism is triggered to temporarily lock the user's account; after the user enters a text message verification code or manually verifies, the user's account is unlocked.
[0039] As a feasible implementation method, in order to ensure the security of the system verification code, the system can set a limit on the number of attempts for the system verification code. Once the limit is exceeded, the security mechanism is triggered to temporarily lock the account to prevent brute force cracking. Subsequently, the user is required to enter the SMS verification code or perform manual verification to unlock the account.
[0040] S104: Build an anti-automation detection module to detect and intercept malicious identification behaviors of the system verification code.
[0041] Specifically, based on the large model technology, an anti-automation detection module is constructed; wherein the anti-automation detection module includes a user behavior analysis model and an abnormal behavior detection model.
[0042] Furthermore, through the user behavior analysis model, the user's behavior pattern data is collected and analyzed, and based on the behavior pattern data, it is determined whether the current user behavior is an automatic identification behavior; wherein the behavior pattern data includes at least: access frequency, access time, click pattern, and verification code usage.
[0043] As a feasible implementation method, it is possible to determine whether it is automated behavior by collecting and analyzing user behavior pattern data, including access frequency, access time, click pattern, verification code usage, etc. For example, if a user visits the same page or performs the same operation multiple times in a very short period of time, it may be considered automated behavior.
[0044] Furthermore, the abnormal behavior indicator data in the behavior pattern data is identified through the abnormal behavior detection model to obtain the user's abnormal behavior; wherein the abnormal behavior indicator data includes: the number of failed logins, the frequency of attempted logins, and logins from abnormal devices or abnormal geographic locations.
[0045] Furthermore, the abnormal behavior detection model is used to analyze the history records of IP addresses accessing the current system, and based on the history records of IP addresses, it is determined whether the current access IP is a malicious attack IP.
[0046] As a feasible implementation method, the history of the IP address is analyzed to determine whether it is a malicious IP. For example, if an IP address has been automatically accessed or attacked many times in the past, it can be blacklisted and prohibited from access.
[0047] As a feasible implementation method, an anti-automation detection module is constructed based on the big model technology, which specifically includes: constructing a user behavior analysis model based on the machine learning algorithm; using the user behavior data of the current system as the first training data set to train the user behavior analysis model. Constructing an abnormal behavior detection model based on the big model algorithm; using the system history data of the current system as the second training data set to train the abnormal behavior detection model. Finally, the user behavior analysis model and the abnormal behavior detection model are verified through the test data set, and the model parameters are optimized according to the verification results until the accuracy and recall rate meet the usage standards.
[0048] In one embodiment, a machine learning algorithm is used to analyze and classify user behaviors, and automated behaviors are identified through training data sets. Support vector machines (SVM), decision trees, random forests and other algorithms are selected to build anomaly detection models, and historical data is used to train the models. Algorithm parameters and thresholds are adjusted according to actual conditions, and the models are verified with test data sets to evaluate the accuracy and recall of the models, and adjustments and optimizations are made according to the evaluation results.
[0049] S105: Collect feedback information on the system verification code, and adjust the difficulty of the system verification code according to the feedback information.
[0050] Specifically, collect user feedback information on the system verification code, and the feedback information includes the number of successful and failed recognitions of the system verification code by the user. Further, determine the difficulty adjustment method of the system verification code based on the feedback information. Adjust the difficulty or display form of the system verification code based on the difficulty adjustment method. Among them, the method of adjusting the difficulty of the system verification code includes: changing the complexity of the combination of verification code attributes, changing the length of the verification code, changing the interference line or pattern, and introducing or reducing other modal information.
[0051] As a feasible implementation method, user feedback on the verification code is collected, and the difficulty and form of the verification code are adjusted according to the feedback. If a user fails to recognize a verification code multiple times, the system can automatically reduce the difficulty of the verification code or change the form of display.
[0052] Furthermore, in order to further protect the security of the verification code, the system regularly updates the generation strategy and interference elements of the system verification code based on the preset time interval, making it difficult for the large model to adapt to the new verification code mode. In addition, on the basis of verification code verification, other security verification methods are introduced, such as fingerprint verification, facial recognition, etc., to improve the security of the system.
[0053] In summary, the basic architecture of the present invention includes a verification code generation module, an interference adding module, a dynamic adjustment module, an anti-automation detection module, a user feedback module and a regular update module. When implementing the present invention, a dynamic verification code is first generated according to a preset strategy. Then, interference elements such as noise, distortion, flickering, etc. are added to the verification code. Next, the difficulty level of the verification code is dynamically adjusted and the number of attempts is limited based on historical data and user behavior. In addition, large model technology is used to detect and intercept the automatic identification behavior of malicious users, and by analyzing the user's operating behavior, it is determined whether the security mechanism is triggered. At the same time, user feedback on the verification code is collected, and the verification code strategy, interference elements and display form are regularly changed as needed. Finally, multi-factor verification is introduced to further improve security.
[0054] In addition, the embodiment of the present invention also provides a system verification code security protection device, such as Figure 2 As shown, the security protection device 200 of the system verification code specifically includes:
[0055] At least one processor 201; and a memory 202 in communication with the at least one processor 201; wherein the memory 202 stores instructions executable by the at least one processor 201, so that the at least one processor 201 can execute:
[0056] Generate dynamic verification code based on random algorithm;
[0057] Adding interference elements to the dynamic verification code to obtain an advanced verification code;
[0058] According to the system historical data and user behavior data, the difficulty of the advanced verification code is dynamically adjusted to obtain the final system verification code;
[0059] Constructing an anti-automation detection module to detect and intercept malicious identification behaviors of the system verification code;
[0060] Collect feedback information on the system verification code, and adjust the difficulty of the system verification code according to the feedback information.
[0061] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
[0062] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing this specification, the functions of each unit can be implemented in the same or multiple software and / or hardware.
[0063] Those skilled in the art will appreciate that the embodiments of this specification may be provided as methods, systems, or computer program products. Therefore, the embodiments of this specification may be in the form of complete hardware embodiments, complete software embodiments, or embodiments in combination with software and hardware. Moreover, the embodiments of this specification may be in the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0064] This specification is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of this specification. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0065] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0066] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0067] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0068] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0069] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0070] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0071] This specification may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. This specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.
[0072] Each embodiment of the present invention is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device, equipment, and non-volatile computer storage medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.
[0073] The above describes specific embodiments of the present invention. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or sequential order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0074] The above description is only an embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the embodiments of the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the embodiments of the present invention should be included in the protection scope of the present invention.
Claims
1. A security protection method for system verification code, It is characterized in that The method comprises: Generate dynamic verification code based on random algorithm; Adding interference elements to the dynamic verification code to obtain an advanced verification code; According to the system historical data and user behavior data, the difficulty of the advanced verification code is dynamically adjusted to obtain the final system verification code; Constructing an anti-automation detection module to detect and intercept malicious identification behaviors of the system verification code; Collect feedback information on the system verification code, and adjust the difficulty of the system verification code according to the feedback information.
2. A method for protecting the security of a system verification code according to claim 1, It is characterized in that Generate dynamic verification code based on random algorithm, including: Get the user behavior data of the current system; Using the user behavior data and current operation time as random factors of a random algorithm to generate a dynamic verification code data group; The verification code data group includes a plurality of dynamic verification codes; each dynamic verification code has different attributes, and the attributes at least include characters, background, color and shape.
3. A method for protecting the security of a system verification code according to claim 1, It is characterized in that Adding interference elements to the dynamic verification code to obtain an advanced verification code specifically includes: Randomly select one or more interference element types from all preset interference element types; wherein the interference element types include at least one or more of the following: noise, deformation, flicker; Generate random interference parameters, randomly adjust parameters of one or more selected interference element types, and obtain actual interference elements; wherein the random interference parameters include at least one or more of the following: random pixel values, random colors, and random shape distortion values; The actual interference element is added to a random position in the dynamic verification code to obtain the advanced verification code.
4. A method for protecting the security of a system verification code according to claim 1, It is characterized in that According to the system historical data and user behavior data, the difficulty of the advanced verification code is dynamically adjusted to obtain the final system verification code, which specifically includes: Obtain system history data and user behavior data of the current system; Analyzing potential security threat characteristics in the system historical data and the user behavior data; Based on the potential security threat characteristics, increase the difficulty of the advanced verification code to obtain a final system verification code; Among them, the ways to increase the difficulty of the verification code include: using a more complex combination of verification code attributes, increasing the length of the verification code, adding interference lines or patterns, and introducing multiple modal information.
5. A method for protecting the security of a system verification code according to claim 1, It is characterized in that Construct an anti-automation detection module to detect and intercept malicious identification behaviors of the system verification code, including: Based on the large model technology, an anti-automation detection module is constructed; wherein the anti-automation detection module includes a user behavior analysis model and an abnormal behavior detection model; Through the user behavior analysis model, the user's behavior pattern data is collected and analyzed, and according to the behavior pattern data, whether the current user behavior is an automatic identification behavior is determined; wherein the behavior pattern data at least includes: access frequency, access time, click pattern and verification code usage; By using the abnormal behavior detection model, the abnormal behavior indicator data in the behavior pattern data is identified to obtain the abnormal behavior of the user; wherein the abnormal behavior indicator data includes: the number of failed logins, the frequency of attempted logins, and logins from abnormal devices or abnormal geographical locations; The abnormal behavior detection model is used to analyze the historical records of IP addresses accessing the current system, and based on the historical records of IP addresses, it is determined whether the current access IP is a malicious attack IP.
6. A method for protecting the security of a system verification code according to claim 5, It is characterized in that Based on the big model technology, an anti-automation detection module is constructed, including: Build a user behavior analysis model based on machine learning algorithms; Using the user behavior data of the current system as a first training data set to train the user behavior analysis model; Build an abnormal behavior detection model based on the large model algorithm; Using the system history data of the current system as a second training data set to train the abnormal behavior detection model; The user behavior analysis model and the abnormal behavior detection model are verified through a test data set, and the model parameters are optimized according to the verification results until the accuracy and recall rate reach the usage standard.
7. A method for protecting the security of a system verification code according to claim 1, It is characterized in that Collecting feedback information on the system verification code and adjusting the difficulty of the system verification code according to the feedback information, specifically including: Collecting user feedback information on the system verification code, wherein the feedback information includes the number of successful and failed recognitions of the system verification code by the user; Determining a difficulty adjustment method of the system verification code according to the feedback information; According to the difficulty adjustment method, adjust the difficulty or display form of the system verification code; Among them, the ways to adjust the difficulty of the system verification code include: changing the complexity of the verification code attribute combination, changing the length of the verification code, changing the interference line or pattern, and introducing or reducing other modal information.
8. A method for protecting the security of a system verification code according to claim 1, It is characterized in that After dynamically adjusting the difficulty of the advanced verification code according to the system historical data and the user behavior data to obtain the final system verification code, the method further includes: Set a limit on the number of attempts to enter the system verification code; If the actual number of times the user attempts the system verification code exceeds the limit on attempts, a security mechanism is triggered to temporarily lock the user's account; After the user enters the SMS verification code or manual verification, the user's account is unlocked.
9. A method for protecting the security of a system verification code according to claim 1, It is characterized in that The method further comprises: Based on the preset time interval, the generation strategy and interference elements of the system verification code are updated.
10. A security protection device for system verification code, It is characterized in that The device comprises: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, so that the at least one processor can execute the security protection method of a system verification code according to any one of claims 1-9.
Citation Information
Cited By
Intelligent verification code generation and anti-refreshing method and system and computer equipment
CN119397477A
Intelligent verification code generation and anti-swiping method, system and computer equipment
CN119397477B
Cloud data security management method and device
CN120372647A
Click verification code identification and verification method and system based on time identification
CN120729564A
Intelligent short message identity verification system
CN120979725A
