*Rootkit Problem on FLEX [#rootkitproblem]

A rootkit is a malicious software designed to obtain root-level access to a computer while hiding its presence or identity from antivirus software. Common ways for rootkits to get installed on your system are through trojan horses contained in drive-by downloads, known system vulnerabilities, suspicious email attachments, web surfing, or simply by password cracking.

On Linux, there are several rootkit scanner tools that help project against known or potential rootkits. One such rootkit detection tool is called Rootkit Hunter (rkhunter).

* Protecting FLEX by rkhunter [#protect]

**Installation [#install]

Install rkhunter on Ubuntu:
 $ sudo apt-get install rkhunter

**Perform Rootkit Scanning [#perform]

To perform rootkit scanning on FLEX, simply run the following.
 $ sudo rkhunter -c

Once rkhunter is initiated, it will go ahead and run a series of tests as follows.
- Compare SHA-1 hashes of system binaries against known good values maintained in the database.
- Check for known rootkit files and directories, as well as rootkit strings.
- Perform malware detection, including checking for login backdoors, sniffer log files, and other suspicious directories.
- Perform trojan specific checks such as examining enabled xinetd services.
- Perform checks on network ports and interfaces.
- Perform system boot checks.
- Perform group and account checks.
- Perform system configuration file checks.
- Perform filesystem checks. 

** Log files [#log]
Once scanning is completed, rkhunter stores the result in /var/log/rkhunter.log. We can check for any warning and results something like this:

 System checks summary
 ===================== 
 
 File properties checks...
    Required commands check failed
    Files checked: 142
    Suspect files: 32
 
 Rootkit checks...
    Rootkits checked : 310
    Possible rootkits: 2
    Rootkit names    : SHV4 Rootkit, SHV5 Rootkit
 
 Applications checks...
    All checks skipped
 
 The system checks took: 1 minute and 54 seconds
 
 All results have been written to the log file: /var/log/rkhunter.log
 
 One or more warnings have been found while checking the system.
 Please check the log file (/var/log/rkhunter.log)


Front page   New Page list Search Recent changes   Help   RSS of recent changes