A mail detection method, system and related equipment

By calculating the anomaly index of email senders and users and the security scores of email links and attachment information, we can identify and add tags to phishing emails, solving the problem of phishing email detection and improving the security of corporate intranets.

CN115208850BInactive Publication Date: 2024-10-15BANK OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210830862.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-15
Publication Date
2024-10-15
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Phishing emails are a common method of intrusion into corporate intranets. Existing technologies are difficult to effectively detect them, resulting in losses for companies.

Method used

By calculating the anomaly index of the email sender and the user, and combining the email link and attachment information, the final security score is calculated. If the score is greater than the threshold, a specific mark is added to identify the phishing email.

Benefits of technology

Effectively identify and mark phishing emails, improve the network security of corporate intranets, and prevent intrusions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115208850B_ABST
    Figure CN115208850B_ABST
Patent Text Reader

Abstract

The present invention discloses an email detection method, system and related equipment, which can be applied to the field of network security. When it is detected that a user to be monitored receives an email to be detected, a request is made to the management end to obtain the first abnormality index of the sender of the email to be detected, and a request is made to obtain the second abnormality index of the user to be monitored; a first security score is calculated based on the first abnormality index and the second abnormality index; a second security score is calculated using the link information of the email to be detected, and a third security score is calculated using the attachment information of the email to be detected; a final security score is determined based on the first security score, the second security score and the third security score; if the final security score is greater than the security threshold, a specific mark is added to the email to be detected. The detection of phishing emails is realized, thereby improving the network security of the enterprise intranet.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of network security technology, and in particular to an email detection method, system and related equipment. Background Art

[0002] With the development of the Internet, there are more and more ways to invade the intranet. As some employees have weak security awareness, phishing emails are a common way of invasion. When employees read phishing emails, the intranet of enterprises (such as banks and other financial enterprises) may be invaded, causing losses to the enterprise; therefore, there is an urgent need for a method to detect phishing emails. Summary of the invention

[0003] In view of this, an embodiment of the present invention provides an email detection method, system and related devices to detect phishing emails.

[0004] To achieve the above objectives, the embodiments of the present invention provide the following technical solutions:

[0005] A first aspect of an embodiment of the present invention discloses an email detection method, the method comprising:

[0006] When it is detected that the user to be monitored receives the email to be detected, requesting the management end to obtain the first abnormality index of the sender of the email to be detected, and requesting to obtain the second abnormality index of the user to be monitored;

[0007] Calculating a first safety score according to the first abnormality index and the second abnormality index;

[0008] Calculating a second security score using the link information of the email to be detected, and calculating a third security score using the attachment information of the email to be detected;

[0009] Determine a final security score based on the first security score, the second security score, and the third security score;

[0010] If the final security score is greater than the security threshold, a specific mark is added to the email to be detected, and the specific mark is used to indicate that the email to be detected is a phishing email.

[0011] Preferably, calculating a first safety score according to the first abnormality index and the second abnormality index includes:

[0012] Acquire a first abnormal behavior score and a first email content abnormality score of the sender of the email to be detected from the first abnormality index, and acquire a second abnormal behavior score and a second email content abnormality score of the user to be monitored from the second abnormality index;

[0013] The first abnormal behavior score, the first email content abnormality score, the second abnormal behavior score, and the second email content abnormality score are summed to obtain a first safety score.

[0014] Preferably, the process of calculating the second security score using the link information of the email to be detected includes:

[0015] Determining whether the email to be detected contains link information;

[0016] If the link information is not included, determining the second security score to be a preset original score;

[0017] If the link information is included, the region score corresponding to the domain name of the link information is calculated according to the preset threat intelligence, and the number of each type of threat events matched by the link information is determined;

[0018] A second security score is calculated based on the original score, the regional score, and the number of each type of threat event matched by the link information, combined with the event level of each type of threat event.

[0019] Preferably, the process of calculating the third security score using the attachment information of the email to be detected includes:

