Category Archives: ORF

ORF-related posts.

PDF Spam Agent 1.0 Beta R2 Update

The title says it all, we just have released an update to the PDF Spam Agent.

There entire PDF spam recognizer engine was rewritten to deal with the new types of PDF spam and it detects most of them pretty well. We did not add rules for some less widespread/older PDF spam types that are unexpected to be repeated in the future, but still there are 8 new types of PDF spam that are caught by the agent.

We have also changed the source code license to LGPL 3, so now the gates are open for admins with programming skills and programmers with admin skills and programmers without admin skills and just for everyone to improve the agent. I think the code is quite well documented and reasonably organized considering the limited time we had, but if you have any questions, feel free to ask.

PDF Spam 2.0

The second wave of the PDF spam phenomenon is here and it quickly rendered the PDF Spam Agent practically useless, due to its design that focused on the first outbreak only. In the past two weeks, we received many PDF spam reports (thank you!) and analyzed more than 100 of these by hand.

Unlike the first wave, the second one utilizes various software and technology for generating the PDF payload. It appears that spammer groups are experimenting with a number of tools, often the same stock pump spam was generated with 2 or 3 different software, from text2pdf to OpenOffice. Based on the email properties, I broke the samples into 11 groups that show distinguishing properties. The good news is that these properties are also different from that of legitimate PDFs, so technically we can adjust the engine to recognize them. It will take time, though and also we have a different focus now (Exchange 2007), but we are working on the new PDF Spam Agent version.

PDF Spam Agent 1.0 Beta

We just have released the first beta of our new PDF Spam Agent, an External Agent designed specifically to stop the recent PDF spam outbreak. It is a fairly simple program that categorizes the email as PDF spam if all of the conditions below are satisfied:

The email…

  • Size must be less than 200kB
  • Must have exactly one attachment, a PDF file
  • Attachment size must be less than 100kB

The PDF…

  • Must have only one page
  • Must be version 3 (Acrobat 4.x)
  • Must not have an info block
  • Must have only one font embedded
  • Must contain exactly one image

The image…

  • Must have name /Im0 (most PDF generators define /Im1)
  • Must be GIF (kind of… must have one filter called /LZWDecode)

I realize it is far from perfect and can be tricked very easily—this time, the goal was to reliably detect the current outbreak and differentiate it from legitimate PDF attachments, however. As the PDF spam phenomenon evolves, the above rule set will get deprecated and will have to get updates. This is why we decided to release the source code of the agent this time—I know many of the readers can code in C# and your reaction time is probably faster than ours. Feel free to modify the agent and/or move the project to SourceForge.net.

Beta Newsletter Issue

Obviously, there is a good reason why people do not send newsletters in the morning while drinking their first coffee of the day—I just did that and managed to compile a wrong recipient list, so the 4.0 Beta newsletter was sent even to those users who explicitly requested not to receive any kind of newsletters from us. Sorry, I should have been much more careful. We definitely did not intend to send unsolicited emails to you and I will make sure this will not happen again in the future.