News for hackers. Stuff that matters.
Re:Firefox Monitor by sleavey on Wednesday June 05, 2019 @11:22AM (#20105324)
> I want to know who betrayed me.

You can run your own email server (or have a company host a private domain for you), set up a catch-all address that only you know, then use a different email address for every site you sign up to. That way you can find out this sort of information.

Using this technique, I know for example that spammers obtained the address I signed up to Stack Overflow with. The email is not shown on my profile now, and I can't rule out that it wasn't ever shown publicly, but evidence suggests they sold my address to spammers. I also know that spammers crawled my website and found a blog post where I stupidly made up a random address using my domain as part of an example for configuring junk filters (the irony is not lost on me).

Re:Firefox Monitor by StavrosK on Wednesday June 05, 2019 @11:41AM (#20105536)
Fastmail supports this natively (and is awesome). You can do [email protected] and it will get delivered to [email protected].
Re:Firefox Monitor by 27182818284 on Wednesday June 05, 2019 @12:43PM (#20106266)
You can use the + trick and . trick with Gmail addresses too. I think Outlook as well supports the + trick. The only downside to this is that there are plenty of sites that don't accept a + either knowingly or unknowingly.
Re:Firefox Monitor by StavrosK on Wednesday June 05, 2019 @12:57PM (#20106440)
Yeah, that's why Fastmail has that syntax.
Re:Firefox Monitor by jacobolus on Wednesday June 05, 2019 @01:54PM (#20107211)
The + feature long predates gmail. Here’s an example description from the 1990s http://www.faqs.org/faqs/mail/addressing/index.html
Re:Firefox Monitor by perennate on Wednesday June 05, 2019 @06:35PM (#20109821)
I think StavrosK meant Fastmail has the [email protected] syntax because "there are plenty of sites that don't accept a +", not because Gmail supports the [email protected] syntax.
Re:Firefox Monitor by StavrosK on Thursday June 06, 2019 @12:15PM (#20115946)
That's what I meant, sorry and thank you.
Re:Firefox Monitor by StavrosK on Wednesday June 05, 2019 @03:44PM (#20108362)
Yes, it's in the SMTP RFC.
Re:Firefox Monitor by mjlee on Wednesday June 05, 2019 @05:54PM (#20109564)
To clarify the SMTP RFC (RFC 5321) says that a valid e-mail address is defined in RFC 5322 - Internet Message Format.

RFC 5322 does say that a `+` is a valid character in the local part of an e-mail address.

The `+` character being used for address aliasing is, as far as I can tell, not mentioned in RFC 5321 or RFC 5322

Re:Firefox Monitor by jcheng on Wednesday June 05, 2019 @08:03PM (#20110299)
It's apparently a thing now:

https://tools.ietf.org/html/rfc5233

Re:Firefox Monitor by megous on Wednesday June 05, 2019 @05:26PM (#20109351)
It's not.
Re:Firefox Monitor by StavrosK on Wednesday June 05, 2019 @06:54PM (#20109934)
Re:Firefox Monitor by megous on Thursday June 06, 2019 @06:39AM (#20113202)
RFCs don't define any meaning to '+' as described in this thread, except that local part of the address should be interpreted locally (usually by MDA), and preserved unmodified during message transfer.

There's no + aliasing in the specs. There's no interpretation defined for local part of email address.

Re:Firefox Monitor by StavrosK on Thursday June 06, 2019 @06:45AM (#20113234)
Oh, yes. I meant "+" is an acceptable character to use in the local part of an email address, as per the RFC. I see now where the misunderstanding lies.
Re:Firefox Monitor by zarify on Wednesday June 05, 2019 @05:49PM (#20109526)
I've been doing this for years with Gmail but the issue with breach notification services like HIBP / Monitor is that you can't add wildcards into your search for notifications, so unless I plug in every me+service@domain email variant in, I could be missing being notified.
Re:Firefox Monitor by jiveturkey on Wednesday June 05, 2019 @01:00PM (#20106484)
this isn't a good anti-spam filter though. + addressing (even the fastmail kind) is trivial to parse and I'm 100% sure email harvesters are aware of it.
Re:Firefox Monitor by TeMPOraL on Wednesday June 05, 2019 @04:14PM (#20108650)
They can filter out the boxname part of [email protected], but they can't, in general, filter out [email protected] - it would break too many things. I guess it's possible to recognize mail for mytld.com is handled by FastMail, but I'm not sure anyone bothers. In my case, almost all spam I get comes to an alias I have in my Facebook profile, and the rest of it to an alias I put on my website - so in both cases, I assume spammers just scrapped the e-mail address.
Re:Firefox Monitor by jm4 on Wednesday June 05, 2019 @01:41PM (#20107025)
Fastmail also lets you use aliases to protect your main address. I only give out an alias with an alt domain - something like [email protected], [email protected], etc. No one has my real address. I basically only use it as my username. I give an alias to family. I just delete the alias or filter it to the trash if I have problems with it.

I'd be surprised if many harvesters are going to bother with rules just for Fastmail domains. First of all, they have a bunch of them. Second, the spammers' objective is to get email into your mailbox. They don't care if they use an alias to get there. Bad actors who got your info in a data breach are a different story, but there's probably some safety in numbers. There could potentially be millions of accounts to go after before they start thinking about reversing my Fastmail alias. Besides, if you use one of the generic ones like qq.com or eml.cc - or even better yet, your own domain - they're not likely to notice anyway.

Re:Firefox Monitor by techbio on Wednesday June 05, 2019 @01:29PM (#20106875)
This isn’t to prevent spam, it is to identify the original leak. If the unique email address you gave to company X is used for solicitations by company Y, company X must have given it away.
Re:Firefox Monitor by mikedelfino on Wednesday June 05, 2019 @01:44PM (#20107067)
Then what?
Re:Firefox Monitor by TeMPOraL on Wednesday June 05, 2019 @04:19PM (#20108699)
Depending on my mood and whether the company is local, write a complaint to the company that leaked the address or to an appropriate government institution. In my country, a local computer security news site started a tradition of telling the offending companies that they can either apologize and donate some money to a charity (and send back the proof of payment), or you'll bring the issue up with Personal Data Protection Office, which will be more than happy to fine them.
Re:Firefox Monitor by Xylakant on Wednesday June 05, 2019 @02:52PM (#20107899)
I usually go for <company>@example.com where <company> is the company I’m handing my address to. After a breach I route that address to /dev/null
Re:Firefox Monitor by bradknowles on Wednesday June 05, 2019 @07:12PM (#20110044)
That's trivially easy to guess -- and game.

You want something that is sufficiently random that it can't be easily guessed or gamed, but can be quickly and easily determined on your side.

Salted cryptographic hashes might be a good place to start.

Re:Firefox Monitor by username444 on Wednesday June 05, 2019 @10:39PM (#20111124)
Most spammers won't go through the of "gaming" it. There's no upside. There are far easier targets to focus on than sending more mail to a single recipient who is more sophisticated.
Re:Firefox Monitor by erichurkman on Wednesday June 05, 2019 @04:14PM (#20108649)
After a breach of <company>@example.com, forward it to support@<company.com>.
Re:Firefox Monitor by Xylakant on Wednesday June 05, 2019 @04:16PM (#20108674)
Don’t give me ideas.
Re:Firefox Monitor by dvfjsdhgfv on Wednesday June 05, 2019 @02:44PM (#20107809)
If you live in Europe, you might have a case.
Re:Firefox Monitor by stunt on Thursday June 06, 2019 @02:30AM (#20112096)
Fastmail way of doing it is better. Some advertisers are already removing + syntax from Gmail addresses.
Re:Firefox Monitor by djsumdog on Wednesday June 05, 2019 @01:32PM (#20106908)
I think most MTAs support +. Isn't that part of the e-mail standard?
Re:Firefox Monitor by FireBeyond on Wednesday June 05, 2019 @03:13PM (#20108078)
The MTAs do. Many a website won't allow you to use this syntax for a user registration.
Re:Firefox Monitor by jperras on Wednesday June 05, 2019 @03:08PM (#20108031)
It is, but many services will (incorrectly) prevent an address with a `+` in it from ever making it to their database/whatever.

So the fact that the MTA will route it is irrelevant if it never makes it to the MTA in the first place.

Re:Firefox Monitor by deathanatos on Wednesday June 05, 2019 @07:18PM (#20110079)
> It is [part of the standard]

+ as a magic character to effect routing isn't part of the standard. Mail servers are free to route addresses to mailboxes in whatever manner they see fit. That + can appear as a character in an address is part of the standard, just not the behavior of it; a server that treats a+1@ and a+2@ as distinct emails is conforming, and from a sending side, you cannot know if a+1@ and a+2@ will end up in the same mailbox.

(But you're absolutely right that too many sites fail to parse email addresses. Or rather, they over-parse.)

Re:Firefox Monitor by ReidZB on Wednesday June 05, 2019 @03:11PM (#20108060)
You can also set up rules like *@example.com, leading to addresses like [email protected].
Re:Firefox Monitor by Moru on Wednesday June 05, 2019 @12:49PM (#20106340)
As does Gmail. But not all services supports the + on login forms.

I believe this was part of the email standard?

Re:Firefox Monitor by StavrosK on Wednesday June 05, 2019 @12:56PM (#20106429)
The email standard does include the +, yes. Here's a talk on the topic:

https://youtu.be/xxX81WmXjPg

But yes, that's why Fastmail supports the alternative syntax.

Re:Firefox Monitor by cptskippy on Wednesday June 05, 2019 @12:35PM (#20106147)
This is what I've done for close to 15 years and I'm generally surprised by how few of my address have been leaked.
Re:Firefox Monitor by 3martron on Wednesday June 05, 2019 @12:47PM (#20106328)
I believe they were breached relatively recently. If your jurisdiction doesn't require reporting you might not have gotten notification currently or in the past. They may also not know they're breached.

Reach out to support.

Re:Firefox Monitor by bennylope on Wednesday June 05, 2019 @11:40AM (#20105530)
I do this with Fastmail, including specialized subdomains to help me segment the addresses and then distinct email names for each sign up as necessary.

You can also do something similar with Gmail (and probably other providers) using "+" in your username, e.g. "[email protected]". This creates a unique email address that delivers to your Gmail account as if the "+<whatever>" were absent. This is more easily defeated if you're a moderately motivated spammer.

Re:Firefox Monitor by kps on Wednesday June 05, 2019 @11:51AM (#20105650)
If you run your own email, you can catch the moderately motivated spammer: use a character other than + as the segmenter, and a honeypot +.

  <[email protected]>
  <[email protected]>
Here, ‘-’ is the segment character, <[email protected]> is the actual delivery address, and <[email protected]> triggers an immediate block.
Re:Firefox Monitor by mehrdadn on Wednesday June 05, 2019 @03:55PM (#20108477)
> <[email protected]> triggers an immediate block.

This doesn't work. I've seen legitimate companies just strip everything from the + onwards.

Re:Firefox Monitor by TeMPOraL on Wednesday June 05, 2019 @04:20PM (#20108714)
Well, "legitimate". There's no legitimate reason for a company to remove anything from user-provided e-mail address.
Re:Firefox Monitor by mehrdadn on Wednesday June 05, 2019 @04:26PM (#20108767)
Legitimate reason != legitimate company
Re:Firefox Monitor by TeMPOraL on Wednesday June 05, 2019 @05:06PM (#20109139)
Doing something like this is extra work, implying the company in question has either some malicious intent (e.g. spamming, or sharing data with third parties behind users' backs), misguided (e.g. thinking this is a proper way of dealing with user account spam), or just don't give a damn. Either one of these cases reflects badly on such company.
Re:Firefox Monitor by mehrdadn on Wednesday June 05, 2019 @05:12PM (#20109200)
You can reflect it however badly you want, I'm just saying these weren't companies most people would consider shady or cutoff business with over this issue.
Re:Firefox Monitor by h1d on Wednesday June 05, 2019 @12:02PM (#20105749)
Using + isn't the best method as some services just won't allow having + sign in the email address (probably shitty email address detection) and of course spammers can simply strip the alias parts and send you mail.

You'd have a better luck with *@user.your.domain if you can give each user a unique domain.

Re:Firefox Monitor by ghostbrainalpha on Wednesday June 05, 2019 @01:32PM (#20106907)
Are you suggesting buying a new domain for each email address? That could get extremely expensive to maintain.

I bought a single domain @MyEmail.org, and create a new user for each site I sign up with that forwards to my gmail.

[email protected], [email protected], [email protected] etc...

Re:Firefox Monitor by h1d on Wednesday June 05, 2019 @01:35PM (#20106949)
No. Your case works for a single person but for more people on a single domain, you would want to do,

[email protected] [email protected]

(Instead of [email protected])

[email protected] [email protected]

and so on. So, those services have no way of fooling you by tampering with the alias parts.

But of course this isn't easy unless you roll your own mail server.

Re:Firefox Monitor by ghostbrainalpha on Wednesday June 05, 2019 @03:46PM (#20108392)
Thanks for the breakdown. I didn't think about using Sub Domains!
Re:Firefox Monitor by looeee on Wednesday June 05, 2019 @01:33PM (#20106923)
You can also do this with a single email address and the + symbol:

[email protected] [email protected] [email protected]

all go to [email protected]

Re:Firefox Monitor by mikedelfino on Wednesday June 05, 2019 @01:44PM (#20107060)
I used this technique a few times until I realized that spammers and, most importantly, companies that sell their user databases also know about it. So it's actually pretty trivial for them to strip the +something bit before any shady business. Now I don't really care anymore. Most spam are catch automatically anyway. Even when they're not, it's actually a tiny annoyance to me. And what am I going to do if I know for sure that some company sold my data? Sue them? I will most certainly not.
Re:Firefox Monitor by nimajneb on Wednesday June 05, 2019 @01:42PM (#20107034)
Does a . works as well doesn't it? I can't remember if it gets stripped out or not if the email server isn't expecting it.
Re:Firefox Monitor by swiftcoder on Wednesday June 05, 2019 @02:46PM (#20107835)
Gmail explicitly ignores '.' in email addresses. I don't think it's standard behaviour across other email systems, though, and even gmail didn't always ignore it.
Re:Firefox Monitor by koide on Saturday June 08, 2019 @02:45AM (#20131006)
You can't rule out that it wasn't publicly shown but you say that "evidence suggests" that they sold your address to spammers.

Do you have any evidence at all?