XMailforum is a readonly knowledge archive now.

Registering as a new user or answering posts is not possible anymore.

Might the force be with you, to find here what you are looking for.

2019-09-20 - hschneider, Admin

Cookie Disclaimer: This forum uses only essential, anonymous session cookies (xmailforum*), nothing to be scared of.

XMail Forum -> Honeypot Like

Reply to this topicStart new topicStart Poll

> Honeypot Like, feed rbl lists from spambots attacks
yartax
Posted: Oct 25 2011, 03:43 PM
Quote Post


Junior Member
**

Group: Members
Posts: 30
Member No.: 1815
Joined: 14-November 05



Hi,

Every day I saw in log files multiple attacks at smtp service, trying to find valid email account to further send spam through. My server is tested and not is a open relay, but spammers massively try to send emails by compromising valid accounts.

I realized that most attacks have same pattern:

1) find mail server in internet (mine for example)
2) determine domain from helo response if possible
3) find a valid account (email) and try password

In one case, a spambot find me a poorly protected account and used it to spam thousands of mails in minutes (Mea culpa).

I thought in the idea to feed rbl lists catching these spambots, (I use rbl lists and do a nice job). Taking the basis of a honeypot, I thought in the idea of create some dummy emails info@domain.net, root@domain.net with trivial password and when an spammer tries to send mails with these accounts, catch the email, and finally block sender IP temporary, says xxx seconds or minutes.

With this email catched, I can send to antispam or abuse lists that can feed back putting spammer in a rbl list, so the effort can take a reward!

I don't know if xmail have support to do this kinds operations through filters. I supose the big deal is to implement blocking incoming emails when dummy account is used.

I would in interest to do some scripts in linux to get an aproach to this feature but I need some starting help with filters. First question I have is, can filters get a message, get sender IP address, and block further attacks from sender? core implementation is needed? Is viable via scripting?


I don't search for any smtp proxy doing spam filtering, I want feed rbl lists and/or feed antispam projects with gathered info.


PD: My server runs in a lenny box, xmail version 1.25-4.

Thanks in advance
Julian
PMEmail Poster
Top
yartax
Posted: Jan 4 2012, 01:15 PM
Quote Post


Junior Member
**

Group: Members
Posts: 30
Member No.: 1815
Joined: 14-November 05



Hi again,


Only comment that finally had badly crafted a bash script to try catching spammers. Works like detecting sender IP address from last 200 (or X mails), if this sender reach at 99% (or X %) from last messages, then capture mail headers and message to later process it and drop current connection preventing sent email. No IDS required, no database required, only with bash and xmail filter functions.

Best that nothing.

Regards.
PMEmail Poster
Top
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
« Next Oldest | Fighting SPAM | Next Newest »

Reply to this topicStart new topicStart Poll