首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >rkhunter:过了几天,我发现“自从上次运行以来,系统已经改变为不使用预链接。”

rkhunter:过了几天,我发现“自从上次运行以来,系统已经改变为不使用预链接。”
EN

Server Fault用户
提问于 2016-04-16 09:00:19
回答 1查看 630关注 0票数 2

我们在这里运行一个(新的) CentOS 7系统。为了观察系统对抗无效的更改/黑客攻击,我们每晚运行rkhunter。另外,在每次更新(yum)之后,我们都会预先链接所有,并运行"rkhunter“。

这个没问题。但是过了几天,我们得到了以下错误:

代码语言:javascript
复制
[03:55:02] Warning: WARNING! It is the users responsibility to ensure that when the '--propupd' option
           is used, all the files on their system are known to be genuine, and installed from a
           reliable source. The rkhunter '--check' option will compare the current file properties
           against previously stored values, and report if any values differ. However, rkhunter
           cannot determine what has caused the change, that is for the user to do.
...
...
...
[03:55:04] Warning: Checking for prerequisites               [ Warning ]
[03:55:04]          The local host configuration or operating system has changed.
[03:55:05]   /usr/sbin/adduser                               [ Warning ]
[03:55:05] Warning: No inode value found for file '/usr/sbin/adduser' in the 'rkhunter.dat' file.
[03:55:05]   /usr/sbin/chkconfig                             [ Warning ]
[03:55:05] Warning: No inode value found for file '/usr/sbin/chkconfig' in the 'rkhunter.dat' file.
[03:55:05]   /usr/sbin/chroot                                [ Warning ]

我们确信服务器没有被黑客攻击。因为我们已经检查了一些二进制文件的日期和大小。我们还创建了其中一些文件的校验和。在rkhunter警告发生后,所有文件都是相同的和未更改的。

但我们想知道为什么要警告.

有什么想法吗?

编辑:

在rkhunter日志文件中还有另一个警告:

代码语言:javascript
复制
[03:55:05] Warning: The system has changed to not using prelinking since the last run.
[03:55:05]          Because of the change(s) the file properties checks may give some false-positive results.
[03:55:05]          You may need to re-run rkhunter with the '--propupd' option.

这也是解决办法。看我下面的答案..。

EN

回答 1

Server Fault用户

回答已采纳

发布于 2016-04-17 14:49:27

找到了!今天,我研究了几个日志文件。所以我找到了一个预链接日志文件。日志文件显示正在运行预链接进程。在cron文件中搜索预链接作业之后,我在/etc/cron.daily中找到了它。我确信这就是rkhunter警告的原因.

票数 1
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/770800

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档