Cracking method based on wireless network secret key and password of outdoor square of family company

By dividing wireless network passwords into labels and using the LSTM model to generate high-probability passwords, the problem of difficult to find and guess wireless network key passwords is solved, fast and accurate password cracking is achieved, and the wireless network usage experience is improved.

CN118660290AInactive Publication Date: 2024-09-17闵方辰
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410952397.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-16
Publication Date
2024-09-17
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The wireless network key password for the outdoor plaza of the home company is usually simple and difficult to find, resulting in low guessing efficiency and affecting the user experience.

Method used

By dividing passwords into labels and using the LSTM model to generate high-probability passwords, combined with adversarial training of the discriminator, passwords are gradually generated and optimized to ensure that each generated password has the highest probability and reduces the occurrence of repeated passwords.

Benefits of technology

It improves the accuracy and speed of password guessing, improves the hit rate of wireless network cracking, and ensures that the generated password has universal characteristics rather than unique characteristics. It is suitable for wireless networks in outdoor squares of homes and companies.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118660290A
    Figure CN118660290A
Patent Text Reader

Abstract

The invention belongs to the technical field of information, and particularly discloses a cracking method based on a wireless network key password of an outdoor square of a family company, and the method comprises the following specific steps: S1, obtaining a password data set: taking an Internet leaked password set as the password data set, and taking to-be-cracked wireless network name data as an auxiliary data set; s2, data preprocessing, wherein passwords in the password data set are coded into several labels, and each label is composed of a character and a number; s3, analyzing and processing: generating a high-probability password according to the obtained label information; s4, generating a password guessing set: descending the generated high-probability passwords according to the probability to obtain the password guessing set; s5, cracking the password: cracking the wireless network password by using the obtained password guessing set; according to the method, the password is divided into different labels, the maximum probability password can be quickly generated, and the hit rate of a single data set is greatly improved by improving the password training from character as unit to word as unit.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of information technology, and in particular relates to a method for cracking a key password of a wireless network based on an outdoor square of a home or company. Background Art

[0002] A square refers to a large area of ​​space in a city, usually used for political, economic, cultural and other social activities or transportation activities. The design and function of a square can be varied, including public activity squares, distribution squares, transportation squares, memorial squares and commercial squares. There is usually a square outdoors in a home or company. It is a very important space for leisure, entertainment, gatherings or relaxation after work and life.

[0003] There is usually a public wireless network in the square for people in the square to connect to and use.

[0004] However, although the wireless network in the square is a public network and the key password is relatively simple and regular, the password is usually displayed in a designated location, which makes it difficult to find when people do not know the location. Directly guessing the password is inefficient and not conducive to human use. Summary of the invention

[0005] The purpose of the present invention is to provide a method for cracking a key password of a wireless network based on an outdoor square of a home company, so as to solve the problems raised in the above-mentioned background technology.

[0006] To achieve the above object, the present invention provides the following technical solutions:

[0007] The method of cracking the key password of the wireless network in the outdoor square of the home company is as follows:

[0008] S1. Obtain password data set: use the Internet leaked password set as the password data set, and use the wireless network name data to be cracked as the auxiliary data set;

[0009] S2, data preprocessing: Encode the passwords in the password dataset into several labels, each label consists of a character and a number;

[0010] S3, analysis and processing: generating a high-probability password based on the obtained tag information;

[0011] S4, generate a password guess set: sort the generated high-probability passwords in descending order of probability to obtain a password guess set;

[0012] S5. Cracking the password: using the obtained password guess set to crack the wireless network password.

[0013] Preferably, the auxiliary data set in step S1 includes the initials and phonetic letters of the wireless network name.

[0014] Preferably, the characters of the label in step S2 represent categories, such as letters, numbers and special characters, and the numbers of the label represent the length of the characters of the corresponding category in the password.

[0015] Preferably, the steps of analysis and processing in step S3 are as follows:

[0016] S3.1. Statistical analysis: The results of data preprocessing are sent to the LSTM model for training to generate a label sequence;

