Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2678217pxa; Mon, 17 Aug 2020 16:22:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzhJJxp7V4b9ZE0Q0I3W4uUOOOEFIb9yZnoiJEX22t5Mf7row3gcX7KVDcjr4ykcUxy1G+o X-Received: by 2002:aa7:c2c6:: with SMTP id m6mr17554933edp.118.1597706560220; Mon, 17 Aug 2020 16:22:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597706560; cv=none; d=google.com; s=arc-20160816; b=wyK3RZ3gicdXfFlsm2Xf0G8IgjnTHEc60MXzQLwL2VCYhxUOSOIjz8bdQKDt8F8L1w Ht26mEGXVcWqrOmukRvxYhUQ9Uv1dzcTZtW7HzuvEjrumBSCqkWS2Ingw0NEyp1Ss71Z vofA1AgQxF2GNuujW4rgZTJ4NnLR844VrM0vsHWAFVVv8AJLcafX+wEXuHNS7N4SFRnZ Cy/xQG+Yy+KtTLTil5PJb6QIGKJlJup29VVa76uog7oxS+MEEXNdr05PxNkeb7xYQ4GA 3eMuEisCTe6V19qF61LSBDHRbFxdMsbvpc9PNOxZd+eaMwYFW2fEydKoFBOXW1n/B8i5 hx/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature:dkim-filter; bh=ELoXb6y6fs1Pm42OwyGovpUZV/jZUL94FH6q7n8Pm6Y=; b=FldIJ0PhHmmaq8DQrpx0MFIYYIb2WUdTyY0v6V4Xq1N5ROft61cAWUDM1TfDsS4NZz ADjfPYfZb9qxPOZnWEFmae1EW0jn9F9sYAlGAeIKY+XuVL0Ps6MUXDDIzdUHdU6UNCDy cGoGQz8o2GtV4mGZTmbneToq5yhszLn5SSL/o3vJcotl++d+EAcWnSJfGoMpW3EE9wd+ P642q9sKSmdbMppileZnaeirk9HHq8fX4Yp5WUc7s9B5c96t79X+mUiWT4u3FE4EWghz WJAdd4q6gh4jEC9+vZu+CaUp7QhekiS0XRrfnWE2Gd39MrgTP/tQgB9HJM9xaTQpuDQF ucSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=ZzTWlTEm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bi9si15588731edb.366.2020.08.17.16.22.16; Mon, 17 Aug 2020 16:22:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=ZzTWlTEm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387413AbgHQWpY (ORCPT + 99 others); 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