Hi all,
I'm running Fedora 10 with Apache 2.2.11 and I noticed something a little strange going on which I'm hoping you may be able to shed some light on for me. This morning, logwatch alerted me to the following concerning apache:
Sure enough, the apache access log file shows the following:Code:Connection attempts using mod_proxy: 89.41.85.251 -> 205.188.251.43:443: 2 Time(s) 89.41.85.251 -> 64.12.161.153:443: 4 Time(s) 89.41.85.251 -> 64.12.161.185:443: 3 Time(s) 89.41.85.251 -> 64.12.200.89:443: 4 Time(s)
mod_proxy is disabled in the apache config file anyway (default mod_proxy commented out):Code:# cat access_log-20090329 | grep 89.41.85.251 89.41.85.251 - - [27/Mar/2009:22:24:33 +0000] "GET http://www.google.com/ HTTP/1.1" 200 6970 "-" "Mozilla/4.0 (compatible; MSIE 4.01; Windows 95)" 89.41.85.251 - - [28/Mar/2009:23:42:05 +0000] "CONNECT 64.12.161.153:443 HTTP/1.0" 200 6970 "-" "-" 89.41.85.251 - - [28/Mar/2009:23:42:06 +0000] "CONNECT 64.12.200.89:443 HTTP/1.0" 200 6970 "-" "-" 89.41.85.251 - - [28/Mar/2009:23:42:22 +0000] "CONNECT 64.12.161.185:443 HTTP/1.0" 200 6970 "-" "-" 89.41.85.251 - - [28/Mar/2009:23:42:28 +0000] "CONNECT 205.188.251.43:443 HTTP/1.0" 200 6970 "-" "-" 89.41.85.251 - - [28/Mar/2009:23:42:36 +0000] "CONNECT 64.12.200.89:443 HTTP/1.0" 200 6970 "-" "-" 89.41.85.251 - - [28/Mar/2009:23:42:47 +0000] "CONNECT 64.12.161.185:443 HTTP/1.0" 200 6970 "-" "-" 89.41.85.251 - - [28/Mar/2009:23:42:53 +0000] "CONNECT 64.12.161.185:443 HTTP/1.0" 200 6970 "-" "-" 89.41.85.251 - - [28/Mar/2009:23:42:56 +0000] "CONNECT 205.188.251.43:443 HTTP/1.0" 200 6970 "-" "-" 89.41.85.251 - - [28/Mar/2009:23:42:58 +0000] "CONNECT 64.12.161.153:443 HTTP/1.0" 200 6970 "-" "-" 89.41.85.251 - - [28/Mar/2009:23:43:04 +0000] "CONNECT 64.12.161.153:443 HTTP/1.0" 200 6970 "-" "-" 89.41.85.251 - - [28/Mar/2009:23:43:07 +0000] "CONNECT 64.12.200.89:443 HTTP/1.0" 200 6970 "-" "-" 89.41.85.251 - - [28/Mar/2009:23:43:13 +0000] "CONNECT 64.12.200.89:443 HTTP/1.0" 200 6970 "-" "-" 89.41.85.251 - - [28/Mar/2009:23:43:22 +0000] "CONNECT 64.12.161.153:443 HTTP/1.0" 200 6970 "-" "-"
When I tried to access my web server to check, it was down, and I got the following when checking its status:Code:# Proxy Server directives. Uncomment the following lines to # enable the proxy server: # #<IfModule mod_proxy.c> #ProxyRequests On # #<Proxy *> # Order deny,allow # Deny from all # Allow from .example.com #</Proxy>
... so I checked the apache error logs and found the following:Code:# service httpd status httpd dead but pid file exists
There's nothing wrong with line 188 of the config file:Code:[Sun Mar 29 04:39:53 2009] [notice] SIGHUP received. Attempting to restart httpd: Syntax error on line 188 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/mod_proxy.so into server:
It seems fairly apparent that there has been an attempt to use my web server as a proxy to gain access to other servers, so I have a couple of questions:Code:188 LoadModule proxy_module modules/mod_proxy.so
1) I presume that the attack failed, since mod_proxy was disabled?
2) Why did my web server crash? (It has never done this before). It seems very suspicious that it tried to restart, but failed to load proxy_module modules/mod_proxy.so on the same night that someone had attempted to use mod_proxy. I have since successfully started apache without making any configuration changes.
3) Do I need to worry that any part of my system has been compromised?


Reply With Quote
