unix-privesc-check
Description
A shell script that checks for common privilege escalation vectors on Unix/Linux systems. It examines file permissions, configuration files, and other system settings to identify potential security weaknesses. The binary is pre-installed on Kali Linux.
Usage 1: Run Standard Check and Save Output
Run the standard privilege escalation check and redirect the output to a file for review.
Command:
./unix-privesc-check standard > output.txt
Usage 2: Run Directly on Kali Linux
The tool is pre-installed on Kali Linux and can be invoked directly.
Command:
unix-privesc-check
Usage 3: Transfer to Target Machine via SCP
Copy the unix-privesc-check binary to the target machine using SCP.
Command:
scp unix-privesc-check joe@192.168.185.214:/tmp
Notes
- The tool supports two modes:
standardanddetailed. - Pre-installed on Kali Linux, so no additional download is required on the attacker machine.
- Transfer the binary to the target, make it executable (
chmod +x), and run it.