[0020] Determine whether the email to be detected contains attachment information;

[0021] If the attachment information is not included, determining the third security score to be 0;

[0022] If the attachment information is included, the attachment information is processed by a local sandbox to determine the number of various threat events matched by the attachment information;

[0023] A third security score is calculated based on the number of each type of threat event matched by the attachment information and the event level of each type of threat event.

[0024] Preferably, after adding a specific mark to the mail to be detected, the method further includes:

[0025] Send the sender information of the email to be detected to the management terminal.

[0026] Preferably, after adding a specific mark to the mail to be detected, the method further includes:

[0027] When an operation of opening the mail to be detected is detected, the operation is intercepted and a warning message is displayed;

[0028] If it is detected that the email to be detected is opened, the information of the user to be monitored is sent to the management end, so that the management end updates the second abnormality index of the user to be monitored.

[0029] A second aspect of an embodiment of the present invention discloses a mail detection system, the system comprising:

[0030] An acquiring unit, configured to, when detecting that a user to be monitored receives an email to be detected, request the management end to acquire a first abnormality index of the sender of the email to be detected, and request to acquire a second abnormality index of the user to be monitored;

[0031] A first calculation unit, configured to calculate a first safety score according to the first abnormality index and the second abnormality index;

[0032] A second calculation unit, configured to calculate a second security score using the link information of the email to be detected, and to calculate a third security score using the attachment information of the email to be detected;

[0033] a determining unit, configured to determine a final security score based on the first security score, the second security score, and the third security score;

[0034] The marking unit is used to add a specific mark to the email to be detected if the final security score is greater than a security threshold, and the specific mark is used to indicate that the email to be detected is a phishing email.

[0035] Preferably, the first computing unit includes:

[0036] an acquisition module, configured to acquire a first abnormal behavior score and a first email content abnormality score of the sender of the email to be detected from the first abnormality index, and to acquire a second abnormal behavior score and a second email content abnormality score of the user to be monitored from the second abnormality index;

[0037] A calculation module is used to sum the first abnormal behavior score, the first email content abnormal score, the second abnormal behavior score and the second email content abnormal score to obtain a first safety score.

[0038] A third aspect of an embodiment of the present invention discloses an electronic device, comprising: a processor and a memory, wherein the processor and the memory are connected via a communication bus; wherein the processor is used to call and execute a program stored in the memory; and the memory is used to store a program, wherein the program is used to implement the email detection method disclosed in the first aspect of the embodiment of the present invention.

[0039] A fourth aspect of an embodiment of the present invention discloses a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to execute the email detection method disclosed in the first aspect of the embodiment of the present invention.

[0040] Based on the above-mentioned embodiment of the present invention, a mail detection method, system and related equipment are provided. When it is detected that the user to be monitored receives the mail to be detected, the management end is requested to obtain the first abnormal index of the sender of the mail to be detected, and the second abnormal index of the user to be monitored is requested; the first security score is calculated according to the first abnormal index and the second abnormal index; the second security score is calculated using the link information of the mail to be detected, and the third security score is calculated using the attachment information of the mail to be detected; based on the first security score, the second security score and the third security score, the final security score is determined; if the final security score is greater than the security threshold, a specific mark is added to the mail to be detected. In this scheme, when the user to be monitored receives the mail to be detected, the final security score is calculated using the first abnormal index of the sender of the mail to be detected, the second abnormal index of the user to be monitored, the link information of the mail to be detected, and the attachment information of the mail to be detected. If the final security score is greater than the security threshold, the mail to be detected is determined to be a phishing mail and a specific mark is added to the mail to be detected, so as to detect the phishing mail, thereby improving the network security of the enterprise intranet. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0042] Figure 1 A flowchart of an email detection method provided by an embodiment of the present invention;

[0043] Figure 2 A structural block diagram of a mail detection system provided by an embodiment of the present invention;

[0044] Figure 3 Another structural block diagram of a mail detection system provided by an embodiment of the present invention;

