03 August 2006

Coding Hell #6

Less than 9 days remaining in my old job, and I already hoped for a quiet retirement from my old job.

But noooooo, some stupid script kiddie just HAD to hack our web server. Months ago, we already knew about that. He was there, but nobody seemed to really care. And as long as he didn't start any shit around here, things were just jelly beans - everybody happy, no hassle involved. He could have had that web server for another few months, heck - for another couple of years for all I care, since I'm gone in 9 days.

But he had to keep the ball low, and don't start any shit around here.

But noooooo, he just HAD to play it hard, and just HAD to start some shit. I just got that:

-------------------------------------------------------
From: admin@pissedcompany.com [mailto:admin@pissedcompany.com]
Sent: Wed, Aug. 02 2006 23:03
To: abuse@our.sucking.provider.at
Subject: 51-809-903101/212.186.223.13/spam/mfo

The log included below shows an attempted Web server compromise from
212.186.223.13, an IP address in one of your netblocks.

The IP address of the system reporting this attack is 82.165.xxx.xxx

Destination port for all entries is TCP/80.

Times listed are UTC-04 (US EDT) and are accurate.

It is likely that the machine having IP address 212.186.223.13 is
itself compromised, and is launching this same attack against many
other systems besides ours.

Please deal with this incident in accord with your Acceptable Use
Policy.

Thank you

admin@pissedcompany.com

Server Log:

(some bullshit server logs here)
-------------------------------------------------------

So far so good - I couldn't care less.

BUT: my boss got that same mail (actually, he forwarded it to me in the first place, no idea why - I'm not even supposed to be responsible for that host). One of our technicians got the same email, and our sucking provider called him to demand a written statement about that incident.

Fuckdamn.

And now, consider this log I copied from the compromised system:

iwww:~ # lsof +L1|head -n2
COMMAND PID USER FD TYPE DEVICE SIZE NLINK NODE NAME
init 1 root txt REG 8,7 440536 0 1123973 /sbin/init.sergz (deleted)
iwww:~ # cat /etc/SuSE-release
SuSE Linux 7.3 (i386)
VERSION = 7.3
iwww:~ # ls -l /etc/SuSE-release
-rw-r--r-- 1 root root 36 Sep 25 2001 /etc/SuSE-release

I'm trying VERY hard here to refrain from any statements about that particular linux distribution and the brain damage hat have to be involved in using it on a productive system. This post contains enough adult language already.

My statement, should I come into the situation of actually writing it, would look like this:

"Dear Provider, thank you for pointing out the obvious. I don't know why you demand, in an unpreceded display of obvious arrogance, a written statement and thus waste my precious time, but here it is:

Our compromised server is a 5 year old machine that didn't enjoy any maintenance since the dawn of time, and therefore it is no wonder somebody hacked into it. Other than that, I don't give a fuck.

If you desire some additional information, please feel free to call me at this office in 10 days from now."

And it was going to be such a calm week...

No comments: