paxtest-0.9.7-pre5 on an AMD64
Posted: Sat Feb 23, 2008 4:05 pm
I tried running paxtest on an AMD64 (Debian) to see what paxtest could find.
First I need to point out that I could only get a working paxtest using "make adamantix".
I haven't started looking how to install paxtest yet or how to turn it into a package.
Paxtest can only run in the src-directory for now.
I hope the results found above are representive for the system.
At least the PAX_RANDMMAP does not work. This also shown with "ps ax".
This was one of the reasons to try to run paxtest in the first place.
Has anyone gotten paxtest to work on an AMD64?
Has anyone gotten RANDMMAP to work on an AMD64?
First I need to point out that I could only get a working paxtest using "make adamantix".
I haven't started looking how to install paxtest yet or how to turn it into a package.
Paxtest can only run in the src-directory for now.
- Code: Select all
$ pushd paxtest-0.9.7-pre5/;paxtest kiddie ;popd
~/paxtest-0.9.7-pre5 ~
PaXtest - Copyright(c) 2003,2004 by Peter Busser <peter@adamantix.org>
Released under the GNU Public Licence version 2 or later
Writing output to paxtest.log
It may take a while for the tests to complete
Test results:
PaXtest - Copyright(c) 2003,2004 by Peter Busser <peter@adamantix.org>
Released under the GNU Public Licence version 2 or later
Mode: kiddie
Linux lina 2.6.24.2-grsec-200802192340-1 #1 SMP Sat Feb 23 12:53:30 CET 2008 x86_64 GNU/Linux
Executable anonymous mapping : Killed
Executable bss : Killed
Executable data : Killed
Executable heap : Killed
Executable stack : Killed
Executable anonymous mapping (mprotect) : Killed
Executable bss (mprotect) : Killed
Executable data (mprotect) : Killed
Executable heap (mprotect) : Killed
Executable shared library bss (mprotect) : Killed
Executable shared library data (mprotect): Killed
Executable stack (mprotect) : Killed
Anonymous mapping randomisation test : 33 bits (guessed)
Heap randomisation test (ET_EXEC) : 13 bits (guessed)
Heap randomisation test (ET_DYN) : 13 bits (guessed)
Main executable randomisation (ET_EXEC) : No randomisation
Main executable randomisation (ET_DYN) : No randomisation
Shared library randomisation test : 33 bits (guessed)
Stack randomisation test (SEGMEXEC) : 40 bits (guessed)
Stack randomisation test (PAGEEXEC) : 40 bits (guessed)
Return to function (strcpy) : paxtest: return address contains a NULL byte.
Return to function (strcpy, RANDEXEC) : paxtest: return address contains a NULL byte.
Return to function (memcpy) : Vulnerable
Return to function (memcpy, RANDEXEC) : Vulnerable
Executable shared library bss : Killed
Executable shared library data : Killed
Writable text segments : Killed
~
$ grep RAND linux-2.6.24.2/.config
..
CONFIG_GRKERNSEC_RANDNET=y
CONFIG_PAX_RANDUSTACK=y
CONFIG_PAX_RANDMMAP=y
I hope the results found above are representive for the system.
At least the PAX_RANDMMAP does not work. This also shown with "ps ax".
This was one of the reasons to try to run paxtest in the first place.
Has anyone gotten paxtest to work on an AMD64?
Has anyone gotten RANDMMAP to work on an AMD64?