[0045] Figure 4 Another structural block diagram of a mail detection system provided by an embodiment of the present invention;

[0046] Figure 5 Another structural block diagram of a mail detection system provided by an embodiment of the present invention;

[0047] Figure 6 Another structural block diagram of a mail detection system provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0048] 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.

[0049] In this application, the terms "comprises", "comprising" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising 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, article or device. In the absence of further restrictions, an element defined by the sentence "comprising a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element.

[0050] It should be noted that the email detection method, system and related equipment provided by the present invention can be used in the field of network security. The above is only an example and does not limit the application field of the email detection method, system and related equipment provided by the present invention.

[0051] As can be seen from the background technology, phishing emails are a common intrusion method at present. When employees view phishing emails, the intranet of an enterprise (such as a bank or other financial enterprise) may be invaded, causing losses to the enterprise.

[0052] Therefore, the embodiment of the present invention provides an email detection method, system and related equipment. When the monitored user receives the email to be detected, the final security score is calculated using the first abnormality index of the sender of the email to be detected, the second abnormality index of the user to be monitored, the link information of the email to be detected, and the attachment information of the email to be detected. If the final security score is greater than the security threshold, the email to be detected is determined to be a phishing email and a specific mark is added to the email to be detected, so as to detect the phishing email and improve the network security of the enterprise intranet.

[0053] See also Figure 1 , shows a flow chart of an email detection method provided by an embodiment of the present invention, the email detection method comprising:

[0054] Step S101: when it is detected that the user to be monitored receives the email to be detected, a request is made to the management end to obtain the first abnormality index of the sender of the email to be detected, and a request is made to obtain the second abnormality index of the user to be monitored.

[0055] It should be noted that the users to be monitored specifically refer to users who need to monitor whether the received emails are phishing emails.

[0056] In the specific implementation process of step S101, when it is detected that the monitored user receives the email to be detected (for example, when receiving a new email), a request is made to the management end to obtain the first abnormality index of the sender of the email to be detected, and a request is made to the management end to obtain the second abnormality index of the user to be monitored.

[0057] It should be noted that the management end maintains anomaly indexes of multiple users, which include the user's abnormal behavior score and email content anomaly score.

[0058] Step S102: Calculate a first safety score according to the first abnormality index and the second abnormality index.

[0059] In the specific implementation of step S102, the first abnormal behavior score and the first email content abnormality score of the sender of the email to be detected are obtained from the first abnormal index, and the second abnormal behavior score and the second email content abnormality score of the user to be monitored are obtained from the second abnormal index.

[0060] In some embodiments, the sender's historical behavior information of the email to be detected is used to perform abnormal behavior analysis to obtain a first abnormal behavior score; and the content of historical emails sent by the sender of the email to be detected is used to perform email content analysis to obtain a first email content abnormality score.

[0061] In some embodiments, the historical behavior information of the monitored user is used to perform abnormal behavior analysis to obtain a second abnormal behavior score; and the content of historical emails received by the monitored user is used to perform email content analysis to obtain a second email content abnormality score.

[0062] The first abnormal behavior score, the first email content abnormal score, the second abnormal behavior score and the second email content abnormal score are summed to obtain a first safety score. Specifically, the first safety score P1 is calculated using formula (1).

[0063] P1=S a +S b +R a +R b (1)

[0064] In formula (1), S a Score the first abnormal behavior, S b Score the abnormal content of the first email, R a Score the second abnormal behavior, R b Score the second email content for anomaly.

[0065] Step S103: Calculate the second security score using the link information of the email to be detected, and calculate the third security score using the attachment information of the email to be detected.

[0066] In the process of implementing step S103, the specific method of calculating the second security score using the link information of the email to be detected is: determining whether the email to be detected contains link information, or in other words, determining whether there is a link in the email to be detected.

[0067] If the email to be detected does not contain link information (no link exists), the second security score is determined to be a preset original score.

