All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stewart Smith <stewart@linux.vnet.ibm.com>
To: Michael.E.Brown@dell.com, bradleyb@fuzziesquirrel.com
Cc: vernon.mauery@linux.intel.com, openbmc@lists.ozlabs.org,
	richard.marian.thomaiyar@linux.intel.com
Subject: RE: OpenBMC community telecon - 11/27 Agenda
Date: Fri, 22 Dec 2017 11:43:06 +1100	[thread overview]
Message-ID: <87k1xfvbhh.fsf@linux.vnet.ibm.com> (raw)
In-Reply-To: <ec70fdbb12b944c7a53fe03e9470f2ef@ausx13mps334.AMER.DELL.COM>

Michael.E.Brown@dell.com writes:
> The main issue is one of security. And I realize here that openbmc has a different security model than our product, but here goes:
>
> The "ipmi/web/etc" users are "attacker controlled", if you consider
> the end-user the adversary and are trying to protect the internal
> functioning of the product. That may sound a bit off, but the main
> thing here is that we don't want to allow the user(/administrator) to
> do something that would break the product or allow an insecure
> situation. In our product we now have all of our internal daemons
> running as non-root and a separate user account for each daemon. For
> example: the "powerd" daemon runs as the "power" user and "power"
> group. That linux user has permissions to the /dev entries it needs to
> function, but does not have access to things like KVM or other
> infrastructure or hardware that it doesn’t need. Since we allow "ssh"
> logins to a (minimalistic) shell (either racadm or a smash compatible
> clp), that represents an attack surface. If the user were able to
> create user called "power" that is a linux user and an ipmi/web user
> and they logged into the box as that 'power' user, it would be have
> the same permissions as our power daemon. We try to lock down the
> default shells for non-privileged users but this would represent a
> possible entry point.

Neat!

I've thought that OpenBMC would be a good candidate for a really
restrictive set of SELinux policy too (or some other security module),
to further mitigate any possible damage that could be done even in the
event of a vulnerability.

Have you looked into anything like that at all?

-- 
Stewart Smith
OPAL Architect, IBM.

  reply	other threads:[~2017-12-22  0:43 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-04 22:06 OpenBMC community telecon - 11/27 Agenda Brad Bishop
2017-12-05  1:02 ` Vernon Mauery
2017-12-06  0:49   ` Vernon Mauery
2017-12-14 13:51     ` Tom Joseph
2017-12-14 16:51       ` Vernon Mauery
2017-12-18 18:16     ` Brad Bishop
2017-12-18 18:07   ` Brad Bishop
2017-12-18 22:39     ` Vernon Mauery
2017-12-19  0:31       ` Brad Bishop
2017-12-20 20:26         ` Michael.E.Brown
2017-12-20 20:29           ` Brad Bishop
2017-12-21 17:55             ` Michael.E.Brown
2017-12-22  0:43               ` Stewart Smith [this message]
2017-12-22 17:21                 ` Michael.E.Brown
2017-12-28 23:37                   ` Vernon Mauery
2018-01-04 16:58                     ` Michael E Brown
2018-01-05 21:57                       ` Christopher Covington
2018-01-06 16:57                       ` Michael E Brown
2018-01-06 17:33                         ` Brad Bishop
2018-01-06 17:33                         ` Brad Bishop
2018-01-08 16:25                           ` Michael E Brown
2018-01-09  2:22                             ` Brad Bishop

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=87k1xfvbhh.fsf@linux.vnet.ibm.com \
    --to=stewart@linux.vnet.ibm.com \
    --cc=Michael.E.Brown@dell.com \
    --cc=bradleyb@fuzziesquirrel.com \
    --cc=openbmc@lists.ozlabs.org \
    --cc=richard.marian.thomaiyar@linux.intel.com \
    --cc=vernon.mauery@linux.intel.com \
    /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.