Conversation
|
Hello RR, An excellent idea to send the abuse emails. This is certainly a goal of mine so let's do it! The thing I consider is how many emails would go out. The honeypots often get 10,000+ attacks a day, each. Can't really send an email for each attack. I do check already for LARG*feed if an IP has attacked more than once during the day. We could tap into that and maybe make it less, but rough estimate it could still be thousands of emails a day. We could build summary daily emails, but now we're much worse off because we also need to introduce all that into memory. Unless I do this at LARG*feed and it solves all these problems together. We also need to determine what the abuse emails are for each, the api seems to be straight forward. https://stat.ripe.net/docs/02.data-api/abuse-contact-finder.html |
|
Thanks for the reply! I've done some testing with my own code and a lot of time the ISPs that attack don't have contact info set up (I'd say this happens around 30-40% of the time). I didn't know about the ripe API, thanks! How do you set up a "mod" for this repo? I've been looking around in the code and haven't found out how to do it. Also, I'm not very familiar with the RIPE API, is there any ratelimits? |
That's unfortunate. I would also imagine a good chunk of those who do have contact information is basically a blackhole anyway. Nobody will see or care about it.
Great question, nobody has ever wanted to 'mod' my project. Searching is difficult, its bringing up 'modules' and 'modulus'
I dont know, never seen any limits but surely there are. |
|
Sorry if I wasn't clear. By mod I just meant a module that I could add to the code, for example the abuseipdb mod you have here. |
|
Hey RR, If you want to add a new module, put say 'newmodule.py' in the app folder. Then wherever you're going to use it for example, you do from app.newmodule import newfunction then the function can be used. |
|
Hi together, may I suggest an alternative source for abuse addresses? Abusix provides the I am not affiliated with Abusix, I am just working for an ISP successfully using them. |
|
Oh wow, I checked it out and I quite like it. Do you know what the rate limiting on it is? |
|
I very much like the idea of https://github.com/abusix/querycontacts I just connected to an icarus instance that has been going for months and it has been attacked over 2 million times. That's a ton of emails to be sending out. I wonder if Canada's antispam laws allow me to send out these emails? |
|
Regarding your questions, @tbiens:
That's absolutely correct. But with relatively simple event aggregation (and afterwards temp. blocking), the amount should drastically decrease. Big companies have automated systems with which they handle their abuse complaints and we should absolutely try and make it as simple as possible for them to react. I am myself working for an ISP, and we do not -at all- handle "manual" abuse messages, only those that are machine-readable (X-ARF or similar). I am sure that other big companies/ISPs handle this similarly.
I am no expert in Canadian Law, nor law in general, but according to the online version of the antispam act that I found, a requirement is that the message must be commercial in character (emphasis added by me):
If you don't add an advertisement for your favourite VPN provider or your IT security consultancy you should be in the green (again: no expert here!). Best regards, |
Hey tbiens! I'm working on a mod that will look up the contact details for the IP address owner and write them an abuse email, something like:
I'm not familiar with navigating the codebase, could you give me a hand in linking my script in with the rest of the project? Thanks!