Skip to content

fstab50/RKinstaller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Rkhunter Installer


Summary

Utility for installing and configuring the latest version of Rkhunter Malware Scanner for linux.

Rkhunter Installer, Version 1.7.2


Contents


Getting Started

See the following resources before getting started:

back to the top


Scope

rkhunter-install will perform the following on your system to satisfy Rkhunter dependencies:

  • Perl Modules:

    • Installation of cpan if required
    • Installation of Perl module dependencies that rkhunter uses for malware or other checks
  • C Library: unhide

    • required for discovery of hidden processes
    • compiles, installs
  • C Library: skdet

    • required for specialized rootkit detection
    • compiles, installs
  • Uninstall Utility

    • Installs uninstall utility in local config directory should you ever need to remove Rkhunter
  • Configuration File

    • generates local configuration file required for uninstall

back to the top


Dependencies

  • Ubuntu, Ubuntu variants, 14.04
  • Ubuntu, Ubuntu variants, 16.04+
  • Redhat, Centos v7.0+
  • Amazon Linux 2017+

back to the top


Instructions

Run the installer from the cli via the following command:

    $ sudo sh rkhunter-install.sh

Installation directory is set using the --layout parameter:

    $ sudo sh rkhunter-install.sh --layout /usr    

        # install directory /usr/bin

If the --layout parameter is not provided, the following is assumed:

    $ sudo sh rkhunter-install.sh --layout "default"    

        # install directory /usr/local/bin

NOTE:

  • Root privileges (sudo) must be used or run the installer directly as root
  • The installer performs an integrity check using sha256 on all files it retrieves. The installation will only proceed if integrity check passes.

back to the top


Help

To display the help menu:

    $ sh rkhunter-install.sh --help

help

To display help menu for the --configure option:

    $ sh rkhunter-install.sh --configure

help-configure

back to the top


Author & Copyright

All works contained herein copyrighted via below author unless work is explicitly noted by an alternate author.

  • Copyright Blake Huber, All Rights Reserved.

back to the top


License

back to the top


Disclaimer

Code is provided "as is". No liability is assumed by either the code's originating author nor this repo's owner for their use at AWS or any other facility. Furthermore, running function code at AWS may incur monetary charges; in some cases, charges may be substantial. Charges are the sole responsibility of the account holder executing code obtained from this library.

Additional terms may be found in the complete license agreement.

back to the top