[rsbac] RSBAC build problem on linux-4.9.y-c3fbb3a

HacKurx hackurx at gmail.com
Fri May 19 14:43:37 CEST 2017


2017-05-18 11:43 GMT+02:00 Amon Ott <ao at rsbac.org>:
> Am 17.05.2017 um 21:34 schrieb HacKurx:
>> cat: /proc/rsbac-info/debug: No such file or directory
>>
>> There must be a few things that block this. Perhaps the file system or systemd?
>
> Ah, you probably have an initial ramdisk. In that case you need the
> kernel option CONFIG_RSBAC_INIT_DELAY for initrd support. The kernel
> help text tells you about parameters and usage.

Indeed. Thank you. So I play with RSBAC mprotect ;-)

Best regards,

HacKurx (Loic)
-------------- section suivante --------------
PaXtest - Copyright(c) 2003,2004 by Peter Busser <peter at adamantix.org>
Released under the GNU Public Licence version 2 or later

Mode: Blackhat
Linux 4.9.28-rsbac #5 SMP PREEMPT Thu May 18 21:25:09 CEST 2017 x86_64 x86_64 x86_64 GNU/Linux

Executable anonymous mapping             : Killed
Executable bss                           : Killed
Executable data                          : Killed
Executable heap                          : Killed
Executable stack                         : Killed
Executable shared library bss            : Killed
Executable shared library data           : Killed
Executable anonymous mapping (mprotect)  : Killed
Executable bss (mprotect)                : Killed
Executable data (mprotect)               : Killed
Executable heap (mprotect)               : Killed
Executable stack (mprotect)              : Killed
Executable shared library bss (mprotect) : Killed
Executable shared library data (mprotect): Killed
Writable text segments                   : Killed
Anonymous mapping randomisation test     : 28 bits (guessed)
Heap randomisation test (ET_EXEC)        : 14 bits (guessed)
Heap randomisation test (PIE)            : 30 bits (guessed)
Main executable randomisation (ET_EXEC)  : 28 bits (guessed)
Main executable randomisation (PIE)      : 28 bits (guessed)
Shared library randomisation test        : 28 bits (guessed)
Stack randomisation test (SEGMEXEC)      : 30 bits (guessed)
Stack randomisation test (PAGEEXEC)      : 30 bits (guessed)
Arg/env randomisation test (SEGMEXEC)    : 22 bits (guessed)
Arg/env randomisation test (PAGEEXEC)    : 22 bits (guessed)
Randomization under memory exhaustion @~0: 29 bits (guessed)
Randomization under memory exhaustion @0 : 28 bits (guessed)
Return to function (strcpy)              : paxtest: return address contains a NULL byte.
Return to function (memcpy)              : Killed
Return to function (strcpy, PIE)         : paxtest: return address contains a NULL byte.
Return to function (memcpy, PIE)         : Killed


More information about the rsbac mailing list