Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
ubuntu1604:1:1:16 [2017/05/02 02:02]
Piotr Kłoczewski utworzono
ubuntu1604:1:1:16 [2017/05/02 12:31] (current)
Line 1: Line 1:
 ====== 1.1.16 Ensure noexec option set on /dev/shm partition (Scored) ====== ====== 1.1.16 Ensure noexec option set on /dev/shm partition (Scored) ======
-**Profile Applicability:** \\  +=====Profile Applicability=====   
-   +<code> 
-<note>Level 1 - Server ​\\  +Level 1 - Server  
-Level 1 - Workstation</​note+Level 1 - Workstation 
- +</code
-**Description:** \\  +=====Description===== 
-The ''​noexec''​ mount option specifies that the filesystem cannot contain executable binaries. ​\\ \\  +The ''​noexec''​ mount option specifies that the filesystem cannot contain executable binaries. 
-**Rationale:** \\  +=====Rationale===== 
-Setting this option on a file system prevents users from executing programs from shared memory. This deters users from introducing potentially malicious software on the system. ​\\ \\  +Setting this option on a file system prevents users from executing programs from shared memory. This deters users from introducing potentially malicious software on the system. 
-**Audit:** \\ +=====Audit===== 
 Run the following command and verify that the ''​noexec''​ option is set on ''/​run/​shm''​. \\ Run the following command and verify that the ''​noexec''​ option is set on ''/​run/​shm''​. \\
 <​Code:​bash>​ <​Code:​bash>​
Line 15: Line 15:
 tmpfs on /dev/shm type tmpfs (rw,​nosuid,​nodev,​noexec,​relatime) tmpfs on /dev/shm type tmpfs (rw,​nosuid,​nodev,​noexec,​relatime)
 </​Code>​ </​Code>​
-\\ +=====Remediation===== 
-**Remediation:** \\ +
 Edit the ''/​etc/​fstab''​ file and add ''​noexec''​ to the fourth field (mounting options) for the ''/​dev/​shm''​ partition. See the ''​fstab(5)''​ manual page for more information. \\  Edit the ''/​etc/​fstab''​ file and add ''​noexec''​ to the fourth field (mounting options) for the ''/​dev/​shm''​ partition. See the ''​fstab(5)''​ manual page for more information. \\ 
 Run the following command to remount ''/​dev/​shm'':​ \\ Run the following command to remount ''/​dev/​shm'':​ \\