E-mail spam refers to unsolicited email messages that are sent by “spammers” to large numbers of recipients, few of whom want to receive them. Spamming is undesirable in many ways, including that it costs recipients time to delete the messages, and requires email service providers to provide resources to distribute and/or store the generally unwanted messages.
To detect currently known senders of spam, email service providers maintain lists of Internet Protocol (IP) addresses, referred to as blacklists. Messages from blacklisted IP addresses are (to a high probability) from spammers, and may be handled differently from other messages, e.g., the messages may be not accepted for distribution.
Spammers get around such blacklists by regularly changing their IP addresses. Each time a spammer changes an IP address, the email server accepts the email message, and uses CPU time to determine whether the mail being sent is spam, in which event it is automatically filtered into a junk mail folder or the like. Only after repeated processing of spam messages from such an IP address is that IP address added to the blacklist of “Bad” IP addresses on the receiving server. When this happens, the spammer switches to yet another IP address, and the process repeats.
This Summary is provided to introduce a selection of representative concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used in any way that would limit the scope of the claimed subject matter.
Briefly, various aspects of the subject matter described herein are directed towards a technology by which existing blacklist data IP addresses is accessed to determine which IP addresses in a given range are spam-related IP addresses that have been identified as corresponding to spam messages. If enough have been identified as spam-related, e.g., statistically, the rest of the range's IP addresses are considered as likely being spam-related addresses. The entire range may be then used to block messages from IP addresses, e.g., by adding the range to a range weighted blacklist.
In one aspect, before adding the range to the range weighted blacklist, the addresses of the range may be further processed against known good traffic data and/or safe list data to determine whether an exception exists that indicates an IP address from a good sender. If so, the range is not added to the range weighted blacklist.
In one aspect, if not enough IP addresses of the range are considered as likely being spam-related addresses, and/or an exception exists, the range may be reduced in size. The reduced-size range may be re-processed in the above manner, until some set of IP addresses is added to the weighted blacklist, or until a stopping criterion is met, e.g., the size is too small.
With the range weighted blacklist generated by adding ranges, a spam detection component may access the weighted blacklist to determine from an input message's IP address whether the input message likely corresponds to spam. Such a message may be blocked. The weighted blacklist may be used in conjunction with one or more conventional blacklists, and/or combined with one or more conventional blacklists, for purposes of detecting spam.
Other advantages may become apparent from the following detailed description when taken in conjunction with the drawings.
The present invention is illustrated by way of example and not limited in the accompanying figures in which like reference numerals indicate similar elements and in which:
Various aspects of the technology described herein are generally directed towards identifying ranges or other sets of IP addresses on the Internet that (to a high probability) likely correspond to spam senders, including before those addresses have actually sent spam. Then, individual IP addresses in such ranges may be proactively blocked from sending spam. To this end, existing blacklists patterns are used to help identify candidate ranges for blocking, which are then further processed by accessing other data, e.g., a safe list database and traffic data, to reduce the chances of blocking email messages from good mail servers.
It should be understood that any of the examples herein are non-limiting. As one example, while email spamming is described, any other type of electronic spam detection may benefit from the technology described herein, e.g., communications sent with respect to other media such as instant messaging, social networking, mobile media and so forth. As such, the present invention is not limited to any particular embodiments, aspects, concepts, structures, functionalities or examples described herein. Rather, any of the embodiments, aspects, concepts, structures, functionalities or examples described herein are non-limiting, and the present invention may be used various ways that provide benefits and advantages in data communications in general.
Based on this, the range classification mechanism 102 processes existing blacklist data 104 to look for ranges that are not yet individually blocked, yet given time, likely will be blocked by conventional blacklisting techniques. To this end, the range classification mechanism 102 determines a candidate range 106 that fits the profile of a spammer's addresses, e.g., based on statistics or the like. For example, if some value/percentage of IP addresses in a range (e.g., 200 or more out of 256, 10 or more out of 256 or some other number) are already identified in the existing blacklist data 104 as being from a spammer, then it is likely that the remaining addresses in that range are also from a spammer.
However, simply using a count or percentage may be too aggressive and block good IP addresses. Thus, as a safeguard against blocking messages from good IP addresses, in one implementation the range classification mechanism 102 uses other information, comprising safe list data 108 that identifies the IP addresses of known human senders, and traffic data 110 identifying IP addresses corresponding to messages that were actually used and not previously identified as spam (at least not statistically). If no such information is present for this range, the candidate range 106 is added to a range weighted blacklist 112. Otherwise, the mechanism 102 shrinks the candidate range 106, which may continue until no such information is present and the narrowed range is added to the range weighted blacklist 112, or the range becomes too small and discarded. Additional details of example processing to generate the range weighted blacklist 112 are described below with reference to
Step 304 evaluates how many IP addresses in the range are already being blocked in a blacklist. As mentioned above, N may vary, and thus the evaluation may be made on a percentage basis, where X is the threshold percentage, which may be a configurable parameter. In other words, once more than X percent of IP addresses in the range have been blocked, the range classification mechanism further considers blocking the entire range by branching to step 304. Otherwise, the process branches to step 310, described below. Note that it may be assumed that the blacklist is correct, whereby if all IP addresses in the range are already blocked by the blacklist, then the classification mechanism may select a different candidate range to process, (although the mechanism may still blacklist the entire range, such as for efficiency reasons).
Further note that the value corresponding to X may be lower, and that X need not be a percentage, but a fixed or otherwise varying number. For example, if X is fixed at 10, then for a range size N of 256, it is more likely that the threshold evaluation at step 304 will be met. As can be readily appreciated, controlling X and N allows for adjusting the aggressiveness of the range weighted blacklist.
As mentioned above, a danger in blocking an IP address that has not been blocked before is that the system can block a good mail server. To reduce the chances of this, at step 306 the safe list (delisting) database is checked to determine whether any IP addresses in the range have requested to be removed from the list of blocked IP addresses. For example, on relatively infrequent occasions, a non-spam sender will notify an email service to indicate that his or her mail is being incorrectly blocked as spam when it is not. If this has occurred, this IP address is an exception, the range is considered as having a good sender, and is further processed by step 306 branching to step 310 as described below.
Another check, performed at step 308, evaluates whether some traffic coming from the range has been previously determined to be good traffic. More particularly, as is known, emails may be tested against rules and the like to determine whether they are spam, which is one way that the blacklist data are generated over time. Logs are maintained that provide information on which IP addresses are considered to be spam senders, as well as which IP addresses are considered good traffic, e.g., when statistically, email messages from an IP address are known to pass the test. Thus, step 308 evaluates a traffic database or the like to further ensure that good mail servers are not added to the blocked ranges of IP addresses. Note that the evaluation may be based on statistics, whereby the mechanism may adjust what traffic from non-blocked IP addresses is considered to be “good” traffic, to make spam blocking more or less aggressive.
If the evaluations at step 304, 306 and 308 indicate that the range is likely that of a spam sender, then the range is added to the range weighted blacklist, where messages from that range are handled differently (e.g., blocked) when received. However, if not added because of any of the evaluations, it is possible that a smaller range may result in a range being added.
Thus, until the range is added or the range is too small (step 310), the mechanism may shrink the range size (step 312) and repeat processing as described above. For example, the candidate range may be halved from its previous value (256 to 128, 128 to 64 and so on) until some stopping criterion is reached, such as a minimum size. Note that the minimum size may be fixed, or may correspond to X, e.g., if X is fixed at 10, then the candidate range will be shrunk to 16, but not 8, and so on. Further note that if the minimum size is reached, step 310 ends the process without adding the range, however it is still feasible that the original blacklist, which may be as granular as a single IP address, may block email messages from an individual IP address.
As can be seen, by using the data from one or more blacklists with other data, e.g., from delisting and traffic databases, the system can relatively safely block entire ranges of the Internet, that is, block while controllably keeping the risk of blocking a good mail server as low as desired. This facilitates proactively blocking possibly large sections of the Internet before spammers can send spam on IP addresses corresponding to those sections.
Exemplary Operating Environment
The invention is operational with numerous other general purpose or special purpose computing system environments or configurations. Examples of well-known computing systems, environments, and/or configurations that may be suitable for use with the invention include, but are not limited to: personal computers, server computers, hand-held or laptop devices, tablet devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like.
The invention may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, and so forth, which perform particular tasks or implement particular abstract data types. The invention may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in local and/or remote computer storage media including memory storage devices.
With reference to
The computer 410 typically includes a variety of computer-readable media. Computer-readable media can be any available media that can be accessed by the computer 410 and includes both volatile and nonvolatile media, and removable and non-removable media. By way of example, and not limitation, computer-readable media may comprise computer storage media and communication media. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer-readable instructions, data structures, program modules or other data. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by the computer 410. Communication media typically embodies computer-readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media. The term “modulated data signal” means a signal that has one or more of its characteristics set or changed in such a manner as to encode information in the signal. By way of example, and not limitation, communication media includes wired media such as a wired network or direct-wired connection, and wireless media such as acoustic, RF, infrared and other wireless media. Combinations of the any of the above may also be included within the scope of computer-readable media.
The system memory 430 includes computer storage media in the form of volatile and/or nonvolatile memory such as read only memory (ROM) 431 and random access memory (RAM) 432. A basic input/output system 433 (BIOS), containing the basic routines that help to transfer information between elements within computer 410, such as during start-up, is typically stored in ROM 431. RAM 432 typically contains data and/or program modules that are immediately accessible to and/or presently being operated on by processing unit 420. By way of example, and not limitation,
The computer 410 may also include other removable/non-removable, volatile/nonvolatile computer storage media. By way of example only,
The drives and their associated computer storage media, described above and illustrated in
The computer 410 may operate in a networked environment using logical connections to one or more remote computers, such as a remote computer 480. The remote computer 480 may be a personal computer, a server, a router, a network PC, a peer device or other common network node, and typically includes many or all of the elements described above relative to the computer 410, although only a memory storage device 481 has been illustrated in
When used in a LAN networking environment, the computer 410 is connected to the LAN 471 through a network interface or adapter 470. When used in a WAN networking environment, the computer 410 typically includes a modem 472 or other means for establishing communications over the WAN 473, such as the Internet. The modem 472, which may be internal or external, may be connected to the system bus 421 via the user input interface 460 or other appropriate mechanism. A wireless networking component such as comprising an interface and antenna may be coupled through a suitable device such as an access point or peer computer to a WAN or LAN. In a networked environment, program modules depicted relative to the computer 410, or portions thereof, may be stored in the remote memory storage device. By way of example, and not limitation,
While the invention is susceptible to various modifications and alternative constructions, certain illustrated embodiments thereof are shown in the drawings and have been described above in detail. It should be understood, however, that there is no intention to limit the invention to the specific forms disclosed, but on the contrary, the intention is to cover all modifications, alternative constructions, and equivalents falling within the spirit and scope of the invention.
| Number | Name | Date | Kind |
|---|---|---|---|
| 7249175 | Donaldson | Jul 2007 | B1 |
| 7676566 | Lund et al. | Mar 2010 | B2 |
| 7716351 | White et al. | May 2010 | B1 |
| 7970844 | Osborne et al. | Jun 2011 | B2 |
| 8161155 | Van Der Merwe et al. | Apr 2012 | B2 |
| 8572731 | Oliver | Oct 2013 | B1 |
| 20040260922 | Goodman et al. | Dec 2004 | A1 |
| 20050097223 | Shen et al. | May 2005 | A1 |
| 20050188036 | Yasuda | Aug 2005 | A1 |
| 20050193073 | Mehr et al. | Sep 2005 | A1 |
| 20060036693 | Hulten et al. | Feb 2006 | A1 |
| 20060047766 | Spadea, III | Mar 2006 | A1 |
| 20060075030 | van Riel | Apr 2006 | A1 |
| 20060080444 | Peddemors et al. | Apr 2006 | A1 |
| 20060092936 | Luss | May 2006 | A1 |
| 20060179113 | Buckingham et al. | Aug 2006 | A1 |
| 20060212931 | Shull et al. | Sep 2006 | A1 |
| 20060288076 | Cowings et al. | Dec 2006 | A1 |
| 20070078936 | Quinlan et al. | Apr 2007 | A1 |
| 20070192855 | Hulten et al. | Aug 2007 | A1 |
| 20070214220 | Alsop et al. | Sep 2007 | A1 |
| 20070250644 | Lund et al. | Oct 2007 | A1 |
| 20080082658 | Hsu et al. | Apr 2008 | A1 |
| 20080134300 | Izatt | Jun 2008 | A1 |
| 20080320119 | Achan et al. | Dec 2008 | A1 |
| 20090006569 | Morss et al. | Jan 2009 | A1 |
| 20090077617 | Levow et al. | Mar 2009 | A1 |
| 20100077052 | Alsop et al. | Mar 2010 | A1 |
| 20100082800 | Wei et al. | Apr 2010 | A1 |
| 20100083380 | Harris et al. | Apr 2010 | A1 |
| 20100122335 | Van der Merwe et al. | May 2010 | A1 |
| 20100325213 | Harris, III | Dec 2010 | A1 |
| 20110265014 | Koopman | Oct 2011 | A1 |
| 20110265015 | Koopman | Oct 2011 | A1 |
| 20120042098 | Kasslin et al. | Feb 2012 | A1 |
| Entry |
|---|
| “Like a credit score, a Sender Score is an indication of the trustworthiness of an email source”, retrieved at <<https://www.senderscore.org/senderscore/>>, 2010. |
| “Cloudmark Sender Intelligence”, retrieved at <<http://www.cloudmark.com/en/serviceproviders/sender-intelligence.html>>, 2010. |
| “What is the SpamCop Blocking List (SCBL)?”, retrieved at <<http://www.spamcop.net/fom-serve/cache/297.html>>, 2010. |
| Number | Date | Country | |
|---|---|---|---|
| 20120089744 A1 | Apr 2012 | US |