[0068] If the email to be detected contains link information (a link exists), the regional score corresponding to the domain name of the link information is calculated according to the preset threat intelligence, and the number of various threat events matched by the link information is determined. Threat events include but are not limited to: external links, registry modifications, and system file modifications. The second security score is calculated based on the original score, the regional score, and the number of various threat events matched by the link information, combined with the event level of each threat event.

[0069] Specifically, the second safety score P2 is calculated by formula (2).

[0070]

[0071] In formula (2), Origin is the original score, f is the regional score, th1 is the event level of the first category threat event matched by the link information, th2 is the event level of the second category threat event matched by the link information, n1 is the number of the first category threat events matched by the link information, n2 is the number of the second category threat events matched by the link information, and n is the total number of threat events.

[0072] It should be noted that each user's host is used to monitor whether each user has received a phishing email; threat intelligence is maintained by the management end. When the threat intelligence is updated, the management library updates the intelligence library offline and then distributes the updated threat intelligence to each user's host.

[0073] The specific method of calculating the third security score using the attachment information of the mail to be detected is: determining whether the mail to be detected contains attachment information, or in other words, determining whether the mail to be detected carries an attachment.

[0074] If the email to be detected does not contain any attachment information (does not carry any attachment), the third security score is determined to be 0.

[0075] If the email to be detected contains attachment information (carries attachments), the attachment information is processed by the local sandbox to determine the number of various threat events matched by the attachment information; specifically, the attachment information is input into the local sandbox for processing to determine the number of various threat events matched by the attachment information. Based on the number of various threat events matched by the attachment information and the event level of each threat event, the third security score is calculated.

[0076] Specifically, the third safety score P3 is calculated by formula (3).

[0077]

[0078] In formula (3), th1 is the event level of the first category threat event matched by the attachment information, th2 is the event level of the second category threat event matched by the attachment information, n1 is the number of the first category threat events matched by the attachment information, n2 is the number of the second category threat events matched by the attachment information, and n is the total number of threat events.

[0079] Step S104: Determine a final security score based on the first security score, the second security score, and the third security score.

[0080] In the specific implementation of step S104, after the first security score, the second security score and the third security score are calculated, the first security score, the second security score and the third security score are summed to determine the final security score; that is, the final security score = P1 + P2 + P3.

[0081] Step S105: If the final security score is greater than the security threshold, a specific mark is added to the email to be detected, and the specific mark is used to indicate that the email to be detected is a phishing email.

[0082] In the process of implementing step S105, if the final security score is less than or equal to the security threshold, it is determined that the email to be detected is not a phishing email. In some embodiments, if the final security score is less than or equal to the security threshold, a prompt message may be displayed to indicate that the email to be detected is not a phishing email.

[0083] If the final security score is greater than the security threshold, the email to be detected is determined to be a phishing email, and a specific mark is added to the email to be detected, and the specific mark is used to indicate that the email to be detected is a phishing email. For example: If the final security score is greater than the security threshold, the "dangerous" mark is added to the email to be detected to indicate that the email to be detected is a phishing email.

[0084] Preferably, if the final security score is greater than the security threshold, after adding a specific mark to the email to be detected, the information of the sender of the email to be detected is sent to the management end.

[0085] It should be noted that after adding a specific mark to the email to be detected, the monitored user may click on the email to be detected, in order to further ensure the security of the enterprise intranet; in some embodiments, after adding a specific mark to the email to be detected, when an operation of opening the email to be detected is detected, the operation is intercepted and a warning message is displayed. For example: after adding a specific mark to the email to be detected, if an operation of opening the email to be detected is detected, the operation is intercepted and a warning message "This email is suspected to be a phishing email, please do not click it" is displayed.

[0086] After displaying the warning message, if it is detected that the email to be detected is opened, the information of the user to be monitored is sent to the management end, so that the management end updates the second abnormality index of the user to be monitored. That is to say, after reminding the user to be monitored by displaying the warning message, if the user to be monitored ignores the warning message and opens the email to be detected, the information of the user to be monitored (user information) is sent to the management end, so that the management end updates the second abnormality index of the user to be monitored.

