6.2.8 Ensure root PATH Integrity

Information

The root user can execute any command on the system and could be fooled into executing programs unintentionally if the PATH is not set correctly.

Rationale:

Including the current working directory (.) or other writable directory in root's executable path makes it likely that an attacker can gain superuser access by forcing an administrator operating as root to execute a Trojan horse program.

Solution

Correct or justify any items discovered in the Audit step.

MITRE ATT&CK Mappings:

Techniques / Sub-techniques

Tactics

Mitigations

T1204, T1204.002

TA0006

M1022

See Also

https://workbench.cisecurity.org/files/4226

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-7(2)

Plugin: Unix

Control ID: a90d02cf1b3773abc4951b5e9cb9493fb545ae40d92cb51da3ef1eecbe7a80b8