linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: scanner interface proposal was: [TALPA] Intro to a linux  interface for on access scanning
@ 2008-08-18 10:50 Rob Meijer
  2008-08-18 12:16 ` david
  0 siblings, 1 reply; 2+ messages in thread
From: Rob Meijer @ 2008-08-18 10:50 UTC (permalink / raw)
  To: david
  Cc: Casey Schaufler, Peter Dolding, rmeijer, Alan Cox, capibara,
	Eric Paris, Theodore Tso, Rik van Riel, davecb,
	linux-security-module, Adrian Bunk, Mihai Don??u, linux-kernel,
	malware-list, Pavel Machek, Arjan van de Ven

On Mon, August 18, 2008 02:58, david@lang.hm wrote:
> since many people apparently missed this writeup I'm re-sending it.
>
> please try to seperate disagreement with the threat model this is
> addressing with disagreement with the design.

agreed.


> 3. (and the biggest batch) statements that this won't protect against
> problem X (where X was not in the threat model)
>
>    arguing againt this design is the wrong thing to do. argue against the
> threat model instead, preferrably by proposing a different threat model
> and allowing for a debate of which is appropriate.
>
> the threat model that was sent out (by others, not by me) basicly boils
> down to "don't allow programs to access/execute 'unscanned' data. don't
> try to defend against actions of programs already running or
> malicious user actions" there were further comments listing things it's
> not trying to cover.

I have multiple issues with this model:

1) It is basically the model used by black-list centric virus scanners.
   Recent demonstrations have shown how apparently easy it is to bypass
   blacklist technology, thus investing in providing hooks for technology
   that is arguably quickly becoming obsolete is IMO questionable.
2) Whitelisting, while a great partial solution is insufficient to become
   a solution all by itself. It does not lend itself to the single
   allow or kill approach above.
3) Most of the malware problem comes from the fact that software runs with
   all of the user her privileges while it could run with much less (least
   even) without (much) possibilities of doing malice.

The combination of these makes me come to the conclusion that a much more
viable alternative model would be:

"Don't allow (whitelist) unscanned programs to run with user privileges.
Allow unscanned and untrusted programs to run with (dynamic) least
authority. No blacklist scanning."

Rob



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: scanner interface proposal was: [TALPA] Intro to a linux      interface for on access scanning
  2008-08-18 10:50 scanner interface proposal was: [TALPA] Intro to a linux interface for on access scanning Rob Meijer
@ 2008-08-18 12:16 ` david
  0 siblings, 0 replies; 2+ messages in thread
From: david @ 2008-08-18 12:16 UTC (permalink / raw)
  To: rmeijer
  Cc: Casey Schaufler, Peter Dolding, Alan Cox, capibara, Eric Paris,
	Theodore Tso, Rik van Riel, davecb, linux-security-module,
	Adrian Bunk, Mihai Don??u, linux-kernel, malware-list,
	Pavel Machek, Arjan van de Ven

On Mon, 18 Aug 2008, Rob Meijer wrote:

> On Mon, August 18, 2008 02:58, david@lang.hm wrote:
>> since many people apparently missed this writeup I'm re-sending it.
>>
>> please try to seperate disagreement with the threat model this is
>> addressing with disagreement with the design.
>
> agreed.
>
>
>> 3. (and the biggest batch) statements that this won't protect against
>> problem X (where X was not in the threat model)
>>
>>    arguing againt this design is the wrong thing to do. argue against the
>> threat model instead, preferrably by proposing a different threat model
>> and allowing for a debate of which is appropriate.
>>
>> the threat model that was sent out (by others, not by me) basicly boils
>> down to "don't allow programs to access/execute 'unscanned' data. don't
>> try to defend against actions of programs already running or
>> malicious user actions" there were further comments listing things it's
>> not trying to cover.
>
> I have multiple issues with this model:
>
> 1) It is basically the model used by black-list centric virus scanners.
>   Recent demonstrations have shown how apparently easy it is to bypass
>   blacklist technology, thus investing in providing hooks for technology
>   that is arguably quickly becoming obsolete is IMO questionable.
> 2) Whitelisting, while a great partial solution is insufficient to become
>   a solution all by itself. It does not lend itself to the single
>   allow or kill approach above.
> 3) Most of the malware problem comes from the fact that software runs with
>   all of the user her privileges while it could run with much less (least
>   even) without (much) possibilities of doing malice.
>
> The combination of these makes me come to the conclusion that a much more
> viable alternative model would be:
>
> "Don't allow (whitelist) unscanned programs to run with user privileges.
> Allow unscanned and untrusted programs to run with (dynamic) least
> authority. No blacklist scanning."

I think this model can support your mode of operation

since the checking software is run in userspace (initially as the user) 
couldn't the 'scan' kicked off by the absense of a 'scanned-by-' tag 
trigger the 'least authority' mode?

David Lang

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-08-18 12:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-18 10:50 scanner interface proposal was: [TALPA] Intro to a linux interface for on access scanning Rob Meijer
2008-08-18 12:16 ` david

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).