[0087] It should be noted that after receiving the information of the user to be monitored, the management end can analyze the situation that the user to be monitored ignores the warning information to determine the "compromise" status of the user to be monitored, thereby forming a security situation for email communications in the enterprise intranet.

[0088] In the embodiment of the present invention, when the monitored user receives the email to be detected, the final security score is calculated using the first abnormality index of the sender of the email to be detected, the second abnormality index of the monitored user, the link information of the email to be detected, and the attachment information of the email to be detected. If the final security score is greater than the security threshold, the email to be detected is determined to be a phishing email and a specific mark is added to the email to be detected, so as to detect the phishing email and improve the network security of the enterprise intranet.

[0089] Corresponding to the email detection method provided by the above embodiment of the present invention, see Figure 2 , the embodiment of the present invention also provides a structural block diagram of an email detection system, the email detection system includes: an acquisition unit 201, a first calculation unit 202, a second calculation unit 203, a determination unit 204 and a marking unit 205;

[0090] The acquisition unit 201 is used for requesting the management end to acquire the first abnormality index of the sender of the email to be detected and the second abnormality index of the user to be monitored when it is detected that the user to be monitored receives the email to be detected.

[0091] The first calculation unit 202 is used to calculate a first safety score according to the first abnormality index and the second abnormality index.

[0092] The second calculation unit 203 is used to calculate the second security score by using the link information of the email to be detected, and calculate the third security score by using the attachment information of the email to be detected.

[0093] The determination unit 204 is configured to determine a final safety score based on the first safety score, the second safety score, and the third safety score.

[0094] The marking unit 205 is used to add a specific mark to the email to be detected if the final security score is greater than the security threshold, and the specific mark is used to indicate that the email to be detected is a phishing email.

[0095] Preferably, the marking unit 205 is further configured to: after adding a specific mark to the mail to be detected, send the sender information of the mail to be detected to the management terminal.

[0096] In the embodiment of the present invention, when the monitored user receives the email to be detected, the final security score is calculated using the first abnormality index of the sender of the email to be detected, the second abnormality index of the monitored user, the link information of the email to be detected, and the attachment information of the email to be detected. If the final security score is greater than the security threshold, the email to be detected is determined to be a phishing email and a specific mark is added to the email to be detected, so as to detect the phishing email and improve the network security of the enterprise intranet.

[0097] Preferably, combined Figure 2 , see Figure 3 , shows another structural block diagram of an email detection system provided by an embodiment of the present invention, wherein the first computing unit 202 includes:

[0098] The acquisition module 2021 is used to acquire the first abnormal behavior score and the first email content abnormality score of the sender of the email to be detected from the first abnormal index, and to acquire the second abnormal behavior score and the second email content abnormality score of the user to be monitored from the second abnormal index.

[0099] The calculation module 2022 is used to sum the first abnormal behavior score, the first email content abnormal score, the second abnormal behavior score and the second email content abnormal score to obtain a first safety score.

[0100] Preferably, combined Figure 2 , see Figure 4 , shows another structural block diagram of an email detection system provided by an embodiment of the present invention, the second calculation unit 203 for calculating the second security score using the link information of the email to be detected includes: a first judgment module 2031, a first determination module 2032, a first calculation module 2033 and a second calculation module 2034;

[0101] The first determination module 2031 is used to determine whether the email to be detected contains link information.

[0102] The first determination module 2032 is configured to determine that the second security score is a preset original score if the link information is not included.

[0103] The first calculation module 2033 is used to calculate the regional score corresponding to the domain name of the link information and determine the number of various threat events matched by the link information according to preset threat intelligence if the link information is included.

[0104] The second calculation module 2034 is used to calculate a second security score based on the original score, the regional score, the number of each type of threat event matched by the link information, and the event level of each type of threat event.

