All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joseph Pingenot <trelane@digitasaru.net>
To: Russell Coker <russell@coker.com.au>
Cc: SE Linux <selinux@tycho.nsa.gov>
Subject: Re: identity
Date: Mon, 23 Feb 2004 08:47:29 -0600	[thread overview]
Message-ID: <20040223144726.GD9438@digitasaru.net> (raw)
In-Reply-To: <200402231722.11587.russell@coker.com.au>

>From Russell Coker on Monday, 23 February, 2004:
>On Mon, 23 Feb 2004 17:02, Joseph Pingenot <trelane@digitasaru.net> wrote:
>> Sounds like a good idea.  One question:
>> Could you also record a signature of the data?  This would help distinguish
>>        processes who aren't supposed to be letting users on the system
>>        (since they'd not have a valid signature).  That'd potentially
>>        be able to plug a standard usage of rooted systems: leave open a
>>        port to the outside world to log in from.
>That wouldn't work.
>If a regular user shell process running as user_u:user_r:user_t can access the 
>network then it can also launch other shells.  There is no way of stopping 
>this.
>How do you distinguish a copy of bash launched as a shell for an interactive 
>session from an interpreter for a shell script?
>How do you distinguish programs such as "script" from a wrapper for a UDP 
>based terminal system?

Heh.  That's what I get for posting after just a moment's thought, right
  before I hit the hay.  :)
Excellent points.  I had originally been thinking that the info would
  be inherited by children (as would be logical), but it'd not actually
  prevent any such thing.  Dang.
Hmm.  Thinking about it again, maybe one could add a 'tainted' flag to
  a process that gets set when it listens to a socket?  Servers would
  be accompanied by a signature that verifies the integrity of the binary
  and are then not tainted on socket opening *if* they match?
Eh.  It seems like a good thing to eventually work towards.  :)

-Joseph

-- 
Joseph===============================================trelane@digitasaru.net
      Graduate Student in Physics, Freelance Free Software Developer

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

  reply	other threads:[~2004-02-23 14:47 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-23  4:35 identity Russell Coker
2004-02-23  6:02 ` identity Joseph Pingenot
2004-02-23  6:22   ` identity Russell Coker
2004-02-23 14:47     ` Joseph Pingenot [this message]
2004-02-23 17:14       ` identity Joshua Brindle
2004-02-24  1:02         ` identity Russell Coker
2004-02-23 13:50 ` identity Stephen Smalley
2004-02-23 23:54   ` identity Russell Coker
     [not found]     ` <200402240308.i1O38Nu6011811@turing-police.cc.vt.edu>
2004-02-24  7:07       ` identity Russell Coker
2004-02-23 14:28 ` identity Stephen Smalley
2004-02-23 19:32   ` identity Joshua Brindle
2004-02-23 19:55     ` identity Stephen Smalley
2004-02-24  0:41   ` identity Russell Coker
2004-02-24 14:47 ` identity James Morris
2004-02-24 14:57   ` identity Stephen Smalley
2004-02-24 20:03     ` [selinux] identity Magosányi Árpád
2004-02-24 20:41       ` Stephen Smalley
2004-02-24 22:45         ` Joshua Brindle
2004-02-25 19:51           ` Rik Faith
2004-02-24 22:50   ` identity Russell Coker
     [not found] <20040223140412.BBXY2010.viefep15-int.chello.at@localhost>
2004-02-24  1:00 ` identity Russell Coker

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=20040223144726.GD9438@digitasaru.net \
    --to=trelane@digitasaru.net \
    --cc=russell@coker.com.au \
    --cc=selinux@tycho.nsa.gov \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.