[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1579113367.5032.19.camel@linux.ibm.com>
Date: Wed, 15 Jan 2020 13:36:07 -0500
From: Mimi Zohar <zohar@...ux.ibm.com>
To: KP Singh <kpsingh@...omium.org>,
Florent Revest <revest@...omium.org>
Cc: linux-integrity@...r.kernel.org, mjg59@...gle.com,
nramas@...ux.microsoft.com, linux-kernel@...r.kernel.org,
linux-security-module@...r.kernel.org,
Florent Revest <revest@...gle.com>
Subject: Re: [PATCH v2] ima: add the ability to query the hash of a given
file.
On Mon, 2020-01-13 at 11:48 +0100, KP Singh wrote:
> On 06-Jan 17:25, Florent Revest wrote:
> > From: Florent Revest <revest@...gle.com>
> >
> > This allows other parts of the kernel (perhaps a stacked LSM allowing
> > system monitoring, eg. the proposed KRSI LSM [1]) to retrieve the hash
> > of a given file from IMA if it's present in the iint cache.
> >
> > It's true that the existence of the hash means that it's also in the
> > audit logs or in /sys/kernel/security/ima/ascii_runtime_measurements,
> > but it can be difficult to pull that information out for every
> > subsequent exec. This is especially true if a given host has been up
> > for a long time and the file was first measured a long time ago.
> >
> > This is based on Peter Moody's patch:
> > https://sourceforge.net/p/linux-ima/mailman/message/33036180/
> >
> > [1] https://lkml.org/lkml/2019/9/10/393
> >
> > Signed-off-by: Florent Revest <revest@...gle.com>
>
> Thanks for adding this Florent!
>
> Reviewed-by: KP Singh <kpsingh@...omium.org>
Thanks, this patch is now queued in next-integrity-testing.
Mimi
Powered by blists - more mailing lists