[0105] Preferably, combined Figure 2 , see Figure 5 , shows another structural block diagram of an email detection system provided by an embodiment of the present invention, wherein the second calculation unit 203 for calculating the third security score using the attachment information of the email to be detected includes: a second judgment module 2035, a second determination module 2036, a processing module 2037 and a third calculation module 2038;

[0106] The second determination module 2035 is used to determine whether the email to be detected contains attachment information.

[0107] The second determination module 2036 is configured to determine that the third security score is 0 if the attachment information is not included.

[0108] The processing module 2037 is used to process the attachment information through the local sandbox if the attachment information is included, so as to determine the number of various threat events matched by the attachment information.

[0109] The third calculation module 2038 is used to calculate a third security score based on the number of each type of threat event matched by the attachment information and the event level of each type of threat event.

[0110] Preferably, combined Figure 2 , see Figure 6 , shows another structural block diagram of a mail detection system provided by an embodiment of the present invention, the mail detection system also includes:

[0111] The processing unit 206 is used to intercept the operation and display a warning message when an operation of opening the email to be detected is detected. If it is detected that the email to be detected is opened, the information of the user to be monitored is sent to the management end so that the management end updates the second abnormality index of the user to be monitored.

[0112] Preferably, an embodiment of the present invention further provides an electronic device, comprising: a processor and a memory, the processor and the memory being connected via a communication bus; wherein the processor is used to call and execute a program stored in the memory; the memory is used to store a program, and the program is used to implement the email detection method disclosed in the above method embodiment.

[0113] Preferably, an embodiment of the present invention further provides a computer-readable storage medium, in which computer-executable instructions are stored, and the computer-executable instructions are used to execute the email detection method disclosed in the above method embodiment.

[0114] In summary, the embodiments of the present invention provide an email detection method, system and related equipment. When a user to be monitored receives an email to be detected, the final security score is calculated using the first abnormality index of the sender of the email to be detected, the second abnormality index of the user to be monitored, the link information of the email to be detected, and the attachment information of the email to be detected. If the final security score is greater than the security threshold, the email to be detected is determined to be a phishing email and a specific mark is added to the email to be detected, so as to detect the phishing email, thereby improving the network security of the enterprise intranet.

[0115] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can refer to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system or system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can refer to the partial description of the method embodiment. The system and system embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without creative work.

[0116] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0117] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A mail detection method, characterized in that: The method comprises: When it is detected that the user to be monitored receives the email to be detected, requesting the management end to obtain the first abnormality index of the sender of the email to be detected, and requesting to obtain the second abnormality index of the user to be monitored; Calculating a first safety score according to the first abnormality index and the second abnormality index; Calculating a second security score using the link information of the email to be detected, and calculating a third security score using the attachment information of the email to be detected; Determine a final security score based on the first security score, the second security score, and the third security score; If the final security score is greater than the security threshold, adding a specific mark to the email to be detected, wherein the specific mark is used to indicate that the email to be detected is a phishing email; Calculating a first safety score according to the first abnormality index and the second abnormality index includes: The first abnormal behavior score and the first email content abnormality score of the sender of the email to be detected are obtained from the first abnormal index, and the second abnormal behavior score and the second email content abnormality score of the user to be monitored are obtained from the second abnormal index; the first abnormal behavior score is a score determined based on the historical behavior information of the sender; the first email content abnormality score is a score determined based on the content of the sender's historical emails; the second abnormal behavior score is a score determined based on the historical behavior information of the user to be monitored; the second email content abnormality score is a score determined based on the content of historical emails received by the user to be monitored; Summing the first abnormal behavior score, the first email content abnormality score, the second abnormal behavior score, and the second email content abnormality score to obtain a first safety score; The calculating the second security score by using the link information of the email to be detected includes: Determining whether the email to be detected contains link information; If the link information is not included, determining the second security score to be a preset original score; If the link information is included, the region score corresponding to the domain name of the link information is calculated according to the preset threat intelligence, and the number of various threat events matched by the link information is determined; the threat events include: external connection, modification of registry and modification of system files; Based on the formula Calculate the second security score; wherein P2 is the second security score, Origin is the original score, f is the regional score, th1 is the event level of the first category threat event matched by the link information, th2 is the event level of the second category threat event matched by the link information, n1 is the number of the first category threat events matched by the link information, n2 is the number of the second category threat events matched by the link information, and n is the total number of threat events.

