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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20121112150325.2516a0bf.akpm@linux-foundation.org>
Date:	Mon, 12 Nov 2012 15:03:25 -0800
From:	Andrew Morton <akpm@...ux-foundation.org>
To:	Arvid Brodin <Arvid.Brodin@...n.com>
Cc:	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	Al Viro <viro@...iv.linux.org.uk>,
	Cyrill Gorcunov <gorcunov@...nvz.org>,
	"David Rientjes" <rientjes@...gle.com>,
	"Eric W. Biederman" <ebiederm@...ssion.com>
Subject: Re: [PATCH] fs/proc: Add process text segment md5-summing

On Mon, 12 Nov 2012 21:36:17 +0000
Arvid Brodin <Arvid.Brodin@...n.com> wrote:

> Adds /proc/<pid>/text_md5sum which, when read, calculates an md5sum over
> the process' text segment. This can detect some cases where the system RAM
> has been disturbed by e.g. ESD or cosmic radiation (on systems where ECC
> is not available). It might also detect some accidental or malicious
> modifications of executables, where the perpetrator has not bothered to
> cover up the tracks.

I thought the review comments regarding the earlier patch were rather
fatal, sorry.

> +	  Read /proc/<pid>/text_md5sum to get the kernel to perform an MD5
> +	  checksum over the process' text segment and print the result. This
> +	  can detect some cases where the system RAM has been disturbed by
> +	  e.g. ESD or cosmic radiation (on systems where ECC is not available).
> +	  It might also detect some accidental or malicious modifications of
> +	  executables, where the perpetrator has not bothered to cover up the
> +	  tracks.

And that doesn't seem to help much, really.  .text is only a small part
of a process's VM and corruption of data, bss, heap or stack is just as
bad.
--
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