diff --git a/Documentation/Developers/CHANGELOG-RENE b/Documentation/Developers/CHANGELOG-RENE index 5e33a1383..f2d2e913c 100644 --- a/Documentation/Developers/CHANGELOG-RENE +++ b/Documentation/Developers/CHANGELOG-RENE @@ -10,6 +10,7 @@ we need to copy more header files in x11/mozilla fixed the bootdisk build - Alejandro Mery: fixed samba - smbadduser + added chkrootkit *) 2003-09-27 (2.0.0-rc1 - 2.0.0-rc2) diff --git a/package/mnemoc/chkrootkit/chkrootkit.conf b/package/mnemoc/chkrootkit/chkrootkit.conf new file mode 100644 index 000000000..9efad556c --- /dev/null +++ b/package/mnemoc/chkrootkit/chkrootkit.conf @@ -0,0 +1,26 @@ + +# --- ROCK-COPYRIGHT-NOTE-BEGIN --- +# +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# Please add additional copyright information _after_ the line containing +# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +# +# ROCK Linux: rock-src/package/mnemoc/chkrootkit/chkrootkit.conf +# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. A copy of the GNU General Public +# License can be found at Documentation/COPYING. +# +# Many people helped and are helping developing ROCK Linux. Please +# have a look at http://www.rocklinux.org/ and the Documentation/TEAM +# file for details. +# +# --- ROCK-COPYRIGHT-NOTE-END --- + +var_remove makeopt ' ' 'all' +var_append makeopt ' ' 'sense' +var_append makeinstopt ' ' "SBIN=$sbindir" diff --git a/package/mnemoc/chkrootkit/chkrootkit.desc b/package/mnemoc/chkrootkit/chkrootkit.desc new file mode 100644 index 000000000..db55d18e8 --- /dev/null +++ b/package/mnemoc/chkrootkit/chkrootkit.desc @@ -0,0 +1,53 @@ + +[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN --- +[COPY] +[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. +[COPY] Please add additional copyright information _after_ the line containing +[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +[COPY] +[COPY] ROCK Linux: rock-src/package/mnemoc/chkrootkit/chkrootkit.desc +[COPY] ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf +[COPY] +[COPY] This program is free software; you can redistribute it and/or modify +[COPY] it under the terms of the GNU General Public License as published by +[COPY] the Free Software Foundation; either version 2 of the License, or +[COPY] (at your option) any later version. A copy of the GNU General Public +[COPY] License can be found at Documentation/COPYING. +[COPY] +[COPY] Many people helped and are helping developing ROCK Linux. Please +[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM +[COPY] file for details. +[COPY] +[COPY] --- ROCK-COPYRIGHT-NOTE-END --- + +[I] chkrootkit locally checks for signs of a rootkit + +[T] chkrootkit is a tool to locally check for signs of a rootkit. It contains +[T] a chkrootkit: shell script that checks system binaries for rootkit +[T] modification. The following tests are made: aliens, asp, bindshell, lkm, +[T] rexedcs, sniffer, wted, z2, amd, basename, biff, chfn, chsh, cron, date, +[T] du, dirname, echo, egrep, env, find, fingerd, gpm, grep, hdparm, su, +[T] ifconfig, inetd, inetdconf, identd, killall, login, ls, mail, mingetty, +[T] netstat, named, passwd, pidof, pop2, pop3, ps, pstree, rpcinfo, rlogind, +[T] rshd, slogin, sendmail, sshd, syslogd, tar, tcpd, top, telnetd, timed, +[T] traceroute, and write. ifpromisc.c checks whether the interface is in +[T] promiscuous mode, chklastlog.c checks for lastlog deletions, chkwtmp.c +[T] checks for wtmp deletions, check_wtmpx.c checks for wtmpx deletions +[T] (Solaris only), and chkproc.c checks for signs of LKM trojans. + +[U] http://www.chkrootkit.org/ + +[A] Nelson Murilo +[A] Klaus Steding-Jessen +[M] Alejandro Mery + +[C] extra/security + +[L] OpenSource +[S] Stable +[V] 0.42b +[P] X -----5---9 800.000 + +[D] 3286636968 chkrootkit-0.42b.tar.gz ftp://ftp.pangeia.com.br/pub/seg/pac/ + diff --git a/package/mnemoc/chkrootkit/make_install.patch b/package/mnemoc/chkrootkit/make_install.patch new file mode 100644 index 000000000..0fbb918d5 --- /dev/null +++ b/package/mnemoc/chkrootkit/make_install.patch @@ -0,0 +1,40 @@ +# --- ROCK-COPYRIGHT-NOTE-BEGIN --- +# +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# Please add additional copyright information _after_ the line containing +# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +# +# ROCK Linux: rock-src/package/mnemoc/chkrootkit/make_install.patch +# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. A copy of the GNU General Public +# License can be found at Documentation/COPYING. +# +# Many people helped and are helping developing ROCK Linux. Please +# have a look at http://www.rocklinux.org/ and the Documentation/TEAM +# file for details. +# +# --- ROCK-COPYRIGHT-NOTE-END --- + +--- ./Makefile.orig Sat Mar 8 14:21:31 2003 ++++ ./Makefile Sat Mar 8 14:31:15 2003 +@@ -7,6 +7,8 @@ + CFLAGS = -DHAVE_LASTLOG_H + STATIC = -static + ++SBIN = /usr/sbin ++ + ### + ### Solaris 2.x + ### +@@ -63,3 +65,6 @@ + + clean: + rm -f ${OBJS} core chklastlog chkwtmp ifpromisc chkproc chkdirs check_wtmpx strings ++ ++install: sense ++ cp -vf chkrootkit chklastlog chkwtmp ifpromisc chkproc chkdirs check_wtmpx strings $(SBIN)