| <<O>> Difference Topic DocGuide101 (r1.1 - 29 Jun 2002 - ChrisLowth) |
| Added: | |
| > > |
%META:TOPICINFO{author="chris.lowth" date="1025375700" format="1.0" version="1.1"}%
%META:TOPICPARENT{name="Documents"}%
Using protector 1.01NB: This page is currently incomplete and out of date Author: Chris Lowth, (protector@lowth.com)Date: April 2001 Functional overviewThe protector program inserts itself (on installation) into the local mail delivery chain in a linux box equipped with either sendmail or postfix, and procmail. Every mail message that is delivered to a local user (including POP3 users of connected windows (etc) systems) of the system is piped through the protector program before being passed on to "procmail" for actual delivery to the recipient user. Protector scans the mail message for attachments, and passes each one it finds to a "part_filter" program for approval. This program checks the type of file contained in the attachment, and typically verifies that it is incapable of containing viruses, worms or other undesirable content. It does not (currently) perform a virus scan, but simply rejects file types that could contain viruses. Examples of rejected file types are..
--- Warning message from your e-mail system's virus checker ---
DISALLOWED TYPE
This email contained an attachment of an "illegal" or "dangerous"
type, so the system has replaced it with this warning message.
This may seem like a nuisance, but please understand that it is in
your own interests to avoid accessing email message attachments
that contain viruses. Since it hasnt been possible to check this
message for actual viruses, the server has taken the pessimistic
but safe view that you are better off without it.
If it is important that you are able to view the attachment, please
speak to your system administrator, and ask for assistance. I will
keep a copy of the original attachment in a "safe" place for a few
days. You cannot access this "safe" folder, but your system
administrator can - so speak to him (or her) about it. It would be
appreciated if you dont ask for help in gaining access to cartoon
animations and other "joke" files - keep the requests for help for
real "important" stuff.
Content-type: Application/Octet-stream; name="b15may00.doc"; type=Unknown
Content-disposition: attachment; filename="b15may00.doc"
Content-transfer-encoding: BASE64
X-Discovered-Type: unknown/unknown
X-Copy-Of-Original: 20000529.093015.1
At the tail end of this message, the attachment header fields are listed
along with two new header fields generated by the part_filter itself.
Current approval logicThe current version of protector allows attachments of the following types through, and rejects all others. ( NB: This list is incomplete )
Microsoft Office file validationFiles from the Microsoft office suite of software are among the most commonly attached files in internet e-mails, but they are also amongst some of the most dangerous because they can contain macros or scripts that can be executed on the receiving user's machine without his permission or knowledge. Not surprisingly, these file formats have become prime targets for virus developers. Protector includes logic for decoding a subset of these files, and validating them for safety. The basic rule of validation is "it's safe as long as it doesn't contain macros, or embedded objects that could contain macros". The "check_msole" module understands the basic format of OLE documents (which is the format used by MS office files), and is capable of checking for macros in Word, Excel, Powerpoint and Binder files (amoungst others). Further, the program checks for embedded objects and verifies that they too are safe. Following protector's core philosophy, the program has a list of embedded object types that are "safe", and flags all others as potentially dangerous. Luckily the set of safe objects includes the majority of the most commonly occurring ones. In writing the "check_msole" program, I have made extensive use of knowledge gleaned by reading the source code of OpenOffice (the open sourced version of Star Office), MSWordView and Laola.Help wantedIn developing a product such as this, I am limited to working with the types of files that I and my immediate circle of users routinely see. If the product is to find wider acceptance, the library of "accepted" file types needs to grow. If you are a developer or systems administrator with enough understanding to add to the list of "accepted" types yourself, please will you send me the results of your work so that I can include them in a future release for others to enjoy. The only rules I impose here are..
|
| Topic DocGuide101 . { View | Diffs | r1.1 | More } |
|
Revision - Revision r1.1 - 29 Jun 2002 - 18:35 GMT - ChrisLowth |
Copyright © 2001 by the contributing authors.
All material on this collaboration tool is the property of the contributing authors. Ideas, requests, problems regarding TWiki? Send feedback. |