<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ROOT ON FIRE &#187; IDS</title>
	<atom:link href="http://www.root-on-fire.com/tag/ids/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.root-on-fire.com</link>
	<description>Linux, Windows, Tools, Open Source, WWW, Hardware, Security, Monitoring, Networking</description>
	<lastBuildDate>Thu, 01 Jul 2010 11:54:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Buck-Security &#8211; Security Checks für Debian &amp; Ubuntu Linux</title>
		<link>http://www.root-on-fire.com/2010/03/21/buck-security-security-checks-fur-debian-ubuntu-linux/</link>
		<comments>http://www.root-on-fire.com/2010/03/21/buck-security-security-checks-fur-debian-ubuntu-linux/#comments</comments>
		<pubDate>Sun, 21 Mar 2010 16:59:49 +0000</pubDate>
		<dc:creator>Moritz TANZER</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[IDS]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.root-on-fire.com/?p=1389</guid>
		<description><![CDATA[Uncle Buck Security ist eine Sammlung ve &#8230; <a href="http://www.root-on-fire.com/2010/03/21/buck-security-security-checks-fur-debian-ubuntu-linux/">Weiterlesen <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://buck-security.sourceforge.net/" target="_blank" class="liexternal">Uncle Buck Security</a> ist eine Sammlung verschiedener Security Checks für Linux. Es ist auf Debian und Ubuntu Server ausgelegt kann aber auch bei anderen Linux Systemen sehr hilfreich sein.<br />
Das Ziel von <a href="http://buck-security.sourceforge.net/" target="_blank" class="liexternal">Buck Security</a> ist, dass Systemadministratoren und User einen schnellen Überblick über den Security Status ihrer Systeme bekommen.</p>
<p><strong>Folgende Tests sind bereits integriert:</strong><br />
- Suche nach worldwriteable Dateien<br />
- Suche nach worldwriteable Verzeichnissen<br />
- Suche nach Programmen wo das <a href="http://de.wikipedia.org/wiki/SUID" target="_blank" rel="nofollow" class="liwikipedia">SUID-Bits</a> gesetzt ist<br />
- Suche nach Programmen wo das <a href="http://de.wikipedia.org/wiki/Setgid" target="_blank" rel="nofollow" class="liwikipedia">SGID-Bits</a> gesetzt ist<br />
- Kontrolle der Rechtemaske<br />
- Kontrolle ob das <a href="http://de.wikipedia.org/wiki/Sticky-Bit" target="_blank" rel="nofollow" class="liwikipedia">Sticky-Bit</a> für /tmp gesetzt ist<br />
- Suche nach <a href="http://de.wikipedia.org/wiki/Superuser" target="_blank" rel="nofollow" class="liwikipedia">Superuser Konten</a><br />
- Suche nach installierten ATK&#8217;s (Attack Tool Kit)</p>
<p><strong>Beispiel:</strong></p>
<div class="codecolorer-container text default batch" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">r-o-f:~/buck-security_0.4# ./buck</div></div>
<div class="codecolorer-container text default batch" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:300px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">###########################<br />
# Uncle Buck Security 0.4 #<br />
###########################<br />
<br />
We will run 8 security checks now.<br />
This may take a while...<br />
<br />
<br />
<br />
[*] CHECK 1: Find superusers &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [ OK ]<br />
<br />
<br />
[*] CHECK 2: Check umask &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [ OK ]<br />
<br />
<br />
[*] CHECK 3: World Writeable Files &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [ WARNING ]<br />
/var/www/phplogcon/config.php<br />
/var/log/syslog<br />
<br />
<br />
[*] CHECK 4: World Writeable Directories &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [ WARNING ]<br />
/dev/shm<br />
/var/lib/php5<br />
<br />
<br />
[*] CHECK 5: Files where Setuid is used &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;[ WARNING ]<br />
/usr/bin/fping6<br />
/usr/bin/fping<br />
/usr/bin/procmail<br />
/usr/bin/at<br />
/usr/sbin/exim4<br />
/usr/lib/eject/dmcrypt-get-device<br />
/usr/lib/nagios/plugins/check_icmp<br />
/sbin/mount.nfs<br />
<br />
<br />
[*] CHECK 6: Files where Setgid is used &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;[ WARNING ]<br />
/usr/bin/mlocate<br />
/usr/bin/lockfile<br />
/usr/bin/procmail<br />
/usr/bin/dotlockfile<br />
/usr/bin/at<br />
/usr/bin/mutt_dotlock<br />
<br />
<br />
[*] CHECK 7: Sticky-Bit set for /tmp &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [ OK ]<br />
<br />
<br />
[*] CHECK 8: Search attacking tools &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;[ WARNING ]<br />
hping3<br />
<br />
<br />
###########################<br />
### &nbsp;CHECKS FINISHED &nbsp;###<br />
Time taken was 46 seconds<br />
<br />
###########################<br />
ATTENTION:<br />
buck-security is still under heavy development, consider this a beta version.<br />
Your feedback it very welcome, please send it to maba4891@users.sourceforge.net<br />
To get help run './buck --help' or visit http://buck-security.sourceforge.net/<br />
###########################</div></div>
<p>Homepage: <a href="http://sourceforge.net/projects/buck-security/" target="_blank" class="liexternal">http://sourceforge.net/projects/buck-security/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.root-on-fire.com/2010/03/21/buck-security-security-checks-fur-debian-ubuntu-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AFICK (Another File Integrity Checker) &#8211; Host IDS</title>
		<link>http://www.root-on-fire.com/2009/12/03/afick-another-file-integrity-checker-host-ids/</link>
		<comments>http://www.root-on-fire.com/2009/12/03/afick-another-file-integrity-checker-host-ids/#comments</comments>
		<pubDate>Thu, 03 Dec 2009 20:50:30 +0000</pubDate>
		<dc:creator>Moritz TANZER</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[IDS]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://www.root-on-fire.com/?p=798</guid>
		<description><![CDATA[Afick ist ein Open Source Programm, das  &#8230; <a href="http://www.root-on-fire.com/2009/12/03/afick-another-file-integrity-checker-host-ids/">Weiterlesen <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://afick.sourceforge.net/" target="_blank" class="liexternal">Afick</a> ist ein Open Source Programm, das zur Familie der  <a href="http://de.wikipedia.org/wiki/Intrusion_Detection_System#Host-Basierte_IDS" target="_blank" rel="nofollow" class="liwikipedia">Host-IDS</a> zu zählen ist, dass Veränderungen und Manipulation in der <a href="http://de.wikipedia.org/wiki/Filesystem" target="_blank" rel="nofollow" class="liwikipedia">Filesystem</a> Struktur erkennen kann. Je nach Konfiguration läuft <a href="http://afick.sourceforge.net/" target="_blank" class="liexternal">Afick</a> in regelmäßigen Zeitabständen und macht einen Snapshot der definierten Ordner bzw. Dateien, dieser wird dann mit einem vorher erstellten Snapshot verglichen. Bei sensiblen Systemen, macht es Sinn diesen Referenz Snapshot z.B. auf einer extern read-only Flobby Disk zu speichern. Natürlich muss man nach jedem Update, Installation oder Veränderung der Konfiguration einen neuen Referenz Snapshot machen. Je nach Sensibilität und Security Anforderung kann man das Zeitintervall verkürzen. Systeme die mit dem Internet verbunden sind. bzw. sensible Systeme sollten stündlich oder noch öfter überprüft werden. Das in Perl geschriebene AFICK benötigt auch bei größeren File Systemen sehr wenig Ressourcen. Das Entwicklerteam um Eric Gerbier arbeitet an einem Dämon / Service, um die Überprüfung in Echtzeit zu machen.<br />
Afick eignet sich auch hervorragend, wenn man überprüfen will, welche Dateien bestimmte Pakete bei der Installation verändern bzw. erstellen. Dazu macht man einen Snapshot vor der Installation und einen danach, anschließend kann man beide vergleichen und überprüfen.<br />
Afick gibt es für alle gängigen Linux Distributionen und Windows. </p>
<p><strong>Installation unter Debian Lenny</strong></p>
<p>1. Paket downloaden<br />
2. Entpacken<br />
3. Makefile.pl aufrufen und Abhängigkeiten überprüfen<br />
4. Installieren</p>
<div class="codecolorer-container text default batch" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:300px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">r-o-f:~# wget http://sourceforge.net/projects/afick/files/afick/2.14-1/afick-2.14-1.tgzc<br />
r-o-f:~# tar xvzf afick-2.14-1.tgz<br />
r-o-f:~# cd ./afick-2.14-1<br />
r-o-f:~/afick-2.14-1# perl Makefile.pl<br />
search required perl modules for afick core (afick.pl) :<br />
&nbsp; OK : found perl module strict<br />
&nbsp; OK : found perl module warnings<br />
&nbsp; OK : found perl module English<br />
&nbsp; OK : found perl module Pod::Usage<br />
&nbsp; OK : found perl module Digest::MD5<br />
&nbsp; OK : found perl module MIME::Base64<br />
&nbsp; OK : found perl module Fcntl<br />
&nbsp; OK : found perl module FileHandle<br />
&nbsp; OK : found perl module Getopt::Long<br />
&nbsp; OK : found perl module Cwd<br />
&nbsp; OK : found perl module File::Glob<br />
&nbsp; OK : found perl module File::Basename<br />
&nbsp; OK : found perl module constant<br />
&nbsp; OK : found perl module vars<br />
OK : you can install afick core<br />
----------------------------------------<br />
search required perl modules for afick gui (afick-tk.pl) :<br />
&nbsp; OK : found perl module Carp<br />
&nbsp; OK : found perl module Tk<br />
&nbsp; OK : found perl module Tk::Balloon<br />
&nbsp; OK : found perl module Tk::Checkbutton<br />
&nbsp; OK : found perl module Tk::Entry<br />
&nbsp; OK : found perl module Tk::HList<br />
&nbsp; OK : found perl module Tk::ItemStyle<br />
&nbsp; OK : found perl module Tk::LabFrame<br />
&nbsp; OK : found perl module Tk::Label<br />
&nbsp; OK : found perl module Tk::ProgressBar<br />
&nbsp; OK : found perl module Tk::ROText<br />
&nbsp; OK : found perl module Tk::Text<br />
&nbsp; OK : found perl module Tk::Tree<br />
&nbsp; OK : found perl module POSIX<br />
OK : you can install afick gui<br />
----------------------------------------<br />
you can run 'make all' to install afick core and gui<br />
<br />
r-o-f:~/afick-2.14-1# make all</div></div>
<p>Beim ersten Start muss man das File System initialisieren und einen Referenz Snapshot erstellen.<br />
Dazu ruft man Afick einfach mit der Option <strong>-i</strong> auf.<br />
Die Option <strong>-C</strong> überprüft die Konfigurationsdatei (default: /etc/afick.conf).</p>
<div class="codecolorer-container text default batch" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:300px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">r-o-f:~# afick -C<br />
# config file /etc/afick.conf ok<br />
r-o-f:~# afick -i<br />
# Afick (2.14-1) init at 2009/12/03 21:43:58 with options (/etc/afick.conf):<br />
# database:=/var/lib/afick/afick<br />
# history:=/var/lib/afick/history<br />
# archive:=/var/lib/afick/archive<br />
# report_url:=stdout<br />
# allow_overload:=1<br />
# running_files:=1<br />
# timing:=1<br />
# exclude_suffix:= log LOG html htm HTM txt TXT xml hlp pod chm tmp old bak fon ttf TTF bmp BMP jpg JPG gif png ico wav WAV mp3 avi<br />
# max_checksum_size:=10000000<br />
# dbm:=GDBM_File<br />
# Dangling file : /usr/lib/python2.4/site-packages/python-support.pth<br />
<br />
<br />
# Hash database created successfully. 10325 files entered.<br />
# #################################################################<br />
# MD5 hash of /var/lib/afick/afick =&gt; WJNGxPrGQ2JyHahsDao2zA<br />
# user time : 1.71; system time : 14.06; real time : 42</div></div>
<p>Eine händische Überprüfung kann man mit <strong>-k</strong> machen.</p>
<div class="codecolorer-container text default batch" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:300px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">r-o-f:~# afick -k<br />
# Afick (2.14-1) compare at 2009/12/03 21:47:03 with options (/etc/afick.conf):<br />
# database:=/var/lib/afick/afick<br />
# history:=/var/lib/afick/history<br />
# archive:=/var/lib/afick/archive<br />
# report_url:=stdout<br />
# allow_overload:=1<br />
# running_files:=1<br />
# timing:=1<br />
# exclude_suffix:= log LOG html htm HTM txt TXT xml hlp pod chm tmp old bak fon ttf TTF bmp BMP jpg JPG gif png ico wav WAV mp3 avi<br />
# max_checksum_size:=10000000<br />
# dbm:=GDBM_File<br />
# last run on 2009/12/03 21:43:58 with afick version 2.14-1<br />
changed file : /etc/nagios/nagios.cfg<br />
changed file : /root/.nano_history<br />
<br />
<br />
# detailed changes<br />
changed file : /etc/nagios/nagios.cfg<br />
&nbsp; &nbsp; &nbsp; &nbsp; md5 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: adeba80a78175f852c2c38e55b51d51f &nbsp; &nbsp; 8bd76d59ffcb364a7515171461deb806<br />
&nbsp; &nbsp; &nbsp; &nbsp; filesize &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : 1989 1999<br />
changed file : /root/.nano_history<br />
&nbsp; &nbsp; &nbsp; &nbsp; mtime &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: Thu Dec &nbsp;3 21:41:47 2009 &nbsp; &nbsp; Thu Dec &nbsp;3 21:47:01 2009<br />
# Dangling file : /usr/lib/python2.4/site-packages/python-support.pth<br />
<br />
<br />
# Hash database : 10325 files scanned, 2 changed (new : 0; delete : 0; changed : 2; dangling : 1; exclude_suffix : 217; exclude_prefix : 0; exclude_re : 0; degraded : 1)<br />
# #################################################################<br />
# MD5 hash of /var/lib/afick/afick =&gt; WJNGxPrGQ2JyHahsDao2zA<br />
# user time : 2.02; system time : 6.24; real time : 10</div></div>
<p>Fazit: Afick ist ein ressourcensparendes Tool, dass die Sicherheit eines Systems ohne großen Konfigurationsaufwand deutlich erhöht und hilft, Einbrüche und Manipulationsversuche schnell zu erkennen.</p>
<p>Quelle: <a href="http://afick.sourceforge.net/" target="_blank" class="liexternal">http://afick.sourceforge.net/</a></p>
<p><center><br />
<script type="text/javascript"><!--
google_ad_client = "pub-0337354021893650";
/* 468x60, Erstellt 05.01.10 */
google_ad_slot = "9881277457";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><br />
</center></p>
]]></content:encoded>
			<wfw:commentRss>http://www.root-on-fire.com/2009/12/03/afick-another-file-integrity-checker-host-ids/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
