From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756344Ab3BESTd (ORCPT ); Tue, 5 Feb 2013 13:19:33 -0500 Received: from cavan.codon.org.uk ([93.93.128.6]:50586 "EHLO cavan.codon.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753934Ab3BESTb (ORCPT ); Tue, 5 Feb 2013 13:19:31 -0500 Date: Tue, 5 Feb 2013 18:19:26 +0000 From: Matthew Garrett To: Dmitry Kasatkin Cc: linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [RFC 2/2] initramfs with digital signature protection Message-ID: <20130205181926.GA13942@srcf.ucam.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: mjg59@cavan.codon.org.uk X-SA-Exim-Scanned: No (on cavan.codon.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 05, 2013 at 02:34:50PM +0200, Dmitry Kasatkin wrote: > Digitally signed initramfs can be used to provide protected user-space > environment for initialization purpose. For example, LSM, IMA/EVM can be > securely initialized using such approach. What stops an attacker from simply removing the signed image from the initramfs and running modified versions of the same tools from the unsigned image? -- Matthew Garrett | mjg59@srcf.ucam.org