[0017] S3.2, training model: input the label sequence of the real password and the label sequence generated by the LSTM model into the discriminator for training, calculate the loss of the LSTM model by distinguishing the true label sequence from the false label sequence, and finally update the generation parameters of the LSTM model;

[0018] S3.3, repeated training: alternately train the LSTM model and the discriminator until the generated label sequence is realistic enough;

[0019] S3.4, weight selection: count the number of times each label in the label combination matches the string in the password data set, and select the string with the largest number of occurrences;

[0020] S3.5, generate password: replace the label with the selected string to generate the password with the highest probability;

[0021] S3.6, Alternative password generation: Exclude the used character strings from the data set, re-count and generate the highest probability password again.

[0022] Preferably, the tag sequence expression in step S3.1 is as follows:

[0023] T=(t1, l1), (t2, l2),..., (t k , l k )

[0024] Where T represents the password, t represents a single tag in the tag sequence, l represents the character length of the corresponding tag, and k represents the position of the corresponding tag in the password.

[0025] Preferably, after obtaining the high-probability password in step S3, the character string in the auxiliary data set is used to replace the corresponding character string in the obtained password to generate a priority password.

[0026] Preferably, the LSTM model loss function calculation formula in step S3.2 is as follows:

[0027]

[0028] In the formula, G(z) is the sample generated by the LSTM model, D(G(z)) is the judgment probability of the discriminator on the generated sample, and L G is the loss of the LSTM model, and the parameters of the LSTM model are updated to minimize it.

[0029] Preferably, the discriminator loss function calculation formula in step S3.2 is as follows:

[0030]

[0031] Where x is the real sample, D(x) is the probability of the discriminator judging the real sample, and L D is the loss of the discriminator, and the parameters of the discriminator are updated to minimize it.

[0032] Compared with the prior art, the present invention has the following beneficial effects:

[0033] (1) The present invention can improve the accuracy of guessing by dividing passwords into different labels, quickly generate the password with the highest probability, and remove the character string used by the password with the highest probability after it is generated, and then continue to generate the password with the highest probability, so as to ensure that the password generated each time has the highest probability. At the same time, it can avoid generating a large number of repeated passwords. By improving the password training from character units to word units, the hit rate of a single data set can be greatly improved.

[0034] (2) The present invention generates a label sequence by adopting an LSTM model. LSTM can effectively process and memorize long-term dependencies in time series data, which makes it very useful in generating text data with strong continuity. Combining the adversarial training of the LSTM model and the discriminator, it can learn complex data distributions and generate high-quality samples, so that LSTM can better capture the time-dependent characteristics of the data and improve the authenticity of the generated label sequence, thereby ensuring that the generated password has universal features rather than unique features. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 It is a block diagram of the specific steps of the present invention;

[0036] Figure 2 It is a flowchart of the analysis and processing steps of the present invention. DETAILED DESCRIPTION

[0037] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions 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 the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0038] As attached Figure 1 To Attachment Figure 2 As shown:

[0039] Embodiment 1: The present invention provides a method for cracking a key password of a wireless network based on a home company outdoor square, and the specific steps are as follows:

[0040] S1. Obtain password data set: use the Internet leaked password set as the password data set, and use the wireless network name data to be cracked as the auxiliary data set;

[0041] S2, data preprocessing: Encode the passwords in the password dataset into several labels, each label consists of a character and a number;

[0042] S3, analysis and processing: generating a high-probability password based on the obtained tag information;

[0043] S4, generate a password guess set: sort the generated high-probability passwords in descending order of probability to obtain a password guess set;

[0044] S5. Cracking the password: using the obtained password guess set to crack the wireless network password.

[0045] Specifically, the auxiliary data set in step S1 includes the initials and phonetic letters of the wireless network name.

[0046] Specifically, the characters of the label in step S2 represent categories, such as letters, numbers and special characters, and the numbers of the label represent the length of the characters of the corresponding category in the password.

[0047] Specifically, the analysis and processing steps in step S3 are as follows:

[0048] S3.1. Statistical analysis: The results of data preprocessing are sent to the LSTM model for training to generate a label sequence;

