News for hackers. Stuff that matters.
Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by rmsaksida on Tuesday January 21, 2020 @05:59PM (#22112691)
Pavel Durov argued that WhatsApp's vulnerabilities are intentionally created as part of surveillance programs with government agencies. [1]

If that were true, Bezos's case would be an example of how that approach to security is double-edged. Backdoors can be just as useful to foreign intelligence as they are to whoever pushed for their implementation.

[1] https://t.me/s/durov/109

Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by iudqnolq on Tuesday January 21, 2020 @07:14PM (#22113236)
Pavel Durov also said

> The encryption of Signal (=WhatsApp, FB) was funded by the US Government. I predict a backdoor will be found there within 5 years from now.

He seems to enjoy throwing out loosly supported accusations. He might be right in some of them, but stopped clocks and so forth.

He's also been accused himself of deliberately sabotaging the security of his own encrypted messenger app (Telegram). There's no real evidence, but he did hire a bunch of math PhDs to figure out encryption from first principles

> The team behind Telegram, led by Nikolai Durov, consists of six ACM champions, half of them Ph.Ds in math. It took them about two years to roll out the current version of MTProto. Names and degrees may indeed not mean as much in some fields as they do in others, but this protocol is the result of thougtful and prolonged work of professionals. [1]

Note: Signal, like TOR, is funded in part by the Open Technology Fund of Radio Free Asia, which is controlled and funded by Congress. So far there has been no public evidence that this funding has come with any malicious strings. The stated goal of the fund is to promote democracy in developing countries, and Signal and TOR are obviously in line with that overt goal. Radio Free Asia used to be a CIA front during the Cold War, but there's been no public evidence that the transfer of control away from the CIA to Congress was in any way a sham.

[0]: https://techcrunch.com/2017/09/18/signal-moxie-marlinspike-t...

[1]: https://news.ycombinator.com/item?id=6916860

Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by tptacek on Tuesday January 21, 2020 @07:35PM (#22113375)
Trevor Perrin and Moxie Marlinspike won the Levchin Prize at Real World Crypto for Signal's cryptography; the Levchin Prize referees are a who's who of academic cryptography, including Dan Boneh, Kenny Paterson, and Nigel Smart; other Levchin winners have included Hugo Krawczyk, Mihir Bellare, and Joan Daemon.

Any suggestion that Telegram's cryptography is somehow comparable owing to "half of them Ph.D's in math", or that Signal's extensively-reviewed cryptography is backdoored, is pretty clearly risible.

OTF, meanwhile, funded basically the whole of the privacy-preserving cryptography field, for years (they may still, for all I know); for many years, they were simply throwing money at privacy projects to hire 3rd party auditors, none of whom were at all affiliated with OTF (how I know this is that we participated). People who claim OTF is somehow a snakey USG backdooring enterprise are saying more about themselves than they are about any kind of sophisticated understanding of how crypto software is built.

Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by bitL on Wednesday January 22, 2020 @11:26AM (#22118899)
Signal protocol might be airtight but nobody knows if any part of an app that is built on top of it doesn't leak keys somewhere in the pipeline. All crypto protocols work under certain assumptions and no protocol is 100% secure from all possible misuses when Mallory owns certain portions of infrastructure.
Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by UncleMeat on Wednesday January 22, 2020 @12:11PM (#22119507)
Of course they do. Reading bytecode is not much harder than reading source. Even reading decompiled binaries isn’t so hard.

There is zero compelling reason to believe that signal is uniquely flawed.

Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by bitL on Wednesday January 22, 2020 @12:25PM (#22119707)
Outside Signal app, if e.g. I incorporate the protocol to my own app via the provided source code, am I prevented from leaking keys?
Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by tptacek on Wednesday January 22, 2020 @01:12PM (#22120236)
Exactly what is your point? Durov is talking about Signal, not some hypothetical application you came up with to leak keys.
Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by bitL on Wednesday January 22, 2020 @04:16PM (#22122129)
Wasn't he talking about WhatsApp that integrates Signal protocol? Asking if integrating protocol allows the "host" app to leak keys is completely valid.
Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by UncleMeat on Thursday January 23, 2020 @10:58AM (#22128528)
Again, reading bytecode is not hard. Even reading decompiled binaries isn't very hard. If WhatsApp was leaking keys on the side it wouldn't be too difficult to find, especially given how incredibly high profile it is as a target.

Open source vs closed source is not meaningful here.

Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by bitL on Thursday January 23, 2020 @02:29PM (#22130903)
Alright, I got what you meant. Do you know if anyone performed bytecode-level analysis on WhatsApp clients already? Just curious, it's nothing I really need.
Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by vunie on Tuesday January 21, 2020 @09:50PM (#22114116)
Has there been any weakness found in Telegram's encryption?
Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by eeniac on Wednesday January 22, 2020 @02:41AM (#22115457)
Had to exit read only mode to address this.

While there's only one vuln that have been discussed publicly at HN. The only issue is they are in russian as well.

At least one more was exposed[0] by the same person shortly after, i mean days after the initial. Over here[1] the same researcher wonders whether any other flaws exist.

And here's[2] how the self-proclaimed `part time-troll` Pavel Durov (the Telegram CEO) reacts to [1]. To me it's obvious he is being haugty towards HN community with `venerable HN cryptographers`.

To add to his general slandering approach towards competition while handling own product flaws without any transparency and publicity mind his company is now under investigation by SEC[3].

[0] https://translate.google.com/translate?sl=auto&tl=en&u=https...

[1] https://translate.google.com/translate?sl=auto&tl=en&u=https...

[2] https://translate.google.com/translate?hl=&sl=ru&tl=en&u=htt...

[3] https://www.natlawreview.com/article/let-slip-dogs-war-sec-v...

Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by ShorsHammer on Tuesday January 21, 2020 @10:26PM (#22114306)
Its default settings are nothing to be desired from a messenger app.

And for the paltry $200k they are offering for breaking it I'd bet you could find a magnitude more with little effort on the grey markets.

But no, absolutely no proof the underlying crypto has been broken. It doesn't need to be when government requests for data stored on their servers does more than enough.

Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by wruza on Wednesday January 22, 2020 @01:13AM (#22115063)
Meanwhile, whatsapp still not blocked in Russia and there is no good explanation for that besides:

So far, Roskomnadzor has "no urgent request" to include Viber and WhatsApp messengers in the register of organizers and distributors of information. According to Interfax, this was stated by the head of the Department, Alexander Zharov. He was asked when these companies will be included in the register. "We had a stormy substantive dialogue with the telegram messenger," the official recalled. "We are consulting with all other companies on this topic until there is an urgent request to include them in the register."

Maybe gn. Zharov uses whatsapp for chatting with his family and they didn’t like the appearance of mail.ru’s tamtam.chat.

Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by Erlich_Bachman on Wednesday January 22, 2020 @06:54AM (#22116741)
If you know some basic things about Russian government, this can easily be explained by the fact that policy makers are very inefficient, incompetent in technical matters and more often than not decisions are very poorly researched. Just look at the fact that Telegram still works everywhere or the way that even the supposedly most secret russian organization (the secret military police GRU) have handled the poisoning of Sergei and Yulia Skripal, and subsequent outage of the agent that did it... It seems that russian governemnt or police still have a hard time understanding even the basics of what the internet is and how the information can be shared or found or leaked in our age. So banning of Telegram vs not banning of Whatsapp really does not say a lot.
Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by lowdose on Wednesday January 22, 2020 @11:08AM (#22118725)
On the other hand it could also be done on purpose in both cases you mention. Deliberately showing incompetence of your digital capabilities is a very efficient way of counter intelligence. The Skripal case was and is a very effective way for the Kremlin to spread fear. Vladimir Putin was most important person of the year for 5 years at Fortune while controlling a GDP of Italy. Vladimir Putin is maximizing the resources he has in a very good way irrespectively what one thinks about his actions and consequences specifically. As long as most people think incompetence every investment he makes will have a significant better outcome.
Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by Erlich_Bachman on Wednesday January 22, 2020 @01:21PM (#22120335)
Well that is certainly a valid theory. Although I have a hard time believing that you have lived any long time in Russia recently or followed closely on the developments, because most people that do would not entertain that theory for more than a minute because it's quite clear that the level of incompetency and corruption in the government is insane. Putin sure has a lot of power, but it does not come from technical prowess or IT/infosec departments, it comes from sheer corruption and what is basically a military dictatorship structure of the country, where he is the one that has and is appointing most "friends" in/to the right places.
Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by jek0 on Wednesday January 22, 2020 @03:20AM (#22115659)
AFAIK, Telegram's private conversations are encrypted with private keys stored on device _only_ (not on the server). At least it's what they claim. If true, government requests for data stored on servers are probably not enough.
Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by newscracker on Wednesday January 22, 2020 @05:11AM (#22116157)
The secret chats are indeed end to end encrypted, but they have some important exclusions and limitations:

* Group chats can only use the default encryption, not end to end encryption.

* The end to end encrypted chats are tied to a single device, and there's no sync across devices (in contrast, all chats on Wire are end to end encrypted and sync across devices within a limited time period).

The default use cases of almost all users has the chat messages stored in plain text on the Telegram servers. This is one of the reasons search (done on the server side) is quite fast on Telegram.

P.S.: Despite these limitations, I prefer Telegram for its superior UX and for not having metadata shared with Facebook. My wish is that someday Telegram makes E2E the default everywhere.

Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by andromeduck on Wednesday January 22, 2020 @01:13AM (#22115064)
Don't even need that, intercepting SMS is enough.
Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by nikita2206 on Wednesday January 22, 2020 @03:49AM (#22115792)
True SMS is not a protection against government but telegram supports the second factor which is password in their case.
Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by tptacek on Wednesday January 22, 2020 @01:50AM (#22115214)
What encryption? Last I checked, there was no E2E group encryption (Telegram has a bizarre web page claiming that TLS to their servers addresses the privacy threat), and 1:1 E2E is disabled by default.
Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by ryanlol on Wednesday January 22, 2020 @06:49AM (#22116707)
For a very long time there was no TLS to Telegram servers, only their own MTProto. I think they introduced TLS wrapping at some point as an anti-censorship measure, not sure if that’s even deployed in all markets.

E: Well, I took a look at the desktop client with wireshark. It appears to just do MTProto on port 443, not TLS. When I use iptables to drop traffic on port 443, it falls back to MTProto over HTTP(!).

They list some alternate transports on their website, but it looks like you need to host them yourself. https://core.telegram.org/mtproto/transports

Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by eeniac on Wednesday January 22, 2020 @11:40AM (#22119051)
Common security wasn't respected at Vkontakte as well. The social network was serving plain http login form and internal communication unencrypted until 2013[0].

I reminisce that when Durov was questioned about the abscence of secure connection to the servers, he told it's a too much of overhead and may impact QoS badly.

Some time they rolled out an `always use https` option and buried it deep in the user preferences. Meaning most of non-tech savvy audience kept using the service unaware they are not secure.

The obvious pattern here is they tend to use plain http as a default transport unerminig established security practices.

[0] https://translate.google.com/translate?sl=auto&tl=en&u=https...

Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by ajconway on Wednesday January 22, 2020 @02:13PM (#22120921)
> it falls back to MTProto over HTTP

Could you expand on their usage of TLS and HTTP? Surely they don't send anything in plain-text over HTTP?

Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by ryanlol on Wednesday January 22, 2020 @02:55PM (#22121341)
Looks like they don’t use TLS at all by default, just MTProto on port 443 or MTProto over HTTP. Comms to the telegram servers are always encrypted with MTProto, but tunneling MTProto over TLS would make any attacks on MTProto much harder (perhaps impossible) to execute.

I thought they used TLS wrapping in some markets for censorship resistance, but apparently that is not the case unless you set up your own proxy.

Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by skinkestek on Wednesday January 22, 2020 @07:44AM (#22117016)
> What encryption? Last I checked, there was no E2E group encryption

You of all should know better than to conflate the general concept of encryption with the very nice special case that is end-to-end encryption!

> and 1:1 E2E is disabled by default.

It is not disabled in any way. It just isn't default.

There are really enough real reasons to criticize Telegram, absolutely no reason to 1. redefine words to have narrower definitions 2. Write outright misinformation.

I respect you a whole lot but your somewhat sloppy handling of facts detract a whole lot from the overall image.

Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by tptacek on Wednesday January 22, 2020 @09:58AM (#22118029)
I rest my case.
Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by PlasticTank on Tuesday January 21, 2020 @10:58PM (#22114476)
I don't know of any directly related to it's encryption but multiple protest organizers were identified and arrested by the Hong Kong Police Force through Telegram, I'm not 100% sure but I believe they just added lists of suspected phone numbers onto their phones and looked in Telegram see which one's matched to Group admins.
Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by newscracker on Wednesday January 22, 2020 @05:15AM (#22116168)
What happened in Hong Kong was that the authorities created Telegram accounts and added thousands of phone numbers to their contact lists. From that, they got to know which numbers are using Telegram and then were able to do some more tracing. This flaw exists in WhatsApp and Signal too, where anyone who has your number in their contacts list (though you may not have their number in your contacts) will know the moment you join those platforms and will be able to see you on it.

When this design flaw came to be known, Telegram released a newer version where the user has more control on who can know that they're on Telegram. With that change, even if you had someone's number in your contacts list, you wouldn't know if/when they join/are available on Telegram unless they choose to make themselves visible.

Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by Polylactic_acid on Wednesday January 22, 2020 @12:26AM (#22114882)
That theory is quite possible. If the police join the group, they know the usernames of all of the people in the group, they can then start adding numbers to their contacts and if any of the usernames from the group show up they can then look up who owns the phone number in the government database.
Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by PlasticTank on Wednesday January 22, 2020 @02:32AM (#22115407)
It surprises me that they don't require both of you to have each others phone numbers in your contacts lists before giving away identifiable information.
Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by newscracker on Wednesday January 22, 2020 @05:16AM (#22116179)
Telegram released a new version with that exact same requirement to enable visibility. The settings in Telegram have also been expanded for this. On the other hand, this same vulnerability exists (and continues to exist) in WhatsApp and Signal.
Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by AshwinDurairaj on Wednesday January 22, 2020 @02:35AM (#22115429)
There were also claims of android keyboardd being used to log messages on Signal (and maybe Telegram), by Naomi Wu and others. No proof for this though.
Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by sillysaurusx on Tuesday January 21, 2020 @10:27PM (#22114310)
https://web.archive.org/web/20150109203032/https://moxie.org... comes to mind. Ancient history now, but it's a fun read.
Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by alfongj on Wednesday January 22, 2020 @12:07AM (#22114803)
Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by godelski on Tuesday January 21, 2020 @09:55PM (#22114149)
> like TOR

From my understanding, TOR was created with the intent of hiding US intelligence communications[0]. From my naive understanding, this only works if 1) no one else can back door it (which is critical since it is presumed you're using it to hide from highly technical state actors) 2) there are a sufficient number of users that are not intelligence actors (so you can hide among them. Otherwise you get "Oh, that person connected to a TOR node, let's go pick them up and grab their computer").

Maybe I'm naive, but it seems like the crypto people and the US government have aligned interests here.

> The stated goal of the fund is to promote democracy in developing countries

With an additional alignment of interests, I think many believe that being able to "talk shit" on your leaders is a key part to democracy. And if you're able to do this without fear of your government coming after you (aka: backdoors), then you will freely acknowledge your dissent, find support, and democracy is the likely outcome. I'm not sure if that's true, but I've definitely heard intelligence people suggest that.

So even if it was controlled by the CIA, would this be an issue? It seems like it is actively in their best interest to use real encryption and no backdoors. You don't want all your potential rebels to get caught. You want them to be able to organize out of the eyes of the government that the CIA is trying to overthrow. Having a backdoor just puts a timebomb on it, and one that isn't going to last very long.

Or I guess there's another answer to this. The CIA is pretty fucking dumb. Which is a reasonable answer that I'll accept too, but I think the people working on this stuff would be well aware (since they're probably experts in hacking similarly encrypted systems)

[0] https://en.wikipedia.org/wiki/Onion_routing

Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by decasteve on Tuesday January 21, 2020 @10:22PM (#22114293)
From what I recall, talking to one of the Tor founders about this, Tor was created with overseas US military personnel in mind. E.g. A soldier’s location could be compromised through foreign ISPs if they accessed sites like .mil domains directly. Tor was a way of preventing this problem. There were other use cases but this one stood out for me and it was one of the initial ones considered.
Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by Erlich_Bachman on Wednesday January 22, 2020 @06:48AM (#22116702)
It is spelled "Tor".

https://support.torproject.org/about/why-is-it-called-tor/

    Note: even though it originally came from an acronym,
    Tor is not spelled "TOR". Only the first letter is
    capitalized. In fact, we can usually spot people 
    who haven't read any of our website (and have 
    instead learned everything they know about Tor from 
    news articles) by the fact that they spell it wrong.
Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by godelski on Wednesday January 22, 2020 @01:26PM (#22120408)
I think a lot of people think "TOR" (myself included) because they think "The Onion Router" and acronyms are capitalized. I'm willing to forgive people for making the mistake of following conventional patterns in English.
Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by iudqnolq on Wednesday January 22, 2020 @09:53AM (#22117983)
Thank you. I didn't know.
Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by monort on Wednesday January 22, 2020 @02:56AM (#22115544)
I think this is the reason he is sure about backdoors in messengers (US agency supposedly asked about that several of his developers):

https://twitter.com/durov/status/873868773119451136

Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by fidz on Tuesday January 21, 2020 @10:04PM (#22114195)
Well,

> To protect the data that is not covered by end-to-end encryption, Telegram uses a distributed infrastructure. Cloud chat data is stored in multiple data centers around the globe that are controlled by different legal entities spread across different jurisdictions. The relevant decryption keys are split into parts and are never kept in the same place as the data they protect. As a result, several court orders from different jurisdictions are required to force us to give up any data.

https://telegram.org/faq#q-do-you-process-data-requests

If we register Telegram, Telegram has our master key. I am not sure they are really that secure. Yes, it makes politically hard to disclose any data, but it does not mean impossible.

Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by jchw on Tuesday January 21, 2020 @10:19PM (#22114273)
Telegram also supports proper E2E in the form of secret chats, though the UX is definitely not as good (for example, last I checked it did not support group chat or multi device.)
Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by cies on Wednesday January 22, 2020 @04:25AM (#22115948)
EDIT: Was under the impression Telegram served closed source clients. Turns out it does not. I stand corrected.

OLD COMMENT:

E2e using a client that is not opensource (on a system that is not trusted) is not helping much.

E2e where the server is not open source should be okay, because the server-end can only snoop on some meta data (how much, when, what IP, chunk sizes, etc.) but not the content.

Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by jchw on Wednesday January 22, 2020 @04:39AM (#22116007)
The Telegram clients are open source.
Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by cies on Wednesday January 22, 2020 @05:50AM (#22116336)
oops. i'll fix it. tnx for pointing out.
Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by sangnoir on Tuesday January 21, 2020 @08:00PM (#22113512)
It's not as if non-WhatsApp zero-days are hard to come by for nation-states. If it wasn't a video shared by WhatsApp, it was going to be an iMessage text PDF appearing to be from one of his assistant's email. I don't think governments need to author vulnerable software: they can outsource that to the private sector for $0 by doing nothing and decompiling/fuzzing/analyzing whatever comes out.
Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by eljimmy on Tuesday January 21, 2020 @06:46PM (#22113048)
That's one hell of a tinfoil-hat theory. How would you even orchestrate that from within a public company with so many developers involved?
Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by Arelius on Tuesday January 21, 2020 @07:17PM (#22113260)
As an engineer that has basic permissions to our build and deployment system (unrelated non communication application) I could pretty easily think of multiple steps in the build where I could inject and link in pretty much arbitrary code.

For instance, anything that can hook directly on a build machine, or artifact upload, or even just simply precompiled into one of the black-box 3rd party dependencies that basically never get recompiled.

All of these mechanism have vectors that would be easy to obfuscate and don't rely on any changes to any repo code. I think there is a good chance that a normal engineer could likely hide something that could make it into a final build product.

Now, combine that with the fact that even the most open of companies have some sort of protected infrastructure (Could be permissions on an S3 bucket, locked data-center or even just a locked away Cat-5 cable in the process. Someone high in the org could easily inject some process that could stay hidden from even the most prying of internal eyes.

Now, while I agree that it's a bit tinfoil-hat-y to believe that this actually -is- happening. I absolutely believe that the technical capability is both there and well within practical effort. And combine this with a few bad incentives it's easy to see how it -could- happen.

Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by asdfasgasdgasdg on Tuesday January 21, 2020 @07:52PM (#22113472)
Is the "our" you're referring to Whatsapp? If not, then I'm not sure how much we can derive from your experience. There are places that take build and deployment security much more seriously than what you're describing.
Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by ta999999171 on Tuesday January 21, 2020 @11:44PM (#22114714)
We're talking about a company owned by Facebook, right?
Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by Arelius on Wednesday January 22, 2020 @04:56PM (#22122485)
My point specifically is that by increasing build and deployment security. You actually are decreasing the amount of people who can potentially review and audit the build. Thus making it more likely that someone in power could introduce a backdoor that nobody else in the large org knows about.
Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by asdfasgasdgasdg on Wednesday January 22, 2020 @05:08PM (#22122586)
I don't think that's true? Increasing build security is about limited the number of folks who can modify the process. That's orthogonal to auditability.
Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by Arelius on Thursday January 23, 2020 @01:36PM (#22130290)
Fair Point. It is orthogonal, but it is often correlated in practice. Quite often permission systems to prevent modification are also used to prevent visibility.

I'd also say it's not completely unrelated. Let's consider a hidden build machine process. Once you've hidden that, preventing modifications to the build process by people "not in the know" makes it much less likely that said process can be discovered (either on purpose or accident) If everyone can and does have full access to those build machines it increases the likelihood that someone making a modification could run into said process.

Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by rtkwe on Tuesday January 21, 2020 @06:59PM (#22113143)
My first pass at a way would have some point in the code where various hooks can be triggered for a feature like downloading a file under the guise of creating previews of various types of files and simply have the production build sent to the Google Play store include an additional small plugin that looks for a specific header and then hands over the keys to the kingdom to whatever payload it finds. It's simple and there's generally a very small portion of people looking at the disassembled code from the Play Store. You could even have it produce two versions one for any internal testing on the live version and one with the small backdoor plugin.

Doing it this way you only really have to control a core part of the release team to hide the slight of hand between the published version and the clean 'published' version.

Alternatively just bury the same thing deep in the codebase using techniques like people use for the Obfuscated C competition every year. Any changes could be delayed/deprioritized/handled by a team in the know about the backdoor.

Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by tmpz22 on Tuesday January 21, 2020 @07:05PM (#22113182)
Its probably easier to just bribe/compromise the on-site DBA who has access to the physical hardware. Dump the raw data and decrypt/analyze it offsite.
Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by rtkwe on Wednesday January 22, 2020 @09:41AM (#22117883)
It's a little unclear what was actually compromised in this if it was just what was available WhatsApp on their end that's definitely an easy way. If it's more that WhatsApp was being used to read more data from the phone than what had already been sent via WhatsApp (or if WhatsApp doesn't have access to things sent because it's E2E encrypted) it'd require something more complex than that.
Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by kunglao on Tuesday January 21, 2020 @07:31PM (#22113355)
Boeing's 737 MAX, despite heavy regulations, designed the software to depend on just one sensor. Didn't put any limit on how far down the plane could be pushed.

These are not any individual who would do deliberately. I bet these conversations go differently for ex need to certain kinds of debugging vs the improbability of actually pulling off an attack or prioritising a release dealing and making a design decision to implement a feature in a specific way which is intended to be updated later on opening up windows for attack. They would genuinely be improbable unless someone knows that they are there and committed enough to try.

Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by jonas21 on Tuesday January 21, 2020 @08:27PM (#22113670)
That seems to support the argument that security vulnerabilities in WhatsApp are most likely unintentional errors / incompetence. Unless you're suggesting the 737 MAX was intentionally sabotaged as well?
Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by vokep on Tuesday January 21, 2020 @08:32PM (#22113699)
It supports the argument that code with major flaws (intentional or not) can make it into production with nobody noticing until consequences of that flaw make its existence clear.
Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by dannyw on Tuesday January 21, 2020 @09:24PM (#22113974)
You just need to control the upstream libraries and have some subtle memory overflow. No dodgy commits other than a "update libXYZ to latest patch".
Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by ottowinter on Tuesday January 21, 2020 @07:10PM (#22113214)
Well, it doesn't have to be that complicated.

Just underfund the security department, don't adopt systems/languages that prevent the worse bugs, and keep the core protocol proprietary.

On the other side let the governments invest in operations to hack the product.

Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by eeZah7Ux on Tuesday January 21, 2020 @09:42PM (#22114063)
It's very easy: hire more developers than security engineers.

Vulnerabilities will appear and be discovered by the security analysts in your government.

Whey they suspect other countries have the same 0days they'll notify you of it and you fix it.

Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by kevml on Tuesday January 21, 2020 @11:07PM (#22114521)
What if I hire 20 mediocre security engineers and 1 malicious product engineer? This argument can go both ways...
Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by eeZah7Ux on Wednesday January 22, 2020 @11:06AM (#22118701)
What argument? What's your point?
Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by ta999999171 on Tuesday January 21, 2020 @11:43PM (#22114707)
Please read the Snowden files on PRISM and similar.
Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by resters on Tuesday January 21, 2020 @06:48PM (#22113064)
Considering how few developers understand the subtleties of security, it would not be all that difficult.

Also, FWIW we know that Google did this with its data center breach and likely many other cases.

At WhatsApp/Google scale the attack is extremely cost effective.

Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by aodin on Tuesday January 21, 2020 @07:07PM (#22113197)
Are you referring to the data center breaches exposed by the Snowden leaks? Because Google claimed that they were unaware of the breach and quickly took action to correct it [1]. Are you suggesting that Google was complicit?

[1] https://www.zdnet.com/article/meet-muscular-nsa-accused-of-t...

Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by resters on Tuesday January 21, 2020 @07:12PM (#22113220)
I don't think Google has given us any reason to believe that it was not complicit. For instance, why not include warrant canaries on gmail accounts?

There is not really any fundamental difference between abetting the data center breach and opting not to offer warrant canaries. Likely tens of thousands of Google users are searched every day due to easy FISC warrants and wide investigative nets.

The state sponsored attacks on Google would of course allow Google to plausibly deny cooperation, but obviously Google has every incentive to cooperate fully, as is evidenced by the lack of warrant canaries.

Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by iudqnolq on Tuesday January 21, 2020 @07:27PM (#22113324)
Warrant cannaries are of dubious legality and have yet to be seriously tested in court. It makes total sense that a large company would not adopt something potentially illegal.

A person on StackExchange put it well

> The distinction between revealing the existence of the subpoena by action, rather than by inaction, is a false one. It's exactly the kind of cutesy legal formality that non-lawyers love to rely on, but real judges ignore. If you tell someone: "Hey, you know John Smith's three sons, Joe, Ted, and Bill? Joe and Ted are good people; they have never molested any children. As for Bill--well, I don't have anything to say about Bill." If Bill is not a child molester, you have defamed him, and you are not going to convince a judge otherwise. [1]

Here's how the EFF puts it.

> Are there any cases upholding warrant canaries?

> Not yet. EFF believes that warrant canaries are legal, and the government should not be able to compel a lie. To borrow a phrase from Winston Churchill, no one can guarantee success in litigation, but only deserve it.

I'm also not sure how warrant canaries relate to your parents' point.

[1]: https://law.stackexchange.com/a/333

Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by throwaway17_17 on Tuesday January 21, 2020 @09:26PM (#22113978)
I would just point out there is a very clear legal distinction between action and inaction. Further, all of this only applies to the issuance and proper service of an order compelling silence. I think the EFF’s common statement that if the canary requires affirmative action to not deploy the court is in a tough spot to compel that action. Also, I can say with a large amount of certainty, that no judge blatantly ignores procedural or semantic formalities out of hand. The judge in question may way the relevant factors and disagree with an argument, although some judges built caseloads of precedent on just such minor quibbles, but it is literally the judges job to at least consider a technical argument on its merits.
Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by resters on Tuesday January 21, 2020 @07:42PM (#22113412)
Your comment reinforces my point. Google would be extremely reluctant to utilize warrant canaries because of the uncertain legal consequences of doing so.

The same applies to declining to cooperate with government surveillance operations. We don't really know how the government likes it when a big company obstructs its surveillance goals.

On HN today was a headline about Apple reversing course on a business decision voluntarily, simply to please government.

> I'm also not sure how warrant canaries relate to your parents' point.

The points above I believe link the two business decisions.

Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by nl on Tuesday January 21, 2020 @10:43PM (#22114394)
There were a bunch of Google engineers who worked through Christmas that year who sure we're pretty pissed off about the unexpected work and were furious at the NSA.
Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by resters on Wednesday January 22, 2020 @12:53PM (#22120047)
Of course. Most Google engineers would not be involved in it, and would of course be doing their best to keep Google's customers' data secure.
Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by nl on Thursday January 23, 2020 @12:56AM (#22125201)
Yes, but security engineers know about "break ins". It's impossible to hide that kind of thing from the people who's job it is to investigate.
Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by ghostpepper on Tuesday January 21, 2020 @07:04PM (#22113173)
Can you elaborate on the google data center breach? Are you saying it was orchestrated by google?
Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by resters on Tuesday January 21, 2020 @07:15PM (#22113248)
Not orchestrated, but happily tolerated. All Google needs is to be able to plausibly deny complicity, but the other practices of Google (such as not offering warrant canaries on all Google accounts) indicate that Google is eager to cooperate and please governments, so it would have been easy to leave a few doors unlocked, hire a plant (with solid itsec skills), etc.
Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by nostrademons on Wednesday January 22, 2020 @01:35AM (#22115152)
I was at Google at the time of the Snowden disclosures. People there were furious, and encrypting internal traffic became a top priority immediately afterwards.
Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by resters on Wednesday January 22, 2020 @12:59PM (#22120128)
Of course. That is the correct response once the attack is known. To most people, unencrypted traffic vs encrypted traffic seems like an obvious security oversight, but many others exist that are not so stark and obvious sounding.

My point is that all indications point to Google being unbelievably cooperative with the US Government, essentially allowing whatever legal or extralegal (per Snowden) back doors were requested.

It is not much of a leap to conclude that Google was both aware and cooperative with the harvesting of unencrypted traffic. This does not mean that all employees were aware of it.

The analysis should be to discover how few employees would have had to be complicit for the attack to be carried out successfully.

There is no way that such an attack would succeed if too many were aware, since it is obviously in the extralegal (Snowden revelation) category, and since most Google employees are ethical humans, it would have provoked outrage if widely known.

Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by ghostpepper on Tuesday January 21, 2020 @09:16PM (#22113929)
Was this reported in the news? Why did I not hear about it?
Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by Scapeghost on Wednesday January 22, 2020 @05:43AM (#22116306)
> WhatsApp's vulnerabilities are intentionally created as part of surveillance programs with government agencies.

This has been obvious in places like the United Arab Emirates (aka Dubai) where services like FaceTime etc. (sometimes even voice chat in games) are blocked by the government but they allow WhatsApp (but not WhatsApp voice calls).

Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by ryanlol on Wednesday January 22, 2020 @06:21AM (#22116539)
Not really, Dubai blocks VOIP because phone carriers lobbied for that. This has the added benefit of forcing people to make insecure, easy to intercept, regular phone calls.
Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by Analemma_ on Tuesday January 21, 2020 @07:21PM (#22113292)
Within days of their launch, Telegram was discovered to have huge vulnerabilities that resulted from them rolling their own crypto: https://news.ycombinator.com/item?id=6948742, so I'm not sure they should be throwing stones about other people's bugs.
[dead]
Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by ta999999171 on Wednesday January 22, 2020 @12:18AM (#22114848)
Full disclosure: I've moved on from Telegram, but I'd use them again in a heartbeat if it was them or a FB owned property.
Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by ryanlol on Wednesday January 22, 2020 @06:18AM (#22116519)
You’re full of shit. There’s nothing theoretical about that vulnerability (almost certainly a deliberately planted backdoor), it allows the Telegram servers to selectively MITM private chats.

> there has been no successful implementation of them.

What does this even mean? Only Telegram can perform this active attack, obviously you haven’t seen it implemented.

Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by ta999999171 on Wednesday January 22, 2020 @06:59AM (#22116766)
+1, it was not the bugs I thought it was, extracting foot from mouth - sorry.
Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by ryanlol on Wednesday January 22, 2020 @06:14AM (#22116486)
Pavel Durov also shipped what looks very much like a intentional backdoor in Telegram https://m.habr.com/en/post/206900/
Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by coldtea on Wednesday January 22, 2020 @07:29AM (#22116921)
>Backdoors can be just as useful to foreign intelligence as they are to whoever pushed for their implementation.

Not a big problem if you're the top dog and most foreign countries can't do much in practice even if they have the intelligence...

Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by tootie on Tuesday January 21, 2020 @11:15PM (#22114559)
Vulnerabilities are good for intel. Intrusions aren't their concern. If anything it lets them go to Congress and ask for more funding.
Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by ReptileMan on Wednesday January 22, 2020 @04:23AM (#22115942)
There are no whatsapp vulnerabilities in this case, or encryption breakdown. To exfiltrate a lot of data as the article says to need sandbox escape and privilege escalation.
Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by maximente on Tuesday January 21, 2020 @07:17PM (#22113256)
one thing that needs to be accounted for is that, IIRC, we just recently had US AG Barr make a stink about encryption based on Facebook tech (either WhatsApp/Messenger i believe) being some anti-law enforcement issue.

does the theory suggest that US DoJ does not know how to exploit these backdoors, but other agencies (CIA/NSA, foreign intel services) do?

Re:Jeff Bezos's phone 'hacked by Saudi crown prince' by BoorishBears on Tuesday January 21, 2020 @07:20PM (#22113284)
There's no incentive to not publicly make a stink about encryption, even if they have backdoors.

If anything there's incentive to do so even if they do, in creating plausible deniability.