chkrootkitTool to locally check for signs of a rootkit
0.59securityΣ=110 0.59Version of this port present on the latest quarterly branch.upstream: 0.60A newer version was found upstream by portscout, first on 2026-11-12.
Chkrootkit is a tool to locally check for signs of a rootkit.
-------------------------------------------------------------
It contains:
* chkrootkit: a shell script that checks system binaries for
rootkit modification.
* ifpromisc.c: checks if the network interface is in promiscuous
mode.
* chklastlog.c: checks for lastlog deletions.
* chkwtmp.c: checks for wtmp deletions.
* check_wtmpx.c: checks for wtmpx deletions. (Solaris only)
* chkproc.c: checks for signs of LKM trojans.
* chkdirs.c: checks for signs of LKM trojans.
* strings.c: quick and dirty strings replacement.
* chkutmp.c: checks for utmp deletions.
For an updated list of rootkits, worms and LKMs detected by
chkrootkit please visit: http://www.chkrootkit.org/
Nelson Murilo <nmurilo@gmail.com>
Klaus Steding-Jessen <jessen@cert.br>
===> The following configuration options are available for chkrootkit-0.59:
DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
security/chkrootkit: Update to 0.58b
While here, update authors email addresses to current ones listed at
project website and sort Makefile items to make portclippy happy
PR: 272764
Approved by: maintainer
Sponsored by: Rubicon Communications, LLC ("Netgate")
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
- Revive security/chkrootkit
- Update to upstream version 0.50
- Port has a new maintainer: Lacey Powers <lacey.leanne@gmail.com>
PR: 201297
Submitted by: lacey.leanne@gmail.com (maintainer)
Reviewed by: koobs
Remove expired ports:
2014-07-23 chinese/big5con: Fails to build with new utmpx
2014-07-23 chinese/hztty: Fails to build with new utmpx
2014-07-23 irc/solid-ircd: Fails to build with new utmpx
2014-07-23 korean/eterm: Fails to build with new utmpx
2014-07-23 mail/biffer: Fails to build with new utmpx
2014-07-23 misc/c-hey: Fails to build with new utmpx
2014-07-23 misc/wminfo: Fails to build with new utmpx
2014-07-23 net/sendfile: Fails to build with new utmpx
2014-07-23 net-im/centericq: Fails to build with new utmpx
2014-07-23 security/chkrootkit: Fails to build with new utmpx
2014-07-23 security/openfwtk: Fails to build with new utmpx
2014-07-23 security/pam_alreadyloggedin: Fails to build with new utmpx
2014-07-23 security/srp: Fails to build with new utmpx
2014-07-23 security/sud: Fails to build with new utmpx
2014-07-23 sysutils/hyperic-sigar: Fails to build with new utmpx
2014-07-23 sysutils/lookupd: Fails to build with new utmpx
2014-07-23 sysutils/lookupd_ldap: Fails to build with new utmpx
2014-07-23 sysutils/p5-Sys-Utmp: Fails to build with new utmpx
2014-07-23 sysutils/syslog-ng2: Fails to build with new utmpx
2014-07-23 sysutils/yawho: Fails to build with new utmpx
STAGE support, and general cleanups. Some of the changes are a
bit more aggressive, but at this point, if I'm staging your port,
you've likely stopped caring what's done to it.
No functional changes, just try to make Makefile a bit better:
- Remove conditional to set PORTDOCS
- s/pre-patch/post-patch/
- Change Makefile's reinplace to use ?= instead of comment CC and CFLAGS lines
and remove MAKE_ENV declaration
- Remove redundances of program names, just set it one time and use the vars to
repeat names
Approved by: maintainer by email
Update to 0.43:
C++ comments removed from chkproc.c. New rootkits detected: AjaKit
and zaRwT. New CGI backdoors detected. ifpromisc.c: better detection
of promisc mode on newer Linux kernels. New command line option
(-n) to skip NFS mounted dirs. Minor bug corrections.
PR: ports/62577
Submitted by: Luiz E. R. Cordeiro <cordeiro@nic.br> (maintainer)
Update port: security/chkrootkit: upgrade to version 0.42
Version upgrade from 0.41 to 0.42.
It works on FreeBSD 2.2.X, 3.X, 4.X and 5.X.
PR: ports/56757
Submitted by: Luiz Eduardo Roncato Cordeiro <cordeiro@nic.br>
Teach security/chkrootkit
I finnaly got fed up with that FAQ about chkrootkit. The
solution was either to add a Q+A to the FAQ or fix the port.
This introduce a new variable, FreeBSD5, that is set to
"yes" if we're running FreeBSD 5 or higher.
This variable is used to fix the tests of the following
binaries, so they would DTRT on FreeBSD 5: chfn chsh date
ls ps
I also fixed a bug in the cheking of vdir, but it's irrelevant
for FreeBSD.
Informed maintainer.
PR: ports/55919
Submitted by: Yonatan@xpert.com <Yonatan@xpert.com>