News for hackers. Stuff that matters.
Re:Why ProtonMail is more secure than Gmail by geofft on Monday October 23, 2017 @11:04AM (#15533689)
Threat model, threat model, threat model.

There are some people for whom "The government is literally after me, personally" is a valid threat model. There are some people for whom "Google employees with privileged access to Gmail are conspiring to be after me, personally" (one assumes there's a two-person rule for access to individual inboxes or deploying code that scans inboxes) is also a valid threat model.

However, those people should consider that the government will be willing to use either software 0-days or algorithmic 0-days to attack them (see e.g. Stuxnet taking out Iran's nuclear program using a previously unknown method of generating SHA-1 collisions, that looked kind of like how the academic community knew to generate collisions but with a different fingerprint), in the government case. Or that any interaction with anyone who uses Google must be avoided, in the Google case. See e.g. https://mako.cc/copyrighteous/google-has-most-of-my-email-be...

For normal people (which includes me and probably everyone else commenting here)? Google seems at least as likely, probably a tiny bit more, to protect me from threats like "A personal relationship has gone bad and someone who isn't a government and isn't Google is trying to impersonate be me" or "I don't want to lose access to my email" (remember that availability is a part of security!).

Re:Why ProtonMail is more secure than Gmail by zabuni on Monday October 23, 2017 @11:14AM (#15533760)
I think what's telling here is that the blog post does not point to Protonmail's own threat model.

https://protonmail.com/blog/protonmail-threat-model/

Which says don't use it if you are up against state actors and: "Sensitive business communications – You have sensitive business information that you want to make sure is protected from competitors and other malicious parties. For example, you fear a competitor may want to sue you under false pretenses to get access to sensitive data. In this case, ProtonMail offers a great deal of protection. ProtonMail will not release ANY data unless provided with an enforceable Swiss court order. To get such an order, the case must first work its way through the Swiss courts where stricter privacy laws might result in a different ruling. Even if an adversary went through the expensive and time consuming procedure of obtaining such an order, ProtonMail’s zero access cryptography means we would only be able to release data that is encrypted since we do NOT hold the decryption keys."

Given that they have Javascript to handle the decryption keys, couldn't they demand ProtonMail change the code delivered to your browser session to give up the keys? This would make the only extra security provided by this scheme would be the multiple court jurisdictions and the less tested legality of a court order making their product less secure, ala the FBI and Apple.

Re:Why ProtonMail is more secure than Gmail by tonyztan on Monday October 23, 2017 @11:30AM (#15533885)
I'm not sure there is a legal mechanism to force ProtonMail to add a backdoor...

> "Nearly every country in the world has laws governing lawful interception of electronic communications. In Switzerland, these regulations are set out in the Swiss Federal Act on the Surveillance of Postal and Telecommunications Traffic (SPTT) last revised in 2012. In the SPTT, the obligation to provide the technical means for lawful interception is imposed only on Internet access providers, so ProtonMail, as a mere Internet application provider, is completely exempt from the SPTT’s scope of application. This means that under Swiss law, ProtonMail cannot be compelled to backdoor our secure email system."

https://protonmail.com/blog/switzerland/

Re:Why ProtonMail is more secure than Gmail by benwilber0 on Monday October 23, 2017 @12:09PM (#15534228)
If a government really wanted access to a specific user's ProtonMail account, couldn't they get a court order from a domestic CA, say Verisign, to generate a fake certificate that they can use to MITM a browser session, and deliver key-stealing javascript to the user? I'm not sure what the state of certificate pinning is, but it seems that for the "uber security conscious users" they have instructions to check the SHA-1 fingerprints[0] manually. I feel like there are just an infinite number of technical ways a state actor with unbounded resources and legal access to basically every authority and pipe that operates the internet could MITM a service like this without compelling ProtonMail to do anything.

[0]https://protonmail.com/support/knowledge-base/protonmails-ss...

Re:Why ProtonMail is more secure than Gmail by geocar on Monday October 23, 2017 @05:01PM (#15536906)
> If a government really wanted access to a specific user's ProtonMail account, couldn't they get a court order from a domestic CA

Why bother?

If they can MITM ProtonMail, they might as well use letsencrypt which just requires you control the domain name (for some definition of control).

> I'm not sure what the state of certificate pinning is,

    Public-Key-Pins-Report-Only: pin-sha256="Jh0ZSUYEc97HRYcwZIOkH2jKOUpmQhLO48MYd1s5pRM="; pin-sha256="2ZnCTNQBrKShr4c1olKfwNG53KiL6qoNcQi65YGRBn8="; pin-sha256="1D76xWwHug9p4iQWVBiDZF+e3UcxtPte/ig5pkYnmRU="; max-age=300; report-uri="https://protonmail.com/pkp-report"

Looks like they want to know about violations...
Re:Why ProtonMail is more secure than Gmail by tonyztan on Monday October 23, 2017 @05:14PM (#15536984)
EV certificates must be submitted to CT logs, which means ProtonMail and the public will be able to detect the malicious certificate. If it's not a EV certificate, the browser user interface changes and a security-conscious user may notice. That said, if a powerful government is after a user specifically, it is just a matter of time and effort before the government gets in.
Re:Why ProtonMail is more secure than Gmail by pfg on Monday October 23, 2017 @09:07PM (#15538365)
> If it's not a EV certificate, the browser user interface changes and a security-conscious user may notice.

This is often used as an argument by EV advocates, but it doesn't hold up under scrutiny. An attacker with access to a non-EV certificate can selectively intercept only connections for subresources of the targeted site (i.e. JavaScript). The "main" connection would still use the EV certificate and thus show the browser indicator. This attack was first made public in 2008[1] and has been further refined in later work[2].

HPKP and the Expect-CT header provide some viable mitigations for this. That said, it seems unlikely to me that a nation-state adversary would choose to attack at the Web PKI level in this scenario. Compromising ProtonMail or the user's device would probably cheaper and less likely to be detected.

[1]: http://w2spconf.com/2008/papers/s2p1.pdf

[2]: https://www.blackhat.com/presentations/bh-usa-09/SOTIROV/BHU...

Re:Why ProtonMail is more secure than Gmail by chmars on Monday October 23, 2017 @12:48PM (#15534575)
ProtonMail has never painted an accurate picture of the surveillance requirements in Switzerland – and laws have been and are changing too.

Switzerland is not an island of privacy with regard to state surveillance – and with regard to private data privacy, it basically mirrors the European Union’s standard. According to Snowden documents, Swiss intelligence and security services are close partners with the NSA and other foreign services.

Re:Why ProtonMail is more secure than Gmail by ryanisnan on Monday October 23, 2017 @01:01PM (#15534688)
> ProtonMail has never painted an accurate picture of the surveillance requirements in Switzerland – and laws have been and are changing too.

Do you think that's partly because, like most countries, the truth is... obfuscated.

Re:Why ProtonMail is more secure than Gmail by pmoriarty on Monday October 23, 2017 @01:57PM (#15535330)
IANAL, but that just seems to say that under that particular law (SPTT), Internet access providers have to provide the technical means for lawful interception. It does not say that no other entity has to provide the technical means for lawful interception.

In other words, the law does not say that ProtonMail is exempt for having to provide lawful interception. They might still have to do so, based on some other law.

Further, it's quite conceivable that unlawful means (such as blackmail, threats, or bribery) could be used to coerce ProtonMail. That's not to mention perfectly lawful means of enticing them -- like appealing to their patriotism, willingness to help in a critical investigation, or demonstrating some credible threat.

Re:Why ProtonMail is more secure than Gmail by Canada on Monday October 23, 2017 @11:24AM (#15533833)
This attack actually happened years ago at a company called Hushmail. Law enforcement had the encrypted email provider serve malicious code to the target which leaked the secret key.
Re:Why ProtonMail is more secure than Gmail by mzzter on Monday October 23, 2017 @11:45AM (#15533992)
Hushmail operates out of Canada, though. Jurisdiction matters a lot here since Switzerland has a reputation for making it difficult for foreign governments.
Re:Why ProtonMail is more secure than Gmail by chmars on Monday October 23, 2017 @12:50PM (#15534594)
There is no such reputation.

Swiss authorities and security services cooperate closely with partners all over the world including the NSA. And there is a longstanding and working network of mutual legal assistance including the Convention on Cybercrime (CCC).

Re:Why ProtonMail is more secure than Gmail by oldengoldie on Monday October 23, 2017 @12:57PM (#15534660)
Cooperation isn't quite the same as cooperation. There's a world of difference between sharing intelligence on other countries and working together when conducting espionage elsewhere, vs actively attacking domestic targets. Rule of law is taken seriously, and government hacking is a thing - but the scope is very very narrow.
Re:Why ProtonMail is more secure than Gmail by tvaughan on Monday October 23, 2017 @11:43AM (#15533981)
This.
Re:Why ProtonMail is more secure than Gmail by the_stc on Monday October 23, 2017 @12:46PM (#15534562)
Our company is not legal (details in profile). We chose Protonmail to start because our biggest concern was getting our emails served to the government on request down-the-line. We pay a significant monthly charge to use their services and feel it is worth every penny.

A lot of people in our industry and others have this same model. It is not that the NSA is after you. It's local law enforcement. In our case, SEC and FBI. For average users, local LE will not have 0 days or anything special. Protonmail is out of reach for a lot of LE and that is important.

The best choice for us when we're fully operational is to run a Protonmail-like setup, self-hosted. Deal with mail issues and spam. It is a pain!

Re:Why ProtonMail is more secure than Gmail by ekianjo on Monday October 23, 2017 @11:18AM (#15533790)
> "I don't want to lose access to my email" (remember that availability is a part of security!).

Arent there many (difficult to judge how many) cases of people losing access to their Google account, and therefore about everything they had online (photos, email, videos, etc...). That is also scary enough, especially when it happens randomly with no clear reason why and the support of Google seems to be limited to sending info via forms in the hope of a future human interaction.

Re:Why ProtonMail is more secure than Gmail by aiiane on Monday October 23, 2017 @01:56PM (#15535322)
Nobody writes about the times where they successfully and painlessly got back access to their account after forgetting their password.

If a service has thousands of times more users than another, you'll expect weird edge cases to show up thousands of times more often.

Re:Why ProtonMail is more secure than Gmail by JumpCrisscross on Monday October 23, 2017 @11:26AM (#15533852)
> the support of Google seems to be limited to sending info via forms in the hope of a future human interaction

People underestimate the power of a calm, deliberate letter sent by post with an elected representative or two copied.

Re:Why ProtonMail is more secure than Gmail by linkregister on Monday October 23, 2017 @11:37AM (#15533938)
Why include the elected representatives? Is that an implied threat of “reinstate my email or these legislators will regulate you into being a public utility”?
Re:Why ProtonMail is more secure than Gmail by JumpCrisscross on Monday October 23, 2017 @02:48PM (#15535846)
> Why include the elected representatives?

It shows you're serious. Most people complain to blow off steam. This is what customer service handles. If you want something done at the corporate policy level, e.g. to have policy changed or have a decision made per policy reversed, you attack at higher levels.

The traditional form of leverage is legal. Have a lawyer pen a letter gets you out of customer service. It is as effective as it is expensive. Next best is a regulator (you can think of these as narrowly-scoped, publicly-funded lawyers). Unfortunately, nobody regulates Google.

So your final threat is getting a lawmaker pissed off with you. This is less about passing legislation (it's hard to pass legislation; everyone knows that) than creating an official, reliably-corroborated paper trail which could go public, causing PR damage, and/or damage relationships the company may want to lean on in the future.

More practically, I don't want to sit around writing and responding to letters. Having someone else do the back and forth with me Cc'd is more pleasant.

Disclaimer: I am not a lawyer. This is not legal advice. If you need legal advice, contact a lawyer.

Re:Why ProtonMail is more secure than Gmail by chimeracoder on Monday October 23, 2017 @11:27AM (#15533858)
> Arent there many (difficult to judge how many) cases of people losing access to their Google account, and therefore about everything they had online (photos, email, videos, etc...). That is also scary enough, especially when it happens randomly with no clear reason why and the support of Google seems to be limited to sending info via forms in the hope of a future human interaction.

There are, but that's not incorporated into a threat model because it's not a security issue (at least not a first-order security problem).

Re:Why ProtonMail is more secure than Gmail by dredmorbius on Monday October 23, 2017 @12:10PM (#15534238)
Denial of service (or access) is one of several possible security threats.

Unauthorised access, content modification or deletion, impersonation, and several other categories of security policy violations are also fairly typical.

Re:Why ProtonMail is more secure than Gmail by chimeracoder on Monday October 23, 2017 @12:19PM (#15534314)
> Denial of service (or access) is one of several possible security threats. Unauthorised access, content modification or deletion, impersonation, and several other categories of security policy violations are also fairly typical.

Most of the cases of people losing access to their Google account that I've seen are not ones which would could feasibly be induced by a dedicated attacker unless they already had access to your account in the first place.

That may be a part of your personal threat model and also your decision-making, but from Google's perspective, that's not a security issue.

Re:Why ProtonMail is more secure than Gmail by dredmorbius on Monday October 23, 2017 @12:56PM (#15534647)
Unusual access patterns or attempts may provoke lockouts.
Re:Why ProtonMail is more secure than Gmail by ehsankia on Monday October 23, 2017 @01:54PM (#15535299)
I definitely wouldn't say many. I can count the number of cases it has happened in the past few years on one hand, and as far as I remember, almost all of them got their accounts back.

Yes, you could argue that only the loud ones making noise get their accounts back, which my be true, but considering that billions of people use GMail, the fact that so few stories even show up means that it's probably safer than even air travel.

Re:Why ProtonMail is more secure than Gmail by kevinconaway on Monday October 23, 2017 @11:17AM (#15533783)
> see e.g. Stuxnet taking out Iran's nuclear program using a previously unknown method of generating SHA-1 collisions, that looked kind of like how the academic community knew to generate collisions but with a different fingerprint)

To my knowledge, it was Flame that did this not Stuxnet, and it was an attack on MD-5, not SHA-1 [1]

[1] https://en.wikipedia.org/wiki/Flame_(malware)

Re:Why ProtonMail is more secure than Gmail by ploggingdev on Monday October 23, 2017 @11:19AM (#15533800)
> "Google employees with privileged access to Gmail are conspiring to be after me, personally"

I thought employees do not have access to user data. Can anyone comment on this?

Re:Why ProtonMail is more secure than Gmail by zabuni on Monday October 23, 2017 @11:31AM (#15533894)
It's happened before: https://techcrunch.com/2010/09/14/google-engineer-spying-fir... If a person has enough access, and they have to, given that someone has to have admin access.
Re:Why ProtonMail is more secure than Gmail by londons_explore on Monday October 23, 2017 @11:58AM (#15534131)
Around 100 people have root @ Google. They get a tshirt with it on.

With months of effort researching tripwires and auditing systems, any of them could read your mail.

There's a pretty good chance they'd get caught by some auditing or alerting system they were unaware of though. Many of those systems are kept secret from employees for obvious reasons.

Any two employees collude to much more easily read your mail. There's probably ~1000 people in that position (not only the gmail team, but anyone who writes any kind of library code used by any of the databases, datastores, or application servers). They would leave audit records though, although they might go unnoticed.

Re:Why ProtonMail is more secure than Gmail by technofiend on Monday October 23, 2017 @12:38PM (#15534488)
That's cool in that it's such a small number. Netflix shared how they do ephemeral access by publishing bless *[1]. It would be cool to see how Google does it as well. Googling for the usual terms doesn't return anything.

[1]https://github.com/Netflix/bless

Re:Why ProtonMail is more secure than Gmail by DINKDINK on Monday October 23, 2017 @12:37PM (#15534481)
>100 people have root @ Google. They get a tshirt with it on.

A convenient way to put a target on your back. What benefit does this have to their security? Accountability?

Re:Why ProtonMail is more secure than Gmail by md_ on Monday October 23, 2017 @01:14PM (#15534806)
The t-shirts are a bit of jokey swag, not an access control mechanism. ;)
Re:Why ProtonMail is more secure than Gmail by DINKDINK on Monday October 23, 2017 @07:04PM (#15537664)
Yes, it’s a “hey everyone this person has the keys to the kingdom, target them” indicator.
Re:Why ProtonMail is more secure than Gmail by singron on Monday October 23, 2017 @07:46PM (#15537933)
It's likely that reading Gmail data and other sensitive actions require significantly less privilege than some Google-wide "root".
Re:Why ProtonMail is more secure than Gmail by londons_explore on Tuesday October 24, 2017 @05:08AM (#15540240)
Access controls are actually fairly locked down. I would guess the access control list for Gmail data is only ~10 people. If any of them were to make use of their access permissions, it would automatically trigger a review of their actions.
Re:Why ProtonMail is more secure than Gmail by joshuamorton on Monday October 23, 2017 @11:42AM (#15533972)
Worth noting that this occurred in 2009 (ie when gmail looked like this: https://1.bp.blogspot.com/_ZaGO7GjCqAI/SYD3g8LflXI/AAAAAAAAO...).
Re:Why ProtonMail is more secure than Gmail by geofft on Monday October 23, 2017 @11:52AM (#15534075)
I don't know anything about Google's internals, but, like, there's some data. It gets to your screen. There's code written by Google employees that makes that happen. That code gets modified on a regular basis by Google employees. If enough Google employees get together, they can modify that code to do whatever they want.

I expect that any single Google employee does not have access, in the sense that they've locked themselves out of making changes to their systems without a computer seeing multiple human approvals. But there is a point at which someone can fix that computer.

But yes, my point was that the threat model here isn't "one Google employee goes rogue," it's "multiple Google employees with extremely privileged access to Gmail and/or their code deployment servers all decide that they want to read your email without telling you, and nobody blows any whistles," which seems much more far-fetched.

Re:Why ProtonMail is more secure than Gmail by cisanti on Monday October 23, 2017 @11:29AM (#15533879)
If there is a will, there is a way. It's all about trust, but I'm sure st least publicly they have stated employees do not have that access.
Re:Why ProtonMail is more secure than Gmail by jstanley on Monday October 23, 2017 @11:12AM (#15533749)
> "I don't want to lose access to my email" (remember that availability is a part of security!).

Really? You've heard just as many stories of unexpected Google account closures as I have.

I'm quite confident ProtonMail just don't do that. And if they did, you'd have a much more credible chance of talking to a human and rectifying the situation.

Re:Why ProtonMail is more secure than Gmail by geofft on Monday October 23, 2017 @03:28PM (#15536203)
That is a pretty good counterargument, and I do think that you should count that risk when evaluating Google's security.

But I think there are lots of other options besides ProtonMail that will do the same. (I pay $50/year for Pobox.com, personally, and vaguely feel like paying a bit of money for my email instead of relying on a free service is worthwhile.)

Re:Why ProtonMail is more secure than Gmail by datawarrior on Monday October 23, 2017 @11:22AM (#15533809)
Actually ProtonMail does do this. They can't read your email so they can't know if you're actually abusing it via their terms of service. Thus if you file complaints against users ProtonMail will actually suspend the account without evidence until you clear your name.

It's abused fairly regularly in fact.

Re:Why ProtonMail is more secure than Gmail by tonyztan on Monday October 23, 2017 @11:33AM (#15533906)
Hmm... Could you provide a source? I don't think they do this. At least not for paid accounts with a long history.
Re:Why ProtonMail is more secure than Gmail by datawarrior on Monday October 23, 2017 @02:09PM (#15535447)
Can start here: https://twitter.com/protonmail/status/900097982212845570

There are a lot of cases but I'm at work and can't spend too much time collecting much. The gist however is that they are bound by Swiss speech laws, which are very ambiguous. "Inciting violence" is one such example, but of course, they can't see what you are supposedly inciting, so they suspend you.

Re:Why ProtonMail is more secure than Gmail by jstanley on Monday October 23, 2017 @02:48PM (#15535829)
That's not a very compelling example.