[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Full-Disclosure] a secure base system



Tobias Weisserth wrote:
> /tmp should always be mounted noexec. Add /home as well with noexec.
> [...] This may be a trade-off, but the result is more security.

On typical Linux distributions noexec is pointless.
It does not prevent the execution of dynamically linked ELF images.

$ readelf -l /bin/bash | grep interpreter
      [Requesting program interpreter: /lib/ld-linux.so.2]

$ /lib/ld-linux.so.2 /bin/bash --version
GNU bash, version 2.05b.0(1)-release (i386-redhat-linux-gnu)
Copyright (C) 2002 Free Software Foundation, Inc.

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.netsys.com/full-disclosure-charter.html