Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3287632pxj; Mon, 24 May 2021 03:12:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwUvf+trZNUbEeO5mZIlek4kSofyfGNU+RLRMSLlRKtIKvhX/yUMXgjXnXczGwOSl+o/ce2 X-Received: by 2002:a05:6402:22c9:: with SMTP id dm9mr25375174edb.281.1621851152420; Mon, 24 May 2021 03:12:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621851152; cv=none; d=google.com; s=arc-20160816; b=UJFpc4/GkrU+ZCRz3CUWtbYyUd/wC06pn/uaTb2YRDIwqkW8zJATFtv7Q8O4BOy0tn y2aD6fFKRXWYITAzS3O3va3Am4RiITgM5w6szD0iT5iXsYBGMUbGvSd/lNRYmQ9g/VYU GyFhQJgTM/aqCEX3kGHSpPCXfjzIB68SA43jrhDd1OkG1w1rABTQmk2Qj1mmKjcPtWvw BVikmq4Ulnp6Vri8pUbtEOt2G5TN6zA3Qvp4pRUO91M48lwQ3cgtnZcyxu00By+n7fb6 pcVpUJ4zpcpf3og8NKiDheEDf6HcTXym4edvFLQI/sblTPRa6BnF2I3N90vdF8WrT0E4 Tcxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:reply-to:message-id:subject:cc:to:from:date; bh=4/x9EadKmbHtsm0GZqPoCtTrpShBaOuKVTs1AoEjXWM=; b=Ua99IugbF7EOixUrddxNhO8TBK/e1e5NcCdSpvVutu3xD/+az/Fo1d02E8lp1yhehj c77+28UyohTX0XOxT6pVCdVLFCzbMGQtSzvP3aa/pM/XQxpVtoVUOffJTmnSmJM7byPz pCUmhcbin5oMKfy9h+K4akBjs/URe0fmC97piHxv5P4HsnSkTJoF2Ldkr5R4M8rP2HXa YoXO+EZRh/R16T38ZdtCguUqRjcsuU6736kioXAdLdezc5bwSQ0/o8vbEAw+Jo7JMXuf jF2vRYOzHbzLDW/RABjrOVdWQDdHzor3PJXBtRLBiiPvRIxMUqqlUW1kplfQsk67TWes RdNQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p21si9372889eds.559.2021.05.24.03.12.09; Mon, 24 May 2021 03:12:32 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232572AbhEXKLh (ORCPT + 99 others); Mon, 24 May 2021 06:11:37 -0400 Received: from wind.enjellic.com ([76.10.64.91]:49436 "EHLO wind.enjellic.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232606AbhEXKLg (ORCPT ); Mon, 24 May 2021 06:11:36 -0400 Received: from wind.enjellic.com (localhost [127.0.0.1]) by wind.enjellic.com (8.15.2/8.15.2) with ESMTP id 14OA9Pxw029605; Mon, 24 May 2021 05:09:25 -0500 Received: (from greg@localhost) by wind.enjellic.com (8.15.2/8.15.2/Submit) id 14OA9Ndt029604; Mon, 24 May 2021 05:09:23 -0500 Date: Mon, 24 May 2021 05:09:23 -0500 From: "Dr. Greg" To: Eric Snowberg Cc: Mimi Zohar , keyrings@vger.kernel.org, linux-integrity , David Howells , David Woodhouse , dmitry.kasatkin@gmail.com, James Morris , Jarkko Sakkinen , linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org, torvalds@linux-foundation.org, "Serge E . Hallyn" , James Bottomley , pjones@redhat.com, glin@suse.com, "konrad.wilk@oracle.com" Subject: Re: [RFC PATCH 0/3] Add additional MOK vars Message-ID: <20210524100923.GA29476@wind.enjellic.com> Reply-To: "Dr. Greg" References: <20210517225714.498032-1-eric.snowberg@oracle.com> <7F861393-7971-43AB-A741-223B8A50FFA0@oracle.com> <4A887886-BDB2-4F88-9D83-73B9BC9E641F@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4A887886-BDB2-4F88-9D83-73B9BC9E641F@oracle.com> User-Agent: Mutt/1.4i X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.3 (wind.enjellic.com [127.0.0.1]); Mon, 24 May 2021 05:09:25 -0500 (CDT) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 20, 2021 at 02:37:31PM -0600, Eric Snowberg wrote: Good morning, I hope the week is starting well for everyone. > > On May 19, 2021, at 8:32 AM, Mimi Zohar wrote: > > > >> After going through the mailing list history related to IMA appraisal, > >> is this feature strictly geared towards a custom kernel used for a > >> specific purpose? Do you view it as not being a feature suitable for > >> a generic distribution kernel to offer? > > > > IMA-appraisal is enabled by distros, but requires labeling the > > filesystem with security.ima xattrs, before loading an appraisal > > policy. > I was referring to digital signature based IMA-appraisal. If a > company wanted to ship a distro where all immutable files are IMA > signed, today it would not be feasible. The end-user will > undoubtably want to install their own application, but this is not > possible. The end-user can not IMA sign anything since they do not > have the ability to add their own IMA CA. I've spent 6+ years working on this issue, with a focus on trusted endpoint devices and their communications with trusted cloud endpoints. The challenge to trusted systems is that they not only have to be secure, they have to be tractable for the general development community to easily target, that is currently not the case. Eric, as you note, this extends to the notion of generic Linux distributions being able to deliver this tractability and flexibility to their user communities. Making this happen requires a much more generic system for modeling security behavior then what currently exists. If one looks at how security co-processors are going to evolve, this modeling will end up going out of the kernel into external devices, which are not going to be generic TPM's [*]. We have such an architecture for the 5.4 kernel, that with a little luck, we hope to be able to release by mid-summer. It peacefully co-exists with all of the existing integrity infrastructure which would make it tractable for a value add patch. It includes a namespace implementation for the security event modeling, without which, tractable trusted system development is a non-starter. If you are interested I will keep you in the loop. Have a good day. Greg [*] We've used SGX enclaves and ST based micro-controller implementations. As always, Dr. Greg Wettstein, Ph.D, Worker Autonomously self-defensive Enjellic Systems Development, LLC IOT platforms and edge devices. 4206 N. 19th Ave. Fargo, ND 58102 PH: 701-281-1686 EMAIL: greg@enjellic.com ------------------------------------------------------------------------------ "The vast majority of human beings dislike and even dread all notions with which they are not familiar. Hence it comes about that at their first appearance innovators have always been derided as fools and madmen." -- Aldous Huxley