Slashdot is powered by your submissions, so send in your scoop

 



Forgot your password?
typodupeerror
×
Security

Ask Slashdot: How Do You Automatically Sanitize PDF Email Attachments? 238

First time accepted submitter supachupa writes "It seems the past couple of years that spearfishing is getting very convincing and it is becoming more and more likely someone (including myself) will accidentally click on a PDF attachment with malicious javascript embedded. It would be impossible to block PDFs as they are required for business. We do disable javascript on Adobe reader, but I would sleep a lot better knowing the code is removed completely. I have looked high and low but could not find a cheap out of the box solution or a 'how to' guide for automatically neutralizing PDFs by stripping out the javascript. The closest thing I could find is using PDF2PS and then reversing the process with PS2PDF. Does anyone know of a solution for this that is not too complex, works preferably at the SMTP relay, and can work with ZIPed PDFs as well, or have some common sense advice for dealing with this so that once its in place, there is no further action required by myself or by users."
This discussion has been archived. No new comments can be posted.

Ask Slashdot: How Do You Automatically Sanitize PDF Email Attachments?

Comments Filter:
  • Sumatra PDF (Score:5, Insightful)

    by shellster_dude ( 1261444 ) on Wednesday July 17, 2013 @10:17PM (#44314201)
    Check out Sumatrapdf http://blog.kowalczyk.info/software/sumatrapdf/free-pdf-reader.html [kowalczyk.info]. It's super fast and does not support javascript or actionscript in PDF's. I use it exclusively now.
  • javascript? (Score:5, Insightful)

    by sjames ( 1099 ) on Wednesday July 17, 2013 @10:18PM (#44314209) Homepage Journal

    Why in the world is javascript included in PDF documents? PDF is already a Forth like programming language and environment.

  • Re:Foxit Reader? (Score:5, Insightful)

    by fuzzyfuzzyfungus ( 1223518 ) on Wednesday July 17, 2013 @11:14PM (#44314533) Journal

    That isn't really 'sanitizing', though: It's certainly good that you practice safe text on your computer; but if you are the mailserver guy, and may or may not have as much control as you'd like over the users and their filthy, weatherbug-encrusted, systems, you want to modify the file such that it no longer contains a potential payload, not merely use a reader that doesn't execute payloads.

  • by fuzzyfuzzyfungus ( 1223518 ) on Wednesday July 17, 2013 @11:50PM (#44314691) Journal

    And be sure to double-check that the next update doesn't revert those settings on you...

  • by tftp ( 111690 ) on Thursday July 18, 2013 @12:05AM (#44314735) Homepage

    I'm hoping that somebody can reply to this with a _genuine_ reason why sending a PDF (Pretty Damn F'ked) attachment to an e-mail is either necessary or optimal

    What else would you use to send an invoice, or a contract, or a drawing, or a user's manual, or anything else that requires pixel-accurate placement of all elements as designed ? It has to support digital signatures as a minimum, and preferrably a complete public key encryption. PDF does that.

    'It's good looking' sounds like a weak reason.

    The 'good looking' is a weak reason. "Correct" is a far better reason. Once you print into a PDF, it captures your document exactly as it is. You want your documents to represent what you put into them - neither more nor less. Perhaps there are better formats, but I'm not aware of any.

  • by godrik ( 1287354 ) on Thursday July 18, 2013 @12:25AM (#44314809)

    Where does this belief comes from? Why would there be any format requirement on these things? The requirement would need to be in the law or in a court judgment. Is the law going to be that precise over electronic communications? (Not trying to bitch, just really wondering)

  • by fermat1313 ( 927331 ) on Thursday July 18, 2013 @12:28AM (#44314817)

    Lots of people here saying "Don't use Adobe" and suggesting alternatives. Reality is, for many of us, we deal with complex PDF forms and applications that integrate directly with Adobe Acrobat. In my business (CPA firm) we use lots of applications, and most of them are highly vertical with often just one realistic competitor that can function adequately for a firm our size. Many of our apps integrate directly with Acrobat (and Office) so not using Acrobat simply isn't a choice we can make.

    So how do we deal with Adobe Acrobat? As some pointed out earlier, defense in depth. Spam filters, multiple virus scans, and our two most important measures: End users don't have admin on their computers and Adobe is one of our "High Priority" upgrade applications. Updates must be pushed out within one day of being released.

    BTW, the other other High priority apps are Java and Flash, again, both required by our software. With Acrobat, they make up my "Axis of Evil" of insecure software.

It's a naive, domestic operating system without any breeding, but I think you'll be amused by its presumption.

Working...