LinEnum is a shell script that automates the process of gathering information from a Linux system to help identify potential security vulnerabilities.
1. Basic Usage
1.1 Running LinEnum
1.2 Running with Verbose Output
2. Script Options
2.1 Detailed Enumeration
2.2 Export to HTML
2.3 Include Additional Checks
3. Key Checks Performed
3.1 System Information
- Kernel version
- Operating system details
- Network configuration
3.2 User Information
- Current user details
- Super users listing
- Users with console
3.3 Environmental Information
- Environment variables
- Sudo version
- Cron jobs
3.4 Security Information
- SUID/GUID files
- Config files accessible by current user
- Installed packages and potential vulnerabilities
4. Automating with Cron
4.1 Setup Cron Job
5. Tips for Effective Use
5.1 Updating Script
Regularly update the script from its GitHub repository to ensure the latest checks and features are included.
5.2 Combine with Other Tools
For a comprehensive security assessment, use LinEnum in conjunction with other tools like pspy
and chkrootkit
.