News for hackers. Stuff that matters.
Re:Gmail blows up e-mail marketing by caching all images on ... by 300bps on Thursday December 12, 2013 @03:55PM (#6897184)
As someone who co-invented email image bugs with a million other programmers over 15 years ago, you are absolutely correct. (for the curious, my reason for coming up with it was to tell when a customer who requested a car insurance quote from the company I worked at read their email which instantly initiated an outbound call to them).

The entire article is just plain wrong. For instance:

This move will allow Google to automatically display images, killing the "display all images" button in Gmail.

Go ahead and do that, Google and you'll bring Web bugs back completely. How about this:

1. Marketer embeds a "jpg" file whose filename consists of a GUID that matches back to a user.

2. When you load that "jpg" file, it gives you an image unique to that user - maybe an MD5 hash of their GUID filename or some other thing unique to them that holds no value.

This would uniquely identify that a user reads their email. How would Google stop this? They can't cache it for multiple users. Both the filename and contents are unique to the user. If you think they could otherwise detect it for this particular situation, I could think of 100 other ways to do this that would not be able to be tracked in the same way.

There's no way Google or any other email provider can legitimately automatically load email images and not open the door to web bugs. No way.

Re:Gmail blows up e-mail marketing by caching all images on ... by EGreg on Thursday December 12, 2013 @04:02PM (#6897246)
There is ONE way: fetch every single image right away regardless of whether the email is even valid. And then don't store the cached version if there is no valid email. Otherwise store it and display to the user.

Since every result will be a positive - false or not - no information is revealed to the marketer AND the images are displayed.

Re:Gmail blows up e-mail marketing by caching all images on ... by 300bps on Thursday December 12, 2013 @04:54PM (#6897545)
There is ONE way: fetch every single image right away regardless of whether the email is even valid. And then don't store the cached version if there is no valid email. Otherwise store it and display to the user.

Sure, in theory that works. In practice, you make an easy may to do a Denial of Service attack against Google or innocent third parties so it in actuality would never work.

Send a million emails to Gmail accounts that each have fifty links to 1 MB JPG files hosted all over the Internet. The size of the file you send to Google in the email is what - 1k? The size you are making Google download is 50 MB. This is a 50,000:1 attack ratio. You could take Google down with a 56k modem.

You could also launch a denial of service attack against any other target, courtesy of Google. Send a million emails to Gmail users that downloads JPGs on a target web server. You can even make up the JPG names to be non-existent. Again, figure your email is costing you 1k in transmission and Google is putting tremendous strain on the target server downloading 404 error messages.

Re:Gmail blows up e-mail marketing by caching all images on ... by EGreg on Thursday December 12, 2013 @05:21PM (#6897690)
Google does SPAM filtering and has no obligation to deliver those messages. It can throttle its acceptance of messages from the same IP block. How is this different than any other (distributed) DNS attack mitigation?
Re:Gmail blows up e-mail marketing by caching all images on ... by 300bps on Friday December 13, 2013 @06:58AM (#6900121)
It can throttle its acceptance of messages from the same IP block

There are literally tens of millions of computers infected with malware making them part of a botnet (ex: http://www.csmonitor.com/USA/2011/0629/Biggest-ever-criminal...). The cost to hire 1 million of these computers (all with unique IP addresses) to send emails out is trivial. You'd be shocked how cheap it is.

Now here's the thing... SPAM is pretty easy to spot because someone is trying to sell something. In this case, you're not trying to sell anything. You just need Google to download things. So you send an email with "Vacation Pics" in it. Sure, Google could filter them out but they're all from unique IP addresses from home computers across the country/world and they aren't trying to sell anything. They probably could filter out some of them at the cost of filtering out a lot of false positive legitimate mail.

Internet security is complex - you seem to think otherwise.

Re:Gmail blows up e-mail marketing by caching all images on ... by thaumaturgy on Thursday December 12, 2013 @05:44PM (#6897802)
Snowshoe spam is pretty common now, with a lot of the larger networks mixing in spammers with legitimate traffic (lookin' at you, ovh.com).

As it is right now, spam is just mostly a drain on network and human resources.

This attack would also target storage. Google has enormous amounts of storage, so I've no idea whether it would be effective against them or not. But, it would be very effective against any smaller service providers that tried to do the same image caching thing (which so far seems to be a roundly bad idea, IMO).

It would also open up the possibility of using Google as an attacker to take down other sites. If Google's servers immediately requested the image for caching, then just send out a few million messages to Google addresses, each one with a unique URL pointing to some big image file on some site you want to take down. Most sites will accept a query string after an image URL, so ... bob's yer uncle. As it is now, this isn't an effective attack because you need to get people to actually open up the email message and then click "Display images", all within a short period of time.

Re:Gmail blows up e-mail marketing by caching all images on ... by ivanca on Thursday December 12, 2013 @06:06PM (#6897915)
Nope; still the same filtering; they are not going to cache things detected as SPAM; so an attacker would have to fool the anti-spam algorithm first... good luck with that!
Re:Gmail blows up e-mail marketing by caching all images on ... by thaumaturgy on Thursday December 12, 2013 @06:22PM (#6897990)
I wasn't describing a new tactic for spamming, I was describing possible new tactics for targeted attacks. They're different things.
Re:Gmail blows up e-mail marketing by caching all images on ... by ivanca on Thursday December 12, 2013 @06:24PM (#6897996)
An attack that relies on the possibility of being able to send millions of emails without being detected as spam; so it is unlikely to succeed.
Re:Gmail blows up e-mail marketing by caching all images on ... by thaumaturgy on Thursday December 12, 2013 @06:45PM (#6898094)
Gmail has probably the best spam filtering in the world, but you seem to think it's flawless, and it's not. I just now signed into my old Gmail account for the first time in ages. There's spam in there, and recent too. Roughly one per day by the looks of it -- messages that aren't newsletters, or from previous contacts, or anything that I signed up for.

And spammers aren't even that smart, they're just numerous and financially motivated.

If somebody wanted to annoy someone else with this, they could.

And, again, even if this doesn't work against Google directly, it certainly would work against other service providers who decide to follow Google's lead.

Heck, just look at the recent popularity of the WhatsApp spam that spread malware to tons of people (including Cryptolocker in some cases), or the "Secure Document" phish that made the rounds in Gmail in September.

Re:Gmail blows up e-mail marketing by caching all images on ... by ivanca on Thursday December 12, 2013 @07:35PM (#6898341)
Ok I see your point; but I want to add that one of the reasons your old account has spam is because you don't use it; I don't know what algorithm they are using but it certainly relies on usability data; I don't know exactly but could be: what language you usually speak in; what hours of the day you receive and read important email, what subjects you read about, etc etc.
Re:Gmail blows up e-mail marketing by caching all images on ... by thaumaturgy on Thursday December 12, 2013 @08:23PM (#6898510)
Yeah, that could be. I have to spend a significant part of my time now dealing with spam (sysadmin), and Gmail's handling of spam is years ahead of most of the tools I have available.
Re:Gmail blows up e-mail marketing by caching all images on ... by Dylan16807 on Friday December 13, 2013 @11:50AM (#6901463)
But this is Google. They already want and try to load every url in existence. DoS attacks based on flooding actual content are largely irrelevant to them.

Attacks on third parties are trickier, but you can do the same sort of thing today; how often is this tactic used already? And can't you download 404 messages yourself for cheaper than 1k?

Re:Gmail blows up e-mail marketing by caching all images on ... by pud on Thursday December 12, 2013 @06:47PM (#6898107)
Google could check if GUID_1.jpg is the exact same image as GUID_2.jpg.

If the same, just show a cached version. No more tracking.

(of course, email marketers would thwart this by making each image slightly different. google would respond by checking if the images are almost exactly the same. repeat. whack-a-mole ad infinitum).

Re:Gmail blows up e-mail marketing by caching all images on ... by jtheory on Thursday December 12, 2013 @10:31PM (#6898922)
Eh. When they fetch GUID_2.jpg to check its content, it's already too late at that point; the marketer has been notified that this particular user has opened the email.

Google might save themselves some storage space, but not anyone's privacy.

If Google changed their policy to fetch all images when the email is delivered, that basically delivers a false positive to all marketers/spammers/etc. -- which is better than more accurate info, but it's still worse than just not loading the images.

It's still a confirmation that the email address is valid, plus... who wants to give spammers (or marketers, for that matter) a false positive? The unsophisticated ones won't realize that it's a Google change; they'll just put you on the "interested" list and move on.

Re:Gmail blows up e-mail marketing by caching all images on ... by maccard on Thursday December 12, 2013 @10:36PM (#6898937)
But you can't do that without requesting both images from the host.
Re:Gmail blows up e-mail marketing by caching all images on ... by 300bps on Friday December 13, 2013 @06:35AM (#6900052)
Please (re)read point #2 I originally made which addresses your point.