Alle paar Minuten bekomme ich von meiner Firewall die Meldung das ein Portscan meines Rechners versucht wurde. Ursprungs-IP ist die meines Rootservers.
Nach dieser Meldung ist mein Server für ca. 2 Minuten nicht zu erreichen, dann kommt er wieder als wäre nichts gewesen und nach einer Weile wiederholt sich das ganze Spielchen.
Das System ist ein Debian Sarge. Alle Patches die apt-get findet sind installiert. Außer dem Apache2 (mit PHP5), SSH und einem MySQL (per UNIX socket) läuft auf dem Server nur noch ein Minimal-Exim4, der aber am local interface bindet.
ps ax ist in Ordnung. Keine verdächtigen Prozesse.
An PHP Skripten gibt es eigentlich nur ein phpBB, aber auch aktuellste Version.
Der Apache besitzt auch mod-security2 mit aktuellen GotRoot-Regeln.
Was kann ich tun um die Sicherheitslücke zu finden?
Apache/2.0.54 apache2-mpm-prefork 2.0.54-5sarge1
PHP Version 5.2.1-0.dotdeb.1 [updated]
mod_security 2.1.1-rc1
Code: Select all
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 localhost.localdo:mysql *:* LISTEN -- MySQL
tcp 0 0 localhost.localdo:11211 *:* LISTEN -- Memcached
tcp 0 0 *:sunrpc *:* LISTEN
tcp 0 0 localhost.localdoma:793 *:* LISTEN
tcp 0 0 localhost.localdom:smtp *:* LISTEN -- Exim4
tcp6 0 0 *:*zensiert* *:* LISTEN -- SSH
tcp6 0 0 *:www *:* LISTEN
-- Apache2
udp 0 0 *:sunrpc *:*
Active UNIX domain sockets (only servers)
Proto RefCnt Flags Type State I-Node Path
unix 2 [ ACC ] STREAM LISTENING 3838 /var/run/mysqld/mysqld.sock
Code: Select all
Apache Server Information
Server Settings, mod_userdir.c, mod_unique_id.c, mod_rewrite.c, mod_php5.c, mod_security2.c, mod_info.c, mod_cgi.c, mod_so.c, mod_alias.c, mod_dir.c, mod_negotiation.c, mod_autoindex.c, mod_status.c, mod_mime.c, http_core.c, prefork.c, mod_setenvif.c, mod_env.c, mod_logio.c, mod_log_config.c, mod_auth.c, mod_access.c, core.c
Server Version: NOYB
Server Built: Jul 28 2006 09:04:55
API Version: 20020903:9
Hostname/port: admin.*zensiert*.com:80
Timeouts: connection: 300 keep-alive: 300
MPM Name: Prefork
MPM Information: Max Daemons: 40 Threaded: no Forked: yes
Server Root: /etc/apache2
Config File: /etc/apache2/apache2.conf
..snip..