项目说明
<di="center">
<h1>🔐 Linux Pri Escalation Enumeration Tool</h1>
</div>
<di="center">
!Linux
!Bash
!Security
Comprehensi Pri Escalation Scanner with Exploit Methods
Features • Installation • Usage • Output •
</div>
---
📋 Deskripsi
Linux Pri Escalation Enumeration Tool adalah script bash yang dirancang untuk melakukan enumerasi menyeluruh terhadap sistem Linux guna menemukan celah pri escalation. Tool ini tidak hanya mendeteksi , tetapi juga menyediakan metode exploit dan contoh perintah yang dapat langsung digunakan.
Tool ini sangat berguna untuk:
🎯 Penetration Testing - Identifikasi celah keamanan dalam sistem🔍 Security Auditing - Audit keamanan sistem Linux📚 Learning - Belajar tentang berbagai teknik pri escalation🛡️ Defensi - Memahami celah yang perlu ditutup---
✨ Features
🎨 Enhanced User Interface
ASCII art banner yang menarikProgress bar untuk setiap tahap scanningColor-coded output (Critical, Warning, Info, Success)Box drawing untuk section headersReal-time progress tracking🔎 Comprehensi Detection
25+ Kategori Pemeriksaan mencakup berbagai pri escalationDeteksi otomatis untuk yang diketahuiPemeriksaan mendalam untuk konfigurasi yang salah💣 Exploit Methods & Examples
Penjelasan metode exploit untuk setiap Contoh perintah yang siap digunakanReferensi CVE dan link exploitTips dan trik untuk setiap teknik📊 Dual Output Files
Enumeration Report - Laporan lengkap hasil scanningExploit Methods - File terpisah berisi metode exploit dan contoh---
🚀 Installation
Metode 1: Clone Repository
Metode 2: Download Manual
Persyaratan
Sistem operasi: Linux (semua distribusi)Shell: Bash 4.0+Permissions: User biasa (tidak perlu root)Tools opsional: getcap, docker, systemctl (untuk beberapa checks)---
📖 Usage
Basic Usage
Dengan Output Custom
Menggunakan di Remote System
Menggunakan dengan Curl (One-liner)
---
📁 Output
Tool ini menghasilkan 2 file output:
1. Enumeration Report
pri_YYYYMMDD_HHMMSS.txt
Laporan lengkap hasil scanningInformasi sistemSemua yang ditemukanKonfigurasi sistemNetwork informationDan banyak lagi2. Exploit Methods
exploit_methods_YYYYMMDD_HHMMSS.txt
Metode exploit untuk setiap Contoh perintah yang siap digunakanReferensi CVELink ke exploit codeTips dan trik---
🎯 Detected
Tool ini mendeteksi berbagai jenis pri escalation:
1. SUID/SGID Binaries
Deteksi binary dengan SUID/SGID bitIdentifikasi binary yang berpotensi dieksploitasiExploit methods untuk: find, python, vim, nmap, bash, dll2. Sudo Misconfigurations
Sudo permissions tanpa password (NOPASSWD)Dangerous sudo commands (vim, python, find, dll)C (Sudo bypass)C (Baron Samedit)3. World-Writable Files & Directories
File dan direktori yang writable oleh semua userPATH hijacking opportunitiesWritable scripts dan service files4. Cron Jobs
System-wide cron jobsUser cron jobsWritable cron filesWildcard exploitation5. Linux Capabilities
Files dengan dangerous capabilitiescap_setuid, cap_dac_o, dll6. En
PATH manipulationLD_PRELOAD hijackingLD_LIBRARY_PATH issues7. Writable System Files
/etc/passwd writable/etc/shadow writable/etc/sudoers writable/etc/sudoers.d writable8. Docker & Containers
Docker group membershipContainer escape opportunitiesPri containers9. Kernel Exploits
Dirty COW (C)DirtyPipe (C) ⭐ NEWKernel analysisExploit research recommendations10. NFS Shares
NFS exports dengan no_root_squashMounted NFS shares11. Systemd Services & Timers
Writable systemd service filesUser systemd servicesSystemd timers12. Password Files
Readable /etc/shadowBackup password filesUsers dengan UID 013. SSH Keys
Private SSH keysAuthorized keysSSH configuration14. History Files
Bash historyPython historyMySQL historyPotential credentials15. Additional Checks
Polkit/pkexec (PwnKit - C)Screen/Tmux sessionsLXD/LXC containersInit scriptsMounted filesystems---
🔥 DirtyPipe Detection (C)
Tool ini sekarang mendeteksi DirtyPipe yang mempengaruhi:
Linux kernel 5.8 hingga 5.16.11Linux kernel 5.10.102Linux kernel 5.15.25Linux kernel 5.17Ketika terdeteksi, tool akan menampilkan:
⚠️ Critical warning📝 Penjelasan 💻 Contoh exploit commands🔗 Link ke exploit repositories---
📸 Screenshots
Banner & Progress
Output Example
---
🛠️ Troubleshooting
Permission Denied
Script Tidak Dapat Menjalankan Beberapa Checks
Beberapa checks memerlukan tools tertentu (getcap, docker, dll)Tool akan otomatis skip checks jika tool tidak tersediaIni normal dan tidak mempengaruhi checks lainnyaOutput File Tidak Terbentuk
Pastikan direktori writableCheck disk spacePastikan tidak ada permission issues---
⚠️ Disclaimer
Tool ini dibuat untuk tujuan edukasi dan security testing yang legal saja. Pengguna bertanggung jawab penuh atas penggunaan tool ini. Penulis tidak bertanggung jawab atas penyalahgunaan tool ini untuk aktivitas ilegal.
Gunakan hanya pada:
✅ Sistem yang Anda miliki✅ Sistem dengan izin tertulis✅ En testing/de✅ Penetration testing yang authorizedJANGAN gunakan untuk:
❌ Mengakses sistem tanpa izin❌ Aktivitas ilegal❌ Merusak sistem orang lain---
🤝 Contributing
Kontribusi sangat diterima! Silakan:
1. Fork repository
2. Buat feature branch (git checkout -b feature/AmazingFeature)
3. Commit perubahan (git commit -m 'Add some AmazingFeature')
4. Push ke branch (git push origin feature/AmazingFeature)
5. Buat Pull Request
---
📚 References & Resources
GTFOBins - Bypass techniquesExploit-DB - Exploit databaseLinux Kernel ExploitsLinPEAS - InspirationHackTricks - Pri escalation guide---
---
👤 Author
MadExploits
GitHub: Repository: linemadpeas---
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
---
⭐ Star History
Jika tool ini membantu Anda, pertimbangkan untuk memberikan ⭐ pada repository ini!
---
<di="center">
Made with ❤️ for the Security Community
⬆ Back to Top
</div>
项目信息
开发语言:Shell
Star 数:12
技术要点
该项目属于安全软件方向的开源资源,代码结构清晰,适合安全研究人员学习参考。项目围绕Privilege Escalation Enumeration & Exploitation Tool and Comprehensive Vulnerability Scanner with Exploit Methods.展开,提供了可运行的实现,对理解相关安全机制、工具原理与攻防技术具有较高的研究价值。
从技术实现角度看,此类项目的核心在于对底层原理的深入理解与工程化落地。开发者在研究过程中可以结合官方文档与社区讨论,梳理项目的初始化流程、核心模块职责与数据流转,逐步掌握其中的技术细节与设计思路。
使用与学习建议
1. 下载源码压缩包,解压到本地环境。
2. 根据项目类型准备对应的运行环境与依赖。
3. 按照 README 中的步骤完成配置与部署。
4. 在隔离的测试环境中运行验证,避免影响生产系统。
免责声明
本资源来源于开源社区,仅供安全研究、技术学习与合法授权范围内的攻防演练使用,请勿用于任何非法或侵害他人权益的用途。使用本项目产生的一切后果由使用者自行承担。