358 points · by foolinaround · 5y ago · 230 comments
Its not a defense against targeted attacks of individual devices.
Signal and E2EE stop dragnets, not targeted efforts. Which honestly is exactly what I want and seems like what we want in a free and open society. Monitoring shouldn't be the default but only happen when there is a warranted reason to monitor, preferable with a literal warrant. This embodies the idea of "innocent unless proven guilty" but balances the ability to move from suspicion to evidence gathering and minimizes the collection of data of innocent people. It's not "if you have nothing to hide then you have nothing to fear" but "if you have nothing to suspect then you have no reason to search." I don't know how a dragnet doesn't violate the 4th amendment.
Back in the day people used to, hilariously, have MOTD notices on all of their illegal servers saying the internet equivalent of "You have to tell me if you're a cop".
I always found it humorous what laws they'd cite, when they bother to, to say basically "By clicking this button you assert you're not law enforcement officer".
(https://9to5mac.com/2016/12/05/uk-police-have-a-new-tactic-f...)
I remember reading this a few years back. The title says it all. Why bother cracking codes etc when you can get a judge to sign THAT for you? :)
Going through the PDF of the legal document, on page 10, the screenshots have a description of the "Source extraction" (point): "....<some long zip filename-I assume the dump>/private/var/Containers/Shared/AppGroup/<long HEX number>/telegram-data/account<long number>/postbox/db/db_sqlite"
I got so many questions.. I believe Telegram does NOT encrypt group chats. And the default setting is that it does NOT encrypt 1-1 chats. You have to jump the extra hoop (a couple of taps) to start a new and encrypted chat (you cannot encrypt an existing chat).
So.. the chat was not encrypted? So they 'just' managed to bypass iPhone's lock, and dump all the storage, look for messaging SQLITE files, read them. Are we sure they didn't get that data from iCloud (and hiding it - with permission?). Page 11 writes: "Several videos from his iCloud depict him apparently showing off his cash." Could the authorities have gotten an automated backup from iCloud, the guy was using an unencrypted Telegram chat, so basically not much hacking took place?
Side note: big Supernatural fan here - page 10, the second 'blue' message writes "..Poughkeepsie". In the Supernatural universe "Poughkeepsie" is the Winchesters' secret distress signal to each other meaning that something is wrong and they are to drop everything and run.
PSA: On an iphone if you hold down the power button and a volume button for a second, your phone will lock into the state its in just after you turned it on. From here it can only be unlocked with your passcode. You can perform this gesture without taking your phone out of your pocket.
(Edit: When the phone is unlocked, you need to use power + volume down. Power + volume up while the phone is unlocked takes a screenshot.)
The typical security model for iOS apps assumes that the local device is secure, as its storage is already encrypted by the system based on its passcode/biometrics (on initial power-up biometrics aren't available).
End-to-end encryption within chat apps typically refers to encryption over the network. It does not include encryption of messages once they reach their intended recipients.
Of course, maybe bringing an unlocked laptop with details of your drug empire to a cafe wasn’t the best opsec out there.
In many cases, well-done E2EE like Signal stops dragnets and targeted efforts. Even with a literal warrant.
But my main point is that most people are afraid of large organizations of terrorists or bad actors will be able to discuss things without the ability for the FBI to surveil them. Well you can't have "large" and "vet everyone to an extremely high degree." Sure, this will make it more difficult to stop small groups, but those have been notoriously difficult to find and stop in the first place.
Its more than warrants, though. The evidence of the last few decades is that warrants aren't enough to block dragnets. Warrants can (and are) avoided through parallel construction. Unscrupulous agents will go off on "LoveInt" missions if it suits their ethics.
Universal encryption uses economic force to make dragnet surveillance infeasible where ethical force has failed.
Those folks walked over on public roads from a Trump rally down the street, live streaming on a hundred cameras as they did it. Of all the things that went wrong on the 6th, surveillance was clearly not one of them.
What I think you're remembering is more the point that Signal and Telegram provide harder-to-surveil forums for the people who got radicalized. That having all that chatter be private by default means that we won't see the next extremist faction before its born. And that's a fair enough point. Q communities on Facebook and Twitter made it easy to see where these people were coming from.
But even there, the nature of radicalization is that it happens in a big group. There may be surveillance-proof channels on Telegram where modern right wing extremists are assembling to find like minded souls, but finding them isn't a problem at all. The ones that are hard to find die out by definition.
Cynical view. Those made it easy to see what the manipulated fairly public mass of disenfranchised or disgruntled or actively evil Q/Trump supporters were discussing and planning. I’ll bet people like flexcuff guy and pipebomb guy weren’t discussing _their_ plans in such public forums. And I’ll bet there was a _lot_ of planning of the sort that used to take place in underground-public places like 4chan, which has now gone deeper underground and has much more stringent initiation rites for admitting new members. The sort of planning that involves manipulating and convincing “pawns” in their “it’s all about ethics in video game journalism” games to provide cover and take the fall for deeply serious shit...
THIS.
Thank you for your eloquence.
The point is to make it impossible to compromise everyone all at once and stream that data into a system designed to automate the manufacturing of consent.
It has to cost something non negligible to violate someone's privacy, and that cost will demand evidence and accountability from those who are authorized to wield that power.
I guess our hope is that they won't care what we said after a decade or two.
Problem solved.
Thinking about upgrading to a small commercial grade shredder or microwave.
Similarly with a microwave. The reflections and sparks might kill the microwave before the hard drive in your device is actually damaged. Please correct me if im wrong, but the microwaves shouldn't actually be able to flip the bits, but just heat up the material.
A shredder strong enough to tear the metal/silicon/plastic apart in small enough pieces sounds reliable.
Now you have a new problem: Destruction of evidence.
Specifically, you need to knowingly be the subject of an investigation. I'd assume destroying the phone when you see the cops coming but before you've seen the warrant would be a grey area. Please, lawyers, clarify.
I consider myself “recreationally paranoid”. I like to consider possible avenues of attack on me, and work out mitigations where possible. I’ve always considered it a subset of some people’s “hacker mindset”. The question of “How would I break into my stuff if I were motivated to, and what can I do to prevent it or make it more difficult to break?” provides me with a lot of satisfying thinking, even though I’m not planning to overthrow a government or move shipping containers of narcotics across borders.
I’d much rather have potential “evidence” against me on my phone, than on my laptop.
The stakes are very high though, and the attackers very motivated and well resourced, and I suspect there’s enough political pressure on them both to do only “a good enough job to make it look like they’re succeeding”. If anybody thinks the NSA isn’t several steps ahead of both Apple/Google and NSO/GreyKey, wtheyre fooling themselves...
Edit: it seems that Signal uses db protection but in a way that fails for a cracked phone like this (?): https://news.ycombinator.com/item?id=26096778
> That latter acronym stands for “after first unlock” and describes an iPhone in a certain state: an iPhone that is locked but that has been unlocked once and not turned off. An iPhone in this state is more susceptible to having data inside extracted because encryption keys are stored in memory.
I do wish Apple would add "restart" as one of the system actions in the Shortcuts app.
Even if this 'hackability' is an issue only with the security of the phone/hardware - able to be hacked and thus reach the decrypted signal messages - That also means, that person's Signal contacts also have their real identities exposed. (Where they wouldn't be if the account names/ids could be arbitrary like eg. wickr)
It’s not anonymity focused.
If I want to have private conversations with friends, family or colleagues signal is fine.
Edit: it seems that Signal uses db protection but in a way that fails for a cracked phone like this (?): https://news.ycombinator.com/item?id=26096778
To what end?
If there's no additional authentication required to open the app and just view the messages normally, it's useless because they can just open the app and view the messages.
If they use their existing PINs as key material then, given an OS-level exploit grants access to the underlying database, it can be cracked offline in... basically no time at all.
If they allow you to create a long, secure password for opening the app, basically nobody uses it because nobody wants to type a 30 character password on a phone touchscreen every time they want to check/send a message.
Pretty much any solution that doesn't absolutely destroy usability still relies on the OS performing some sort of authentication first. (As in the current solution where the encryption keys are stored in the OS-level key store.)
If you're that concerned about your security, just go disable FaceID/TouchID so the iPhone never leaves keys in memory when it's locked.
All these articles and "criticisms" of Signal started popping up right after the recent WhatsApp mini exodus. What a coincidence.
Thomas Brewster has been on the encrypted messaging apps and law enforcement beat for a very long time and puts these stories out with regularity
[0] https://comsecuris.com/blog/posts/path_of_least_resistance/ [1] https://i.blackhat.com/us-18/Thu-August-9/us-18-Grassi-Explo...
Because this is about the iPhone, where the baseband is just a USB peripheral. There simply is no DMA. iPads and Macs have DMA controls in place as well. There are other iPhone attacks for sure, but they have been fairly conscious about keeping the baseband isolated for a good long while. So it's less likely to be the vector. Apple didn't spend a ton of money on a custom security processor and OS stack just to let a 3rd party vendor firmware walk all over it. From page 41 of their old iOS Security Guide:
>"To protect the device from vulnerabilities in network processor firmware, network interfaces including Wi-Fi and baseband have limited access to application processor memory. When USB or SDIO is used to interface with the network processor, the network processor can’t initiate Direct Memory Access (DMA) transactions to the application processor. When PCIe is used, each network processor is on its own isolated PCIe bus. An IOMMU on each PCIe bus limits the network processor’s DMA access to pages of memory containing its network packets or control structures."
You'll notice in those papers you link, that "iPhone" and "Apple" do not appear as subjects of the paper. Cellebrite and the like are probably doing other things.
I'd like to talk about your other point though:
> I’ve never met a skilled developer willing to work for what the government pays
So there are a lot of very skilled developers working for the government right now. I'd agree you probably haven't met them. I've found that people who work for the government, especially on TS/SCI systems, do not go out and "network". They usually can't or won't talk about their work. Yes they get paid far lower than what they'd get from a SV startup, but maybe people aren't solely motivated by money. There are some nice things about working for certain parts of the government. First off, there is excellent job security. You pretty much never have to worry about getting fired, it isn't even in the back of your brain. Comparing that to a startup where you are almost always out of breath being worked too hard and you have that fear every day your job is going to disappear. Second, while the pay not be totally up to par, it also isn't bad. The hours are also great, there are laws that govern contracts and projects that limit employees to 40 hours per week. You will not be asked to work over that, even in "crunch" time, because it breaks competition laws when contracts are offered up to outside agencies who put in bids to do the work. Lastly, and most importantly, there is often a sense of pride or duty involved in the job. I know HN isn't exactly the most rah-rah-yay-government crowd, but there are a lot of people out there who have a desire to serve the public somehow. They believe they can do more good on the inside compared to those on the outside who just simply complain about the government.
I do make a lot less money in this role than I would in a startup environment or SV. But, work life balance is significantly better. Benefits are actually the best I've ever seen (no cost health plan and they put the full amount of the deductible in an HSA for me each year, generous 401k match with only a 1 year vesting schedule, summer hours so I can spend more time in daylight, a pension with a very easy vesting schedule, plenty of time off, etc).
I'd work a government job for similar reasons. It's not about pay for me. I need enough to live, enough to plan for retirement, and a little extra to enjoy my life.
I work to enjoy my life, I don't work to die early or just to work. My life comes first, work comes second and finding a company that respects that and encourages it to some extent, is worth more to me than high pay and a worse environment to work in.
As you get older, you are more valuable. No "silicon valley" syndrome about age: you'd never have to dye your hair, wear a hoodie to fit in, nobody will blink if you have to take a day off to take care of the kids.
You can be a real adult - nobody comes into those programs and expects a ball pit or a foosball table, and nobody seriously thinks someone right out of college but who is up on the "latest framework" could take their job - because the jobs are deeply, deeply technical and require lots of experience. If you blow the doors off of everyone else in programming, great! That's one dimension. But it usually isn't the only one.
"The pay is worse" - for software, undoubtedly. For hardware? It's usually a wash after adjusting for cost of living and the benefits are better on the defense side.
I like defense because the systems are usually pretty badass. We have people leave for FAAMG occasionally, so it's not like we don't know who the people who are "that good" are! :)
Many years ago, when my career first started, I was an idealist who thought the way I could give back (as someone who couldn't get into the military for physical reasons) was to work in the defense sector. I also tried very hard to get interviewed by an SV company, but I didn't qualify for an interview due to going to the wrong college and getting the wrong degree.
And I have worked on some seriously badass programs and with some really cool systems and people. In my older age, it's funny because I've come full circle. I'm actually using my experience, and the new all-remote world, to interview with some tech companies. I'm also starting to sour a lot on working with the government and military because my idea of "giving back" has become much more cynical. EDIT- I meant to say here that I've become much more cynical, and working with the government no longer feels like "giving back." Nowadays I give back by working on social issues.
BTW, I'm also upvoting / interacting with your comment because (a) I think you're getting downvoted by people who disagree with you, rather than by people who think you've broken some rule, and (b) I think your perspective represents a pretty common way of looking at SV from the outside world.
It was amusing to read and I don’t disagree with what you said but I don’t feel super qualified to judge either.
I’ve only seen that silicon valley start up culture from the outside when my partner worked at a YC company while they were going through a later stage fundraising round.
It wasn’t as cartoonish as you make it sound at all but your impression at least seemed in the ballpark of true.
Is that your bubble that's poorly skilled?
1. job security.
2. ideology.
3. attractive retirement plans.
4. interesting domain / things to work on.
If you have a burning passion for catching bad guys, then you go working for the people that are catching bad buys. Pretty simple.
Sure - the tech can (and probably will) be abused against regular folks, but for some people it's worth the price if it means busting another pedophile/human trafficking/terrorist/etc. ring.
It's a bit like asking why some doctors dedicate their professional lives to humanitarian work, when they could make 10x more as a GP in some cushy suburb. For some, ideology and mission counts A LOT.
What exactly are you asking?
2. The appeal of effectively being a spook has to attract some people to working for 3-letter agencies.
When the Roman Empire wanted something like water engineering or gold mining they found out who did it best, and then did invade the territory and enslave those who knew how to do it.
Steel traders from India will tell Romans it came from China so they did not invade it.
When the US three letter agencies want something from some company, they use a similar strategy: You are with us or against us. You can let us install backdoors in your software or you are a terrorist that support terrorists.
I am not particularly familiar with them, but having previously been someone who jailbroke my phone, several of the exploits used were originally delivered via plugging the phone in to another device, i.e. through the data port on it. Elimiating this may be to them a way to harden the phone against this, for both better (these tools) and worse (the JB scene).
This of course does not prevent remote or semi-remote wireless attacks, such as through the cellular baseband.
There's a setting in Signal where you can hide the screenshot in the app-switcher, but could still be triggered and stored somewhere. Or maybe they just got lucky and one of the guys had it disabled.
There is a screenshot in there showing it is directly parsing the Signal sqlite database. I am guessing on his device he had not set an access passcode to the Signal app so no key was required to decrypt the local message cache. Towards the end of the article the Signal creator hit the nail on the head saying this is a phone security issue and nothing to do with Signals security.
Genuinely curious about this statement. Is it tantamount to theft if the user migrates by choice?
This is a hard problem simply because of the medium. If you do encrypted instant messaging you need to have everything fairly exposed all the time. You simply can't make it as secure as something like encrypted email where you can lock down everything very strongly and only unlock it when you are in a safe environment. The extra level of security also means that keeping the old messages around is a lot less risky.
You could encrypt old messages separately, but the result would end up being very inconvenient.
Quite how Signal deals with notifications I’m not sure, perhaps your right and the encryption key s persistent while the app is in the background so it can show you the sender and message on the Lock Screen? But it doesn’t _have_ to be that way. Wickr (which I trust way less than Signal) seems to at least have its UI set up to imply that’s what it’s doing.
This is a trade off between server load and security.
I wonder if the method of "disappearing" the messages used by the app is vulnerable to forensic analysis or not.
There are rumors they can even decrypt HTTPS but I bet they would do their best to hide that if they actually could.
* Non-technical users either won't use it, or will use a weak key
* Technical users are better served by making sure their device is secure and hard-locked with a strong passcode (tip: 5 presses of the lock button on iPhone wipes in-memory encryption keys, essentially exiting "AFU mode")
Is this the same thing as holding down the lock button and one of the volume buttons on one of the newer iPhones? I'm referring to this doc: https://support.apple.com/en-us/HT208076
They can intercept post de-encryption data if they hack the firmware during design period and get access.
I don't think anyone would ever claim it did.
https://support.signal.org/hc/en-us/articles/360007320771-Se...
If Charlie is selling drugs to Bob and Alice, expiring messages don't help Charlie out if the others are finding ways to capture data on the screen before the message expires (which, is very common for very innocent, non-malicious reasons).
Similarly, though I've not tested this with signal specifically, other chat apps' implementations of expired messages can be futzed with by simply disconnecting the phone from all network connections.
People who need true privacy, regardless of the reason, aren't using chat apps readily available from stores since the apps only prevent passive snooping, they do nothing to help establish circles of trust. Such business is either conducted out in the open without concern for who sees what (you can see this in countless pictures online when people openly sell stuff like weed), or such business stays off chat apps completely because there's no way to validate who is holding the phone on the other end. The transactions occur indirectly using proven safe methods for the courier and buyer (dead drops, mail tricks, etc)
Are you going to insist that this last step, burning the plaintext copy, is not "valid security"? If you do, haven't we so mangled the meaning of security that it's not even intelligible any more?
I believe that "Let's not keep around unencrypted / minimally protected copies of our communications after we're done using them" is a perfectly valid security measure for two people to use. No, it doesn't solve "trust issues", in that one of them could simply refuse to delete the messages, but neither is it intended to.
Ie, use E2EE, use expiring messages, use out-of-band challenge/accept (ie, recipient has to mention keyword or conversation stays plausibly deniable) all seem applicable.
Sort of a reverse survivorship bias at play here.
I'm MOST concerned with Google/Facebook continuously circumventing laws and violating my opt-out preferences. I'd like to have a null advertising ID for instance. Can't do that.
And besides, you don't own root access on your devices. Apple/Google does. To think that a userspace app is secure where Google/Apple controls the kernel, or even something basic as remote screenshots is sort of silly.
Awesome. Good for you. However, there are people out there who are busy changing the world, holding the powerful to account, and generally being involved in society in ways that are less safe and more interesting than you do. This is about them, not about you.
It's kind of interesting to me to see the Apple bullshit propaganda being repeated on HN so many times.
Tell me, do you have root access to your phone and are your binaries created from reproducible builds? Otherwise it is marketing wank.
the reason spy agencies can do it is because they're not law-enforcement. that's why they have to use parallel construction, to launder the evidence trail.
However, they will hit you will civil asset forfeiture, freeze your accounts so you can't pay lawyers, run your name through the news so you lose your job, jail you until your trial etc.
AFAIK you can always use more secure data protection classes for your database[0]
They are using the default one, which is allowing AFU attack.
[0] https://support.apple.com/en-ca/guide/security/secb010e978a/...
Seems stranger than I thought
edit: After diving into code, they are using NSFileProtectionCompleteUntilFirstUserAuthentication for their DB file, probably they have some reason
And Signal specifically works like a red flag for monitoring software- this user has something to hide!
Less accurate though with every new user.