this post was submitted on 11 Sep 2024
836 points (99.4% liked)

Technology

59575 readers
3195 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
 

You might sideload an Android app, or manually install its APK package, if you're using a custom version of Android that doesn't include Google's Play Store. Alternately, the app might be experimental, under development, or perhaps no longer maintained and offered by its developer. Until now, the existence of sideload-ready APKs on the web was something that seemed to be tolerated, if warned against, by Google.

This quiet standstill is being shaken up by a new feature in Google's Play Integrity API. As reported by Android Authority, developer tools to push "remediation" dialogs during sideloading debuted at Google's I/O conference in May, have begun showing up on users' phones. Sideloaders of apps from the British shop Tesco, fandom app BeyBlade X, and ChatGPT have reported "Get this app from Play" prompts, which cannot be worked around. An Android gaming handheld user encountered a similarly worded prompt from Diablo Immortal on their device three months ago.

Google's Play Integrity API is how apps have previously blocked access when loaded onto phones that are in some way modified from a stock OS with all Google Play integrations intact. Recently, a popular two-factor authentication app blocked access on rooted phones, including the security-minded GrapheneOS. Apps can call the Play Integrity API and get back an "integrity verdict," relaying if the phone has a "trustworthy" software environment, has Google Play Protect enabled, and passes other software checks.

Graphene has questioned the veracity of Google's Integrity API and SafetyNet Attestation systems, recommending instead standard Android hardware attestation. Rahman notes that apps do not have to take an all-or-nothing approach to integrity checking. Rather than block installation entirely, apps could call on the API only during sensitive actions, issuing a warning there. But not having a Play Store connection can also deprive developers of metrics, allow for installation on incompatible devices (and resulting bad reviews), and, of course, open the door to paid app piracy.

you are viewing a single comment's thread
view the rest of the comments
[–] subignition@piefed.social 51 points 2 months ago (3 children)

It's not like dedicated people aren't going to be able to just patch out the calls to this API from the apps themselves...

This feels like yet another attempt at DRM that is doing more harm than help.

[–] Peruvian_Skies@sh.itjust.works 22 points 2 months ago* (last edited 2 months ago)

You mean like literally every single attempt at DRM since the Big Bang?

[–] Azzu@lemm.ee 9 points 2 months ago (2 children)

Indeed, I already bypass SafetyNet and Play integrity with some kind of xposed module, I don't expect this to change.

[–] whats_all_this_then@lemmy.world 6 points 2 months ago (1 children)

Whoa, is Xposed still a thing that works? Had to use Magisk instead to get the safety net stuff working on Lineage OS android 11

[–] Azzu@lemm.ee 6 points 2 months ago (1 children)

Xposed is just an API which is provided by the LSPosed Magisk module.

[–] whats_all_this_then@lemmy.world 2 points 2 months ago

Huh...the more you know. I just assumed Magisk was a spiritual successor, apparently I misunderstood how any of it works.

[–] mrvictory1@lemmy.world 2 points 2 months ago (2 children)

Can you tell me which modules you use? I am trying to pass SafetyNet on Waydroid but can't pass even basic integrity.

[–] Azzu@lemm.ee 3 points 2 months ago (1 children)

idk where I got it from, but it's called "Universal SafetyNet Fix" by kdrag0n

[–] mrvictory1@lemmy.world 2 points 2 months ago* (last edited 2 months ago) (1 children)

Did you just install the module and passed safetynet or did you have to use custom fingerprint? Also are you on custom or stock rom?

[–] Azzu@lemm.ee 2 points 2 months ago

Don't remember, sorry

Am on e/os/

[–] whats_all_this_then@lemmy.world 3 points 2 months ago

I've used Magisk with the safetynet module + hiding root from apps with like a 95% success rate. Quick search for "magisk safetynet" and look at the xdadevelopers threads

[–] vin@lemmynsfw.com 1 points 2 months ago (2 children)

Why would that be possible? Wouldn't the developer have their server rejected any calls from "unsigned" apps?

[–] subignition@piefed.social 2 points 2 months ago

If functionality exists in the client app, there's nothing to be done to stop someone from bypassing checks.

Looking into it further this looks like it's an API between the backend of a service and Google though. That would be difficult to defeat, but you could probably spoof the identity of the requesting device with enough effort

[–] doctortran@lemm.ee 1 points 2 months ago* (last edited 2 months ago)

Possibly, but many apps don't actually need to phone home to function.

Of course that doesn't stop developers arbitrarily requiring it.