Agent skill

Linux Privilege Escalation

This skill should be used when the user asks to "escalate privileges on Linux", "find privesc vectors on Linux systems", "exploit sudo misconfigurations", "abuse SUID binaries", "exploit cron jobs for root access", "enumerate Linux systems for privilege escalation", or "gain root access from low-privilege shell". It provides comprehensive techniques for identifying and exploiting privilege escalation paths on Linux systems.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/linux-privilege-escalation

Metadata

Additional technical details for this skill

author
zebbern
version
4.1.0-fractal

SKILL.md

Linux Privilege Escalation

Purpose

Execute systematic privilege escalation assessments on Linux systems to identify and exploit misconfigurations, vulnerable services, and security weaknesses that allow elevation from low-privilege user access to root-level control. This skill enables comprehensive enumeration and exploitation of kernel vulnerabilities, sudo misconfigurations, SUID binaries, cron jobs, capabilities, PATH hijacking, and NFS weaknesses.

Inputs / Prerequisites

🧠 Knowledge Modules (Fractal Skills)

1. Required Access

2. Technical Requirements

3. Recommended Tools

4. Primary Outputs

5. Evidence Artifacts

6. Phase 1: System Enumeration

7. Phase 2: Automated Enumeration

8. Phase 3: Kernel Exploits

9. Phase 4: Sudo Exploitation

10. Phase 5: SUID Binary Exploitation

11. Phase 6: Capabilities Exploitation

12. Phase 7: Cron Job Exploitation

13. Phase 8: PATH Hijacking

14. Phase 9: NFS Exploitation

15. Enumeration Commands Summary

16. Reverse Shell One-Liners

17. Key Resources

18. Operational Boundaries

19. Technical Limitations

20. Legal and Ethical Requirements

21. Example 1: Sudo to Root via find

22. Example 2: SUID base64 for Shadow Access

23. Example 3: Cron Job Script Hijacking

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results