Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759804AbYHORrF (ORCPT ); Fri, 15 Aug 2008 13:47:05 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754449AbYHORqy (ORCPT ); Fri, 15 Aug 2008 13:46:54 -0400 Received: from mail.lang.hm ([64.81.33.126]:47438 "EHLO bifrost.lang.hm" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754211AbYHORqx (ORCPT ); Fri, 15 Aug 2008 13:46:53 -0400 Date: Fri, 15 Aug 2008 10:47:15 -0700 (PDT) From: david@lang.hm X-X-Sender: dlang@asgard.lang.hm To: "Press, Jonathan" cc: Peter Zijlstra , Helge Hafting , linux-kernel@vger.kernel.org, malware-list@lists.printk.net, hch@infradead.org, andi@firstfloor.org, viro@ZenIV.linux.org.uk, alan@lxorguk.ukuu.org.uk, Arjan van de Ven Subject: RE: [malware-list] TALPA - a threat model? well sorta. In-Reply-To: <2629CC4E1D22A64593B02C43E855530304AE4C12@USILMS12.ca.com> Message-ID: References: <1218645375.3540.71.camel@localhost.localdomain><20080813103951.1e3e5827@infradead.org><1218653864.3540.109.camel@localhost.localdomain><20080813143908.38796217@infradead.org><1218723133.3540.137.camel@localhost.localdomain><48A55574.9070508@aitel.hist.no> <1218796645.10800.242.camel@twins> <2629CC4E1D22A64593B02C43E855530304AE4BF6@USILMS12.ca.com> <2629CC4E1D22A64593B02C43E855530304AE4C0C@USILMS12.ca.com> <2629CC4E1D22A64593B02C43E855530304AE4C12@USILMS12.ca.com> User-Agent: Alpine 1.10 (DEB 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2516 Lines: 67 On Fri, 15 Aug 2008, Press, Jonathan wrote: >> -----Original Message----- >> From: david@lang.hm [mailto:david@lang.hm] >> >> On Fri, 15 Aug 2008, Press, Jonathan wrote: >> >>>> -----Original Message----- >>>> From: david@lang.hm [mailto:david@lang.hm] >>>>> The problem is that you have to account for the cases where the > malware >>>>> made it onto the system even if you were trying to catch it ahead > of >>>>> time. For example: >>>>> >>>>> - Administrator turns off or reduces AV protection for some reason > for >>>>> some period of time. It happens all the time. >>>> >>>> according to the threat model actions of the administrator do not > matter. >>> >>> Sorry, I don't know what you mean. >> >> the threat model that was posted two days ago in the initial message > of >> this thread specificly stated that actions of root are not something > that >> this is trying to defend against. > > I think you may have missed the point of any such statement. > > Just to clarify... > > The model does not exclude root-owned processes from the notification > and scanning sequence. If root attempts to execute a file, that file > would be scanned before the execution is allowed. If a root-owned > process attempts to open a file, that access would be blocked until the > file is scanned. If a root-owned process closes a file that has been > written to, that file would be scanned. correct so far. > In addition, to generalize from the incorrect idea that the actions of > root are not being defended against to the idea that the possible > impacts of an administrator's actions in configuring an application > should not be accounted for at all in our thinking doesn't make sense to > me anyway. questions had been raised about how this model could defend against all the tricky things that root can do, the answer was that they are not trying to defend against root doing tricky things. turning off the scanner, letting things get infected, and turning it back on would fall in the same catagory as marking a file that the scanner marked as bad as sucessfully scanned. in any case the vunerability is limited as the next time the signatures are updated the files would get scanned again, so I don't think it's a big problem in practice. David Lang -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/