Re: How to protect a file from debugging

Andreas Schwab
2007-06-11T09:32:37Z

Oliver Welter <mail@oliwel.de> writes:

> Ok here is what I am planing:
>
> I have an application, lets say a simple text editor, that is used to
> read/write sensitive information.
> Now I start gdb, attach it to the process and call "gcore" which - for
> my understanding - dumps the entire memory of the process to a file. So
> the core dump reveals my secret data.

Why is that a problem? You are one only reading the same secret data
that you just entered yourself in the editor.

Andreas.

--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, MaxfeldstraÃŸe 5, 90409 NÃ¼rnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."