[0049] S3.2, training model: input the label sequence of the real password and the label sequence generated by the LSTM model into the discriminator for training, calculate the loss of the LSTM model by distinguishing the true label sequence from the false label sequence, and finally update the generation parameters of the LSTM model;

[0050] S3.3, repeated training: alternately train the LSTM model and the discriminator until the generated label sequence is realistic enough;

[0051] S3.4, weight selection: count the number of times each label in the label combination matches the string in the password data set, and select the string with the largest number of occurrences;

[0052] S3.5, generate password: replace the label with the selected string to generate the password with the highest probability;

[0053] S3.6, Alternative password generation: Exclude the used character strings from the data set, re-count and generate the highest probability password again.

[0054] Specifically, the label sequence expression in step S3.1 is as follows:

[0055] T=(t1, l1), (t2, l2),..., (t k , l k )

[0056] Where T represents the password, t represents a single tag in the tag sequence, l represents the character length of the corresponding tag, and k represents the position of the corresponding tag in the password.

[0057] Specifically, after obtaining a high-probability password in step S3, the character string in the auxiliary data set is used to replace the corresponding character string in the obtained password to generate a priority password.

[0058] From the above, we can see that by dividing passwords into different labels, the accuracy of guessing can be improved, the maximum probability password can be generated quickly, and the character string used by the maximum probability password can be removed after it is generated, and then the maximum probability password can be generated again to ensure that each generated password has the highest probability. At the same time, it can avoid generating a large number of repeated passwords. The high-probability numbers and special characters can be known, combined with the letter sequence replaced by the name of the wireless network, to further improve the accuracy of guessing passwords and improve the speed of network cracking. Since the wireless network passwords in the outdoor square of the home are highly homogeneous, by upgrading the password training from characters to words, high-probability passwords in the password data set are generated, thereby greatly improving the hit rate of a single data set.

[0059] Embodiment 2: This embodiment is basically the same as the previous embodiment, except that the LSTM model loss function calculation formula in step S3.2 is as follows:

[0060]

[0061] In the formula, G(z) is the sample generated by the LSTM model, D(G(z)) is the judgment probability of the discriminator on the generated sample, and L G is the loss of the LSTM model, and the parameters of the LSTM model are updated to minimize it.

[0062] Specifically, the discriminator loss function in step S3.2 is calculated as follows:

[0063]

[0064] Where x is the real sample, D(x) is the probability of the discriminator judging the real sample, and L Dis the loss of the discriminator, and the parameters of the discriminator are updated to minimize it.

[0065] From the above, we can see that by using the LSTM model to generate label sequences, LSTM can effectively process and memorize long-term dependencies in time series data, which makes it very useful when generating text data with strong continuity. Combining the adversarial training of the LSTM model and the discriminator, it can learn complex data distributions and generate high-quality samples, so that LSTM can better capture the time-dependent characteristics of the data and improve the accuracy of its generated label sequences, thereby ensuring that the generated passwords have universal features rather than unique features.

[0066] The standard parts used in the present invention can all be purchased from the market, and the special-shaped parts can be customized according to the description and the drawings. The specific connection methods of each part adopt conventional means such as mature bolts, rivets, welding, etc. in the prior art. The machinery, parts and equipment all adopt conventional models in the prior art, and the circuit connection adopts the conventional connection method in the prior art, which will not be described in detail here. The contents not described in detail in this specification belong to the prior art known to professional and technical personnel in this field.

[0067] In the description of the present invention, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. "Multiple" means two or more, unless otherwise clearly and specifically defined.

[0068] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0069] In the present invention, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature may mean that the first and second features are in direct contact, or the first and second features are in indirect contact through an intermediate medium. Moreover, a first feature being "above", "above" or "above" a second feature may mean that the first feature is directly above or obliquely above the second feature, or simply means that the first feature is higher in level than the second feature. A first feature being "below", "below" or "below" a second feature may mean that the first feature is directly below or obliquely below the second feature, or simply means that the first feature is lower in level than the second feature.

