Bye bye OCR?

February 2007

The end of 2006 and beginning of 2007 brought a completely new development in stock spam.

The usual technique used in 'pump-and-dump' scams were, and still are, text-based emails with a lot of additional junk text to confuse statistic filters.

In November 2006 we saw the so-called 'spam art', with messages such as that shown below - random coloured shapes on a coloured background with text written in waves.

Spam art or a very good anti-OCR technique?

Apparently, this was not effective enough against the OCR (optical character recognition) engines included in anti-spam products - or maybe the images were too easily detected because of their large size. So the spammers came up with something simpler, but more effective: images containing text diagonally written text, where each character is a little twisted.

Diagonal text - white background

The images are between 10 and 17 KB in size, almost half of the size of the traditional 'spam art' images, and each with different dimensions (meaning that there is no opportunity to train a spam filter to detect the messages using the width and height of the images).

There are also other emails from the same spam category, which contain groups of coloured lines in the background:

Diagonal text - 'dirty' background

This technique is used both to obfuscate the text even more and to make the creation of new, unique images very easy (considering that anti-spam tools are continually analysing size, histogram, pixels distribution and colour).

The complete set of stock spam is very well generated and it varies sometimes more than once a day. It is becoming increasingly interesting to monitor the levels of stock spam we see, as well as the proportion of total spam that is stock spam.

Sorin Mustaca, Avira

Quick Links

Should software vendors extend support for their products on Windows XP beyond the end-of-life of the operating system?
Yes - it keeps their users secure
No - it encourages users to continue to use a less secure OS
I don't know
Leave a comment
View 24 comments


VB2014 VB2014 will take place 24 - 26 September 2014 at the Westin Seattle hotel, Seattle, WA, USA.

Virus Bulletin currently has 231,344 registered users.