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: <20121030212217.GD2616@ZenIV.linux.org.uk>
Date:	Tue, 30 Oct 2012 21:22:17 +0000
From:	Al Viro <viro@...IV.linux.org.uk>
To:	Arvid Brodin <Arvid.Brodin@...n.com>
Cc:	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	Andrew Morton <akpm@...ux-foundation.org>,
	Cyrill Gorcunov <gorcunov@...nvz.org>,
	David Rientjes <rientjes@...gle.com>,
	"Eric W. Biederman" <ebiederm@...ssion.com>
Subject: Re: fs/proc/base.c: text md5sums; tgid vs tid; and INF vs ONE?

On Tue, Oct 30, 2012 at 09:02:33PM +0000, Arvid Brodin wrote:

> +config PROC_TEXT_MD5SUM
> +	bool "/proc/<pid>/text_md5sum support"
> +	depends on PROC_FS
> +	select CRYPTO
> +	select CRYPTO_MD5
> +	help
> +	  Read /proc/<pid>/text_md5sum to get the kernel to perform an MD5
> +	  checksum over the process' text segment and print the result. Can be
> +	  used to make sure a process' code has not been tampered with.

Sorry, but this is pointless.  Any attacker capable of modifying the code
will be just as capable of modifying pointers to functions in data segment.
IOW, you are not making sure of anything useful.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