[0070] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example" or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic expressions of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in a suitable manner in any one or more embodiments or examples. In addition, those skilled in the art may combine and combine different embodiments or examples and features of different embodiments or examples described in this specification without contradiction.

[0071] In the drawings of the embodiments disclosed in the present invention, only the structures involved in the embodiments disclosed in the present invention are involved, and other structures can refer to the general design. In the absence of conflict, the same embodiment and different embodiments of the present invention can be combined with each other.

[0072] Although the present invention has been described in detail with reference to the aforementioned embodiments, it is still possible for those skilled in the art to modify the technical solutions described in the aforementioned embodiments, or to make equivalent substitutions for some of the technical features therein. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for cracking the key password of a wireless network in a home or company outdoor square, characterized in that: The specific steps are as follows: S1. Obtain password data set: use the Internet leaked password set as the password data set, and use the wireless network name data to be cracked as the auxiliary data set; S2, data preprocessing: Encode the passwords in the password dataset into several labels, each label consists of a character and a number; S3, analysis and processing: generating a high-probability password based on the obtained tag information; S4, generate a password guess set: sort the generated high-probability passwords in descending order of probability to obtain a password guess set; S5. Cracking the password: using the obtained password guess set to crack the wireless network password.

2. The method for cracking the key password of the wireless network based on the outdoor square of the home company according to claim 1 is characterized by: The auxiliary data set in step S1 includes the initials and phonetic letters of the wireless network name.

3. The method for cracking the key password of the wireless network based on the outdoor square of the home company according to claim 2 is characterized by: The characters of the label in step S2 represent categories, such as letters, numbers and special characters, and the numbers of the label represent the length of the characters of the corresponding category in the password.

4. The method for cracking the key password of the wireless network based on the outdoor square of the home company according to claim 3 is characterized by: The steps of analysis and processing in step S3 are as follows: S3.

1. Statistical analysis: The results of data preprocessing are sent to the LSTM model for training to generate a label sequence; S3.2, training model: input the label sequence of the real password and the label sequence generated by the LSTM model into the discriminator for training, calculate the loss of the LSTM model by distinguishing the true label sequence from the false label sequence, and finally update the generation parameters of the LSTM model; S3.3, repeated training: alternately train the LSTM model and the discriminator until the generated label sequence is realistic enough; S3.4, weight selection: count the number of times each label in the label combination matches the string in the password data set, and select the string with the largest number of occurrences; S3.5, generate password: replace the label with the selected string to generate the password with the highest probability; S3.6, Alternative password generation: Exclude the used character strings from the data set, re-count and generate the highest probability password again.

5. The method for cracking the key password of the wireless network based on the outdoor square of the home company according to claim 4 is characterized in that: The tag sequence expression in step S3.1 is as follows: T=(t1,l1),(t2,l2),...,(t k ,l k Where T represents the password, t represents a single tag in the tag sequence, l represents the character length of the corresponding tag, and k represents the position of the corresponding tag in the password.

6. The method for cracking the key password of the wireless network based on the outdoor square of the home company according to claim 5 is characterized in that: After obtaining the high-probability password in step S3, the character string in the auxiliary data set is used to replace the corresponding character string in the obtained password to generate a priority password.

7. The method for cracking the key password of the wireless network based on the outdoor square of the home company according to claim 6 is characterized by: The calculation formula of the LSTM model loss function in step S3.2 is as follows: In the formula, G(z) is the sample generated by the LSTM model, D(G(z)) is the judgment probability of the discriminator on the generated sample, and L G is the loss of the LSTM model, and the parameters of the LSTM model are updated to minimize it.

8. The method for cracking the key password of the wireless network based on the outdoor square of the home company according to claim 7 is characterized by: The discriminator loss function calculation formula in step S3.2 is as follows: Where x is the real sample, D(x) is the probability of the discriminator judging the real sample, and L D is the loss of the discriminator, and the parameters of the discriminator are updated to minimize it.

Citation Information

Cited By

  • Cryptographic analysis and interpretation method and system

    CN120017266A

  • A method and system for cryptanalysis and decryption

    CN120017266B