From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.4 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1,USER_IN_DEF_DKIM_WL autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B5A8CC433E3 for ; Mon, 17 Aug 2020 22:45:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8EA242063A for ; Mon, 17 Aug 2020 22:45:30 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=linux.microsoft.com header.i=@linux.microsoft.com header.b="ZzTWlTEm" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387433AbgHQWpY (ORCPT ); Mon, 17 Aug 2020 18:45:24 -0400 Received: from linux.microsoft.com ([13.77.154.182]:53108 "EHLO linux.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730836AbgHQWpT (ORCPT ); Mon, 17 Aug 2020 18:45:19 -0400 Received: from [192.168.86.21] (c-71-197-163-6.hsd1.wa.comcast.net [71.197.163.6]) by linux.microsoft.com (Postfix) with ESMTPSA id 592E620B4908; Mon, 17 Aug 2020 15:45:18 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 592E620B4908 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1597704318; bh=ELoXb6y6fs1Pm42OwyGovpUZV/jZUL94FH6q7n8Pm6Y=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=ZzTWlTEmfu2arW//OlcDcI2WJQYzZxYk3z4tAGkyeI7c24YTcoIUAvJQNSxRQjbj0 Z9yN86YZYVU/WV8gjcL3FoDYtpioxmE7NkjO8zpfkkpl10NUZpxDuMeteWq/9n2JPp /YCOOYhalpCe8kIdD7Uxlxp51ezf445oPkQnDb4g= Subject: Re: [PATCH 0/2] dm-devel:dm-crypt: infrastructure for measurement of DM target data using IMA To: Mimi Zohar , agk@redhat.com, snitzer@redhat.com, gmazyland@gmail.com Cc: tyhicks@linux.microsoft.com, sashal@kernel.org, jmorris@namei.org, nramas@linux.microsoft.com, linux-integrity@vger.kernel.org, linux-kernel@vger.kernel.org, dm-devel@redhat.com References: <20200816210250.11506-1-tusharsu@linux.microsoft.com> <5f12cc89c535ccfc6c3d63efa2bf716a1fdd966d.camel@linux.ibm.com> From: Tushar Sugandhi Message-ID: Date: Mon, 17 Aug 2020 15:45:17 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <5f12cc89c535ccfc6c3d63efa2bf716a1fdd966d.camel@linux.ibm.com> Content-Type: text/plain; charset=iso-8859-15; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020-08-17 2:46 p.m., Mimi Zohar wrote: > On Sun, 2020-08-16 at 14:02 -0700, Tushar Sugandhi wrote: >> There are several device-mapper targets which contribute to verify >> the integrity of the mapped devices e.g. dm-integrity, dm-verity, >> dm-crypt etc. >> >> But they do not use the capabilities provided by kernel integrity >> subsystem (IMA). For instance, the IMA capability that measures several >> in-memory constructs and files to detect if they have been accidentally >> or maliciously altered, both remotely and locally. IMA also has the >> capability to include these measurements in the IMA measurement list and >> use them to extend a TPM PCR so that it can be quoted. > > "both remotely" refers to measurement and attestation, while "locally" > refers to integrity enforcement, based on hashes or signatures. Is > this patch set adding both IMA-measurement and IMA-appraisal? > > Mimi > Thanks Mimi for looking at this patch set. I added both "remotely" and "locally" in the description, so that people less familiar with IMA would get a general overview of whats possible with IMA. In this patch set we are only adding support for measurement and attestation. In the next iteration, I will remove the references to "local" detection. ~Tushar