From: "Peter Dolding" <oiaohm@gmail.com>
To: "Arjan van de Ven" <arjan@infradead.org>
Cc: david@lang.hm, rmeijer@xs4all.nl,
"Alan Cox" <alan@lxorguk.ukuu.org.uk>,
capibara@xs4all.nl, "Eric Paris" <eparis@redhat.com>,
"Theodore Tso" <tytso@mit.edu>, "Rik van Riel" <riel@redhat.com>,
davecb@sun.com, linux-security-module@vger.kernel.org,
"Adrian Bunk" <bunk@kernel.org>,
"Mihai Don??u" <mdontu@bitdefender.com>,
linux-kernel@vger.kernel.org, malware-list@lists.printk.net,
"Pavel Machek" <pavel@suse.cz>
Subject: Re: [malware-list] [RFC 0/5] [TALPA] Intro to alinuxinterfaceforon access scanning
Date: Sat, 16 Aug 2008 15:19:43 +1000 [thread overview]
Message-ID: <e7d8f83e0808152219j50827f49nb9dd48cf44e082d2@mail.gmail.com> (raw)
In-Reply-To: <20080815210942.4e342c6c@infradead.org>
On Sat, Aug 16, 2008 at 2:09 PM, Arjan van de Ven <arjan@infradead.org> wrote:
> On Sat, 16 Aug 2008 13:57:50 +1000
> "Peter Dolding" <oiaohm@gmail.com> wrote:
>> Anti-Virus has been for years about chasing the threat. Lets try to
>> get in front of it. You thread model needs a major update its
>> incomplete.
>>
>
> The problem TALPA is trying to solve is only part of the puzzle.
> Everyone recognizes that. It's a very relevant part of the puzzle (in
> corporate context at least), but it's very much so not a complete
> puzzle. Does that mean we shouldn't deal with this just because it's
> incomplete? Absolutely not!
TALPA idea I agree with. As the long term forever solution I don't
agree with due to its location.
Lets look at the general disk to memory path.
[file system driver]
[file system drivers caches]
[inode's] TALPA links in here and basically runs its own scan cache.
Long term TALPA need to move from the inode layor down and the design
of the file system path needs to change.
[file system driver]
[generic file system cache] TALPA enters here and spreads.
[inodes]
generic file system cache built in a way that it can store all the non
linux permission and related data that the file system driver needs.
Reasons
1. That shape even if file system extra permissions are decided to be
kept hidden from the rest of Linux anti-virus can scanning can see it.
2. Everything that is in memory is checked.
3. Infected files can be removed from consuming memory in the file
system cache. So a raw memory scan of Linux will not trip on viruses
still being present in memory even that TALPA is running. False
positive suggesting TALPA has failed is possible due to its current
location.
4 share caching of passed and failed with the file system cache.
1 virus removed from a file system cache could equal the complete
memory price of running TALPA.
Its TALPA location I have major issue with. Being blind to full set
of information to make a judgement call is the other.
I see it in the same cat a unionfs fine as a side patch to main
kernel. Not fine to enter main kernel due to being in the wrong
place. Its the balancing act if we let TALPA will it ever develop
down to the location where it should be?
Can you say 100 percent that TALPA is in the right location for what
it is doing. If it is not its a good temp fix until we can get
developed the solution in the correct location. Temp fixes normally
never get main line.
Be truthful its simply in the wrong place. Getting it to the correct
location for most effective memory usage and giving a virus the least
ammont of distance into linux. Scanned and 100 percent booted out of
memory. Other thing some file system drivers also keep stuff in there
cache independent to inodes. So spots at moment can be double
scanned even that the complete time everything was in memory because
the inode was freed and the file system cache still had it.
You want the most effective use of CPU? if no go head with TALPA.
Current TALPA fails too many holes and flaws. All caused by 1 thing
its location. Yes its a major job to move it to the correct location
its a major file system operation rework.
TALPA unfortunately is like trying to build a house on quick sand.
Foundations it needs to work correctly and 100 percent effectively
currently not present. The quick sand of many file system caches had
to come back and bite at some point. The blocking of seeing all the
file system permissions also had to come back and bite at some point.
Fix the foundations TALPA idea will be solid for its section of the
puzzle. Sticking head in sand and saying the foundations don't have
major issues is just fooling to your self. LIM and others patches
trying to be put in also have the same quick sand issue.
Peter Dolding
next prev parent reply other threads:[~2008-08-16 5:19 UTC|newest]
Thread overview: 65+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-15 12:22 Rob Meijer
2008-08-15 13:27 ` Peter Dolding
2008-08-15 17:31 ` david
2008-08-16 3:57 ` Peter Dolding
2008-08-16 4:09 ` Arjan van de Ven
2008-08-16 5:19 ` Peter Dolding [this message]
2008-08-16 9:39 ` Theodore Tso
2008-08-16 11:38 ` Peter Dolding
2008-08-16 15:17 ` Theodore Tso
2008-08-17 7:49 ` Peter Dolding
2008-08-17 8:58 ` david
2008-08-18 0:11 ` Peter Dolding
2008-08-18 0:32 ` david
2008-08-18 1:20 ` Peter Dolding
2008-08-18 10:54 ` douglas.leeder
2008-08-18 13:40 ` Peter Dolding
2008-08-16 5:35 ` Valdis.Kletnieks
2008-08-16 7:27 ` david
[not found] ` <alpine.DEB.1.10.0808152115210.12859@asgard.lang.hm>
2008-08-16 9:28 ` Alan Cox
2008-08-16 10:14 ` david
2008-08-17 21:17 ` David Collier-Brown
2008-08-18 1:33 ` Peter Dolding
2008-08-18 1:44 ` david
2008-08-18 2:33 ` Peter Dolding
2008-08-15 14:18 ` Alan Cox
-- strict thread matches above, loose matches on Subject: below --
2008-08-17 10:33 Rob Meijer
2008-08-17 10:46 ` david
2008-08-17 21:58 ` Pavel Machek
2008-08-17 22:30 ` david
2008-08-15 10:10 Rob Meijer
2008-08-15 11:02 ` Alan Cox
2008-08-13 12:56 [malware-list] [RFC 0/5] [TALPA] Intro to a linuxinterfaceforon " Pavel Machek
2008-08-13 13:52 ` tvrtko.ursulin
2008-08-14 12:54 ` Pavel Machek
2008-08-14 18:37 ` [malware-list] [RFC 0/5] [TALPA] Intro to alinuxinterfaceforon " Press, Jonathan
2008-08-14 22:39 ` Pavel Machek
2008-08-15 0:00 ` Rik van Riel
2008-08-15 0:43 ` Theodore Tso
2008-08-15 1:02 ` Rik van Riel
2008-08-15 3:00 ` Eric Paris
2008-08-15 5:22 ` david
2008-08-15 5:33 ` david
2008-08-15 5:38 ` david
2008-08-17 22:14 ` Pavel Machek
2008-08-17 22:12 ` Pavel Machek
2008-08-17 22:47 ` david
2008-08-17 22:58 ` Pavel Machek
2008-08-17 23:24 ` david
2008-08-18 0:00 ` Casey Schaufler
2008-08-18 0:17 ` david
2008-08-18 0:31 ` Peter Dolding
2008-08-18 0:39 ` david
2008-08-18 0:42 ` Casey Schaufler
2008-08-18 0:07 ` Rik van Riel
2008-08-19 10:41 ` Pavel Machek
2008-08-15 8:35 ` Alan Cox
2008-08-15 11:35 ` Theodore Tso
2008-08-17 22:10 ` Pavel Machek
2008-08-06 0:51 [malware-list] [RFC 0/5] [TALPA] Intro to a linuxinterfaceforon " Rik van Riel
2008-08-06 12:10 ` Press, Jonathan
2008-08-06 15:08 ` Theodore Tso
2008-08-06 15:33 ` [malware-list] [RFC 0/5] [TALPA] Intro to alinuxinterfaceforon " Press, Jonathan
2008-08-06 15:46 ` Rik van Riel
2008-08-06 16:12 ` tvrtko.ursulin
2008-08-06 16:25 ` Rik van Riel
2008-08-06 18:06 ` Eric Paris
2008-08-05 17:38 [malware-list] [RFC 0/5] [TALPA] Intro to a linux interfaceforon " Arjan van de Ven
2008-08-05 18:04 ` Press, Jonathan
2008-08-05 18:11 ` Greg KH
2008-08-05 18:38 ` [malware-list] [RFC 0/5] [TALPA] Intro to a linuxinterfaceforon " Press, Jonathan
2008-08-05 18:54 ` Theodore Tso
2008-08-05 20:37 ` [malware-list] [RFC 0/5] [TALPA] Intro to alinuxinterfaceforon " Press, Jonathan
2008-08-05 21:14 ` Greg KH
2008-08-05 20:18 ` [malware-list] [RFC 0/5] [TALPA] Intro to a linuxinterfaceforon " Greg KH
2008-08-05 20:28 ` [malware-list] [RFC 0/5] [TALPA] Intro to alinuxinterfaceforon " Press, Jonathan
2008-08-05 20:51 ` Eric Paris
2008-08-05 21:08 ` Arjan van de Ven
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e7d8f83e0808152219j50827f49nb9dd48cf44e082d2@mail.gmail.com \
--to=oiaohm@gmail.com \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=arjan@infradead.org \
--cc=bunk@kernel.org \
--cc=capibara@xs4all.nl \
--cc=davecb@sun.com \
--cc=david@lang.hm \
--cc=eparis@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-security-module@vger.kernel.org \
--cc=malware-list@lists.printk.net \
--cc=mdontu@bitdefender.com \
--cc=pavel@suse.cz \
--cc=riel@redhat.com \
--cc=rmeijer@xs4all.nl \
--cc=tytso@mit.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®