News for hackers. Stuff that matters.
Re:Apple just kicked Fortnite off the App Store by wheelie_boy on Thursday August 13, 2020 @07:22PM (#24150995)
Sandboxing is important, but is only one part of the protections.

There's also:

- App store guidelines on what is and is not permissible in different cases

- Restrictions against using private APIs

- Restrictions against jailbreaking the device

There are a variety of VPN apps available on iOS. Why was Onavo blocked? Because it violated the guidelines on the use of the information, which is the kind of thing that it difficult to automate.

Restrictions against using private APIs are semi-automated, and would be difficult to completely automate.

The fact that you can't get an iOS app that jailbreaks the device in order to do whatever it wants is in part due to human review - if one existed in the store, it would get pulled, and the developer cert would get revoked. Jailbreaks exist, and human review in the app store is one way they are mitigated.

I for one remember the bad old days when playing a CD could (and did!) install a rootkit.

Re:Apple just kicked Fortnite off the App Store by greggman3 on Thursday August 13, 2020 @10:40PM (#24152609)
Here's already another platform that does just fine with sandboxing. It's been running for 27+ years. It's called a the web browser. Restrictions against using private APIs.... you can't call any private APIs, it's impossible. Find an exploit? It's generally fixed in a few days.

Software isn't even installed, new versions are downloaded daily or more so the concept of sandboxing as been throughly tested and proven effective for those 27 years.

Re:Apple just kicked Fortnite off the App Store by Karunamon on Friday August 14, 2020 @12:28AM (#24153387)
The difficulty with that argument is that Apple has gone out of their way to make webapps second class citizens. PWAs can't do everything installed apps can.

And that's before we get into resource usage.

Re:Apple just kicked Fortnite off the App Store by arsome on Friday August 14, 2020 @01:16AM (#24153886)
But that's not the point - the point is, sandboxing largely solves these issues without the need for restrictions on side loading, restrictions to a single app store or similar abuses of consumers rights.

Apple should build a better sandbox, the idea that "private APIs" exist and the only thing stopping them from being used is a basic string search on the app store review is pretty horrifying.

Re:Apple just kicked Fortnite off the App Store by wruza on Friday August 14, 2020 @12:04AM (#24153213)
And then you notice that your browser demands almost the same amount of resources as a 60+fps 3d game for presenting you a just a bunch of static images and some text. It is apples to oranges comparison, because a performance requires an unsandboxed, non-emulated native env, which is hard to protect from exploits. Replace a browser with any OS in existence and see how secure it is to execute an arbitrary binary on it.
Re:Apple just kicked Fortnite off the App Store by saagarjha on Friday August 14, 2020 @06:27AM (#24156110)
> performance requires an unsandboxed, non-emulated native env

Nope, sandboxing is largely orthogonal to performance.

Re:Apple just kicked Fortnite off the App Store by uberduper on Thursday August 13, 2020 @11:55PM (#24153148)
You can't be serious.
Re:Apple just kicked Fortnite off the App Store by 43920 on Thursday August 13, 2020 @10:39PM (#24152605)
All iOS jailbreaks are a result of security vulnerabilities, which Apple tends to fix almost as soon as they're discovered - and ultimately, it's Apple's responsibility to make their sandbox secure, regardless of what's running in it. I also don't see how installing outside apps would make jailbreaks any easier, given that you can already connect your phone to a computer and temporarily install an app on it (and for people who are motivated to jailbreak, this isn't much of a hurdle).

I haven't done enough iOS development to know for sure, but I'm assuming Apple could prevent private API usage by apps through technical means, rather than just app review.

Re:Apple just kicked Fortnite off the App Store by saagarjha on Friday August 14, 2020 @06:25AM (#24156104)
Kind of. They cannot prevent private API used by their frameworks running in the same process as the app (e.g. an app can use an Apple UI widget, for example). Things that apps should generally not be able to do have already started being locked down using entitlements, which prevent third-party apps from using those APIs regardless of whether they can sneak it past review.
Re:Apple just kicked Fortnite off the App Store by Wowfunhappy on Thursday August 13, 2020 @11:21PM (#24152911)
> and for people who are motivated to jailbreak, this isn't much of a hurdle

And also because, once you’re jailbroken, you can setup software to automatically resign the app on-device every few days, so you never need a computer again.

Re:Apple just kicked Fortnite off the App Store by colejohnson66 on Friday August 14, 2020 @11:41AM (#24159367)
I thought jailbreaking worked by using exploits to disable code signing. As in, there’s no need to sign an app. Have things changed the past few years?
Re:Apple just kicked Fortnite off the App Store by Wowfunhappy on Friday August 14, 2020 @12:26PM (#24159923)
Most Jailbreaks today are "tethered" in some way, which means the Jailbreak disappears (to varying degrees†) once the phone is turned off. For Jailbreaks like unc0ver, this means you need to re-run a bootstrap app every time you reboot your phone, in order to return to "Jailbroken" mode and allow unsigned code.

This, of course, is a catch-22. You need to run an app to allow unsigned apps, but that app can't run if it isn't signed.

---

† The community makes a distinction between "tethered", "semi-tethered", and "semi-untethered" jailbreaks. The jailbreak I described above is "semi-untethered". You really couldn't come up with terminology more prone to getting mixed up...

Re:Apple just kicked Fortnite off the App Store by colejohnson66 on Friday August 14, 2020 @12:40PM (#24160091)
I’m aware of the distinction between the different kinds of jailbreaks; I just hadn’t been keeping up on the news regarding them. Thanks!