Saltstack Official Linux Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

cis-1-1-1-1.yml 910B

12345678910111213141516171819202122232425262728293031323334353637
  1. # 1.1.1.1 Ensure mounting of cramfs filesystems is disabled
  2. #
  3. # Description
  4. # ===========
  5. # The cramfs filesystem type is a compressed read-only Linux filesystem
  6. # embedded in small footprint systems. A cramfs image can be used without
  7. # having to first decompress the image.
  8. #
  9. # Rationale
  10. # =========
  11. # Removing support for unneeded filesystem types reduces the local attack
  12. # surface of the server. If this filesystem type is not needed, disable it.
  13. #
  14. # Audit
  15. # =====
  16. # Run the following commands and verify the output is as indicated:
  17. #
  18. # # modprobe -n -v cramfs
  19. # install /bin/true
  20. # # lsmod | grep cramfs
  21. # <No output>
  22. #
  23. # Remediation
  24. # ===========
  25. # Edit or create the file /etc/modprobe.d/CIS.conf and add the following line:
  26. #
  27. # install cramfs /bin/true
  28. #
  29. parameters:
  30. linux:
  31. system:
  32. kernel:
  33. module:
  34. cramfs:
  35. install:
  36. command: /bin/true