News for hackers. Stuff that matters.
Re:EU Digital Markets Act, aimed at Google, Apple, Amazon, a... by easton on Wednesday July 20, 2022 @12:57PM (#32168657)
Isn't the answer for Apple to provide operating-system level restrictions to apps (regardless of source) that make it so the only way any application on the system can access the identifier is by permission from the user? I wouldn't be surprised if this is how it works right now anyway, just because an app is deployed by an enterprise developer doesn't mean it should be able to bypass the app tracking transparency prompt.

Or does the EU law prevent them from having private APIs/system components period? It seems like many people are making the assumption that this means that every single sideloaded app will be able to bypass all of the privacy/security features on the device, and I don't see why that would be. My understanding is that this is for "fairness", which would mean that apps that are sideloaded would have the same level of access as those on the App Store, meaning they use the same APIs that trigger the same prompts.

Re:EU Digital Markets Act, aimed at Google, Apple, Amazon, a... by derefr on Wednesday July 20, 2022 @01:02PM (#32168739)
No, because this isn't about OS-level identifiers; it's about things like e.g. applications working together to track you by passing permacookies through Shared Containers; or about apps that ask for microphone privileges then listening for ultrasound beacons in retail stores to determine their location.

These are the sorts of prohibited behaviors that can be heuristically recognized by technical means (e.g. static analysis), but where any such recognition would necessarily result result in tons of false positives; and so those issues, when raised, must be passed to a team of human auditors for determination.

This is, by-and-large, why App Store submissions — even for updates — still require that human-auditor step. They're always watching for those seemingly-minor "this app got sold to someone evil" updates that slip in spyware — the kind you see often with Chrome Extensions.

Re:EU Digital Markets Act, aimed at Google, Apple, Amazon, a... by easton on Wednesday July 20, 2022 @01:10PM (#32168883)
Your point is valid, but I think those examples are fixable. Permacookies could be fixed as simply as "Would you like to allow {EvilApp} to access data from {EvilPartnerApp}?", as there aren't a lot of reasons that apps should be passing data between each other without user consent (or the share sheet).

The second example has already been fixed with the microphone indicator from 1-2 versions back, where a light shows up in the corner whenever the microphone has been activated (and swiping down tells you what app activated it). A notification could be added if an app tried to activate the microphone when it wasn't in the foreground (but I don't think the OS lets you do that anyway?)

Re:EU Digital Markets Act, aimed at Google, Apple, Amazon, a... by derefr on Wednesday July 20, 2022 @01:33PM (#32169288)
One other obvious "Turing-hard" spyware side-channel, is that it's basically up to the application developer to come up with a list of Internet domains it should be able to connect to, to put into the app's entitlements; and it's up to humans at Apple to determine whether that list is sane — often by starting up the app with syscalls to the network stack shimmed/traced, doing packet captures, and seeing what the app says to each of the domains it lists itself as entitled to talk to.

You'd think that maybe restricting connections to e.g. domains that are rooted in a zone the developer has proven ownership of, would be fine... but there are third-party advertising, analytics, and fingerprinting services that allow you to CNAME them as subdomains of your domain to evade ad-blocker signature recognition.

And, of course, no user could ever be expected to figure any of this out if asked in a prompt. "Example App is asking me to allow it to connect to abcdefg.example.com? Well, they own that, don't they? Why wouldn't I allow that?"

Re:EU Digital Markets Act, aimed at Google, Apple, Amazon, a... by TylerE on Wednesday July 20, 2022 @04:57PM (#32172214)
Asking the user sucks. All it does is train users to click yes without thinking about it because they just want to get on with their life. (See: The ubiquitous GDPR cookie prompts).

ANY "solution" that puts more burden on the user isn't.

Re:EU Digital Markets Act, aimed at Google, Apple, Amazon, a... by petre on Saturday July 23, 2022 @09:00AM (#32202895)
They could just ask once for defaults not every time and have a per app dialog where the user could tweak the permissions, like browsers do. For instance I have almost everything blocked in the browser: camera, location etc.
Re:EU Digital Markets Act, aimed at Google, Apple, Amazon, a... by easton on Wednesday July 20, 2022 @08:31PM (#32174309)
They do it for location access, calendar access, notification access, and clipboard access for every app. Access to shared containers shouldn’t be a common occurrence outside of once when the app is set up.
Re:EU Digital Markets Act, aimed at Google, Apple, Amazon, a... by tekknik on Thursday July 21, 2022 @09:31AM (#32179124)
You didn’t disprove what your parent said. People still just tap yes on them. I ran an experiment and put little snitch on my wife’s laptop. She just clicked “accept” every time it popped up without question.
Re:EU Digital Markets Act, aimed at Google, Apple, Amazon, a... by thirdsun on Thursday July 21, 2022 @05:55AM (#32177445)
Well, I'd love it if the GDPR consent prompts were anything like Apple's privacy prompts.

The problem with consent prompts on websites is that they are rarely in compliance with the GDPR.

Re:EU Digital Markets Act, aimed at Google, Apple, Amazon, a... by tekknik on Thursday July 21, 2022 @09:32AM (#32179140)
The industry will always find ways around regulation. And what we’re left with is a confusing set of spaghetti laws.
Re:EU Digital Markets Act, aimed at Google, Apple, Amazon, a... by nodamage on Wednesday July 20, 2022 @05:03PM (#32172278)
People always make this argument in these kinds of threads and I wonder how it isn't blatantly obvious that operating-system level restrictions are woefully inadequate to deal with unscrupulous developers. Put yourself in the mindset of an unscrupulous developer for a moment, can't you think of a hundred ways to abuse permissions granted by the user or operating system to violate privacy?

Take, for example, this: https://www.reddit.com/r/ios/comments/w27x6j/uber_does_not_r...

Re:EU Digital Markets Act, aimed at Google, Apple, Amazon, a... by Apocryphon on Wednesday July 20, 2022 @05:15PM (#32172419)
If these abuses happen under the aegis of the current App Store, doesn't that nullify the argument that App Store review is sufficient protection?

This also ignores that it's conceivable that Apple can harden iOS's existing permissions system.

Re:EU Digital Markets Act, aimed at Google, Apple, Amazon, a... by nodamage on Wednesday July 20, 2022 @05:41PM (#32172765)
> If these abuses happen under the aegis of the current App Store, doesn't that nullify the argument that App Store review is sufficient protection?

Not at all. App Store review is not perfect and no one expects it to be. That doesn't mean it has no value or that we should get rid of it entirely. Otherwise you could make the same argument about any system involving unscrupulous actors: "people still kill despite there being laws against murder, doesn't that mean the law is pointless?"

> This also ignores that it's conceivable that Apple can harden iOS's existing permissions system.

Curious how you think this would actually solve the issue I linked above.

Re:EU Digital Markets Act, aimed at Google, Apple, Amazon, a... by Apocryphon on Wednesday July 20, 2022 @05:52PM (#32172909)
> App Store review is not perfect and no one expects it to be.

But Apple is clearly presenting it as such.

> That doesn't mean it has no value or that we should get rid of it entirely.

That is correct, but right now it is the only game in town. There's no secondary stores that present it with competition. Already we read about top-10 grossing apps that are actually scammy. Perhaps Apple will strengthen its App Store when presented with alternatives.

> Curious how you think this would actually solve the issue I linked above.

It really depends on what mechanism that Uber is using to bypass the notifications systems. But off the bat, iOS could force even more granular alerts to the user when sensitive permissions are required.

Curious too, how you think that App Store review currently solves this issue. Uber is already too significant to the platform for Apple to do much more than give them a slap on the wrist, as seen historically.

https://www.cnet.com/news/privacy/apple-tim-cook-threatened-...

Re:EU Digital Markets Act, aimed at Google, Apple, Amazon, a... by nodamage on Wednesday July 20, 2022 @06:05PM (#32173037)
> But off the bat, iOS could force even more granular alerts to the user when sensitive permissions are required.

How does having more granular alerts actually solve this issue?

> Curious too, how you think that App Store review currently solves this issue.

Well, obviously it doesn't, currently. App Store review needs to update their rules to address this type of abuse. Uber is big but they've taken hard line stances against bigger apps before (e.g. Facebook).

> https://www.cnet.com/news/privacy/apple-tim-cook-threatened-...

Sounds like a success story, imagine the alternative scenario where there was no review process and Uber could get away with this unimpeded.

Re:EU Digital Markets Act, aimed at Google, Apple, Amazon, a... by Apocryphon on Wednesday July 20, 2022 @06:09PM (#32173075)
I don't think it's a rules update thing. It's more like review didn't uncover this behavior. (In the past Uber had gone all the way to use geofencing to evade reviewers and regulators.) Maybe this could've been only uncovered through long-term testing by reviewers who actively use the app day to day. Maybe they need such a process that does that.

> Sounds like a success story, imagine the alternative scenario where there was no review process and Uber could get away with this entirely.

It'd say 60-40. The 40% downside is that Apple deigned to go through with actually pulling Uber from the store, even just for a few days. Do you think they'd do anything even remotely similar over the notifications permission leak you cited?

> How does having more granular alerts actually solve this issue?

More restrictive and more transparent handling of permissions. Maybe this mechanism was caused by Uber bundling some sort of library that led to permissions leak. Perhaps the OS could expose that permission being triggered.

Re:EU Digital Markets Act, aimed at Google, Apple, Amazon, a... by nodamage on Wednesday July 20, 2022 @06:28PM (#32173239)
> More restrictive and more transparent handling of permissions. Maybe this mechanism was caused by Uber bundling some sort of library that led to permissions leak. Perhaps the OS could expose that permission being triggered.

I don't think you've thought this all the way through. Once a user grants me permission to send them push notifications because they want to know when their ride shows up, you can't really stop me from pushing them ads through the same channel.

Re:EU Digital Markets Act, aimed at Google, Apple, Amazon, a... by Apocryphon on Wednesday July 20, 2022 @06:34PM (#32173295)
Then it sounds like we have found ourselves a problem that is unsolvable both by OS-level protections and App Store review restrictions, and perhaps we should look beyond to other ways to rein in Uber.

> Once a user grants me permission to send them push notifications because they want to know when their ride shows up, you can't really stop me from pushing them ads through the same channel.

Wait, can't an improvement upon the OS be to make it more granular so that Uber is forced to establish separate permissions channels for rides (vital) vs. ads (not-so-vital), and that every time a notification of a certain type appears, the user is given the option to mute that channel entirely?

Re:EU Digital Markets Act, aimed at Google, Apple, Amazon, a... by nodamage on Wednesday July 20, 2022 @06:55PM (#32173482)
Sure, you can offer me different notification channels for rides vs ads. But remember, I am an unscrupulous developer. How are you going to stop me from sending you ads through the rides channel?

My underlying point, of course, is just because the operating system provides certain APIs, does not mean they are going to be used in good faith.

Re:EU Digital Markets Act, aimed at Google, Apple, Amazon, a... by Apocryphon on Wednesday July 20, 2022 @06:58PM (#32173520)
What I mean is if a notification presents itself, allow the user to mute it. If that channel was intended for rides, then the unscrupulous developer simply disables their own app.
Re:EU Digital Markets Act, aimed at Google, Apple, Amazon, a... by nodamage on Wednesday July 20, 2022 @07:16PM (#32173679)
That's pretty unfortunate for the end user who is then forced to choose between having all notifications or not at all.
Re:EU Digital Markets Act, aimed at Google, Apple, Amazon, a... by hellisothers on Wednesday July 20, 2022 @10:43PM (#32175171)
Fight the good fight, this is all valid concerns, I don’t look forward to the Netflix store to download Netflix, the Spotify store to download a Spotify, etc
Re:EU Digital Markets Act, aimed at Google, Apple, Amazon, a... by Apocryphon on Thursday July 21, 2022 @12:58AM (#32175924)
Both Netflix and Spotify are having mounting problems with user retention and growth. Pulling their apps off of the official, most highly-trafficked, App Store is literally suicide for them. Not to mention the inherent difficulty of creating and maintaining their own app stores, of which trying to convince users to sign up for would be a hurdle on its own.

Perhaps they could team up with Facebook and create a rival app store of those who don’t want to pay the 30% tax. Of which they can all hemorrhage users together- it should be noted that FB is also having issues maintaining and growing DAU.

Re:EU Digital Markets Act, aimed at Google, Apple, Amazon, a... by blub on Wednesday July 20, 2022 @02:27PM (#32170094)
Many of the restrictions that Apple added along the years were reactions to abuse by app developers (which in reality nowadays are "legal malware developers"). Everything you can think of has been tried: from reading the installed list of apps, spying on the clipboard, scraping location data from pictures, fingerprinting phones based on camera sensor or motion sensor and many others.

Permissions represent one of two pillars of their strategy against legal malware developers. The second one is the rulebook associated with the AppStore, preventing publishing non-compliant apps and banning developers for breaking said rules. A classic example is Facebook misusing enterprise certificates to install "Facebook research" which allowed them almost unrestricted access to the data of the users. Apple revoked their enterprise certificate, which also affected internal applications that Facebook employees were using. Facebook relented.

If Facebook launches their own app store, the second pillar is completely circumvented. Additionally they will find ways around the technical limitations, be it through use of private APIs, tricking users into clicking confirmations or bribing them. Technical limitations are not enough when dealing with malicious actors.

Re:EU Digital Markets Act, aimed at Google, Apple, Amazon, a... by petre on Saturday July 23, 2022 @09:12AM (#32203008)
> If Facebook launches their own app store, the second pillar is completely circumvented

Meta be forced to offer their adware/spyware Facebook app through the Apple app store as well, as many people will not agree or won't have the technical knowledge to install more than one alternative app store. Apple will probably be forced to provide a list of alphabetically ordered app stores to choose from in the initial iPhone setup. It's quite convenient that their own app store starts with an A.

Re:EU Digital Markets Act, aimed at Google, Apple, Amazon, a... by nuker on Wednesday July 20, 2022 @06:46PM (#32173409)
> that make it so the only way any application on the system can access the identifier is by permission from the user?

And let's say the user says No. Today the app will be forced to work without it. By Apple Store rules. Tomorrow the app will say "this permission is required for app to work".

Re:EU Digital Markets Act, aimed at Google, Apple, Amazon, a... by 8note on Thursday July 21, 2022 @12:26AM (#32175767)
So nobody downloads the app? Or are you afraid that other app users don't care about your needs, and are trying to force them into agreeing with you?

The government offers a democratic way to determine these requirements

Re:EU Digital Markets Act, aimed at Google, Apple, Amazon, a... by nikanj on Thursday July 21, 2022 @01:57AM (#32176234)
When we tried to restrict cookie tracking via voluntary consent, every site installed an cookie consent overlay, where agreeing to cookies is one click, not agreeing is seventy-eight clicks.
Re:EU Digital Markets Act, aimed at Google, Apple, Amazon, a... by headsoup on Thursday July 21, 2022 @07:54AM (#32178269)
Almost every site I've had this pop-up on required no more than 2-5 clicks -> manage cookie options -> either select ok because everything but 'required' is already off or deselect a couple of options then ok. That's easy after doing it a couple of times, it's pure laziness to say that's too hard, and we should not accept that as a good excuse to remove it.
Re:EU Digital Markets Act, aimed at Google, Apple, Amazon, a... by tekknik on Thursday July 21, 2022 @09:38AM (#32179219)
It’s easy but very annoying. Especially when you have a secure setup that randomizes identifiers or removes cookies after the session such that the next session and every session after that you get the prompt. And how many people do you think actually take the time to deselect things? Your example here is the simplest case. Many sites it’s much more than 5-7 clicks as the pop up has a tabbed interface with 10+ checkboxes per tab. What was this supposed to accomplish again? Harass users?
Re:EU Digital Markets Act, aimed at Google, Apple, Amazon, a... by nuker on Thursday July 21, 2022 @02:34AM (#32176441)
> So nobody downloads the app?

Some apps are unavoidable for most people, like whatsapp or facebook.

Re:EU Digital Markets Act, aimed at Google, Apple, Amazon, a... by ThatPlayer on Thursday July 21, 2022 @03:55AM (#32176854)
WhatsApp is avoidable with this same law forcing interoperability with other messaging clients. Facebook's app is avoidable with a browser and Facebook.com . Actually WhatsApp's app is avoidable in the same way.
Re:EU Digital Markets Act, aimed at Google, Apple, Amazon, a... by tekknik on Thursday July 21, 2022 @09:34AM (#32179172)
They’re all avoidable by just not using them. Use that fancy text message feature of your phone to communicate. 30 years ago these apps didn’t exist and people somehow continued to exist without them.
Re:EU Digital Markets Act, aimed at Google, Apple, Amazon, a... by hammyhavoc on Thursday July 21, 2022 @04:08PM (#32184301)
Implying SMS is anywhere near comparable to modern-day IM is hilarious, it isn't even encrypted. RCS makes SMS look archaic.

Future is Matrix.

Re:EU Digital Markets Act, aimed at Google, Apple, Amazon, a... by tekknik on Friday July 22, 2022 @11:15AM (#32192837)
Because everybody needs their conversations encrypted. What was that liberal saying, what are you hiding? Most people are not targeted by some state actor
Re:EU Digital Markets Act, aimed at Google, Apple, Amazon, a... by hammyhavoc on Friday July 22, 2022 @11:55AM (#32193382)
Dude, get with the times. With a few bucks of hardware, anybody can intercept SMS all day long, that's why 2FA via SMS is considered bad form.
Re:EU Digital Markets Act, aimed at Google, Apple, Amazon, a... by tekknik on Sunday July 24, 2022 @09:03AM (#32213091)
Ok, now tell me why i want to snoop on my neighbors SMS? Or why they want to see me asking my wife what to make for dinner?

Are you aware of man in the middle attacks? Do you think encrypted channels are safe from state actors?

Also most phones don’t even use SMS anymore, and instead go through an encrypted server to make it so you can hide your traffic from your neighbors.

Get with reality, not everybody wants or needs what your selling here.

Re:EU Digital Markets Act, aimed at Google, Apple, Amazon, a... by hammyhavoc on Sunday July 24, 2022 @02:58PM (#32216510)
It isn't about neighbours, it is about criminals.

Of course I am aware of this.

Spend $16 and sit in a coffee shop for an hour, guarantee you'll intercept plenty of SMS: https://arstechnica.com/information-technology/2021/03/16-at...

Not selling anything here considering every reasonable solution to this problem is something offered for free, or can be mitigated by a user with FOSS.

Re:EU Digital Markets Act, aimed at Google, Apple, Amazon, a... by tekknik on Thursday July 28, 2022 @12:50AM (#32260599)
Yea totally normal for a majority to use SMS in my country when both platforms send messages through their own encrypted servers. I don’t have this problem, nobody in my family does, so now explain to me why I should use matrix?
Re:EU Digital Markets Act, aimed at Google, Apple, Amazon, a... by tekknik on Thursday July 21, 2022 @09:33AM (#32179158)
Those are very avoidable. Try work apps like slack, teams, concur.
Re:EU Digital Markets Act, aimed at Google, Apple, Amazon, a... by hammyhavoc on Thursday July 21, 2022 @04:08PM (#32184307)
I just bridge them to Matrix, and get it all in Element.
Re:EU Digital Markets Act, aimed at Google, Apple, Amazon, a... by tekknik on Friday July 22, 2022 @11:16AM (#32192853)
We get that you like matrix.
Re:EU Digital Markets Act, aimed at Google, Apple, Amazon, a... by hammyhavoc on Friday July 22, 2022 @11:54AM (#32193356)
But do you also get that I'm autistic and can go on about things to the point of pissing off complete strangers?
Re:EU Digital Markets Act, aimed at Google, Apple, Amazon, a... by petre on Saturday July 23, 2022 @09:06AM (#32202943)
Fortunately HN has "you're posting too fast" rate controls.