rootkit_hunter:configuration
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
rootkit_hunter:configuration [2016/07/18 21:50] – peter | rootkit_hunter:configuration [2020/07/27 05:41] (current) – old revision restored (2020/07/26 00:16) 192.99.36.166 | ||
---|---|---|---|
Line 30: | Line 30: | ||
</ | </ | ||
- | |||
- | The entire file is: | ||
- | |||
- | <file bash / | ||
- | # | ||
- | # This is the main configuration file for Rootkit Hunter. | ||
- | # | ||
- | # You can modify this file directly, or you can create a local configuration | ||
- | # file. The local file must be named ' | ||
- | # in the same directory as this file. Alternatively you can create a directory, | ||
- | # named ' | ||
- | # configuration file. Within the ' | ||
- | # configuration files. There is no restriction on the file names used, other | ||
- | # than they must end in ' | ||
- | # | ||
- | # Please modify the configuration file(s) to your own requirements. It is | ||
- | # recommended that the command ' | ||
- | # been made. | ||
- | # | ||
- | # Please review the documentation before posting bug reports or questions. | ||
- | # To report bugs, obtain updates, or provide patches or comments, please go | ||
- | # to: http:// | ||
- | # | ||
- | # To ask questions about rkhunter, please use the ' | ||
- | # Note that this is a moderated list, so please subscribe before posting. | ||
- | # | ||
- | # In the configuration files, lines beginning with a hash (#), and blank lines, | ||
- | # are ignored. Also, end-of-line comments are not supported. | ||
- | # | ||
- | # Any of the configuration options may appear more than once. However, several | ||
- | # options only take one value, and so the last one seen will be used. Some | ||
- | # options are allowed to appear more than once, and the text describing the | ||
- | # option will say if this is so. These configuration options will, in effect, | ||
- | # have their values concatenated together. To delete a previously specified | ||
- | # option list, specify the option with no value (that is, a null string). | ||
- | # | ||
- | # Some of the options are space-separated lists, others, typically those | ||
- | # specifying pathnames, are newline-separated lists. These must be entered | ||
- | # as one item per line. Quotes must not be used to surround the pathname. | ||
- | # For example, to specify two pathnames, '/ | ||
- | # option: | ||
- | # | ||
- | # | ||
- | # | ||
- | # | ||
- | # | ||
- | # | ||
- | # or | ||
- | # or | ||
- | # | ||
- | # The last three examples are being configured as space-separated lists, | ||
- | # which is incorrect, generally, for options specifying pathnames. They | ||
- | # should be configured with one entry per line as in the first example. | ||
- | # | ||
- | # If wildcard characters (globbing) are allowed for an option, then the | ||
- | # text describing the option will say so. | ||
- | # | ||
- | # Space-separated lists may be enclosed by quotes, although they are not | ||
- | # required. If they are used, then they must only appear at the start and | ||
- | # end of the list, not in the middle. | ||
- | # | ||
- | # For example: | ||
- | # | ||
- | # | ||
- | # | ||
- | # Space-separated lists may also be entered simply as one entry per line. | ||
- | # | ||
- | # For example: | ||
- | # | ||
- | # | ||
- | # | ||
- | # If a configuration option is never set, then the program will assume a | ||
- | # default value. The text describing the option will state the default value. | ||
- | # If there is no default, then rkhunter will calculate a value or pathname | ||
- | # to use. | ||
- | # | ||
- | |||
- | |||
- | # | ||
- | # If this option is set to ' | ||
- | # (' | ||
- | # options are used, is to be rotated. Rotating the entries in the file allows | ||
- | # a basic form of load-balancing between the mirror sites whenever the above | ||
- | # options are used. | ||
- | # | ||
- | # If the option is set to ' | ||
- | # priority list. That is, the first mirror listed will always be used first. | ||
- | # The second mirror will only be used if the first mirror fails, the third | ||
- | # mirror will only be used if the second mirror fails, and so on. | ||
- | # | ||
- | # If the mirrors file is read-only, then the ' | ||
- | # option can only be used if this option is set to ' | ||
- | # | ||
- | # The default value is ' | ||
- | # | ||
- | # | ||
- | |||
- | # | ||
- | # If this option is set to ' | ||
- | # used, then the mirrors file is to be checked for updates as well. If the | ||
- | # current mirrors file contains any local mirrors, these will be prepended to | ||
- | # the updated file. If this option is set to ' | ||
- | # updated manually. This may be useful if only using local mirrors. | ||
- | # | ||
- | # The default value is ' | ||
- | # | ||
- | # | ||
- | |||
- | # | ||
- | # The MIRRORS_MODE option tells rkhunter which mirrors are to be used when | ||
- | # the ' | ||
- | # Possible values are: | ||
- | # 0 - use any mirror | ||
- | # 1 - only use local mirrors | ||
- | # 2 - only use remote mirrors | ||
- | # | ||
- | # Local and remote mirrors can be defined in the mirrors file by using the | ||
- | # ' | ||
- | # | ||
- | # The default value is ' | ||
- | # | ||
- | # | ||
- | |||
- | # | ||
- | # Email a message to this address if a warning is found when the system is | ||
- | # being checked. Multiple addresses may be specified simply be separating | ||
- | # them with a space. To disable the option, simply set it to the null string | ||
- | # or comment it out. | ||
- | # | ||
- | # The option may be specified more than once. | ||
- | # | ||
- | # The default value is the null string. | ||
- | # | ||
- | # Also see the MAIL_CMD option. | ||
- | # | ||
- | # | ||
- | |||
- | # | ||
- | # This option specifies the mail command to use if MAIL-ON-WARNING is set. | ||
- | # | ||
- | # NOTE: Double quotes are not required around the command, but are required | ||
- | # around the subject line if it contains spaces. | ||
- | # | ||
- | # The default is to use the ' | ||
- | # of ' | ||
- | # | ||
- | # | ||
- | |||
- | # | ||
- | # This option specifies the directory to use for temporary files. | ||
- | # | ||
- | # NOTE: Do not use '/ | ||
- | # will be written to this directory, so be sure that the directory permissions | ||
- | # are secure. | ||
- | # | ||
- | # The installer program will set the default directory. If this default is | ||
- | # subsequently commented out or removed, then the program will assume a | ||
- | # default directory beneath the installation directory. | ||
- | # | ||
- | TMPDIR=/ | ||
- | |||
- | # | ||
- | # This option specifies the database directory to use. | ||
- | # | ||
- | # The installer program will set the default directory. If this default is | ||
- | # subsequently commented out or removed, then the program will assume a | ||
- | # default directory beneath the installation directory. | ||
- | # | ||
- | DBDIR=/ | ||
- | |||
- | # | ||
- | # This option specifies the script directory to use. | ||
- | # | ||
- | # The installer program will set the default directory. If this default is | ||
- | # subsequently commented out or removed, then the program will not run. | ||
- | # | ||
- | SCRIPTDIR=/ | ||
- | |||
- | # | ||
- | # This option can be used to modify the command directory list used by rkhunter | ||
- | # to locate commands (that is, its PATH). By default this will be the root PATH, | ||
- | # and an internal list of some common command directories. | ||
- | # | ||
- | # Any directories specified here will, by default, be appended to the default | ||
- | # list. However, if a directory name begins with the ' | ||
- | # directory will be prepended to the list (that is, it will be put at the start | ||
- | # of the list). | ||
- | # | ||
- | # This is a space-separated list of directory names. The option may be | ||
- | # specified more than once. | ||
- | # | ||
- | # The default value is based on the root account PATH environment variable. | ||
- | # | ||
- | # | ||
- | # | ||
- | |||
- | # | ||
- | # This option specifies the default language to use. This should be similar to | ||
- | # the ISO 639 language code. | ||
- | # | ||
- | # NOTE: Please ensure that the language you specify is supported. | ||
- | # For a list of supported languages use the following command: | ||
- | # | ||
- | # | ||
- | # | ||
- | # The default language is ' | ||
- | # | ||
- | # | ||
- | |||
- | # | ||
- | # This option is a space-separated list of the languages that are to be updated | ||
- | # when the ' | ||
- | # updated. If none of the languages are to be updated, then set this option to | ||
- | # just ' | ||
- | # | ||
- | # The default language, specified by the LANGUAGE option, and the English (en) | ||
- | # language file will always be updated regardless of this option. | ||
- | # | ||
- | # This option may be specified more than once. | ||
- | # | ||
- | # The default value is the null string, indicating that all the language files | ||
- | # will be updated. | ||
- | # | ||
- | # | ||
- | |||
- | # | ||
- | # This option specifies the log file pathname. The file will be created if it | ||
- | # does not initially exist. If the option is unset, then the program will | ||
- | # display a message each time it is run saying that the default value is being | ||
- | # used. | ||
- | # | ||
- | # The default value is '/ | ||
- | # | ||
- | LOGFILE=/ | ||
- | |||
- | # | ||
- | # Set this option to ' | ||
- | # is run. A value of ' | ||
- | # program is run. | ||
- | # | ||
- | # The default value is ' | ||
- | # | ||
- | # | ||
- | |||
- | # | ||
- | # Set the following option to ' | ||
- | # finishes and an error or warning has occurred. The copied log file name will | ||
- | # be appended with the current date and time (in YYYY-MM-DD_HH: | ||
- | # For example: rkhunter.log.2009-04-21_00: | ||
- | # If the option value is ' | ||
- | # of whether any errors or warnings occurred. | ||
- | # | ||
- | # The default value is ' | ||
- | # | ||
- | # | ||
- | |||
- | # | ||
- | # Set the following option to enable the rkhunter check start and finish times | ||
- | # to be logged by syslog. Warning messages will also be logged. The value of | ||
- | # the option must be a standard syslog facility and priority, separated by a | ||
- | # dot. For example: | ||
- | # | ||
- | # | ||
- | # | ||
- | # Setting the value to ' | ||
- | # disables the use of syslog. | ||
- | # | ||
- | # The default value is not to use syslog. | ||
- | # | ||
- | USE_SYSLOG=authpriv.warning | ||
- | |||
- | # | ||
- | # Set the following option to ' | ||
- | # can be useful if your screen uses black characters on a white background | ||
- | # (for example, a PC instead of a server). A value of ' | ||
- | # colour set to be used. | ||
- | # | ||
- | # The default value is ' | ||
- | # | ||
- | # | ||
- | |||
- | # | ||
- | # Set the following option to ' | ||
- | # used. If X is detected as being used, then the second colour set will | ||
- | # automatically be used. If set to ' | ||
- | # | ||
- | # The default value is ' | ||
- | # | ||
- | AUTO_X_DETECT=1 | ||
- | |||
- | # | ||
- | # Set the following option to ' | ||
- | # are shown in white rather than green. For colour set 2 users, setting this | ||
- | # option will cause the result to be shown in black. Setting the option to ' | ||
- | # causes whitelisted results to be displayed in green. | ||
- | # | ||
- | # The default value is ' | ||
- | # | ||
- | # | ||
- | |||
- | # | ||
- | # The following option is checked against the SSH configuration file | ||
- | # ' | ||
- | # However, if a value has not been set in the SSH configuration file, then a | ||
- | # value here of ' | ||
- | # | ||
- | # The default value is ' | ||
- | # | ||
- | # | ||
- | |||
- | # | ||
- | # Set this option to ' | ||
- | # that theoretically it is weaker, and therefore less secure, than the | ||
- | # SSH-2 protocol. Do not modify this option unless you have good reasons | ||
- | # to use the SSH-1 protocol (for instance for AFS token passing or Kerberos4 | ||
- | # authentication). If the ' | ||
- | # configuration file, then a value of ' | ||
- | # suppress a warning message. A value of ' | ||
- | # SSH-1 is not allowed. | ||
- | # | ||
- | # The default value is ' | ||
- | # | ||
- | # | ||
- | |||
- | # | ||
- | # This setting tells rkhunter the directory containing the SSH configuration | ||
- | # file. This setting will be worked out by rkhunter, and so should not | ||
- | # usually need to be set. | ||
- | # | ||
- | # This option has no default value. | ||
- | # | ||
- | # | ||
- | |||
- | # | ||
- | # These two options determine which tests are to be performed. The ENABLE_TESTS | ||
- | # option can use the word ' | ||
- | # DISABLE_TESTS option can use the word ' | ||
- | # disabled. The list of disabled tests is applied to the list of enabled tests. | ||
- | # | ||
- | # Both options are space-separated lists of test names, and both options may | ||
- | # be specified more than once. The currently available test names can be seen | ||
- | # by using the command ' | ||
- | # | ||
- | # The supplied configuration file has some tests already disabled, and these | ||
- | # are tests that will be used only occasionally, | ||
- | # or that are prone to produce more than the average number of false-positives. | ||
- | # | ||
- | # Please read the README file for more details about enabling and disabling | ||
- | # tests, the test names, and how rkhunter behaves when these options are used. | ||
- | # | ||
- | # The default values are to enable all tests and to disable none. However, if | ||
- | # either of the options below are specified, then they will override the | ||
- | # program defaults. | ||
- | # | ||
- | # hidden_procs test requires the unhide and/or unhide.rb commands which are | ||
- | # part of the unhide respectively unhide.rb packages in Debian. | ||
- | # | ||
- | # apps test is disabled by default as it triggers warnings about outdated | ||
- | # applications (and warns about possible security risk: we better trust | ||
- | # the Debian Security Team). | ||
- | # | ||
- | ENABLE_TESTS=all | ||
- | DISABLE_TESTS=suspscan hidden_procs deleted_files packet_cap_apps apps | ||
- | |||
- | # | ||
- | # The HASH_CMD option can be used to specify the command to use for the file | ||
- | # properties hash value check. It can be specified as just the command name or | ||
- | # the full pathname. If just the command name is given, and it is one of MD5, | ||
- | # SHA1, SHA224, SHA256, SHA384 or SHA512, then rkhunter will first look for the | ||
- | # relevant command, such as ' | ||
- | # these are found, it will then look to see if a perl module has been installed | ||
- | # which will support the relevant hash function. To see which perl modules have | ||
- | # been installed use the command ' | ||
- | # | ||
- | # Systems using prelinking are restricted to using either the SHA1 or MD5 | ||
- | # function. | ||
- | # | ||
- | # A value of ' | ||
- | # function should be used. Rkhunter will detect this, and automatically disable | ||
- | # the file properties hash check test. | ||
- | # | ||
- | # Examples: | ||
- | # For Solaris 9 : HASH_CMD=gmd5sum | ||
- | # For Solaris 10: HASH_CMD=sha1sum | ||
- | # For AIX (>5.2): HASH_CMD=" | ||
- | # For NetBSD | ||
- | # | ||
- | # NOTE: Whenever this option is changed ' | ||
- | # | ||
- | # The default value is the SHA1 function, or MD5 if SHA1 cannot be found. | ||
- | # | ||
- | # Also see the HASH_FLD_IDX option. | ||
- | # | ||
- | HASH_CMD=sha256sum | ||
- | |||
- | # | ||
- | # The HASH_FLD_IDX option specifies which field from the HASH_CMD command | ||
- | # output contains the hash value. The fields are assumed to be space-separated. | ||
- | # | ||
- | # The option value must be an integer greater than zero. | ||
- | # | ||
- | # The default value is ' | ||
- | # value of ' | ||
- | # | ||
- | # | ||
- | |||
- | # | ||
- | # The PKGMGR option tells rkhunter to use the specified package manager to | ||
- | # obtain the file property information. This is used when updating the file | ||
- | # properties file (' | ||
- | # For RedHat/ | ||
- | # RPM database. For Debian-based systems ' | ||
- | # ' | ||
- | # or a value of ' | ||
- | # | ||
- | # The current package managers, except ' | ||
- | # using an MD5 hash function. The Solaris package manager includes a checksum | ||
- | # value, but this is not used by default (see USE_SUNSUM below). | ||
- | # | ||
- | # The ' | ||
- | # The ' | ||
- | # file permissions, | ||
- | # most of the values, similar to ' | ||
- | # | ||
- | # For any file not part of a package, rkhunter will revert to using the | ||
- | # HASH_CMD hash function instead. | ||
- | # | ||
- | # NOTE: Whenever this option is changed ' | ||
- | # | ||
- | # The default value is ' | ||
- | # | ||
- | # Also see the PKGMGR_NO_VRFY and USE_SUNSUM options. | ||
- | # | ||
- | # NONE is the default for Debian as well, as running --propupd takes | ||
- | # about 4 times longer when it's set to DPKG | ||
- | # | ||
- | # | ||
- | |||
- | # | ||
- | # It is possible that a file, which is part of a package, may have been | ||
- | # modified by the administrator. Typically this occurs for configuration | ||
- | # files. However, the package manager may list the file as being modified. | ||
- | # For the RPM package manager this may well depend on how the package was | ||
- | # built. This option specifies a pathname which is to be exempt from the | ||
- | # package manager verification process, and which will be treated | ||
- | # as a non-packaged file. As such, the file properties are still checked. | ||
- | # | ||
- | # This option only takes effect if the PKGMGR option has been set, and | ||
- | # is not ' | ||
- | # | ||
- | # This option may be specified more than once. | ||
- | # | ||
- | # NOTE: Whenever this option is changed ' | ||
- | # | ||
- | # The default value is the null string. | ||
- | # | ||
- | # | ||
- | |||
- | # | ||
- | # If the ' | ||
- | # checksum (hash) value stored for a file. However, this is only a 16-bit | ||
- | # checksum, and as such is not nearly as secure as, for example, a SHA-2 value. | ||
- | # If the option is set to ' | ||
- | # function given by HASH_CMD is used instead. To enable this option, set its | ||
- | # value to ' | ||
- | # option is used. | ||
- | # | ||
- | # The default value is ' | ||
- | # | ||
- | # | ||
- | |||
- | # | ||
- | # This option can be used to tell rkhunter to ignore any prelink dependency | ||
- | # errors for the given commands. However, a warning will also be issued if the | ||
- | # error does not occur for a given command. As such this option must only be | ||
- | # used on commands which experience a persistent problem. | ||
- | # | ||
- | # Short-term prelink dependency errors can usually be resolved simply by | ||
- | # running the ' | ||
- | # | ||
- | # This is a space-separated list of command pathnames. The option can be | ||
- | # specified more than once. | ||
- | # | ||
- | # NOTE: Whenever this option is changed ' | ||
- | # | ||
- | # The default value is the null string. | ||
- | # | ||
- | # | ||
- | |||
- | # | ||
- | # These options specify a command, directory or file pathname which will be | ||
- | # included or excluded in the file properties checks. | ||
- | # | ||
- | # For the USER_FILEPROP_FILES_DIRS option, simple command names - for example, | ||
- | # ' | ||
- | # be searched for each of the command names in the command list. Additionally, | ||
- | # full pathnames to files, which need not be commands, may be given. Any files | ||
- | # or directories which are already part of the internal lists will be silently | ||
- | # ignored from the configuration. | ||
- | # | ||
- | # For the USER_FILEPROP_FILES_DIRS option, wildcards are allowed, except for | ||
- | # simple command names. | ||
- | # For example, ' | ||
- | # | ||
- | # Specific files may be excluded by using the EXCLUDE_USER_FILEPROP_FILES_DIRS | ||
- | # option. Wildcards may be used with this option. | ||
- | # | ||
- | # By combining these two options, and using wildcards, whole directories can be | ||
- | # excluded. For example: | ||
- | # | ||
- | # | ||
- | # | ||
- | # | ||
- | # | ||
- | # This will look for files in the first two directory levels of '/ | ||
- | # anything in '/ | ||
- | # excluded. | ||
- | # | ||
- | # NOTE: Only files and directories which have been added by the user, and are | ||
- | # not part of the internal lists, can be excluded. So, for example, it is not | ||
- | # possible to exclude the ' | ||
- | # silently ignored from the configuration. | ||
- | # | ||
- | # Both options can be specified more than once. | ||
- | # | ||
- | # NOTE: Whenever these options are changed ' | ||
- | # | ||
- | # The default value for both options is the null string. | ||
- | # | ||
- | # | ||
- | # | ||
- | # | ||
- | # | ||
- | # | ||
- | # | ||
- | # | ||
- | # | ||
- | # | ||
- | |||
- | # | ||
- | # This option whitelists files and directories from existing, or not existing, | ||
- | # on the system at the time of testing. This option is used when the | ||
- | # configuration file options themselves are checked, and during the file | ||
- | # properties check, the hidden files and directories checks, and the filesystem | ||
- | # check of the '/ | ||
- | # | ||
- | # This option may be specified more than once, and may use wildcards. | ||
- | # Be aware though that this is probably not what you want to do as the | ||
- | # wildcarding will be expanded after files have been deleted. As such | ||
- | # deleted files won't be whitelisted if wildcarded. | ||
- | # | ||
- | # NOTE: The user must take into consideration how often the file will appear | ||
- | # and disappear from the system in relation to how often rkhunter is run. If | ||
- | # the file appears, and disappears, too often then rkhunter may not notice | ||
- | # this. All it will see is that the file has changed. The inode-number and DTM | ||
- | # will certainly be different for each new file, and rkhunter will report this. | ||
- | # | ||
- | # The default value is the null string. | ||
- | # | ||
- | # | ||
- | |||
- | # | ||
- | # Whitelist various attributes of the specified file. The attributes are those | ||
- | # of the ' | ||
- | # being whitelisted for the write permission test (see below). | ||
- | # | ||
- | # This option may be specified more than once, and may use wildcard characters. | ||
- | # | ||
- | # The default value is the null string. | ||
- | # | ||
- | # | ||
- | |||
- | # | ||
- | # Allow the specified file to have the ' | ||
- | # write-bit set. For example, files with permissions r-xr-xrwx or rwxrwxrwx. | ||
- | # | ||
- | # This option may be specified more than once, and may use wildcard characters. | ||
- | # | ||
- | # The default value is the null string. | ||
- | # | ||
- | # | ||
- | |||
- | # | ||
- | # Allow the specified file to be a script. | ||
- | # | ||
- | # This option may be specified more than once, and may use wildcard characters. | ||
- | # | ||
- | # The default value is the null string. | ||
- | # | ||
- | SCRIPTWHITELIST=/ | ||
- | SCRIPTWHITELIST=/ | ||
- | SCRIPTWHITELIST=/ | ||
- | SCRIPTWHITELIST=/ | ||
- | # | ||
- | SCRIPTWHITELIST=/ | ||
- | # | ||
- | # | ||
- | |||
- | # | ||
- | # Allow the specified file to have the immutable attribute set. | ||
- | # | ||
- | # This option may be specified more than once, and may use wildcard characters. | ||
- | # | ||
- | # The default value is the null string. | ||
- | # | ||
- | # | ||
- | |||
- | # | ||
- | # If this option is set to ' | ||
- | # is, the files are expected to have the bit set. A value of ' | ||
- | # immutable-bit should not be set. | ||
- | # | ||
- | # The default value is ' | ||
- | # | ||
- | # | ||
- | |||
- | # | ||
- | # Allow the specified hidden directory to be whitelisted. | ||
- | # | ||
- | # This option may be specified more than once, and may use wildcard characters. | ||
- | # | ||
- | # The default value is the null string. | ||
- | # | ||
- | # | ||
- | # | ||
- | # | ||
- | |||
- | # | ||
- | # Allow the specified hidden file to be whitelisted. | ||
- | # | ||
- | # This option may be specified more than once, and may use wildcard characters. | ||
- | # | ||
- | # The default value is the null string. | ||
- | # | ||
- | # | ||
- | # | ||
- | # | ||
- | # | ||
- | # | ||
- | # | ||
- | # | ||
- | # | ||
- | # | ||
- | # | ||
- | # | ||
- | # | ||
- | |||
- | # | ||
- | # Allow the specified process to use deleted files. The process name may be | ||
- | # followed by a colon-separated list of full pathnames. The process will then | ||
- | # only be whitelisted if it is using one of the given files. For example: | ||
- | # | ||
- | # | ||
- | # | ||
- | # This option may be specified more than once. It may also use wildcards, but | ||
- | # only in the file names. | ||
- | # | ||
- | # The default value is the null string. | ||
- | # | ||
- | # | ||
- | # | ||
- | # | ||
- | # | ||
- | # | ||
- | |||
- | # | ||
- | # Allow the specified process to listen on any network interface. | ||
- | # | ||
- | # This option may be specified more than once, and may use wildcard characters. | ||
- | # | ||
- | # The default value is the null string. | ||
- | # | ||
- | # | ||
- | # | ||
- | # | ||
- | # | ||
- | |||
- | # | ||
- | # Allow the specified network interfaces to be in promiscuous mode. | ||
- | # | ||
- | # This is a space-separated list of interface names. The option may be | ||
- | # specified more than once. | ||
- | # | ||
- | # The default value is the null string. | ||
- | # | ||
- | # | ||
- | |||
- | # | ||
- | # This option specifies how rkhunter should scan the '/ | ||
- | # suspicious files. The only allowed values are ' | ||
- | # | ||
- | # A THOROUGH scan will increase the overall runtime of rkhunter. Despite this, | ||
- | # it is highly recommended that this value is used. | ||
- | # | ||
- | # The default value is ' | ||
- | # | ||
- | # Also see the ALLOWDEVFILE option. | ||
- | # | ||
- | # | ||
- | |||
- | # | ||
- | # Allow the specified file to be present in the '/ | ||
- | # regarded as suspicious. | ||
- | # | ||
- | # This option may be specified more than once, and may use wildcard characters. | ||
- | # | ||
- | # The default value is the null string. | ||
- | # | ||
- | # | ||
- | # | ||
- | |||
- | # | ||
- | # This option is used to indicate if the Phalanx2 test is to perform a basic | ||
- | # check, or a more thorough check. If the option is set to ' | ||
- | # check is performed. If it is set to ' | ||
- | # '/ | ||
- | # | ||
- | # NOTE: Setting this option to ' | ||
- | # to complete. | ||
- | # | ||
- | # The default value is ' | ||
- | # | ||
- | # | ||
- | |||
- | # | ||
- | # This option tells rkhunter where the inetd configuration file is located. | ||
- | # | ||
- | # The default value is the null string. | ||
- | # | ||
- | # | ||
- | |||
- | # | ||
- | # This option allows the specified enabled inetd services. | ||
- | # | ||
- | # This is a space-separated list of service names. The option may be specified | ||
- | # more than once. | ||
- | # | ||
- | # For non-Solaris users the simple service name should be used. | ||
- | # For example: | ||
- | # | ||
- | # | ||
- | # | ||
- | # For Solaris 9 users the simple service name should also be used, but | ||
- | # if it is an RPC service, then the executable pathname should be used. | ||
- | # For example: | ||
- | # | ||
- | # | ||
- | # | ||
- | # | ||
- | # For Solaris 10 users the service/ | ||
- | # | ||
- | # | ||
- | # | ||
- | # | ||
- | # | ||
- | # | ||
- | # The default value is the null string. | ||
- | # | ||
- | # | ||
- | |||
- | # | ||
- | # This option tells rkhunter where the xinetd configuration file is located. | ||
- | # | ||
- | # The default value is the null string. | ||
- | # | ||
- | # | ||
- | |||
- | # | ||
- | # This option allows the specified enabled xinetd services. Whilst it would be | ||
- | # nice to use the service names themselves, at the time of testing we only have | ||
- | # the pathname available. As such, these entries are the xinetd file pathnames. | ||
- | # | ||
- | # This is a space-separated list of service names. The option may be specified | ||
- | # more than once. | ||
- | # | ||
- | # The default value is the null string. | ||
- | # | ||
- | # | ||
- | |||
- | # | ||
- | # This option tells rkhunter the local system startup file pathnames. The | ||
- | # directories will be searched for files. By default rkhunter will try and | ||
- | # determine were the startup files are located. If the option is set to ' | ||
- | # then certain tests will be skipped. | ||
- | # | ||
- | # This is a space-separated list of file and directory pathnames. The option | ||
- | # may be specified more than once, and may use wildcard characters. | ||
- | # | ||
- | # This option has no default value. | ||
- | # | ||
- | # | ||
- | |||
- | # | ||
- | # This option tells rkhunter the pathname to the file containing the user | ||
- | # account passwords. This setting will be worked out by rkhunter, and so | ||
- | # should not usually need to be set. Users of TCB shadow files should not | ||
- | # set this option. | ||
- | # | ||
- | # This option has no default value. | ||
- | # | ||
- | # | ||
- | |||
- | # | ||
- | # This option allows the specified accounts to be root equivalent. These | ||
- | # accounts will have a UID value of zero. The ' | ||
- | # to be listed as it is automatically whitelisted. | ||
- | # | ||
- | # This is a space-separated list of account names. The option may be specified | ||
- | # more than once. | ||
- | # | ||
- | # NOTE: For *BSD systems you will probably need to use this option for the | ||
- | # ' | ||
- | # | ||
- | # The default value is the null string. | ||
- | # | ||
- | # | ||
- | |||
- | # | ||
- | # This option allows the specified accounts to have no password. NIS/YP entries | ||
- | # do not need to be listed as they are automatically whitelisted. | ||
- | # | ||
- | # This is a space-separated list of account names. The option may be specified | ||
- | # more than once. | ||
- | # | ||
- | # The default value is the null string. | ||
- | # | ||
- | # | ||
- | |||
- | # | ||
- | # This option tells rkhunter the pathname to the syslog configuration file. | ||
- | # This setting will be worked out by rkhunter, and so should not usually need | ||
- | # to be set. A value of ' | ||
- | # configuration file, but that the syslog daemon process may be running. | ||
- | # | ||
- | # This is a space-separated list of pathnames. The option may be specified | ||
- | # more than once. | ||
- | # | ||
- | # This option has no default value. | ||
- | # | ||
- | # | ||
- | |||
- | # | ||
- | # If this option is set to ' | ||
- | # permitted. A value of ' | ||
- | # | ||
- | # The default value is ' | ||
- | # | ||
- | # | ||
- | |||
- | # | ||
- | # This option allows the specified applications, | ||
- | # application, | ||
- | # then the name must be followed by a colon and then the version number. | ||
- | # For example: | ||
- | # | ||
- | # | ||
- | # | ||
- | # This is a space-separated list of pathnames. The option may be specified | ||
- | # more than once. | ||
- | # | ||
- | # The default value is the null string. | ||
- | # | ||
- | # | ||
- | |||
- | # | ||
- | # Set this option to scan for suspicious files in directories which pose a | ||
- | # relatively higher risk due to user write access. | ||
- | # | ||
- | # Please do not enable the ' | ||
- | # intensive, and prone to producing false positives. Do review all settings | ||
- | # before usage. Also be aware that running ' | ||
- | # verbose logging on, rkhunter' | ||
- | # | ||
- | # Please consider adding all directories the user the (web)server runs as, | ||
- | # and has write access to, including the document root (e.g: '/ | ||
- | # log directories (e.g: '/ | ||
- | # | ||
- | # This is a space-separated list of directory pathnames. The option may be | ||
- | # specified more than once. | ||
- | # | ||
- | # The default value is the '/ | ||
- | # | ||
- | # | ||
- | |||
- | # | ||
- | # This option specifies the directory for temporary files used by the | ||
- | # ' | ||
- | # better (faster). Do not use a directory name that is listed in SUSPSCAN_DIRS | ||
- | # as that is highly likely to cause false-positive results. | ||
- | # | ||
- | # The default value is '/ | ||
- | # | ||
- | # | ||
- | |||
- | # | ||
- | # This option specifies the ' | ||
- | # larger than this will not be inspected. Do make sure you have enough space | ||
- | # available in your temporary files directory. | ||
- | # | ||
- | # The default value is ' | ||
- | # | ||
- | # | ||
- | |||
- | # | ||
- | # This option specifies the ' | ||
- | # no hits will be reported. | ||
- | # | ||
- | # The default value is ' | ||
- | # | ||
- | # | ||
- | |||
- | # | ||
- | # The following options can be used to whitelist network ports which are known | ||
- | # to have been used by malware. | ||
- | # | ||
- | # The PORT_WHITELIST option is a space-separated list of one or more of two | ||
- | # types of whitelisting. These are: | ||
- | # | ||
- | # 1) a ' | ||
- | # 2) an asterisk (' | ||
- | # | ||
- | # Only the UDP or TCP protocol may be specified, and the port number must be | ||
- | # between 1 and 65535 inclusive. | ||
- | # | ||
- | # The asterisk can be used to indicate that any executable which rkhunter can | ||
- | # locate as a command, is whitelisted. (Also see BINDIR) | ||
- | # | ||
- | # The PORT_PATH_WHITELIST option specifies one of two types of whitelisting. | ||
- | # These are: | ||
- | # | ||
- | # 1) a pathname to an executable | ||
- | # 2) a combined pathname, protocol and port | ||
- | # | ||
- | # As above, the protocol can only be TCP or UDP, and the port number must be | ||
- | # between 1 and 65535 inclusive. | ||
- | # | ||
- | # Examples: | ||
- | # | ||
- | # | ||
- | # | ||
- | # | ||
- | # | ||
- | # NOTE: In order to whitelist a pathname, or use the asterisk option, the | ||
- | # ' | ||
- | # | ||
- | # Both options may be specified more than once. | ||
- | # | ||
- | # The default value for both options is the null string. | ||
- | # | ||
- | # | ||
- | # | ||
- | |||
- | # | ||
- | # The following option can be used to tell rkhunter where the operating system | ||
- | # ' | ||
- | # current O/S version. RKH will store this information, | ||
- | # has changed between each run. If it has changed, then the user is warned that | ||
- | # RKH may issue warning messages until RKH has been run with the ' | ||
- | # option. | ||
- | # | ||
- | # Since the contents of the file vary according to the O/S distribution, | ||
- | # will perform different actions when it detects the file itself. As such, this | ||
- | # option should not be set unless necessary. If this option is specified, then | ||
- | # RKH will assume the O/S release information is on the first non-blank line of | ||
- | # the file. | ||
- | # | ||
- | # This option has no default value. | ||
- | # | ||
- | # Also see the WARN_ON_OS_CHANGE and UPDT_ON_OS_CHANGE options. | ||
- | # | ||
- | # | ||
- | |||
- | # | ||
- | # Set the following option to ' | ||
- | # O/S information has changed since the last run of ' | ||
- | # warnings occur during the file properties check. Setting a value of ' | ||
- | # cause rkhunter to issue a warning if something has changed. | ||
- | # | ||
- | # The default value is ' | ||
- | # | ||
- | # | ||
- | |||
- | # | ||
- | # Set the following option to ' | ||
- | # file properties update (' | ||
- | # O/S change occurs during the file properties check. Setting a value of ' | ||
- | # will cause rkhunter not to do an automatic update. | ||
- | # | ||
- | # WARNING: Only set this option if you are sure that the update will work | ||
- | # correctly. That is, that the database directory is writeable, that a valid | ||
- | # hash function is available, and so on. This can usually be checked simply by | ||
- | # running ' | ||
- | # | ||
- | # The default value is ' | ||
- | # | ||
- | # | ||
- | |||
- | # | ||
- | # The following two options can be used to whitelist files and directories that | ||
- | # would normally be flagged with a warning during the various rootkit and | ||
- | # malware checks. Only existing files and directories can be specified, and | ||
- | # these must be full pathnames not links. | ||
- | # | ||
- | # Additionally, | ||
- | # file name (separated by a colon). This will then only whitelist that string | ||
- | # in that file (as part of the malware checks). For example: | ||
- | # | ||
- | # | ||
- | # | ||
- | # If the option list includes the filename on its own as well, then the file | ||
- | # will be whitelisted from rootkit checks of the files existence, but still | ||
- | # only the specific string within the file will be whitelisted. For example: | ||
- | # | ||
- | # | ||
- | # | ||
- | # | ||
- | # To whitelist a file from the existence checks, but not from the strings | ||
- | # checks, then include the filename on its own and on its own but with just | ||
- | # a colon appended. For example: | ||
- | # | ||
- | # | ||
- | # | ||
- | # | ||
- | # NOTE: It is recommended that if you whitelist any files, then you include | ||
- | # those files in the file properties check. See the USER_FILEPROP_FILES_DIRS | ||
- | # configuration option. | ||
- | # | ||
- | # Both of these options may be specified more than once. | ||
- | # | ||
- | # For both options the default value is the null string. | ||
- | # | ||
- | # | ||
- | # | ||
- | |||
- | # | ||
- | # The following option can be used to whitelist shared library files that would | ||
- | # normally be flagged with a warning during the preloaded shared library check. | ||
- | # These library pathnames usually exist in the '/ | ||
- | # the LD_PRELOAD environment variable. | ||
- | # | ||
- | # NOTE: It is recommended that if you whitelist any files, then you include | ||
- | # those files in the file properties check. See the USER_FILEPROP_FILES_DIRS | ||
- | # configuration option. | ||
- | # | ||
- | # This option is a space-separated list of library pathnames. The option may be | ||
- | # specified more than once. | ||
- | # | ||
- | # The default value is the null string. | ||
- | # | ||
- | # | ||
- | |||
- | # | ||
- | # To force rkhunter to use the supplied script for the ' | ||
- | # command the following two options can be used. The value must be set to | ||
- | # ' | ||
- | # | ||
- | # NOTE: IRIX users will probably need to enable STAT_CMD. | ||
- | # | ||
- | # For both options the default value is the null string. | ||
- | # | ||
- | # | ||
- | # | ||
- | |||
- | # | ||
- | # In the file properties test any modification date/time is displayed as the | ||
- | # number of epoch seconds. Rkhunter will try and use the ' | ||
- | # failing that the ' | ||
- | # human-readable format as well. This option may be used if some other command | ||
- | # should be used instead. The given command must understand the ' | ||
- | # ' | ||
- | # | ||
- | # A value of ' | ||
- | # A value of ' | ||
- | # it is present. | ||
- | # | ||
- | # This option has no default value. | ||
- | # | ||
- | # | ||
- | |||
- | # | ||
- | # This setting tells rkhunter the directory containing the available Linux | ||
- | # kernel modules. This setting will be worked out by rkhunter, and so should | ||
- | # not usually need to be set. | ||
- | # | ||
- | # This option has no default value. | ||
- | # | ||
- | # | ||
- | |||
- | # | ||
- | # The following option can be set to a command which rkhunter will use when | ||
- | # downloading files from the Internet - that is, when the ' | ||
- | # ' | ||
- | # | ||
- | # This allows the user to use a command other than the one automatically | ||
- | # selected by rkhunter, but still one which it already knows about. | ||
- | # For example: | ||
- | # | ||
- | # | ||
- | # | ||
- | # Alternatively, | ||
- | # that rkhunter expects the downloaded file to be written to stdout, and that | ||
- | # everything written to stderr is ignored. For example: | ||
- | # | ||
- | # | ||
- | # | ||
- | # *BSD users may want to use the ' | ||
- | # HTTP protocol: | ||
- | # | ||
- | # | ||
- | # | ||
- | # This option has no default value. | ||
- | # | ||
- | # | ||
- | |||
- | # | ||
- | # Set the following option to ' | ||
- | # The lock is set just before logging starts, and is removed when the program | ||
- | # ends. It is used to prevent items such as the log file, and the file | ||
- | # properties file, from becoming corrupted if rkhunter is running more than | ||
- | # once. The mechanism used is to simply create a lock file in the TMPDIR | ||
- | # directory. If the lock file already exists, because rkhunter is already | ||
- | # running, then the current process simply loops around sleeping for 10 seconds | ||
- | # and then retrying the lock. A value of ' | ||
- | # | ||
- | # The default value is ' | ||
- | # | ||
- | # Also see the LOCK_TIMEOUT and SHOW_LOCK_MSGS options. | ||
- | # | ||
- | # | ||
- | |||
- | # | ||
- | # If locking is used, then rkhunter may have to wait to get the lock file. | ||
- | # This option sets the total amount of time, in seconds, that rkhunter should | ||
- | # wait. It will retry the lock every 10 seconds, until either it obtains the | ||
- | # lock or the timeout value has been reached. | ||
- | # | ||
- | # The default value is 300 seconds (5 minutes). | ||
- | # | ||
- | # | ||
- | |||
- | # | ||
- | # If locking is used, then rkhunter may be doing nothing for some time if it | ||
- | # has to wait for the lock. If this option is set to ' | ||
- | # messages are echoed to the users screen to let them know that rkhunter is | ||
- | # waiting for the lock. Set this option to ' | ||
- | # displayed. | ||
- | # | ||
- | # The default value is ' | ||
- | # | ||
- | # | ||
- | |||
- | # | ||
- | # If this option is set to ' | ||
- | # rootkit basis) for filenames in all of the directories (as defined by the | ||
- | # result of running 'find / -xdev' | ||
- | # searches for only file names as opposed to file contents, this is one step | ||
- | # away from the rigidity of searching in known (evidence) or default | ||
- | # (installation) locations. | ||
- | # | ||
- | # THIS OPTION SHOULD NOT BE ENABLED BY DEFAULT. | ||
- | # | ||
- | # You should only activate this feature as part of a more thorough | ||
- | # investigation, | ||
- | # procedures. | ||
- | # | ||
- | # Enabling this feature implies you have the knowledge to interpret the | ||
- | # results properly. | ||
- | # | ||
- | # The default value is the null string. | ||
- | # | ||
- | # | ||
- | |||
- | # | ||
- | # The following option can be set to the name(s) of the tests the ' | ||
- | # command is to use. Options such as ' | ||
- | # only take effect when they are seen. The test names are a space-separated | ||
- | # list, and will be executed in the order given. | ||
- | # | ||
- | # This option may be specified more than once. | ||
- | # | ||
- | # The default value is ' | ||
- | # versions of ' | ||
- | # | ||
- | # | ||
- | |||
- | # | ||
- | # The following option can be used to set options for the ' | ||
- | # The options are space-separated. | ||
- | # | ||
- | # This option may be specified more than once. | ||
- | # | ||
- | # The default value is the null string. | ||
- | # | ||
- | # | ||
- | |||
- | # | ||
- | # If both the C ' | ||
- | # then it is possible to disable the execution of one of the programs if | ||
- | # desired. By default rkhunter will look for both programs, and execute each | ||
- | # of them as they are found. If the value of this option is ' | ||
- | # programs will be executed if they are present. A value of ' | ||
- | # execution of the C ' | ||
- | # ' | ||
- | # ' | ||
- | # | ||
- | # The default value is ' | ||
- | # | ||
- | DISABLE_UNHIDE=1 | ||
- | |||
- | INSTALLDIR=/ | ||
- | |||
- | # | ||
- | # This option can be set to either ' | ||
- | # shown after rkhunter has run, will display the actual number of warnings | ||
- | # found. If it is set to ' | ||
- | # 'One or more' warnings were found. If no warnings were found, and this option | ||
- | # is set to ' | ||
- | # the words 'No warnings' | ||
- | # | ||
- | # The default value is ' | ||
- | # | ||
- | # | ||
- | |||
- | # | ||
- | # This option is used to determine where, if anywhere, the summary scan time is | ||
- | # displayed. A value of ' | ||
- | # A value of ' | ||
- | # value of ' | ||
- | # indicates that the time taken should appear both on the screen and in the log | ||
- | # file. | ||
- | # | ||
- | # The default value is ' | ||
- | # | ||
- | # | ||
- | |||
- | # | ||
- | # The two options below may be used to check if a file is missing or empty | ||
- | # (that is, it has a size of zero). The EMPTY_LOGFILES option will also check | ||
- | # if the file is missing, since that can be interpreted as a file of no size. | ||
- | # However, the file will only be reported as missing if the MISSING_LOGFILES | ||
- | # option hasn't already done this. | ||
- | # | ||
- | # Both options are space-separated lists of pathnames, and may be specified | ||
- | # more than once. | ||
- | # | ||
- | # NOTE: Log files are usually ' | ||
- | # perfectly possible for the file to be either missing or empty. As such these | ||
- | # options may produce false-positive warnings when log files are rotated. | ||
- | # | ||
- | # For both options the default value is the null string. | ||
- | # | ||
- | # | ||
- | # | ||
- | </ | ||
- | |||
- | |||
- | The default configuration file. | ||
- | |||
- | <file bash / | ||
- | # Defaults for rkhunter automatic tasks | ||
- | # sourced by / | ||
- | # | ||
- | # This is a POSIX shell fragment | ||
- | # | ||
- | |||
- | # Set this to yes to enable rkhunter daily runs | ||
- | # (default: true) | ||
- | CRON_DAILY_RUN=" | ||
- | |||
- | # Set this to yes to enable rkhunter weekly database updates | ||
- | # (default: true) | ||
- | CRON_DB_UPDATE=" | ||
- | |||
- | # Set this to yes to enable reports of weekly database updates | ||
- | # (default: false) | ||
- | # | ||
- | DB_UPDATE_EMAIL=" | ||
- | |||
- | # Set this to the email address where reports and run output should be sent | ||
- | # (default: root) | ||
- | # | ||
- | REPORT_EMAIL=" | ||
- | |||
- | # Set this to yes to enable automatic database updates | ||
- | # (default: false) | ||
- | APT_AUTOGEN=" | ||
- | |||
- | # Nicenesses range from -20 (most favorable scheduling) to 19 (least favorable) | ||
- | # (default: 0) | ||
- | NICE=" | ||
- | |||
- | # Should daily check be run when running on battery | ||
- | # powermgmt-base is required to detect if running on battery or on AC power | ||
- | # (default: false) | ||
- | RUN_CHECK_ON_BATTERY=" | ||
- | </ | ||
- | |||
- | |||
- | The original default configuration file. | ||
- | |||
- | <file bash / | ||
- | # Defaults for rkhunter automatic tasks | ||
- | # sourced by / | ||
- | # | ||
- | # This is a POSIX shell fragment | ||
- | # | ||
- | |||
- | # Set this to yes to enable rkhunter daily runs | ||
- | # (default: false) | ||
- | CRON_DAILY_RUN=" | ||
- | |||
- | # Set this to yes to enable rkhunter weekly database updates | ||
- | # (default: false) | ||
- | CRON_DB_UPDATE=" | ||
- | |||
- | # Set this to yes to enable reports of weekly database updates | ||
- | # (default: false) | ||
- | DB_UPDATE_EMAIL=" | ||
- | |||
- | # Set this to the email address where reports and run output should be sent | ||
- | # (default: root) | ||
- | REPORT_EMAIL=" | ||
- | |||
- | # Set this to yes to enable automatic database updates | ||
- | # (default: false) | ||
- | APT_AUTOGEN=" | ||
- | |||
- | # Nicenesses range from -20 (most favorable scheduling) to 19 (least favorable) | ||
- | # (default: 0) | ||
- | NICE=" | ||
- | |||
- | # Should daily check be run when running on battery | ||
- | # powermgmt-base is required to detect if running on battery or on AC power | ||
- | # (default: false) | ||
- | RUN_CHECK_ON_BATTERY=" | ||
- | </ | ||
rootkit_hunter/configuration.1468878650.txt.gz · Last modified: 2020/07/15 09:30 (external edit)