Spam-fighters – tricking the tricksters

Staying one step ahead of spam is a 24-hour, seven-day-a-week task for those fighting the scourge

Computer security analysts who fight spam face the same thankless task as goalkeepers: they don’t get much credit for the unsolicited email they stop, only demerits for the ones that get through.

The sheer volume of spam still threatens to bring the internet to a crisis point. Up to 90% of all email traffic is spam, a figure that has crept upwards in recent years. The forecast isn’t good either.

“We see spam just going up to the point where internet servers start having difficulty,” says Steven Linford, chief executive of Spamhaus, a London non-profit organisation that generates a list used by technology companies and organisations running email servers to block spam.

“Spam will tend to increase to where it will be 99% of all email on the internet,” he says. “At that point, governments will start to take notice.”

The front line of defence for most computers connected to the internet is antispam software that tries to determine whether a message is legitimate. Antispam software uses a number of methods to make that decision.

The software can block messages coming from the IP address of a computer known to send spam. Messages containing links to potentially harmful websites can be halted using URL filtering. Security vendors can tweak rules for their antispam engines, such as blocking messages containing certain kinds of text identified as common to spam.

Antispam software usually aims to filter out 98% of bad messages — any higher level of filtering tends to snag real messages and cut off critical business communication.

So spammers are aiming for the narrow, 2% window and, even in the last few months, have honed new methods to hit the inbox bull’s eye, experts say.

Sophos, one of many vendors of antispam software, has analysts stationed at four labs — in Abingdon, England, Vancouver, Boston and Sydney — watching the internet 24 hours a day, seven days a week for threatening spam and malicious software.

Sophos’ lab in Abingdon doesn’t look much different from any other office. But it’s mission control for security analysts with special rules: no computers or electronic equipment can be brought inside and the room remains locked.

While Sophos catches hundreds of new malware and spam samples a day, many can be stopped immediately using software if the samples show similar characteristics to known problem code.

New, unique ones are prioritised and doled out to researchers for inspection, and Sophos quickly updates its software to block them.

“We’re unusual in the respect that we like to receive spam,” says Mark Harris, director of the lab.

That’s because spam does leave a trail, albeit one that’s often a confusing series of hops between servers around the world. But those clues are enough to block it.

Sophos catches spam in traps — email addresses and domains that have been donated for the purpose of spam research. Messages sent to these addresses are invariably spam, the first clue a message is garbage.

Recently, Paul Baccas, a spam research analyst, found an example. A message entitled “Let’s go” caught his attention after it landed in a spam trap of addresses monitored by Sophos that belonged to a telecommunications company that went bust six years ago.

Machine analysis ranked the message as likely being spam, but the filter let it through. Human analysis revealed it wasn’t a legitimate message. Deeper investigation showed a tangle of false information peppered with international locales.

The message contained a link to a website selling “human growth hormone”, a product advertised recently through spam aimed at US users, Baccas says. It was registered by a person in Detroit, according to domain registry information services provider whois.

The website was registered with a hosting company in Hong Kong less than an hour before the spam message was received by Sophos, Baccas says.

It’s uncertain whether the registered name is real, says Graham Cluley, chief technology consultant for Sophos.

The state abbreviation in the whois database, however, was incorrect. A call to the phone number listed found it disconnected. Adding to the ruse, the return address for the spam message contained a “.pl” suffix, indicating it came from Poland. But that information is also easily faked.

“Basically, he’s sent an email to a company that hasn’t existed in six years within 45 minutes of him registering the website,” Baccas said. “That’s very suspicious.”

The approach is one in a rich bag of tricks spammers employ to beat security software. Lately, analysts have noticed a sharp uptick in spam messages with images containing words, which can defeat text analysis.

Another method spammers use is adding or subtracting just a few pixels in every image, which to a computer makes the message look unique and good. To defeat optical character recognition (OCR) technology — which can read words embedded in images — spammers introduce coloured pixels to create image noise.

Humans, for example, can make out a letter “C”, but a machine begins to struggle if the technique is used, says Simon Heron, director of operations for security vendor Network Box. It’s the spammer equivalent of using hairspray on a licence plate to confuse a speed camera, which also uses OCR, he says.

“Basically, they’ve got a little program that is actually able to generate a slightly different email each time even though the picture to the human eye looks absolutely identical,” Heron says.

But the spam fighters aren’t giving up. In the next two weeks, Spamhaus is planning to roll out a new approach to halt the number of “zombie” machines sending spam.

Zombie machines are ones that are remotely controlled by hackers and used to send spam. These machines — scattered around the world in shifting networks called “botnets” — are a huge part of the spam problem.

Spamhaus’ Policy Block List (PBL) will block large ranges of IP addresses of end user computers that should be using their ISP’s servers to send mail, Linford says. Most computers on the internet that are directly sending out email are spammers, he says, although Spamhaus has a mechanism for incorporating exceptions.

The ISPs will submit lists to Spamhaus, which will push them out to those that use its list to block spam, including businesses such as Sophos and Microsoft.

“It’s an arms race with spammers,” Linford says. “It [the PBL] will certainly be an extremely good weapon.”

But he’s not sure for how long. “Obviously, by this time next year, the spammers will have found a way around it,” Linford says.

Join the newsletter!


Sign up to gain exclusive access to email subscriptions, event invitations, competitions, giveaways, and much more.

Membership is free, and your security and privacy remain protected. View our privacy policy before signing up.

Error: Please check your email address.

Tags technologyspamfighting

More about MicrosoftNetwork BoxSophos

Show Comments