Has my website been hacked into sending spam?
by Pace on May 2nd, 2009 @ 12:54 pm in
Off-Topic
Tags: geekery
I just spent an hour figuring out whether our website had been hacked into sending Viagra spam, so the least I can do is to share what I learned.
The panic started when Kyeli and I received 30 emails in the space of 5 minutes, all of them things like “Out of Office autoreply” or “Delivery failure notification”, you know, like what you often get when you send email to a nonexistent email address or someone who’s busy or on vacation. But the emails were all sent to random email addresses like 9asinine@freakrevolution.com, apparently as autoresponses to emails from random email addresses like 9asinine@freakrevolution.com.
Kyeli panicked and thought we had been hacked. I told her not to worry, that it was just email spoofing, that it happens all the time, and that there’s nothing you can do about it.
But how could I be sure? If our site was actually hacked, we could get deindexed, and it could totally hose our website and our business. So it deserved some investigation. Here’s what I found.
1. Don’t panic. 99% of the time it’s just spoofing, not hacking.
2. Check your sendmail logs.
Sendmail logs are in different places depending on your web hosting, so I can’t tell you where they are or how to find them on your hosting service. But if you’re hosted with a company that doesn’t let you access them directly, you can ask them to check the logs for you.
3. Check the mail headers of the emails sent “from you”.
Look for the Received header and see if it’s from your hosting company (e.g. something.lunarpages.com) or from some random place, in my example vorlagen.domain.invalid (h199.244.19.98.dynamic.ip.windstream.net [98.19.244.199]).
This will only work if some of the autoresponders are kind enough to include headers when they bounce back the email to you.
Thanks to @kristinab, @FontSiteDiva, @rose_w, @soupwiththefork, and @soniasimone for helping me figure out what to do and/or helping me stay calm. (:
No related posts.
5 Comments!
#2 Posted by
Bryan on May 2nd, 2009 5:28 pm | link
That’s all good advice. One thing I would add is that you can visit Google Webmaster Tools to see if Google thinks your website is behaving maliciously.
Also, choose good passwords and don’t use ftp. If you use imap or pop3, use SSL.
#3 Posted by
Bryan on May 2nd, 2009 5:29 pm | link
Your blog software changed my “ftp” to “http://ftp”!
#4 Posted by
Kristina B on May 2nd, 2009 10:30 pm | link
I’m glad it was nothing. It’s happened to me on my gmail account! Annoying.
#5 Posted by
Michael on May 4th, 2009 7:50 am | link
Good advice!
Back in the 90’s, I remember Jerry having to explain the same things to our local FBI guy. Someone had spoofed his ISP’s domain in something criminal. So, he taught them how email works and how to read the headers.













#1 Posted by
elphie on May 2nd, 2009 1:11 pm | link
I had my old domain cyberchick.org spoofed by spammers, it totally sucked! There really isn’t much you can do about it unfortunately.