Re: [malware-list] [RFC 0/5] [TALPA] Intro to alinuxinterfaceforon access scanning



On Thu, 2008-08-14 at 20:43 -0400, Theodore Tso wrote:
On Thu, Aug 14, 2008 at 08:00:05PM -0400, Rik van Riel wrote:
Yes, that's the part libmalware.so proposal solves. Given scary number
of 0 Linux viruses in wild, it seems to solve the problem pretty well.

If you're trolling, you're not being very good at it.

Just because you cannot easily infect a Linux system from a
user application does not mean malware cannot do all kinds
of damage with user privileges. Think of a key sniffer (using
the same interface that the X screensavers use) or a spam bot
running with user privileges.

But Pavel is raising a good question. In Eric's proposed threat
model, he claimed the only thing that he was trying to solve was
"scanning". Just file scanning. That implies no root privileges, but
it also implied that he wasn't worried about malware running with user
privileges, either. Presumbly, that would be caught and stopped by
the file scanner before the malware had a chance to run; that is the
execve(2) system call would also be blocked until the executable was
scanned.

So if that is the threat model, then the only thing libmalware.so
doesn't solve is knfsd access, and it should be evaluated on that
basis. If the threat model *does* include malware which is **not**
caught by the AV scanner, and is running with user privileges, then
there are a whole host of other attacks that we have to worry about.
So let's be real clear, up front, what the threat model is, and avoid
changing the model around to rule out solutions that don't fit the
initially preconceived one. That's how you get to the TSA
confiscating water bottles in airport security lines.

No, I'm not claiming to protect against running processes. I'll leave
that for SELinux.

I haven't seen this supposed libmalware.so so take anything I say with a
grain of sand. But I take it that the solutions to the problems are
'don't do that.'

aka malware is allowed to flow freely across linux nfs servers. Great,
I'm sure corperate IT organizations are going to love knowing there
isn't a darn thing they can do to protect their nfs server from being
storage grounds other than hope they can control all of the border.

And I still don't get this 'mmap problem' that I don't solve that
libmalware magically solves. What? don't use mmap? I certainly hope
not.

Are we seriously considering that the right thing to do is to try to
push malware scanning to every project on sourceforge? At least putting
a solution inside glibc wasn't completely insane, I just think for
numerous reasons we've seen on list for the last 2 weeks not a better
idea. In any case, having an application have to make special calls to
handle 'untrusted' data is basically like turning the keys to the castle
over on every exploit. No, I might not make promises about subverted
applications, but that doesn't mean I have to just open all the doors.
And anything that requires explicit application help is just that. Talk
about theater.

-Eric

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: [malware-list] [RFC 0/5] [TALPA] Intro toalinuxinterfaceforonaccess scanning
    ... while today's threat model has changed considerably. ... Linux has, ... The Linux Desktop (where clueless users may be tricked into ... active running malware, ...
    (Linux-Kernel)
  • Re: [malware-list] [RFC 0/5] [TALPA] Intro to alinuxinterfaceforon access scanning
    ... That's only part of the threat model. ... of 0 Linux viruses in wild, it seems to solve the problem pretty well. ... basis and could be used to spread worms and get malware onto systems. ... The old DOS model of "you need to infect system binaries" is not ...
    (Linux-Kernel)
  • Re: Where Can I Buy a Zombie PC?
    ... I only ever caught one malware -as far as I know ... The Windoze XP installation routine does this by default. ... Linux this past year than for Windows. ... Vista, may slow down the rate at which machines are impacted by malware, ...
    (microsoft.public.windowsxp.general)
  • =?windows-1252?Q?Re=3A_C=2F2010_X1=3A_Russian_Warning_Issued_Over_=93Contro?= =?windows-1252
    ... Sam should just shitcan Microsoft and go with Linux. ... Savvy Windows users have to watch their virus checkers as closely as ... malware du jour -- or should I say malware de l'heure? ... with files: read, write, and execute. ...
    (alt.gathering.rainbow)
  • Re: Mission: Eliminate Vista
    ... "The growth in Linux malware is simply due to its increasing popularity, particularly as a desktop operating system ... ... The use of an operating system is directly correlated to the interest by the malware writers to develop malware for that OS." ... Samba or NFS servers, for instance, may store documents in undocumented, vulnerable Microsoft formats, such as Word and Excel, that contain and propagate viruses. ...
    (microsoft.public.windows.vista.general)