Add rkhunter 1.0.8,
Rootkit Hunter is scanning tool to ensure you for about 99.9% you're clean of nasty tools. This tool scans for rootkits, backdoors and local exploits by running tests like: - MD5/SHA1 hash compare - Look for default files used by rootkits - Wrong file permissions for binaries - Look for suspected strings in LKM and KLD modules - Look for hidden files - Optional scan within plaintext and binary files PR: ports/66660 Submitted by: Radim Kolar <hsn at netmag dot cz>
This commit is contained in:
parent
3538dd0e93
commit
d1cfa44f00
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=109205
4 changed files with 66 additions and 0 deletions
|
@ -354,6 +354,7 @@
|
|||
SUBDIR += rats
|
||||
SUBDIR += rc5pipe
|
||||
SUBDIR += rid
|
||||
SUBDIR += rkhunter
|
||||
SUBDIR += rng_82802
|
||||
SUBDIR += ruby-acl
|
||||
SUBDIR += ruby-aes
|
||||
|
|
49
security/rkhunter/Makefile
Normal file
49
security/rkhunter/Makefile
Normal file
|
@ -0,0 +1,49 @@
|
|||
# New ports collection makefile for: rkhunter
|
||||
# Date created: 15 May 2004
|
||||
# Whom: Radim Kolar
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= rkhunter
|
||||
PORTVERSION= 1.0.8
|
||||
CATEGORIES= security
|
||||
MASTER_SITES= http://downloads.rootkit.nl/
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Rootkit detection tool
|
||||
|
||||
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Digest/SHA1.pm:${PORTSDIR}/security/p5-Digest-SHA1
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
USE_PERL5= yes
|
||||
NO_BUILD= yes
|
||||
USE_REINPLACE= yes
|
||||
|
||||
PLIST_DIRS= rkhunter/scripts rkhunter/db rkhunter/docs rkhunter/tmp rkhunter
|
||||
PLIST_FILES= rkhunter/scripts/check_modules.pl \
|
||||
rkhunter/scripts/check_port.pl \
|
||||
rkhunter/scripts/filehashmd5.pl \
|
||||
rkhunter/scripts/filehashsha1.pl \
|
||||
bin/rkhunter \
|
||||
etc/rkhunter.conf \
|
||||
rkhunter/scripts/showfiles.pl \
|
||||
rkhunter/db/backdoorports.dat \
|
||||
rkhunter/db/mirrors.dat \
|
||||
rkhunter/db/os.dat \
|
||||
rkhunter/db/defaulthashes.dat \
|
||||
rkhunter/db/md5blacklist.dat \
|
||||
rkhunter/docs/CHANGELOG \
|
||||
rkhunter/docs/README \
|
||||
rkhunter/docs/WISHLIST
|
||||
|
||||
MAN8= rkhunter.8
|
||||
MANCOMPRESSED= no
|
||||
|
||||
pre-install:
|
||||
${REINPLACE_CMD} -e "s,/usr/local,${PREFIX},g" ${WRKSRC}/installer.sh
|
||||
do-install:
|
||||
cd ${WRKSRC} && ./installer.sh
|
||||
${INSTALL_MAN} ${WRKSRC}/files/development/rkhunter.8 ${MAN8PREFIX}/man/man8
|
||||
|
||||
.include <bsd.port.mk>
|
2
security/rkhunter/distinfo
Normal file
2
security/rkhunter/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
MD5 (rkhunter-1.0.8.tar.gz) = bc1006d36e5b2674985c9396b5c46c95
|
||||
SIZE (rkhunter-1.0.8.tar.gz) = 77582
|
14
security/rkhunter/pkg-descr
Normal file
14
security/rkhunter/pkg-descr
Normal file
|
@ -0,0 +1,14 @@
|
|||
Rootkit Hunter is scanning tool to ensure you for about 99.9% you're
|
||||
clean of nasty tools.
|
||||
|
||||
This tool scans for rootkits, backdoors and local exploits by running
|
||||
tests like:
|
||||
|
||||
- MD5/SHA1 hash compare
|
||||
- Look for default files used by rootkits
|
||||
- Wrong file permissions for binaries
|
||||
- Look for suspected strings in LKM and KLD modules
|
||||
- Look for hidden files
|
||||
- Optional scan within plaintext and binary files
|
||||
|
||||
WWW: http://www.rootkit.nl/
|
Loading…
Reference in a new issue