2. The method according to claim 1, characterized in that: The process of calculating the third security score by using the attachment information of the email to be detected includes: Determine whether the email to be detected contains attachment information; If the attachment information is not included, determining the third security score to be 0; If the attachment information is included, the attachment information is processed by a local sandbox to determine the number of various threat events matched by the attachment information; A third security score is calculated based on the number of each type of threat event matched by the attachment information and the event level of each type of threat event.

3. The method according to claim 1, characterized in that After adding a specific mark to the mail to be detected, the method further includes: Send the sender information of the email to be detected to the management terminal.

4. The method according to claim 1, characterized in that: After adding a specific mark to the mail to be detected, the method further includes: When an operation of opening the mail to be detected is detected, the operation is intercepted and a warning message is displayed; If it is detected that the email to be detected is opened, the information of the user to be monitored is sent to the management end, so that the management end updates the second abnormality index of the user to be monitored.

5. A mail detection system, characterized in that: The system comprises: An acquiring unit, configured to, when detecting that a user to be monitored receives an email to be detected, request the management end to acquire a first abnormality index of the sender of the email to be detected, and request to acquire a second abnormality index of the user to be monitored; A first calculation unit, configured to calculate a first safety score according to the first abnormality index and the second abnormality index; a second calculation unit, configured to calculate a second security score using the link information of the email to be detected, and to calculate a third security score using the attachment information of the email to be detected; a determining unit, configured to determine a final security score based on the first security score, the second security score, and the third security score; a marking unit, configured to add a specific mark to the email to be detected if the final security score is greater than a security threshold, wherein the specific mark is used to indicate that the email to be detected is a phishing email; Wherein, the first calculation unit includes: An acquisition module is used to acquire a first abnormal behavior score and a first email content abnormality score of the sender of the email to be detected from the first abnormality index, and to acquire a second abnormal behavior score and a second email content abnormality score of the user to be monitored from the second abnormality index; the first abnormal behavior score is a score determined based on the historical behavior information of the sender; the first email content abnormality score is a score determined based on the content of the sender's historical emails; the second abnormal behavior score is a score determined based on the historical behavior information of the user to be monitored; the second email content abnormality score is a score determined based on the content of historical emails received by the user to be monitored; a calculation module, configured to sum the first abnormal behavior score, the first email content abnormal score, the second abnormal behavior score, and the second email content abnormal score to obtain a first safety score; The second computing unit comprises: A first judging module, used to judge whether the email to be detected contains link information; A first determination module, configured to determine that the second security score is a preset original score if the link information is not included; A first calculation module is used to calculate the regional score corresponding to the domain name of the link information according to preset threat intelligence if the link information is included, and determine the number of various threat events matched by the link information; the threat events include: external connection, modification of registry and modification of system files; The second calculation module is used to calculate the Calculate the second security score; wherein P2 is the second security score, Origin is the original score, f is the regional score, th1 is the event level of the first category threat event matched by the link information, th2 is the event level of the second category threat event matched by the link information, n1 is the number of the first category threat events matched by the link information, n2 is the number of the second category threat events matched by the link information, and n is the total number of threat events.

6. An electronic device, characterized in that: include: A processor and a memory, wherein the processor and the memory are connected via a communication bus; wherein the processor is used to call and execute a program stored in the memory; The memory is used to store a program, and the program is used to implement the email detection method according to any one of claims 1-4.

7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to execute the email detection method according to any one of claims 1 to 4.