Slashdot is powered by your submissions, so send in your scoop

 



Forgot your password?
typodupeerror
×
Google Android DRM Security

Google is Adding Anti-Tampering DRM To Android Apps in the Play Store (androidcentral.com) 177

Google has introduced a small change to Play Store apps that could significantly protect several Android users. From a report: Earlier this week, Google quietly rolled out a feature that adds a string of metadata to all APK files (that's the file type for Android apps) when they are signed by the developer. You can't install an application that hasn't been signed during its final build, so that means that all apps built using the latest APK Signature Scheme will have a nice little chunk of DRM built into them. And eventually, your phone will run a version of Android that won't be able to install apps without it.
This discussion has been archived. No new comments can be posted.

Google is Adding Anti-Tampering DRM To Android Apps in the Play Store

Comments Filter:
  • Good idea (Score:3, Insightful)

    by SuperKendall ( 25149 ) on Sunday June 24, 2018 @03:07PM (#56838928)

    The article is dismissive of the direction this is heading, but in a world where 99% of the people using a mobile device simply have no ability to manage digital security, you just can't continue to allow people to install something from anywhere.

    As a technical user I absolutely want there to be way more open options where people with technical ability have a lot of freedom as to what they can do, and I'm sure some Android devices will continue to provide that. But the world also absolutely needs Apple-level closed off system like the App Store that protects people who cannot protect themselves from remote exploitation and harm.

    • Re: Good idea (Score:3, Insightful)

      by Anonymous Coward

      This doesn't do any of that. It just makes it more difficult to install an app that the original developer hasn't signed off on.

      • Maybe so but this will only protect "several" Android users and I'm guessing we're not on the list.

    • Re:Good idea (Score:5, Insightful)

      by b0s0z0ku ( 752509 ) on Sunday June 24, 2018 @03:12PM (#56838962)

      So hide the ability to install unsigned or non-Play-Store apps, but don't prevent it entirely. Hiding it in Developer Options after a big, fat disclaimer should be enough, frankly.

      And no, the world doesn't need more Crapple-style paternalism where a bunch of do-gooding censoring pricks in Cupertino decide which apps are good enough for users to run. It's not only safety-based -- Apple has been known to ban political games or things which they find to be in poor taste.

      • by AmiMoJo ( 196126 )

        You can still install apps from outside the Play store, it's just that they must be signed as part of the final build process. Most are already anyway, and it's easy to add to your build process.

        The upshot of requiring signing is that apps can't be tampered with. We have seen recently some fake versions of popular apps like WhatsApp and Pokemon and Fortnight, which are the official ones with added malware. With the signing requirement it won't be possible to add the malware, because the signature check will

      • by mjwx ( 966435 )

        So hide the ability to install unsigned or non-Play-Store apps, but don't prevent it entirely. Hiding it in Developer Options after a big, fat disclaimer should be enough, frankly.

        I believe this already exists and is off by default... At least in vanilla Android.

        And no, the world doesn't need more Crapple-style paternalism where a bunch of do-gooding censoring pricks in Cupertino decide which apps are good enough for users to run. It's not only safety-based -- Apple has been known to ban political games or things which they find to be in poor taste.

        I agree and I dont think this move is intended to implement an Apple style of 1984 content controls. Its just adding a system of verifying an applications authenticity.

      • > Hiding it in Developer Options after a big, fat disclaimer should be enough, frankly.

        You'd think, but then you haven't dealt with some end users. A percentage of them would happily follow a tutorial on disabling that in order to install this "cool new book reader/movie streamer/whatever" if asked by a popup.

        As for the disclaimer, I used to work at a software company for a packaged software product. The type of database the application used destroyed records immediately so unless you had a backup, th

    • Re:Good idea (Score:5, Insightful)

      by WaffleMonster ( 969671 ) on Sunday June 24, 2018 @03:45PM (#56839098)

      The article is dismissive of the direction this is heading, but in a world where 99% of the people using a mobile device simply have no ability to manage digital security, you just can't continue to allow people to install something from anywhere.

      Of course you can. It's done by creating operating systems not full of swiss cheese escalation vulnerabilities and giving users meaningful access controls that never devolve into take it or leave it demands of software.

      Google refuses because it eats into profits of themselves and app developers. God forbid a user is able to feed fake location, address book and phone data into malware they downloaded from Google play store or restrict access to resources... App developers would riot. Owning users is the business model of the everything must be FREE app store market.

      As a technical user I absolutely want there to be way more open options where people with technical ability have a lot of freedom as to what they can do, and I'm sure some Android devices will continue to provide that.

      Damn straight!! The peasant class doesn't deserve no stinking freedom. They can't handle it. All Hail King Alphabet ruler of all teh Intertubes.

      But the world also absolutely needs Apple-level closed off system like the App Store that protects people who cannot protect themselves from remote exploitation and harm.

      Good grief, let me know when all the malware in the Google app store is gone. Really perverse aspect of these arguments is the failure to understand app stores themselves are responsible for creating "race to the bottom" market incentive that only fuels development of malware and resulting 0wnage of millions of users.

      This is nothing more than being as evil as possible for financial gain while blurting out "SECURITY" as justification for everything. No different than Facebook saying it needs to do cross site tracking of everyone everywhere in order to protect Facebook.

      The ONLY problem is proliferation of defective operating system jails and associated access controls.

      • by Khyber ( 864651 )

        "It's done by creating operating systems not full of swiss cheese escalation vulnerabilities"

        Well, if people could fucking master the first three layers of OSI, the additional 4 afterwards wouldn't be a fucking requirement tacked on as an afterthought, and would be totally unnecessary.

      • Of course you can. It's done by creating operating systems not full of swiss cheese escalation vulnerabilities and giving users meaningful access controls that never devolve into take it or leave it demands of software.

        I want to point out that Linux is full of privilege escalation exploits (as is every other OS.....even OpenBSD only brags about remote exploits, not the local ones), so this isn't really an option right now.

      • Re:Good idea (Score:5, Informative)

        by swillden ( 191260 ) <shawn-ds@willden.org> on Sunday June 24, 2018 @08:34PM (#56839970) Journal

        The article is dismissive of the direction this is heading, but in a world where 99% of the people using a mobile device simply have no ability to manage digital security, you just can't continue to allow people to install something from anywhere.

        Of course you can. It's done by creating operating systems not full of swiss cheese escalation vulnerabilities

        So, step one is to do what no one has ever managed to do in the history of widely-used consumer operating systems. You have an extraordinarily high opinion of Google's engineers. Thank you, but we're not that good. If you are, please send me your resume.

        and giving users meaningful access controls that never devolve into take it or leave it demands of software.

        That was done in Android 6.0, in 2015. Unfortunately, Android fragmentation means that it's not yet possible to force all apps to use it, because there are still too many older OS versions in active use. I think we should be able to do that in the next year or two, but that's only my guess, and it's not my area of expertise.

        God forbid a user is able to feed fake location, address book and phone data

        For address book data, I think the better solution is not to give apps access to the address book at all. Instead, give them a system API that allows them to request that the system throw up an address selection dialog, and then give them only the data the user chose. Unfortunately, that would be a huge change for the app ecosystem, so it would have to be done carefully, and even when done it would take time to roll out and convince app developers to adopt it. Also, users won't want to be restricted to only default address book management tools, so we'll still have to provide a permission that allows unlimited access, though hardly any of the apps that have address book access now would need it under this notional model.

        As for fake data... I don't know. There's a lot of debate about that. I don't think anyone is philosophically opposed (and no one cares about the alleged financial considerations that you're so certain drive us), but no one really believes it will work, either. It'll just produce an arms race between fake data generators and fake data detectors. And it would also make spoofing of location-based games, etc., completely trivial, which negatively impacts the users of those games, as well as the developers. All in all, it seems like a lot of effort for little net gain, if any.

        App developers would riot. Owning users is the business model of the everything must be FREE app store market.

        Overstated, but not fundamentally wrong. It definitely is true that the Android team wants to serve developers as well as users, because a platform has to have both to exist. And device makers, too.

        Damn straight!! The peasant class doesn't deserve no stinking freedom. They can't handle it. All Hail King Alphabet ruler of all teh Intertubes.

        This is isn't the Android team's approach or perspective at all. There's a reason that Nexus and PIxel devices have always had unlockable bootloaders. It's because Google believes that technical users should have control of their devices. With Project Treble new devices are now in a state where you can flash a custom AOSP build onto any device you can unlock, without needing to worry about vendor binaries... it's taken a huge amount of work to get to that point, and while most of the reason for doing it is to fix the upgradability problem (and resulting fragmentation problem), making life easy for modders and makers of custom ROMs is part of it, too.

        I host a regular conference call for talking to key players in the modding and rooting community, which the specific goal of helping my team to understand how we should best design to make their lives easier. I love to see technical users doing interesting thi

        • by tepples ( 727027 )

          Define "gone". If your definition is "zero", then no app distribution channel of any size will ever reach it. Google Play has extremely low rates of PHA (potentially-harmful apps -- a somewhat broader category than "malware") now, and it's being driven down year by year.

          I'd start by defining "gone" as the probability of encountering a PHA on Google Play Store being less than that on Apple's App Store during the same month.

          • Define "gone". If your definition is "zero", then no app distribution channel of any size will ever reach it. Google Play has extremely low rates of PHA (potentially-harmful apps -- a somewhat broader category than "malware") now, and it's being driven down year by year.

            I'd start by defining "gone" as the probability of encountering a PHA on Google Play Store being less than that on Apple's App Store during the same month.

            Do you have evidence that it is not? Serious question. AFAIK, both stores regularly have PHA, but I'm not aware of any good anlayses of the relative frequency.

      • by AmiMoJo ( 196126 )

        It's done by creating operating systems not full of swiss cheese escalation vulnerabilities

        People who think that's even possible are the reason why we have operating systems full of Swiss cheese escalation vulnerabilities.

        Security that relies on one layer, in this case the OS being coded securely, is not secure at all. Even if you were the first person in history to code a completely secure OS, someone would just trick the user into installing some crap or use a hardware flaw like RowHammer or Meltdown to bypass your protections.

        The only solution is defence in depth. That's what Android has, it's

      • Damn straight!! The peasant class doesn't deserve no stinking freedom. They can't handle it. All Hail King Alphabet ruler of all teh Intertubes.

        You CAN'T HANDLE your own stinking privacy.

        Only this is the Jack from The Shining and not the Jack from A Few Good Men.

        (Or perhaps the Apple store is Jack from The Witches of Eastwick; none of Cher, Susan Sarandon, or Michelle Pfeiffer are dating Jared, so in that sense, at least, he got off light.)

      • Comment removed based on user account deletion
    • Re: Good idea (Score:5, Insightful)

      by bluelip ( 123578 ) on Sunday June 24, 2018 @03:52PM (#56839120) Homepage Journal

      It's not about security. Google is doing this to lock-in users to their ecosystem. They realize users are starting to look elsewhere for software because of the privacy issues. This step is about adding another course to the wall around the garden rather than protecting any user.

    • by Anonymous Coward

      in a world where 99% of the people using a mobile device simply have no ability to manage digital security, you just can't continue to allow these ignorant people to operate mobile devices without a license..

      ftfy

      • in a world where 99% of the people using a mobile device simply have no ability to manage digital security, you just can't continue to allow these ignorant people to operate mobile devices without a license..

        ftfy

        I think I might prefer ignorant people to arrogant. Anyway, it definitely should be possible for kids to Pokemon and mlilenials to Instagram with portable networked devices without worrying about how it all works. Smartphones have become, and should be, ubiquitous nearly world-wide because of their simplicity. You want complexity, go back to your PC.

    • But the world also absolutely needs Apple-level closed off system like the App Store that protects people who cannot protect themselves from remote exploitation and harm.

      Agree completely.

      This current proposal might not get us there by itself but it looks like Google is headed in the right direction.

    • I'm not sure what I find more frightening. The fact that you are writing, ostensibly seriously, about reducing freedom being a good thing all around, or that four people modded that up. That's seriously disturbing, especially here.

      DRM doesn't add end user security. It only adds central control where a single entity, one who's end motivation is not security but profit, has 100% of the decision making capability of what can end up on your device. Software-as-a-service, mandatory remote updates, and walled

  • by b0s0z0ku ( 752509 ) on Sunday June 24, 2018 @03:09PM (#56838944)

    Right now, you can sideload by clicking through a disclaimer. Will you still be allowed to sideload unsigned apps (say, for your own testing)?

    What about installing an older version of an app if your version of Android doesn't support the new one? Will this be used to enforce regional restrictions (i.e. Facebook Messenger Lite is much less intrusive than the full Messenger, but isn't available in the US Play Store)?

    • by Anonymous Coward on Sunday June 24, 2018 @03:27PM (#56839034)

      google is trying to wall the garden in like apple (has mostly been able to do).

      soon only approved and signed software of any kind will run.

      rooting your device will be a thing of the past.

      side loading will be a thing of the past.

      as google pushes more for delivering updates themselves instead of relying on hardware or carrier partners, expect the (forced upon you) updates to kill any hacking or rooting you've done or 'unauthorized' apps you've managed to install.

      having any control of any kind over YOUR hardware will be over.

      developers will probably be able to purchase a dev kit to run apps they, and only they, are working on.

      expect a similar treatment for chrome browser and chromebooks.

    • Will you still be allowed to sideload unsigned apps (say, for your own testing)?

      Coincidentally google just released a "special internal test build" track in the Google Play store that doesn't go through malware scanning and "is only for use within your organization", but has a much faster go-live time.

  • And the rest of us must suffer the mighty fist of dictatorial oppression?

  • by b0s0z0ku ( 752509 ) on Sunday June 24, 2018 @03:14PM (#56838966)
    APK Signature Scheme = A.S.S. Not the best choice of acronym.
    • There's nothing to worry about. After all Google's motto is "don't be evil" ... oh wait!
    • That name is just to assure us that there will be a giant hole in the middle of it.
    • Since it really does very little (if anything) for security anyhow.
  • by rossdee ( 243626 )

    I don't buy Apps from Google Play, I buy them from Amazon.

    • To expand on your message since there are people not aware of the details, you can get a brand new Android device, or factory reset an old one, and never ever set up a Google account on it.

      If you want an alternative app store, configure it to load apps from 'unknown sources' and download the Amazon app store (or others that are available) which is an installable apk file. Then you log in with your amazon account and can install most of the important Android apps without ever touching Google's servers with a

  • by 110010001000 ( 697113 ) on Sunday June 24, 2018 @03:32PM (#56839044) Homepage Journal
    I seem to remember that developers need to sign their apps already (and have for many years). What am I missing?
    • Android used to use jar signing, which adds a file of signatures to the zip file. Then they build their v2 signing process, which adds a new block to the zip file between the compressed contents and the directory listing, signing the file hash of the rest of the zip file, directory listings and everything.

      Now when you publish to the play store, google are inserting another signature into this v2 signature data block, indicating that this apk was published.

      AFAIK this will simply extend their default "play

      • Another probably relevant thought. Google recently added the capability to upload your developer signing key, so they can produce apk's with irrelevant assets stripped out. I assume that this feature causes problems for people trying to share apk's between phones. Hence the need to add some extra data to a stripped apk to test compatibility.
  • Adding an origin signature simply helps prevent the spread of malware as a device can verify that it is a legitimate package instead of some compromised apk. This has been an issue for a long time even in the west where users have internet access (fortnite apk!1!) and has been much more problematic where people have limited and expensive internet.
    • Re: (Score:2, Insightful)

      by Anonymous Coward

      Except this is pointless unless your intent is to require that all signers be pre-approved in the future. Otherwise it's just checking that the signature that's on the apk data, matches a key that was also in the same apk. See the part about the digests must match the signers in the apk here. [android.com] Also, nice chopping up of the ZIP format again, that's not going to cause parsing bugs anywhere now is it?

      Malware still spreads with this, the only difference is that it's not able to claim itself as another package. W

      • by Luthair ( 847766 )

        Except this is pointless unless your intent is to require that all signers be pre-approved in the future. Otherwise it's just checking that the signature that's on the apk data, matches a key that was also in the same apk. See the part about the digests must match the signers in the apk here. [android.com]

        If you read their blog post it seems clear that the signature will come from Google Play itself not some random signer.

        Also, nice chopping up of the ZIP format again, that's not going to cause parsing bugs anywhere now is it?

        How is that relevant exactly? If someone wants to crack open an APK they can make sure their parser works correctly with the format instead of relying it being similar to a zip.

  • by NextApp ( 564188 ) on Sunday June 24, 2018 @03:44PM (#56839092)

    This does nothing to solve the malware problem on Android, because the malware is being distributed by "legitimate" vendors directly on the Play Store.

    I get complaints of full-screen video ads in my ad-free apps from users who have never side-loaded anything. Malicious apps are launching them from the background, which is against the TOS, but technically trivial to do. If they get caught, they either call it a bug or start another company/product-line.

    As far I can tell, Google promotes the highest revenue generating apps...so the dirtier the tactics you use, the more you succeed.

    The bad apps do take a beating on reviews from legitimate users, but this is worked around by the developers posting massive quantities of fake reviews. It's presently somewhat easy to spot, legit apps will have reviews that are generally 1-3 sentences long, while fraudulent ones will have pages of 1-3 word reviews (often clustered together). Google doesn't seem to care though, as even some of the most popular apps are doing this to counter backlash from ever more ridiculously aggressive in-app advertising.

    And then of course there's the problem that the average app today is so invasive of privacy that it would have been deemed outright malware ten years ago.

    • Kill switch? (Score:5, Interesting)

      by rsilvergun ( 571051 ) on Sunday June 24, 2018 @04:26PM (#56839198)
      that's why Mozilla started signing apps. It gives them a kill switch in case a plugin author sells their plugin to someone dishonest. There's been a few moderate profile cases of it happening (nothing more than a few hundred thousand users, which sounds like a lot until you realize how many FF users there are).
    • by thsths ( 31372 )

      I completely agree. Even generally nice and useful apps are using so many dark patterns that they technically have to called malware. And this is all perfectly "normal".

    • Malicious apps are launching them from the background

      If you know of any such apps, please report them.

    • Comment removed based on user account deletion
  • Comment removed based on user account deletion
  • Big Brother Google is too big, too invasive, too untrustworthy. It's time for Uncle Sam to get out his trust-busting stick and break up Google/Alphabet.

    Maps - separate company
    Search - separate company
    Surveillance / "advertising" - separate company
    Android - separate company
    Chrome - separate company

  • That thing doesn't look like DRM. It is a way for people to download play store apps from outside the play store, and still have the guarantee that they get the original. There is absolutely no mention of any restriction on the user. The signature can be stripped off and unsigned apps can still be installed if you check the "unknown sources" option.
    What will happen in the future is another subject. Google needs more than a simple signature in order to lock down the system.

    Also, Android already has DRM ( htt [android.com]

  • Cryptographically signing applications to ensure integrity and authenticity may be a good idea (as long as phone owners retain the option, existing today, of installing apps from other sources if they wish). This scheme has nothing to do with DRM (Digital Restrictions Management), which is a name for methods intended to prevent users from copying works which are protected by copyright. DRM is technology that's supposed to prevent users from copying content (movies, e-books, etc), or more generally enforce
  • Google has introduced a small change to Play Store apps that could significantly protect several Android users.

    What the fuck is with this weaselly bullshit advertising?

    This part here. This one. This is the part that you need to focus on: "your phone will run a version of Android that won't be able to install apps without it."
    This is the part you should be mad about. That's control. By a monolithic corporation that does not have your best interest at heart.

    And the article itself is talking out of it's ass and throwing around doublespeak willy nilly. Observe:

    DRM means you are being treated like a thief before you buy any software.

    EA doesn't trust that we paid for the software title so it forces us to present our papers when demanded.

    and every other entertainment publisher which decides where in the world you are allowed to listen to music or watch a movie that you paid for, or how many times you are allowed to do so.

    Yeah, that's right, DRM is bad. Abusive. Annoying. A bad st

  • I have a permit to carry weapons, but I am treated like an idiot who doesn't own my phone.google Nazi play store can sniff through my phone like pigs they are.time for a change sooner the later.to all idiots who need protection come to me I sell u bunch of story's to make u feel safer.

If you can count your money, you don't have a billion dollars. -- J. Paul Getty

Working...