From: Mimi Zohar <zohar@linux.ibm.com>
To: Eric Snowberg <eric.snowberg@oracle.com>
Cc: "dmitry.kasatkin@gmail.com" <dmitry.kasatkin@gmail.com>,
"paul@paul-moore.com" <paul@paul-moore.com>,
"jmorris@namei.org" <jmorris@namei.org>,
"serge@hallyn.com" <serge@hallyn.com>,
Roberto Sassu <roberto.sassu@huawei.com>,
Kanth Ghatraju <kanth.ghatraju@oracle.com>,
Konrad Wilk <konrad.wilk@oracle.com>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"linux-integrity@vger.kernel.org"
<linux-integrity@vger.kernel.org>,
"linux-security-module@vger.kernel.org"
<linux-security-module@vger.kernel.org>
Subject: Re: [PATCH v2] integrity: Always reference the blacklist keyring with apprasial
Date: Wed, 12 Jul 2023 17:33:55 -0400 [thread overview]
Message-ID: <6ce8d8b5b6d4b59b113ee3d5224e9d3b4e1231d2.camel@linux.ibm.com> (raw)
In-Reply-To: <A9725ECB-0811-42BD-8586-7DF7A8BD7393@oracle.com>
On Wed, 2023-07-12 at 21:12 +0000, Eric Snowberg wrote:
>
> > On Jul 12, 2023, at 11:40 AM, Mimi Zohar <zohar@linux.ibm.com> wrote:
> >
> > On Wed, 2023-07-05 at 18:52 -0400, Eric Snowberg wrote:
> >> Commit 273df864cf746 ("ima: Check against blacklisted hashes for files with
> >> modsig") introduced an appraise_flag option for referencing the blacklist
> >> keyring. Any matching binary found on this keyring fails signature
> >> validation. This flag only works with module appended signatures.
> >>
> >> An important part of a PKI infrastructure is to have the ability to do
> >> revocation at a later time should a vulnerability be found. Expand the
> >> revocation flag usage to all appraisal functions. The flag is now
> >> enabled by default. Setting the flag with an IMA policy has been
> >> deprecated. Without a revocation capability like this in place, only
> >> authenticity can be maintained. With this change, integrity can now be
> >> achieved with digital signature based IMA appraisal.
> >>
> >> Signed-off-by: Eric Snowberg <eric.snowberg@oracle.com>
> >
> > Thanks, Eric. Other than including "appraise_flag=check_blacklist"
> > when displaying the measurement list, it looks good.
>
> Thanks for your review.
>
> I want to make sure I understand the request here. Do you mean you
> don’t want to see “appraise_flag=check_blacklist” when you cat
> /sys/kernel/security/ima/policy? Or are you referencing a change in the
> /sys/kernel/security/ima/ascii_runtime_measurements list? Thanks.
The IMA policy rules as displayed via <securityfs>/ima/policy should
not contain “appraise_flag=check_blacklist".
--
thanks,
Mimi
next prev parent reply other threads:[~2023-07-12 21:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-05 22:52 [PATCH v2] integrity: Always reference the blacklist keyring with apprasial Eric Snowberg
2023-07-12 17:40 ` Mimi Zohar
2023-07-12 21:12 ` Eric Snowberg
2023-07-12 21:33 ` Mimi Zohar [this message]
2023-07-13 15:25 ` Eric Snowberg
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=6ce8d8b5b6d4b59b113ee3d5224e9d3b4e1231d2.camel@linux.ibm.com \
--to=zohar@linux.ibm.com \
--cc=dmitry.kasatkin@gmail.com \
--cc=eric.snowberg@oracle.com \
--cc=jmorris@namei.org \
--cc=kanth.ghatraju@oracle.com \
--cc=konrad.wilk@oracle.com \
--cc=linux-integrity@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-security-module@vger.kernel.org \
--cc=paul@paul-moore.com \
--cc=roberto.sassu@huawei.com \
--cc=serge@hallyn.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 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).