lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <35afdffe-179c-aedd-333a-9dfc20635fc3@linux.microsoft.com>
Date:   Thu, 9 Apr 2020 09:25:57 -0700
From:   Deven Bowers <deven.desai@...ux.microsoft.com>
To:     Nayna <nayna@...ux.vnet.ibm.com>
Cc:     agk@...hat.com, axboe@...nel.dk, snitzer@...hat.com,
        jmorris@...ei.org, serge@...lyn.com, zohar@...ux.ibm.com,
        linux-integrity@...r.kernel.org,
        linux-security-module@...r.kernel.org, dm-devel@...hat.com,
        linux-block@...r.kernel.org, tyhicks@...ux.microsoft.com,
        pasha.tatashin@...een.com, sashal@...nel.org,
        jaskarankhurana@...ux.microsoft.com, nramas@...ux.microsoft.com,
        mdsakib@...ux.microsoft.com, linux-kernel@...r.kernel.org
Subject: Re: [RFC PATCH v2 00/12] Integrity Policy Enforcement LSM (IPE)

On 4/7/2020 2:31 PM, Nayna wrote:

>
> On 4/6/20 6:14 PM, deven.desai@...ux.microsoft.com wrote:
>> From: Deven Bowers <deven.desai@...ux.microsoft.com>
>>
>> Changelog:
>> ------------------------------------
>>
>> v1: Introduced
>>
>> v2:
>>    Split the second patch of the previous series into two.
>>    Minor corrections in the cover-letter and documentation
>>    comments regarding CAP_MAC_ADMIN checks in IPE.
>>
>> Overview:
>> ------------------------------------
>> IPE is a Linux Security Module, which allows for a configurable
>> policy to enforce integrity requirements on the whole system. It
>> attempts to solve the issue of Code Integrity: that any code being
>> executed (or files being read), are identical to the version that
>> was built by a trusted source.
>
> Can you please clarify the "motivation" for this patch set more 
> clearly? It seems to define a policy layer on top of dm-verity, which 
> may be compiled into the kernel. In the motivation, can you please 
> also make it explicit why existing mechanisms cannot be extended to 
> achieve your purpose?
>
This LSM was born out of a motivation to provide strong integrity 
guarantees without a dependency on file-metadata, allow the integrity 
claims to be configurable on a hot system, and allow for the mechanisms 
for ensuring integrity to be extendable.

This naturally had to be an LSM, as controlling execution at the block 
or filesystem layer does not make sense. Existing LSM implementations 
use filesystem metadata, and since one of IPE's goals is to secure file 
metadata, it is circular to depend on the file metadata itself to make 
decisions about whether the file has been modified.

Additionally, IPE while IPE currently provides dm-verity support and the 
trust root support, it can be easily extended to other implementations 
such as fs-verity. At it's core, IPE is attempting to separate mechanism 
(dm-verity, fs-verity, etc.) from policy (IPE).

> Also, AFIK, the changelog should be moved to the end of the patch 
> description.
>
Thanks! I'll move the changelog.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