Last modified: 2013-10-04 18:44:38 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T35761, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 33761 - Email abuse - filter to stop?
Email abuse - filter to stop?
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Spam Blacklist (Other open bugs)
unspecified
All All
: Low enhancement with 3 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-01-16 19:33 UTC by Reaper Eternal
Modified: 2013-10-04 18:44 UTC (History)
9 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Reaper Eternal 2012-01-16 19:33:28 UTC
Hello,

Due to persistent abuse of Special:EmailUser to send trolling, abusive threats via email (see <https://en.wikipedia.org/w/index.php?title=Wikipedia:Administrators%27_noticeboard/Incidents&oldid=471728107#Death_threat>, for example), I am requesting that either a feature be added to the abusefilter to scan emails for these things as they go out, or a email blacklist (formatted and functioning along the lines of MediaWiki:TitleBlacklist) be created to block mailinator and related email addresses.

Many thanks,

Reaper Eternal
Comment 1 28bytes 2012-01-16 19:45:29 UTC
This is urgently needed on en-wiki; there is currently no way to prevent harassing e-mails from throwaway addresses and this is being taken advantage of to harass and threaten editors.
Comment 2 Prodego 2012-01-16 19:48:28 UTC
The abusefilter isn't a very good option for this. The abusefilter records the value of its variables for each edit. It does this for debugging purposes and to ensure that false positives can be identified and fixed. This means that you'd either be publishing the text of all emails sent by EmailUser in the abusefilter log or, if you choose not to show them in the log, risk having a filter blocking emails incorrectly (including possibly all emails) going unnoticed for long periods of time. A wiki editable email blacklist isn't a good idea either, because changes to the blacklist could occur after you've confirmed your email address. This means your previously working email features would stop working. This could be partially mitigated by blocking only the ability to send emails, but it would still be confusing to the user.
Comment 3 John Du Hart 2012-01-16 19:50:08 UTC
Agreed, this isn't something to be solved by AbuseFilter. Probably a solution like SpamBlacklist, but for emails.
Comment 4 Reaper Eternal 2012-01-16 19:54:58 UTC
Using another means to solve this is fine with me. I merely presented the only two methods I could think of to stop the problem.
Comment 5 Roland Rance 2012-01-16 20:34:34 UTC
This problem has also been raised at http://en.wikipedia.org/wiki/Wikipedia:Administrators%27_noticeboard/IncidentArchive720#Being_spammed, http://en.wikipedia.org/wiki/Wikipedia:Administrators%27_noticeboard/IncidentArchive717#Abusive_Emails_3:_Return_of_the_Abusive_Emails, http://en.wikipedia.org/wiki/Wikipedia:Administrators%27_noticeboard/IncidentArchive731#Email_abuse_from_Mailinator_address, http://en.wikipedia.org/wiki/Wikipedia:Administrators%27_noticeboard/IncidentArchive726#Mailinator_addresses and http://en.wikipedia.org/wiki/Wikipedia:Administrators%27_noticeboard/IncidentArchive735#Mailinator_addresses_.28again.29. It is a serious problem, affecting many editors, some of whom have disabled email as a result. A vandal creates a new account, does not edit any pages with it, but uses it to send scores of abusive messages ( I have received about 750 over the past six months). The messages themselves are generally either gross racism, or graphic threats of maiming and death (sometimes both). The email addresses are disposable ones, usually from Mailinator. In most cases, the email address too is either a racist slur or a threat of death or maiming directed at an individual editor. 

Surely there is a way to prevent accounts which have not been auto-confirmed from sending scores of abusive emails at a time, using abusive email addresses.
Comment 6 Bawolff (Brian Wolff) 2012-01-16 20:41:10 UTC
That's really disturbing.

One possible (temporary?) solution would be to  restrict sending email to those who are autoconfirmed (Which is a trivial config change).
Comment 7 Prodego 2012-01-16 23:08:19 UTC
This is unacceptable as contacting the blocking administrator by email is the primary way to contest blocks, and non-autoconfirmed accounts are disproportionately likely to be blocked than those that have been confirmed.
Comment 8 Roland Rance 2012-01-17 00:11:34 UTC
But contacting blocking admins does not require the ability to send several dozen identical emails to a user. And surely it would be possible to construct a filter which would prevent emails from addresses such as "(User:x) is a dirty Arab", "(User:y is a traitor to the Jewish people" or "Death to (User:z)" -- all of which I have encountered over recent months.
Comment 9 p858snake 2012-01-17 00:47:47 UTC
Ideally what we probably want, Is a method to disable signups from certain domains to prevent future abuse without retroactively blocking past accounts from usage.
Comment 10 John Du Hart 2012-01-17 00:54:22 UTC
Currently modifying SpamBlacklist to support emails, this will be a separate blacklist.
Comment 11 Bawolff (Brian Wolff) 2012-01-17 01:11:44 UTC
[mid-air-collision]

(In reply to comment #9)
> Ideally what we probably want, Is a method to disable signups from certain
> domains to prevent future abuse without retroactively blocking past accounts
> from usage.

Well we could just hook into isValidEmailAddr or EmailUser (There even seems to already be code in CommonSettings.php to block specific emails). But it appears mailenator has hundreds of alternate domains so I doubt that would block much.

Another approach might be to change the email validation method from click on a link (which just demonstrates user has access to email message) to hit reply to this message (Like how older style confirm-subscription-to-mailing-list works).

(In reply to comment #8)
> But contacting blocking admins does not require the ability to send several
> dozen identical emails to a user. And surely it would be possible to construct
> a filter which would prevent emails from addresses such as "(User:x) is a dirty
> Arab", "(User:y is a traitor to the Jewish people" or "Death to (User:z)" --
> all of which I have encountered over recent months.

This quickly becomes an arms race. We could certainly check to see if many identical messages are sent out, but then troll could just change each message slightly. Filtering based on specific phrases generally is fairly easily defeatable (As spam email email teaches us with 10 billion different ways to misspell Viagra) More concerningly, it would be difficult to check for false postives - since emails are generally considered private. (Otoh, just because it becomes an arms race, doesn't neccesarily imply we shouldn't try)

Perhaps a good first approach would be to log sending of emails, and if someone with 0 edits sends over 100 emails, note it for further investigation.

As an aside, it appears a user is limited to sending 200 emails a day, and 100 per hour for non-autoconfirmed (via $wgRateLimits). Perhaps that limit should be further tweaked or something (but that doesn't really address the core issue, it just slows people down)
Comment 12 Dweller 2012-01-17 10:13:48 UTC
Non autoconfirmed users need email primarily to be able to handle the situation if/when they are blocked.

How about setting their usage to a small number (say two) emails per 24 hours? That should be enough to handle an unblock, yet make mass email abuse very clunky.

Dweller
Comment 13 Prodego 2012-01-17 22:58:00 UTC
That sounds reasonable, but I'd go a little higher - 5 or 10 perhaps.
Comment 14 John Du Hart 2012-01-18 23:31:51 UTC
Implemented in r109455
Comment 15 Roland Rance 2012-01-18 23:48:39 UTC
Could you please explain exactly what has been implemented, what it will  do, and how (if it all) we can improve its working.
Comment 16 John Du Hart 2012-01-19 06:40:15 UTC
I've implemented a blacklist similar to what the Spam-blacklist does, except this works off of emails. If the user has an email address that is in the blacklist, they will not be able to send emails, or register.
Comment 17 Roland Rance 2012-01-19 08:16:54 UTC
I'm not sure that would help much, since the offensive emails usually come from disposable one-time addresses at Mailinator. So they are unlikely to appear already in the blacklist, unless all Mailinator addresses are banned.
Comment 18 Bawolff (Brian Wolff) 2012-01-19 08:42:43 UTC
(In reply to comment #17)
> I'm not sure that would help much, since the offensive emails usually come from
> disposable one-time addresses at Mailinator. So they are unlikely to appear
> already in the blacklist, unless all Mailinator addresses are banned.

Even banning all mailinator addresses would be insufficient, since they have hundreds of alternate domains (I suppose we could ban all alternate domains. Not sure how we'd get a list of them all though), See my previous comment 11.
Comment 19 Reaper Eternal 2012-01-19 14:14:04 UTC
If it uses regex, we could ban *.mailinator.com. Or is it the root domain that changes?
Comment 20 John Du Hart 2012-01-19 14:29:36 UTC
(In reply to comment #18)
> (In reply to comment #17)
> > I'm not sure that would help much, since the offensive emails usually come from
> > disposable one-time addresses at Mailinator. So they are unlikely to appear
> > already in the blacklist, unless all Mailinator addresses are banned.
> 
> Even banning all mailinator addresses would be insufficient, since they have
> hundreds of alternate domains (I suppose we could ban all alternate domains.
> Not sure how we'd get a list of them all though), See my previous comment 11.

It's doable, at my last position managing a gaming forum we had a pretty exhaustive list that covered all of them. It's possible to do.

(In reply to comment #19)
> If it uses regex, we could ban *.mailinator.com. Or is it the root domain that
> changes?

No, it's the domain that changes.
Comment 21 Roland Rance 2012-01-28 19:16:28 UTC
Whatever has been done is clearly ineffective; I have received today a further 170+ abusive emails, from three different Wikipedia accounts, using two Mailinator addresses. The addresses were "(Username) will die" and "Kill traitor (real name)"; the contents were less pleasant than the names.
Comment 22 Bawolff (Brian Wolff) 2012-01-29 19:21:53 UTC
(In reply to comment #21)
> Whatever has been done is clearly ineffective; I have received today a further
> 170+ abusive emails, from three different Wikipedia accounts, using two
> Mailinator addresses. The addresses were "(Username) will die" and "Kill
> traitor (real name)"; the contents were less pleasant than the names.

That would be because nothing has been done yet. John Du Hart wrote some code to make an email blacklist - but it is not yet in use.
Comment 23 John Du Hart 2012-02-04 00:18:39 UTC
(In reply to comment #21)
> Whatever has been done is clearly ineffective; I have received today a further
> 170+ abusive emails, from three different Wikipedia accounts, using two
> Mailinator addresses. The addresses were "(Username) will die" and "Kill
> traitor (real name)"; the contents were less pleasant than the names.

In the meantime I'm building a blacklist of throwaway domain names. Can you please give me some of the domains used for spamming? Thank you.
Comment 24 Roland Rance 2012-02-04 00:33:24 UTC
(In reply to comment #23)
> (In reply to comment #21)
> > Whatever has been done is clearly ineffective; I have received today a further
> > 170+ abusive emails, from three different Wikipedia accounts, using two
> > Mailinator addresses. The addresses were "(Username) will die" and "Kill
> > traitor (real name)"; the contents were less pleasant than the names.
> 
> In the meantime I'm building a blacklist of throwaway domain names. Can you
> please give me some of the domains used for spamming? Thank you.

Mailinator.com is the main one. There have been a few from gmail and Hotmail, but they deal with this as soon as it's reported. Mailinator don't.
Comment 25 Nemo 2013-10-04 18:44:38 UTC
(In reply to comment #22)
> That would be because nothing has been done yet. John Du Hart wrote some code
> to make an email blacklist - but it is not yet in use.

This was over 20 months ago, I assume the feature it working?
At any rate, lowering priority because since $wgRateLimits was made stricter I've seen no big complaints about email abuse.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links