This invention pertains generally to computer security, and more specifically to providing protection from spam and other malicious e-mail.
Spam and e-mail carrying malicious attachments (e.g., viruses, worms, etc.) are a serious computer security problem. Traditionally, senders of spam have obtained e-mail addresses by combing through web pages, bulletin boards, Usenet and the like. Addresses gleaned in this way were subsequently compiled, utilized for sending spam and/or sold to other spammers. Thus, once an e-mail address was posted in a publicly accessible location, the amount of spam sent to the e-mail address would typically increase rapidly.
As users and enterprises have become educated concerning best practices such as “munging” and spamtraps, these sources of addresses have diminished. As a result, spammers are now relying on new and more aggressive techniques for obtaining valid e-mail addresses. Today, savvy spammers prepare lists of e-mail addresses by sending out test spam messages to every conceivable user name at a target domain (a so called “dictionary attack”). The spammer then notes which e-mail messages reach their target recipient (and are thus valid addresses). To determine which e-mail messages reach their targets, the spammer can cull the bounces, monitor the logs of the transmitting server, and/or parse calls made to unique graphical beacons (e.g., small gif files) embedded in the test messages. Through this process, a spammer can assemble a list of e-mail addresses likely to be valid, and use the list to send out more spam (and/or sell the list to other senders of spam or other forms of malicious e-mail).
What is needed are computer implemented methods, computer readable media and computer systems for providing protection from spam and other malicious e-mail being sent to lists of e-mail addresses that are built in this manner.
Computer-implemented methods, computer systems and computer-readable media provide protection from malicious e-mail attacks. A malicious e-mail manager examines an e-mail stream, and identifies suspicious e-mail messages therein. The malicious e-mail manager inverts responses to addresses from which identified suspicious e-mail originated. Where the target address of a suspicious e-mail message points to an existing recipient, the malicious e-mail manager returns an error code to the originating address indicating that the recipient does not exist. On the other hand, where the target address of a suspicious e-mail message points to a non-existent recipient, the malicious email manager returns a success code to the originating address, indicating that the e-mail message was delivered. Thus, senders of malicious e-mail believe that existing users are non-existent and vice versa. E-mail from legitimate senders is handled normally.
The features and advantages described in this disclosure and in the following detailed description are not all-inclusive, and particularly, many additional features and advantages will be apparent to one of ordinary skill in the relevant art in view of the drawings, specification, and claims hereof. Moreover, it should be noted that the language used in the specification has been principally selected for readability and instructional purposes, and may not have been selected to delineate or circumscribe the inventive subject matter, resort to the claims being necessary to determine such inventive subject matter.
The Figures depict embodiments of the present invention for purposes of illustration only. One skilled in the art will readily recognize from the following discussion that alternative embodiments of the structures and methods illustrated herein may be employed without departing from the principles of the invention described herein.
It is to be understood that although the malicious e-mail manager 101 is illustrated as a single entity, as the term is used herein a malicious e-mail manager 101 refers to a collection of functionalities which can be implemented as software, hardware, firmware or any combination of these. Where a malicious e-mail manager 101 is implemented as software, it can be implemented as a standalone program, but can also be implemented in other ways, for example as part of a larger program, as a plurality of separate programs, as one or more device drivers or as one or more statically or dynamically linked libraries.
It is to be further understood that a malicious e-mail manager 101 can be instantiated on and/or as part of a server, client, firewall, intrusion detection system, proxy, gateway, switch and/or any combination of these and/or other computing devices and/or platforms.
As illustrated in
For example, in some embodiments of the present invention, as e-mail messages 103 arrive at a domain 107, the malicious e-mail manager 101 tracks the originating address 113 (e.g., the Internet Protocol address of the sender), as well as the target address 105 of the intended recipient 105. The malicious e-mail manager 101 also tracks the delta between the time of arrival of that message 103 and the arrival time of the last message 103 that the same originating address 113 attempted to transmit to the same domain 107 (and/or to the same target address 105). The malicious e-mail manager 101 also determines whether or not the target recipient 115 actually exists. The malicious e-mail manager can then analyze this quad of information, looking at factors such as: a) the alphabetical order of target addresses 105 in previous quads containing the same originating address 113; b) the frequency and/or time of previous quads containing the same originating address 113; and c) a content based analysis of messages 103 from previous quads containing the same originating address 113.
The factors described above lend themselves well to detecting a dictionary attack. Of course, it will be understood that these are only examples of the types of analysis that can be used to determine whether an e-mail message 103 is suspicious. It is to understood further that a dictionary attack is only one type of e-mail 103 attack that can be detected and managed by the present invention. In some embodiments, other combinations of the above factors, single ones of the above factors, and/or other factors alone and/or in combination can be used to determine whether e-mail messages 103 are suspicious.
Other methods of detecting suspicious e-mail messages 103 are known to those of ordinary skill in the relevant art. For example, hashes of incoming messages 103 can be compared to hashes of known malicious e-mail 103, or incoming messages 103 can be scanned for known malicious signatures. The implementation mechanics of the usage of these and other methods within the context of the present invention will be apparent to those of ordinary skill in the relevant art in light of the present specification.
Where an e-mail message 103 is deemed to be legitimate, the malicious e-mail manager 101 processes it normally. In other words, if the intended recipient 115 actually exists, then the message 103 is passed on to that user 115. Likewise, if the recipient 115 is nonexistent, normal error handling of the message 103 is executed.
On the other hand, responsive to identifying a requisite number of suspicious e-mail messages 103 originating from the same address 113, the malicious e-mail manager 101 inverts responses to the originating address 113 of the identified suspicious e-mail messages 103. The number of suspicious e-mail messages 103 required to trigger inversion is a variable design parameter, that can be as few as one or as high as is deemed appropriate, based on the level of sensitivity desired for the corresponding protection. In some embodiments, the malicious e-mail manager 101 inverts an originating address 113 responsive to a requisite number of suspicious e-mail messages 103 greater than one originating from that address 113 within a set time period. Again, the time period to use is a design parameter, which can be set up or down as desired.
Whereas e-mail 103 received from a non-inverted address 113 is handled in a standard way, e-mail messages 103 received from an inverted address 113 are handled in the opposite manner. In other words, if the target recipient 115 exists, then the message 103 is “bounced” (i.e., an error code 117 is returned indicating that the recipient 115 does not exist). The message 103, which is assumed to be malicious, is not delivered to the recipient 115, and the malicious e-mail manager 101 spoofs the malicious sender 109 by returning the error code 117, indicating that the target recipient address 105 is not valid.
If an originating address 113 is inverted and the recipient 115 does not exist, the malicious e-mail manager 101 returns a success code 119 to the originating address 113, simulating successful delivery of the message 113. There should be no discernable difference between an inverted success return code 119 simulating delivery of a message 103 to a non-existent user 115 and a non-inverted “true” success return code 119, returned when a message 103 has actually been delivered to an existing recipient 115.
Thus, a malicious sender 109 will have no idea that the attack has been foiled because e-mail conversations seem to continue normally, but with messages 103 sent to existent users 115 returning a user unknown code 117, and messages sent to non-existent users 115 being accepted normally. The returning of e-mail protocol success codes 119 and error codes 117 is known to those of ordinary skill in the relevant art, and the implementation mechanics thereof in the context of the present invention will be apparent to those so skilled in light of the present specification.
Turning now to
To protect against malicious senders 109 identifying valid e-mail addresses 105 through the use of graphical web beacons 201, the malicious e-mail manager 101 can access the web beacons 201 in such messages 103 originating from inverted addresses 113. More specifically, in some embodiments of the present invention, when an e-mail message 103 originating from an inverted address 113 is targeted to a non-existent recipient 115, the malicious e-mail manager 101 “views” the e-mail 103 by scanning for images and other document components comprising web beacons 201. When a web beacon 201 is found, the malicious e-mailer manager 101 accesses the web beacon 201, which creates the illusion to the sender 109 that the non-existent e-mail address 105 is valid. On the other hand, when an e-mail message 103 originating from an inverted address 113 is addressed to an existent recipient 115, the malicious e-mail manager 101 does not access any imbedded web beacons 201, thereby propagating the false impression to the malicious sender 109 that the valid e-mail address 105 is non-existent.
As will be apparent to those of ordinary skill in the relevant art in light of the above discussion, the present invention will prevent malicious senders 109 from assembling lists of existent target e-mail addresses 105 by causing the senders 109 to believe that non-existent target addresses 105 are valid and vice versa. The malicious senders 109 will thus send unwanted e-mail 103 to non-existent addresses 105, and ignore the valid addresses 105 within the domain 107, believing them to point to non-existent users 115.
In some embodiments of the present invention, when a suspicious e-mail 103 is identified, in addition to executing the inversion methodology described above, the malicious e-mail manager 101 can take further action as desired, in order to ensure that the identified unwanted e-mail 103 is blocked in the future if it retransmitted, even from another address 113. The malicious e-mail manager 101 can create a blocking rule 203 based on the forensics of the e-mail 103 (e.g., a hash of the e-mail 103 or a more sophisticated content-based analysis hereof). Such rules 203 or other useful information concerning the malicious e-mails 103 (or alternatively the e-mails 103 themselves) can also be transmitted to remote sites 205 for further analysis, or to allow other domains 107 to detect the malicious message 103. Additionally, in some embodiments, whenever a malicious message 103 is detected, the malicious e-mail manager 101 further blocks, quarantines, deletes or analyzes the message 103 as desired.
As will be understood by those familiar with the art, the invention may be embodied in other specific forms without departing from the spirit or essential characteristics thereof. Likewise, the particular naming and division of the modules, managers, functions, layers, features, attributes, methodologies and other aspects are not mandatory or significant, and the mechanisms that implement the invention or its features may have different names, divisions and/or formats. Furthermore, as will be apparent to one of ordinary skill in the relevant art, the modules, managers, functions, layers, features, attributes, methodologies and other aspects of the invention can be implemented as software, hardware, firmware or any combination of the three. Of course, wherever a component of the present invention is implemented as software, the component can be implemented as a script, as a standalone program, as part of a larger program, as a plurality of separate scripts and/or programs, as a statically or dynamically linked library, as a kernel loadable module, as a device driver, and/or in every and any other way known now or in the future to those of skill in the art of computer programming. Additionally, the present invention is in no way limited to implementation in any specific programming language, or for any specific operating system or environment. Accordingly, the disclosure of the present invention is intended to be illustrative, but not limiting, of the scope of the invention, which is set forth in the following claims.
Number | Name | Date | Kind |
---|---|---|---|
6167434 | Pang | Dec 2000 | A |
6249807 | Shaw et al. | Jun 2001 | B1 |
6282565 | Shaw et al. | Aug 2001 | B1 |
6289416 | Fukushima et al. | Sep 2001 | B1 |
6324569 | Ogilvie et al. | Nov 2001 | B1 |
6487586 | Ogilvie et al. | Nov 2002 | B2 |
6493007 | Pang | Dec 2002 | B1 |
6546416 | Kirsch | Apr 2003 | B1 |
6640301 | Ng | Oct 2003 | B1 |
6643685 | Millard | Nov 2003 | B1 |
6650890 | Irlam et al. | Nov 2003 | B1 |
6654787 | Aronson et al. | Nov 2003 | B1 |
6687740 | Gough | Feb 2004 | B1 |
6691156 | Drummond et al. | Feb 2004 | B1 |
6697942 | L'Heureux | Feb 2004 | B1 |
6701347 | Ogilvie | Mar 2004 | B1 |
6711608 | Ogilvie | Mar 2004 | B1 |
6732157 | Gordon et al. | May 2004 | B1 |
6757713 | Ogilvie et al. | Jun 2004 | B1 |
6757830 | Tarbotton et al. | Jun 2004 | B1 |
7058968 | Rowland et al. | Jun 2006 | B2 |
7363490 | Paulsen et al. | Apr 2008 | B2 |
7370357 | Sekar | May 2008 | B2 |
7404205 | Scoredos et al. | Jul 2008 | B2 |
7409712 | Brooks et al. | Aug 2008 | B1 |
20020087641 | Levosky | Jul 2002 | A1 |
20020138581 | MacIntosh et al. | Sep 2002 | A1 |
20030149726 | Spear | Aug 2003 | A1 |
20030167311 | Kirsch | Sep 2003 | A1 |
20030191969 | Katsikas | Oct 2003 | A1 |
20030200334 | Grynberg | Oct 2003 | A1 |
20030220978 | Rhodes | Nov 2003 | A1 |
20030229672 | Kohn | Dec 2003 | A1 |
20030233415 | Beyda | Dec 2003 | A1 |
20040003283 | Goodman et al. | Jan 2004 | A1 |
20040024823 | Del Monte | Feb 2004 | A1 |
20040054887 | Paulsen et al. | Mar 2004 | A1 |
20040064734 | Ehrlich | Apr 2004 | A1 |
20040068534 | Angermayr et al. | Apr 2004 | A1 |
20040073617 | Milliken et al. | Apr 2004 | A1 |
20040093383 | Huang et al. | May 2004 | A1 |
20040093384 | Shipp | May 2004 | A1 |
20040111480 | Yue | Jun 2004 | A1 |
20040148358 | Singh et al. | Jul 2004 | A1 |
20040205173 | Hall | Oct 2004 | A1 |
20050182959 | Petry et al. | Aug 2005 | A1 |
20060206938 | Petry et al. | Sep 2006 | A1 |