spacepaste

  1.  
  2. GentOscar checksec.sh # ./checksec --kernel
  3. * Kernel protection information:
  4. Description - List the status of kernel protection mechanisms. Rather than
  5. inspect kernel mechanisms that may aid in the prevention of exploitation of
  6. userspace processes, this option lists the status of kernel configuration
  7. options that harden the kernel itself against attack.
  8. Kernel config:
  9. /proc/config.gz
  10. Vanilla Kernel ASLR: Full
  11. Protected symlinks: Enabled
  12. Protected hardlinks: Enabled
  13. Ipv4 reverse path filtering: Enabled
  14. Ipv6 reverse path filtering: Disabled
  15. Kernel heap randomization: Enabled
  16. GCC stack protector support: Enabled
  17. Restrict /dev/mem access: Disabled
  18. Restrict /dev/kmem access: Disabled
  19. * X86 only:
  20. Strict user copy checks: Disabled
  21. Address space layout randomization: Disabled
  22. * Selinux: No SELinux
  23. SELinux infomation available here:
  24. http://selinuxproject.org/
  25. * grsecurity / PaX: Custom GRKERNSEC
  26. Non-executable kernel pages: Disabled
  27. Non-executable pages: Disabled
  28. Paging Based Non-executable pages: Disabled
  29. Restrict MPROTECT: Disabled
  30. Address Space Layout Randomization: Enabled
  31. Randomize Kernel Stack: Enabled
  32. Randomize User Stack: Enabled
  33. Randomize MMAP Stack: Enabled
  34. Sanitize freed memory: Disabled
  35. Sanitize Kernel Stack: Disabled
  36. Prevent userspace pointer deref: Disabled
  37. Prevent kobject refcount overflow: Disabled
  38. Bounds check heap object copies: Disabled
  39. JIT Hardening: No BPF JIT
  40. Thread Stack Random Gaps: Disabled
  41. Disable writing to kmem/mem/port: Disabled
  42. Disable privileged I/O: Disabled
  43. Harden module auto-loading: Enabled
  44. Chroot Protection: Disabled
  45. Deter ptrace process snooping: Disabled
  46. Larger Entropy Pools: Disabled
  47. TCP/UDP Blackhole: Disabled
  48. Deter Exploit Bruteforcing: Enabled
  49. Hide kernel symbols: Enabled
  50. Pax softmode: Disabled
  51.