On Wed, 28 Mar 2001, Jeffry Smith <[EMAIL PROTECTED]> wrote:
> Even more, from the discussion I've seen (including by some folks who have 
> found the source code), this only affects BINARIES that are writable.  So, 
> if you store binaries in your home directory, or in /home, or in /, for 
> which you have write permission (why anyone would make a binary writable, 
> I don't know), it can affect it.  If you give the binary r-x permission 
> only, virus stopped.  Scripts don't appear to be affected.
...
> 3.  Don't make binaries writable unless you can come up with a very good
> reason.

I might be missing something about what you are implying here, but
couldn't a virus (not this demo one) simply do a chmod(2) on the binary
to make it writable if it wanted to? (if the user owned the file and
there was enough space in the virus' code)

Or are you saying just *this* particular demo virus will be thwarted by
chmod a-w?  If so, I wouldn't call it that important a general rule to
chmod a-w all of your binaries. (but it does help a little I guess...)

Of course, viruses (sp?) concerns aside, it is a potentially bad idea
to have a binary writable by group or other!!! No system executables
would/should ever have that setting.  Users with a poor umask setting
(e.g. 000) building programs will be vulnerable to bad local users as
well as getting viruses from other users.

Karl

**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************

Reply via email to