A method and system for automatically generating email account honeypots for email security protection
Through the email account honey points generated based on the Markov model, attackers are induced to send emails and analyzed, and a blacklist is established, which solves the problems of low efficiency, high resource usage and high false alarm rate of existing anti-phishing email technology, and achieves a better High email security and interception accuracy.
Patent Information
- Application Number
- CN202410628757.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-21
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2044-05-21
AI Technical Summary
Existing anti-phishing email technologies have problems such as low efficiency, high resource usage, high false positive rate, and detection being bypassed by attackers, and cannot effectively protect email security.
An email security protection method that automatically generates email account honey points based on the Markov model is used to induce attackers to send emails by generating honey point accounts that are highly similar to the original accounts, and by analyzing and intercepting malicious emails, a blacklist is established to Improve interception accuracy.
It improves the accuracy of blocking malicious emails, enhances users' email security, reduces the risk of data leakage, and reverses the attacker's advantageous position.
Smart Images

Figure CN118250087B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of network security, and in particular relates to an email security protection method and system for automatically generating email account honey points. Background Art
[0002] Email is a basic Internet communication tool. It refers to a method of information exchange in which a sender sends digital information to one or more people. Generally, letters are written, sent and received through the Internet or other computer networks. The purpose is to achieve information exchange between the sender and the recipient. Its development history is even longer than the Web. Email can not only be used to send and receive information, but also has many extended uses, such as schedule planning, file transfer, account login, etc. It can also provide a large amount of data for newsletters and marketing activities, such as using tools to collect relevant information about emails, such as the number of receipts, rejections, opens, unsubscriptions, link clicks, and specific link click information.
[0003] Emails are not perfect either, and security attacks against emails continue to emerge, such as spam and phishing emails.
[0004] Existing anti-phishing email technologies mainly include four types: address-based filters, email content-based filters, email network behavior-based filters, and sandbox-based email attachment detection.
[0005] Email address-based filters mainly determine whether received emails are phishing emails by checking the sender's email address, IP address or domain name. Researchers have developed phishing email filters based on knowledge engineering methods, including custom rules, keywords and IP blacklists. However, email address-based filters require constant updating of filters, so this method is inefficient, time-consuming and labor-intensive. In addition, since botnets control many normal users' computers and continue to infect new computers, the interception accuracy of IP blacklists is gradually decreasing.
[0006] The email content-based phishing email filtering method treats phishing email detection as a text classification problem for machine learning. The text classification process includes three different stages. First, researchers need to collect a dataset containing phishing email content and normal email content and preprocess the dataset. Data preprocessing constructs a multidimensional vector to represent the email content through a series of actions such as tokenization, stop word removal, stemming, and lemmatization. Secondly, researchers extract features from the email information and select the most discriminative features to maximize the classification performance. Finally, researchers construct a classifier to distinguish between normal emails and phishing emails. For emails containing images, OCR recognition function is used to read the text in the image. However, email content-based filters need to scan the entire email content, which is time-consuming and takes up more system resources when there are many emails.
[0007] A filter based on email network behavior is a filter that does not rely on email content. For example, it determines whether the sender address is normal based on the sender's network spatiotemporal behavior (such as the sender-receiver geodesic distance, the sender's neighbors and the number of receivers). However, the detection rules of filters based on email network behavior do not have universal rules, because the network spatiotemporal behavior of emails in daily use is uncertain, so the false alarm rate is high.
[0008] Email attachments may contain malware that traditional antivirus programs cannot detect. To identify such threats, email service providers can scan or run attachments in a virtual environment called a security sandbox. Once the system identifies an attachment as a threat, the email containing the attachment is sent to the recipient's "spam" folder. However, sandbox-based email attachment detection can be bypassed by attackers using separation and anti-killing, whitelisting, executable file injection, shortcut keys, CHM documents, self-extracting documents, etc., thus failing to achieve the purpose of protection.
[0009] In summary, the existing anti-phishing email technologies still have their own drawbacks and cannot effectively protect the security of emails; data leakage incidents have not decreased as expected, but have become more and more rampant. Summary of the invention
[0010] The technical problem to be solved by the present invention is to provide an email security protection method and system for automatically generating email account honey spots in response to the deficiencies in the above-mentioned prior art, which improves the accuracy of intercepting malicious emails and enhances the email security of users.
[0011] In order to solve the above technical problems, the technical solution adopted by the present invention is: an email security protection method for automatically generating email account honey points, the method comprising the following steps:
[0012] Step S1, input the email account to be protected or the personal identity information of the owner of the email account to be protected, and input the number N of email honey spot accounts to be generated;
[0013] Step S2: Based on the original account input in step S1, an approximate account name generation method based on a Markov model is used to generate N mailbox honey spot accounts and passwords with high similarity to the original account character string, and the generated account information is displayed to the user, and the user selects the mailbox honey spot account to be added according to his own needs;
[0014] Step S3: the mailbox honey spot management server creates a mailbox honey spot account according to the situation;
[0015] Step S4: the mailbox honey spot management server monitors the mailbox honey spot account and induces the attacker to send an email to the mailbox honey spot account. When the mailbox honey spot account receives a new email, the mailbox honey spot management server pulls the email and downloads the content and attachments to the local computer for analysis.
[0016] Step S5: The mailbox honeyspot management server sends the analyzed content in the form of a summary to the business system security center as a threat sample;
[0017] Step S6: After receiving the threat sample, the business system security center intercepts and defends against spam or phishing emails based on the threat sample.
[0018] In the above-mentioned email security protection method for automatically generating email account honey spots, in step S2, based on the original account input in step S1, an approximate account name generation method based on a Markov model is used to generate N email honey spot accounts and passwords with high similarity to the original account character string. The specific process is as follows:
[0019] Step S201, collecting training data and building a training corpus;
[0020] Step S202: Generate a lookup table based on the training corpus to record the occurrence frequency of each character in the training corpus;
[0021] Step S203, converting the frequency into probability according to the lookup table and the occurrence frequency of each character;
[0022] Step S204: construct a Markov model, and use a training corpus to train the Markov model to obtain a trained Markov model for generating approximate account names, wherein the output of the Markov model is the approximate account name;
[0023] Step S205: Create a sampling function that receives the original account name string and extracts all substrings from the original account name according to a preset substring length;
[0024] Step S206: extract all substrings from the original account name and input them into the trained Markov model respectively. The Markov model outputs approximate account names. When the number of output approximate account names reaches a preset number N, the input stops, and a candidate approximate account name set is generated.
[0025] Step S207: perform string similarity comparison between the approximate account names in the candidate approximate account name set and the original account name. When the similarities of the N mailbox honey spot accounts all meet the requirements, execute step S208; otherwise, return to execute step 205 until N mailbox honey spot accounts are generated;
[0026] Step S208: Set passwords for the N email honeypot accounts respectively.
[0027] The email security protection method for automatically generating email account honey spots described above, the length of the approximate account name output by the Markov model in step S204 The length of the original account The relationship is .
[0028] In the above-mentioned email security protection method for automatically generating email account honey spots, the method for comparing the string similarity between the email honey spot account and the original account in step S207 is:
[0029] Step S2071, calculating the edit distance similarity between the original account name string and the approximate account name string;
[0030] Step S2072: Compare the calculated edit distance similarity with a preset edit distance similarity threshold. When the calculated edit distance similarity is greater than the preset edit distance threshold, it is determined that the similarity does not meet the requirement.
[0031] In the above-mentioned email security protection method for automatically generating email account honey spots, the calculation formula used for calculating the edit distance similarity between the original account name string and the approximate account name string in step S2071 is: ,in, Represents the original account name string, Represents an approximate account name string, Represents the original account name string A string similar to the account name The edit distance between The original account name string The length of the string, Approximate account name string The length of the string, Represents the original account name string A string similar to the account name The edit distance similarity between them.
[0032] In the above-mentioned email security protection method for automatically generating email account honey spots, when setting passwords for N email honey spot accounts respectively in step S208, the generation of N passwords adopts a weak password: medium-strong password: strong password ratio of 4:2:2; wherein a weak password is a combination of pure numbers or pure letters, a medium-strong password is a combination of numbers and letters, and a strong password is a combination of numbers, letters and special characters.
[0033] In the above-mentioned email security protection method for automatically generating email account honey spots, when the email honey spot management server creates the email honey spot account according to the situation in step S3, it is performed according to two situations based on whether the email honey spot management server has the account creation authority of the email server, specifically:
[0034] When the Mailbox Honey Spot Management Server has the account creation permission of the Mailbox Server, the Mailbox Honey Spot Management Server directly creates the Mailbox Honey Spot account in the Mailbox Server;
[0035] When the Mailbox Honey Spot Management Server does not have the account creation permission of the Mailbox Server, the Mailbox Honey Spot Management Server provides the Mailbox Honey Spot account export function. Users export the Mailbox Honey Spot account and manually add it to the Mailbox Server.
[0036] In the above-mentioned email security protection method for automatically generating email account honey spots, when the email honey spot management server in step S4 pulls the email and downloads the content and attachments to the local for analysis, it analyzes the source, strategy, sending frequency and content of the email.
[0037] In the above-mentioned email security protection method for automatically generating email account honey spots, the summary information in step S5 includes: sender source IP, sender, email title, email header, sending time, attachment information, and email type determined by preliminary analysis.
[0038] In the above-mentioned email security protection method for automatically generating email account honey spots, when the email honey spot management server in step S5 sends the analyzed content in the form of a summary to the business system security center as a threat sample, the threat sample includes the sender source IP; in step S6, after the business system security center receives the threat sample, when intercepting and defending against spam or phishing emails according to the threat sample, the sender source IP is extracted from the received emails to establish an IP blacklist, and the emails sent to the email honey spot management server via the IP blacklist are intercepted.
[0039] Compared with the prior art, the present invention has the following advantages:
[0040] 1. The present invention proposes a method for generating approximate account names based on a Markov model. Different training data are used to model the Markov model for different application scenarios, so that the model can generate a character string that satisfies a certain rule, so that after the model is used to adjust one or more characters of the original account name, the account name as a whole conforms to the rule of the training data used and is consistent with the original application environment.
[0041] 2. The present invention proposes a method for protecting the security of email content based on mailbox honey spots, which utilizes high-similarity accounts generated based on the Markov model to induce attackers to send emails to mailbox honey spot accounts. According to the characteristic that mailbox honey spots are not used for normal communication, when attackers use mailbox honey spot accounts, an alarm will be triggered immediately. Security administrators can monitor emails arriving at these addresses to analyze the source, strategy, sending frequency and content of spam emails, analyze the content of emails received by mailbox honey spot accounts, and provide samples and warning information for spam and phishing email identification and filtering in advance, so as to quickly take countermeasures, improve the accuracy of intercepting malicious emails, and enhance the email security of users.
[0042] 3. The present invention proposes a method for establishing an email sending blacklist based on mailbox honey spots. After analyzing the received malicious emails, the sending IP in the email header is automatically extracted and an email sending blacklist is actively established. Emails sent from the blacklisted IP are directly intercepted to ensure the security of user emails.
[0043] 4. The email security protection method of the present invention, which automatically generates mailbox account honey spots, is proposed to address the increasingly severe email security threats and the rapid changes in phishing email technology and the difficulty in detection. It is a method that deploys mailbox honey spots on email servers to collect and analyze malicious emails, protect the security of real user mailbox emails, and warn of network intrusions. It actively takes proactive measures to minimize the impact of data leakage and reverses the attacker's dominant position. It can be used to protect corporate email security, set mailbox honey spots for the email accounts of key personnel within the enterprise, generate mailbox honey spots based on the original mailbox account characteristics, automatically pull mailbox honey spot emails and analyze them, provide malicious email samples for the email security system, and effectively improve the phishing email detection rate.
[0044] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 It is a flowchart of the method of the present invention;
[0046] Figure 2 Schematic diagram of the method principle of the present invention. DETAILED DESCRIPTION
[0047] like Figure 1 As shown, the email security protection method of the present invention automatically generates email account honey points, and the method includes the following steps:
[0048] Step S1, input the email account to be protected or the personal identity information of the owner of the email account to be protected, and input the number N of email honey spot accounts to be generated;
[0049] Step S2: Based on the original account input in step S1, an approximate account name generation method based on a Markov model is used to generate N mailbox honey spot accounts and passwords with high similarity to the original account character string, and the generated account information is displayed to the user, and the user selects the mailbox honey spot account to be added according to his own needs;
[0050] In step S2, based on the original account input in step S1, an approximate account name generation method based on a Markov model is used to generate N mailbox honeypot accounts and passwords with high similarity to the original account character string. The specific process is as follows:
[0051] Step S201, collecting training data and building a training corpus;
[0052] In specific implementation, data sets are collected and designed according to actual applications; for example, the constructed training corpus contains "the man was, they, then, the, the";
[0053] Step S202: Generate a lookup table based on the training corpus, i.e., a word frequency table, to record the occurrence frequency of each character in the training corpus;
[0054] In this embodiment, the frequency of occurrence of the character "the" is 3 times, the frequency of occurrence of the character "then" is 1 time, the frequency of occurrence of the character "they" is 1 time, and the frequency of occurrence of the character "man" is 1 time. The generated lookup table is:
[0055] Table 1 Lookup table
[0056] ,
[0057] In the lookup table, X represents the input word and Y represents the predicted character. It is found that the word "the" is most often followed by a space character. Given a k value of 3 in the Markov model (considering 3 characters at a time), when "the" is input, the predicted value of the next character is most likely to be a space character. When a sufficient vocabulary and corpus are used to train the model, more accurate predictions that conform to language rules will be produced.
[0058] Step S203, converting the frequency into probability according to the lookup table and the occurrence frequency of each character;
[0059] Step S204: construct a Markov model, and use a training corpus to train the Markov model to obtain a trained Markov model for generating approximate account names, wherein the output of the Markov model is the approximate account name;
[0060] In the specific implementation, the order of the Markov model is set to 2 or 3;
[0061] In this embodiment, the length of the approximate account name output by the Markov model in step S204 The length of the original account The relationship is .
[0062] Step S205: Create a sampling function that receives the original account name string and extracts all substrings from the original account name according to a preset substring length;
[0063] Step S206: extract all substrings from the original account name and input them into the trained Markov model respectively. The Markov model outputs approximate account names. When the number of output approximate account names reaches a preset number N, the input stops, and a candidate approximate account name set is generated.
[0064] In specific implementation, the Markov model continuously generates approximate account names according to the transition probability, stops after generating N, and adds the generated character string to the candidate account name set. Assuming the set size is 100, the set is output after 100 approximate account names are generated.
[0065] Step S207: perform string similarity comparison between the approximate account names in the candidate approximate account name set and the original account name. When the similarities of the N mailbox honey spot accounts all meet the requirements, execute step S208; otherwise, return to execute step 205 until N mailbox honey spot accounts are generated;
[0066] In this embodiment, the method for comparing the string similarity between the mailbox honeypot account and the original account in step S207 is:
[0067] Step S2071: According to the formula Calculate the original account name string A string similar to the account name The edit distance similarity between ;in, The original account name string A string similar to the account name The edit distance between The original account name string The length of the string, Approximate account name string The length of the string;
[0068] Step S2072: Compared with the preset edit distance similarity threshold, when When the edit distance is greater than the preset threshold, it is judged that the similarity does not meet the requirement.
[0069] When it comes to specific implementation, The value range is 0-1. The larger the value, the less similar it is. The preset edit distance threshold is set to 0.5-0.7.
[0070] Step S208: Set passwords for the N email honeypot accounts respectively.
[0071] In this embodiment, when setting passwords for N mailbox honeyspot accounts respectively as described in step S208, the N passwords are generated using a weak password: medium-strong password: strong password ratio of 4:2:2; wherein a weak password is a combination of pure numbers or pure letters, a medium-strong password is a combination of numbers and letters, and a strong password is a combination of numbers, letters, and special characters.
[0072] A Markov model (or Markov chain) is a probability-based model that assumes that the next state of a system depends only on its current state. In text generation, this means that the generation of the next word depends only on the previous word or a series of words. The account name to be generated by the present invention is a short text, generally not more than 20 characters. The generation of the account name does not involve capturing long-distance dependencies in the text. The user's naming method for the account name has a strong correlation with the corresponding application, so different training data should be used for different applications to train the generator to generate qualified accounts; this requires the generation model to be lightweight and highly portable. The Markov model only needs to store the current state of the character and takes up little memory; moreover, the training of the Markov model is based on probability statistics, and training can be completed without consuming too many computing resources.
[0073] Therefore, the present invention proposes a method for generating approximate account names based on a Markov model. The method can analyze the string pattern and character regularity of an account based on a given original account, and generate an email honeypot account with a high similarity to the original account string. The method can use different training data to model the Markov model for different application scenarios, so that the model can generate a string that satisfies a certain regularity, so that after using the model to adjust one or more characters of the original account name, the account name as a whole conforms to the regularity of the training data used and is consistent with the original application environment.
[0074] Step S3: the mailbox honey spot management server creates a mailbox honey spot account according to the situation;
[0075] In this embodiment, when the mailbox honey spot management server in step S3 creates a mailbox honey spot account according to the situation, it is performed according to two situations based on whether the mailbox honey spot management server has the account creation authority of the mailbox server, specifically:
[0076] When the Mailbox Honey Spot Management Server has the account creation permission of the Mailbox Server, the Mailbox Honey Spot Management Server directly creates the Mailbox Honey Spot account in the Mailbox Server;
[0077] When the Mailbox Honey Spot Management Server does not have the account creation permission of the Mailbox Server, the Mailbox Honey Spot Management Server provides the Mailbox Honey Spot account export function. Users export the Mailbox Honey Spot account and manually add it to the Mailbox Server.
[0078] Step S4: the mailbox honey spot management server monitors the mailbox honey spot account and induces the attacker to send an email to the mailbox honey spot account. When the mailbox honey spot account receives a new email, the mailbox honey spot management server pulls the email and downloads the content and attachments to the local computer for analysis.
[0079] In this embodiment, when the mailbox honeyspot management server pulls the email and downloads the content and attachments to the local for analysis in step S4, the source, strategy, sending frequency and content of the email are analyzed.
[0080] The present invention proposes a method for protecting the security of email content based on mailbox honey spots. The method utilizes a deception defense strategy and uses high-similarity accounts generated in a Markov model-based approximate account name generation method to selectively leak them on the network or place them in places where spammers and phishing email senders may find them. However, these addresses are not obvious or visible to normal users. These mailbox honey spot accounts are not used for any normal communication, so any emails sent to these addresses are almost certainly spam or phishing emails. The method induces attackers to send emails to the mailbox honey spot accounts. When spammers collect and send emails to these mailbox honey spot accounts, security administrators can monitor the emails arriving at these addresses to analyze the source, strategy, sending frequency, and content of the spam emails. The method analyzes the content of emails received by the mailbox honey spot accounts to provide samples and warning information for spam and phishing email identification and filtering in advance, thereby improving the accuracy of intercepting malicious emails and enhancing the email security of users. The email content detection method using deception defense strategy changes the passive state of defense in the email security field, collects email threat intelligence in advance, intercepts emails and issues alerts before users receive suspicious emails, and proactively discovers and handles threats. The specific process is as follows Figure 2 shown.
[0081] Step S5: The mailbox honeyspot management server sends the analyzed content in the form of a summary to the business system security center as a threat sample;
[0082] In this embodiment, the summary information in step S5 includes: sender source IP, sender, email title, email header, sending time, attachment information, and email type determined by preliminary analysis.
[0083] In this embodiment, when the mailbox honey spot management server in step S5 sends the analyzed content in the form of a summary to the business system security center as a threat sample, the threat sample includes the sender source IP; in step S6, after the business system security center receives the threat sample, when intercepting and defending against spam or phishing emails according to the threat sample, the sender source IP is extracted from the received emails to establish an IP blacklist, and the emails sent to the mailbox honey spot management server through the IP blacklist are intercepted, so as to achieve the effect of protecting the security of user emails.
[0084] The traditional phishing email filtering method based on the email source address has problems such as email address forgery, high false alarm rate, high maintenance cost, etc. In order to solve this problem, the present invention proposes a method for establishing an email sending blacklist based on a mailbox honey spot. According to the characteristic that the mailbox honey spot is not used for normal communication, any email sent to the mailbox honey spot account is determined to be spam and phishing email; in the email content security protection method based on the mailbox honey spot, after analyzing the received malicious email, the sender source IP in the email header is automatically extracted and an email sending IP blacklist is actively established, and the emails sent from the blacklist IP are directly intercepted to ensure the user's email security.
[0085] Step S6: After receiving the threat sample, the business system security center intercepts and defends against spam or phishing emails based on the threat sample.
[0086] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0087] The present application 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 the present application. 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 generate 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.
[0088] 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.
[0089] 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 A step that specifies a function in one or more boxes.
[0090] The foregoing description of specific exemplary embodiments of the present invention is for the purpose of illustration and demonstration. These descriptions are not intended to limit the present invention to the precise form disclosed, and it is clear that many changes and variations can be made based on the above teachings. The purpose of selecting and describing the exemplary embodiments is to explain the specific principles of the present invention and its practical application, so that those skilled in the art can realize and utilize various different exemplary embodiments of the present invention and various different selections and changes. The scope of the present invention is intended to be limited by the claims and their equivalents.
Claims
1. A method for automatically generating email account honeypots for email security protection, characterized in that: The method comprises the following steps: Step S1, input the email account to be protected and the number N of email honeypot accounts to be generated; Step S2: Based on the original email account input in step S1, an approximate account name generation method based on a Markov model is used to generate N email honey spot accounts and passwords with high similarity to the original email account character string, and the generated account information is displayed to the user, and the user selects the email honey spot account to be added according to his / her own needs; Step S3: the mailbox honey spot management server creates a mailbox honey spot account according to the situation; Step S4: the mailbox honey spot management server monitors the mailbox honey spot account and induces the attacker to send an email to the mailbox honey spot account. When the mailbox honey spot account receives a new email, the mailbox honey spot management server pulls the email and downloads the content and attachments to the local computer for analysis. Step S5: The mailbox honeyspot management server sends the analyzed content in the form of a summary to the business system security center as a threat sample; Step S6: After receiving the threat sample, the business system security center intercepts and defends against spam or phishing emails based on the threat sample.
2. The email security protection method for automatically generating email account honey spots according to claim 1, characterized in that: In step S2, based on the original email account input in step S1, an approximate account name generation method based on a Markov model is used to generate N email honeypot accounts and passwords with high similarity to the original email account character string. The specific process is as follows: Step S201, collecting training data and building a training corpus; Step S202: Generate a lookup table based on the training corpus to record the occurrence frequency of each character in the training corpus; Step S203, converting the frequency into probability according to the lookup table and the occurrence frequency of each character; Step S204: construct a Markov model, and use a training corpus to train the Markov model to obtain a trained Markov model for generating approximate account names, wherein the output of the Markov model is the approximate account name; Step S205: Create a sampling function that receives the original email account name string and extracts all substrings from the original email account name according to a preset substring length; Step S206: extract all substrings from the original email account name and input them into the trained Markov model respectively. The Markov model outputs approximate account names. When the number of output approximate account names reaches a preset number N, the input stops, and a candidate approximate account name set is generated. Step S207: perform string similarity comparison between the approximate account names in the candidate approximate account name set and the original email account name. When the similarities of the N email honey spot accounts all meet the requirements, execute step S208; otherwise, return to execute step 205 until N email honey spot accounts are generated. Step S208: Set passwords for the N email honeypot accounts respectively.
3. The email security protection method for automatically generating email account honey spots according to claim 2, characterized in that: The relationship between the length of the approximate account name output by the Markov model in step S204 and the length of the original email account is:
4. The email security protection method for automatically generating email account honey spots according to claim 2, characterized in that: The method for comparing the string similarity between the mailbox honeypot account and the original mailbox account in step S207 is: Step S2071, calculating the edit distance similarity between the original email account name string and the approximate account name string; Step S2072: Compare the calculated edit distance similarity with a preset edit distance similarity threshold. When the calculated edit distance similarity is greater than the preset edit distance threshold, it is determined that the similarity does not meet the requirement.
5. The email security protection method for automatically generating email account honey spots according to claim 4, characterized in that: The calculation formula used for calculating the edit distance similarity between the original email account name string and the approximate account name string in step S2071 is, wherein represents the original email account name string, represents the approximate account name string, represents the edit distance between the original email account name string and the approximate account name string, is the string length of the original email account name string, is the string length of the approximate account name string, and represents the edit distance similarity between the original email account name string and the approximate account name string.
6. The email security protection method for automatically generating email account honey spots according to claim 2, characterized in that: When setting passwords for N mailbox honey spot accounts respectively as described in step S208, the N passwords are generated using a weak password: medium-strong password: strong password ratio of 4:2:2; among which, a weak password is a combination of pure numbers or pure letters, a medium-strong password is a combination of numbers and letters, and a strong password is a combination of numbers, letters and special characters.
7. The email security protection method for automatically generating email account honey spots according to claim 1 or 2, characterized in that: In step S3, the mailbox honey spot management server creates a mailbox honey spot account according to the situation, which is performed according to two situations: whether the mailbox honey spot management server has the account creation authority of the mailbox server, specifically: When the Mailbox Honey Spot Management Server has the account creation permission of the Mailbox Server, the Mailbox Honey Spot Management Server directly creates the Mailbox Honey Spot account in the Mailbox Server; When the Mailbox Honey Spot Management Server does not have the account creation permission of the Mailbox Server, the Mailbox Honey Spot Management Server provides the Mailbox Honey Spot account export function. Users export the Mailbox Honey Spot account and manually add it to the Mailbox Server.
8. The email security protection method for automatically generating email account honey spots according to claim 1 or 2, characterized in that: In step S4, when the mailbox honeyspot management server pulls the email and downloads the content and attachments to the local for analysis, it analyzes the source, strategy, sending frequency and content of the email.
9. The email security protection method for automatically generating email account honey spots according to claim 1 or 2, characterized in that: The summary information in step S5 includes: sender source IP, sender, email title, email header, sending time, attachment information, and email type determined by preliminary analysis.
10. The email security protection method for automatically generating email account honey spots according to claim 1 or 2, characterized in that: When the mailbox honey spot management server sends the analyzed content in the form of a summary as a threat sample in step S5, the threat sample includes the source IP of the sender; when the business system security center receives the threat sample in step S6, it intercepts and defends against spam or phishing emails based on the threat sample, and extracts the source IP of the sender from the received emails to establish an IP blacklist, and intercepts the emails sent to the mailbox honey spot management server through the IP blacklist.
