Examining an Automated Spam Tool
Saint Aardvark writes "SecurityFocus has published an excellent column detailing how spammers r00ted an Apache server, and used it to send spam. The tool they used is (I hate to admit it) pretty sophisticated: it has macro capabilities, picks up email addresses from and reports success or failure to the master server. It's a very frightening read...and so is this: Message Labs reports that they now intercept 27 spam emails per second, up from 2 per second this time last year. Virus-created proxies are mainly to blame."
Spam is profitable, and this is becoming a huge underground business. Spammers regularly compromise other systems and install sophisticated software to allow easier spamming. Here's a document that describes the link between spam and viruses
No, and apache didn't get rooted, either. A poorly written PHP script did.
Vintage computer games and RPG books available. Email me if you're interested.
That's no longer the default. Not sure what version changed it.
Actually, nowhere does it say that root privilege was used at all -- the attack was against a PHP interpreter embedded in an Apache binary running as www-data, and it started a new process which also ran as www-data. The article summary is a bit misleading.
Hi
s ins
I have made an eigenpoll
to find the best spamtools.
First ranking the tools you know,
the it runs some data minning and find the best tool.
Right now the list looks like.
sa-exim
Outclass
Mail Scanner
spamprobe
POPFile
SpamBayes
SpamAssas
Vipul's Razor
Blackmail
bogofilter
Infinospam
Spamthi
Shovel
SpamBouncer
Declude JunkMail
spamhole
Actually it's a stupid gap in admins and developers.
You see Register Globals has been OFF by default since 4.2.0 which was released 22-Apr-2002.
But yes it is a mess.
Guh...that previous comment was NOT flamebait and was NOT offtopic...if you RTFA, this misfeature of earlier versions of PHP is exactly the exploit used to hook into the system.
Frickin' moderators, so many people are so quick on the negative triggers, and not in a helpful way.
SO YOU'RE GOING TO DIE: The Comic for Dealing with Death
Also, I think the messages should be stored on the relay, with just a URL sent in the mail body. It would solve two problems: * The size of the message will be limited by the size of the sender's mailbox. * It will use more resources on the relay, and the admin should be less likely to run an open relay.
This has allready been proposed by Dan Bernstein: IM2000
There is. Check out SPF. It's simple, built on existing protocols (DNS), and 100% djb-free.
Uh, no. Using "he" as a generic 3rd person pronoun is deprecated, and has been so for a long time. Though I cringe at the thought of women being spammers, and would hope that women would have more sense. :-)
Note that both your references have notations about generic usage and the problems that arise.
The least worst I've heard recently is singular "they".
...laura
I haven't met the guy and tend to hold him in reasonably high regard based on what I've read of his writings on the Internet. That being said, he appears to be extremely opinionated and tends to say or imply that certain people that disagre with him are idiots. While this may be the case (or may not be; I have no idea, but I'll give djb the benefit of the doubt), his tendency to express himself so bluntly probably turns many people off.
Help save the critically endangered Blue Iguana
1. No. A badly written PHP script as exploited to get the same access as the local user running the web server. (Note here that the web server used is irrelevant). This is definately not _rooted_ however.
5 493
2. Any user can use chmod to change the permissions on their files. You can not however arbitarily set ownership, which is good. Otherwise you can set a file setuid, then assign it the owner of root. (Which would be bad). Not being able to chmod, would stop a lot of scipts from working (setting write access to data files, etc)
3. It's a good start, but that wasn't the problem here. It was bad non defensive programing, using the extract() function. see http://slashdot.org/comments.pl?sid=88632&cid=767
4. You can do this using ifconfig if you like. Simply do a ifconfig every x time.
Use the difference in the TX packets. There are useful network monitors about. For example KDE system guard allows you to view the tx and rx Kb/sec rates in semi-realtime.
Range Voting: preference intensity matters