Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2637189yba; Mon, 22 Apr 2019 10:14:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqwwALceL3+4oKcv05RIWSMNcerfDNctpnYZsqB7EQKhPkcpeY73Y/kXw2jKfp5CFeqU0wU+ X-Received: by 2002:a63:6983:: with SMTP id e125mr18700042pgc.370.1555953285996; Mon, 22 Apr 2019 10:14:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555953285; cv=none; d=google.com; s=arc-20160816; b=BKbNBIgP4F/K8+GYNQPkbP2TOW/FcbI+xIvSt08exjYPq+GxL4LugY4xkYxf4Sbe+V mKLDZTiToUT2EZd8ON7rk3lSr/4yyvwI41pvmyLYJ8FYcPWCtaDURB8Uq/VheTSzUtuX SCOvaZQhNxPy+MHyuO5KoHn2lrdVePajXIh622tOTpPdeFT+Hbdwt/oQw55XT1WNqmPw EbvLTTWctySuRA+NcoCvGP10F0XQBWIE+tclLjT4SRxNQnh0m5mp4rWCNAcDhDxgTFjK YtHrZUCz5tXJb4X1HbJYnWpb1/9FRXUJT58/xJP67l4rDJ7//FyHIrWCojbTdMKRQTYA ux3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:reply-to:message-id :subject:cc:to:from:date; bh=eyxQbmWo+3Z3uE1qvl72fzq4ONcGQjO0Eer+czFysfg=; b=wkNcs/RJR6++z0JbLCRi1Izl8hD8bay7/GpqYG+xBkXxT/8F7IKMI/5dGhsTUxJdGp OrsjohPzW0NPt0GzwPw/ArsY/i7fehjRE2Yx4GXJ9E/Cnp64KGbL/1TVO7Lb1X6CBmPo 9akjjIkXtoTQai2xpmXyH46S2AcInwr5AUPb7Q/hd08ey3vsOfq8UFRIf5qi+KaqH6QZ XiKViN/bY8habimL7z8Blu5PJNMBvHFCLk8+leBLGuGrxn03Zpv0OhiXepwkGKKmrXqO txbAeKKFWVLktwzy3Q+Q+CPNEicGE3M2G7b7skWk5G3beeAvkrWS9lE09lBBq0YsinNx CbtA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q3si13906440plb.176.2019.04.22.10.14.30; Mon, 22 Apr 2019 10:14:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727916AbfDVQ05 (ORCPT + 99 others); Mon, 22 Apr 2019 12:26:57 -0400 Received: from wind.enjellic.com ([76.10.64.91]:58830 "EHLO wind.enjellic.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727014AbfDVQ04 (ORCPT ); Mon, 22 Apr 2019 12:26:56 -0400 Received: from wind.enjellic.com (localhost [127.0.0.1]) by wind.enjellic.com (8.15.2/8.15.2) with ESMTP id x3MGOBMd027629; Mon, 22 Apr 2019 11:24:11 -0500 Received: (from greg@localhost) by wind.enjellic.com (8.15.2/8.15.2/Submit) id x3MGOBDq027628; Mon, 22 Apr 2019 11:24:11 -0500 Date: Mon, 22 Apr 2019 11:24:11 -0500 From: "Dr. Greg" To: Sean Christopherson Cc: "Dr. Greg" , Thomas Gleixner , Jethro Beekman , Andy Lutomirski , Andy Lutomirski , Dave Hansen , Jarkko Sakkinen , Linus Torvalds , LKML , X86 ML , "linux-sgx@vger.kernel.org" , Andrew Morton , "nhorman@redhat.com" , "npmccallum@redhat.com" , "Ayoun, Serge" , "Katz-zamir, Shay" , "Huang, Haitao" , Andy Shevchenko , "Svahn, Kai" , Borislav Petkov , Josh Triplett , "Huang, Kai" , David Rientjes Subject: Re: [PATCH v20 00/28] Intel SGX1 support Message-ID: <20190422162411.GA27389@wind.enjellic.com> Reply-To: "Dr. Greg" References: <2AE80EA3-799E-4808-BBE4-3872F425BCF8@amacapital.net> <49b28ca1-6e66-87d9-2202-84c58f13fb99@fortanix.com> <444537E3-4156-41FB-83CA-57C5B660523F@amacapital.net> <5854e66a-950e-1b12-5393-d9cdd15367dc@fortanix.com> <20190420160247.GA17291@wind.enjellic.com> <20190422150119.GA1236@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190422150119.GA1236@linux.intel.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, 22 Apr 2019 11:24:12 -0500 (CDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 22, 2019 at 08:01:19AM -0700, Sean Christopherson wrote: Good morning to everyone, I hope the week is starting well. > On Sat, Apr 20, 2019 at 11:02:47AM -0500, Dr. Greg wrote: > > We understand and support the need for the LSM to trap these > > events, but what does LSM provenance mean if the platform is > > compromised? That is, technically, the target application for SGX > > technology. > No, it's not. Protecting the kernel/platform from a malicious > entity is outside the scope of SGX. You must have misinterpreted my statement, providing security guarantees in the face of a compromised platform is exactly what SGX was designed to do and is how Intel is marketing the technology. From the first paragraph (Introduction) in the following document: https://software.intel.com/sites/default/files/managed/50/8c/Intel-SGX-Product-Brief.pdf "Intel Software Guard Extensions (Intel SGX) protects selected code and data from disclosure or modification. Developers can partition their application into CPU hardened 'enclaves' or protected areas of execution that increase security even on compromised platforms". In addition, one of the major use cases for this technology is the ability to push data and application code up onto cloud platforms with a guarantee that not even the platform owner or administrators can compromise the integrity or confidentiality of the code and data. As I've noted before, from an OS driver perspective, security and privacy models which are dependent on an uncompromised platform and user privileges are inconsistent with the SGX security architecture. Doing SGX right is about applying cryptographically defined provenance and integrity models. Our autonomous introspection technology uses SGX to protect the platform at large but we are unique with respect to how the technology is being applied. Have a good day. Dr. Greg As always, Dr. G.W. Wettstein, Ph.D. Enjellic Systems Development, LLC. 4206 N. 19th Ave. Specializing in information infra-structure Fargo, ND 58102 development. PH: 701-281-1686 FAX: 701-281-3949 EMAIL: greg@enjellic.com ------------------------------------------------------------------------------ "You and Uncle Pete drank the whole thing? That was a $250.00 bottle of whisky. Yeah, it was good." -- Rick Engen Resurrection.