Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752378AbXL0NAU (ORCPT ); Thu, 27 Dec 2007 08:00:20 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751822AbXL0NAI (ORCPT ); Thu, 27 Dec 2007 08:00:08 -0500 Received: from wine.ocn.ne.jp ([122.1.235.145]:60181 "EHLO smtp.wine.ocn.ne.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751819AbXL0NAG (ORCPT ); Thu, 27 Dec 2007 08:00:06 -0500 To: serue@us.ibm.com Cc: linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: TOMOYO Linux Security Goal From: Tetsuo Handa References: <200712252133.JFF05267.FOMFtOLJHSOVFQ@I-love.SAKURA.ne.jp> <20071226164230.GA14210@sergelap.austin.ibm.com> In-Reply-To: <20071226164230.GA14210@sergelap.austin.ibm.com> Message-Id: <200712272200.IIJ73936.OHOFFLMOQJVFtS@I-love.SAKURA.ne.jp> X-Mailer: Winbiff [Version 2.50 PL2] X-Accept-Language: ja,en Date: Thu, 27 Dec 2007 22:00:04 +0900 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3647 Lines: 84 Hello. Thank you for feedback. Serge E. Hallyn wrote: > > TOMOYO Linux is a DIY tool for understanding and protecting your system. > > TOMOYO Linux policy definitions are absolutely readable to Linux users, and > > TOMOYO Linux supports unique policy learning mechanism which automatically > > Are they in fact unique? > Yes, at least we believe so. Have you ever heard an implementation that can automatically generate PIH and restrict the behavior based on PIH? Adding permissions to policy is not new because there is audit2allow that can do it. But adding domains (or PIH) to policy is new. Here's our version of Linux security comparison table. http://tomoyo.sourceforge.jp/wiki-e/?WhatIs#comparison > What kernel resources does TOMOYO authorize? All those which SELinux > does? TOMOYO can authorize part of kernel resources which SELinux can and part of other resources which SELinux can't. Currently, TOMOYO can authorize * execve() of programs. * open() of files for reading/writing. * creat()/link()/rename()/unlink()/symlink()/mkfifo()/mksock()/mkblock()/ mkchar()/truncate()/mkdir()/rmdir() of files and directries that are visible to userland process's namespace. * namespace manipulation. (i.e. mount()/umount()/pivot_root()) * TCP/IP networking operations based on IPv4/v6 addresses and port numbers. (Need to add LSM hooks for incoming connections/packets.) * booleans for some operations. (Part of POSIX capability and TOMOYO's original capability.) * signal transmissions. (Needs to add LSM hooks.) * argv[0] passed to execve(). * environment variables' names passed to execve(). > So your point was that your main goal is simplicity? Yes. Keep it understandable and customizable so that end users (i.e. administrators) can configure policy for their systems. > 1. Tomoyo provide no sort of information flow control. Yes. TOMOYO is not intended to provide information flow control. Controlling information flow is not the region of interest for TOMOYO. (I'm not a security architect. I don't understand the definition and coverage of "information flow" in security field. I'm using "information flow" as "how information propagates".) I think no access control can guarantee regarding information flow. No access control can prevent attackers from leaking information which are caused by means granted to attackers. Even if some implementation can prevent attackers from leaking information regarding an atomic operation, it does not guarantee that the implementation can prevent attackers from leaking information as a whole system. Attackers can still do nasty requests within given permissions. But without these permissions, the system can't work properly. So, the region of interest for TOMOYO is how to minimize means granted to each PIH, although not all permissions TOMOYO can authorize. > 2. TOMOYO is purely restrictive. Excuse me. What models are there other than "restrictive"? I'm not sure whether what TOMOYO is doing are categorized to "restrictive" model. > 3. Learning mode is primary source of policy so you > depend on change of behavior to detect intruders. > > 4. but any intruder who attempts to do something which > the compomised sftware wouldn't have done should be > stopped and detected. Yes. TOMOYO's power comes from "know all and understand what requests can happen within this system". Regards. -- 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/