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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Peter Dolding
Date: Wednesday, August 6, 2008 - 6:57 am

On Wed, Aug 6, 2008 at 11:11 PM, Press, Jonathan <Jonathan.Press@ca.com> wrote:

We are not just kernel.  http://hal.freedesktop.org/docs/PolicyKit/
Is a good read.

Long term Linux design is basically Nuke the root user and protect the
core os providing restricted access.

So anti system core damage integrates outside kernel space.   We are
designing to limit how damaging that imperfect behavior is.


You got to remember syscall trapping can be done for good and evil.

You use it to monitor actions another use it to do harm like steal data.

We need syscall trapping for debugging.  ptrace and the like.

Something important you are forgetting and its critical.  Windows gets
hell loads of overhead from Anti-Virus products.   Our LSM's already
provide overhead.  Duplication is not a way forwards.

Credentials  IBM patch provides a way to override filesystem
permissions so monitor and scan can be done there.

Tracing improvements lined 2.6.27 could be used to monitor
applications a AV is suspect of.

Capabilities restrict syscalls by blocks.

Question exactly why needing to monitor at the syscall level.   Really
why.   There are ways to monitor and restrict accesses without
dropping to that level.

Most likely the issue is that your models are broken.   Under windows
most anti-viruses copy the methods you would use to root kit a OS to
get there data.   Not working with the existing secuirty model.
Learning to work side by side with the LSM and other systems already
provided anti-virus companies are going to have to learn to do.   No
more of this hooking into the OS to get what you want.

Critical note on Linux.   Rootkits out number viruses and malware 20
to 1.   This is way different to your windows numbers.   So any method
that is Rootkit style will fail in time because that hole will have to
be closed.

My main issue is TALPA, dazuko and so on of Anti-Virus Filesystem
monitoring are all going to break anyhow when
http://lwn.net/Articles/251224/ Credentials get added and common
filesystem caching gets added.

You want to change a permissions on a file/object before its opened.
So does the Credential user space daemon on file systems that cannot
store secuirty information.  We only really need 1 location in the
source base for this.  Expand Credentials slightly to allow anti
viruses to operate by by problem.   Even better when FS-Cache can sit
on top of Credentials correctly no need for anti virus software to
have independent caching of blocked and allowed files.  FS-Cache picks
a large amount of this up.

Basically TALPA, dazuko and so on of Anti-Virus Filesystem monitoring
don't fit in the future design of Linux.   All they will be is
duplication of a existing interface.  A interface that complete avoids
the stacking issue.

Peter Dolding
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linux inte ..., David Collier-Brown, (Wed Aug 6, 4:31 am)
Sidebar to [malware-list] [RFC 0/5] [TALPA] Intro to a lin ..., David Collier-Brown, (Wed Aug 6, 4:40 am)
Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linuxinter ..., Peter Dolding, (Wed Aug 6, 6:57 am)
Re: [malware-list] [RFC 0/5] [TALPA] Intro to a linuxinter ..., David Collier-Brown, (Mon Aug 11, 9:11 am)