News for hackers. Stuff that matters.
Re:Termux no longer updated on Google Play by amingilani on Tuesday January 05, 2021 @08:50AM (#25645451)
Quick note: Google's Advanced Protection program disallows sideloading apps, so you can't install F-droid.

Edit: Note that the Advanced Protection program is opt-in for users that require the highest degree of security Google can offer. Regular users won't be impacted by this.

Edit: proof https://imgur.com/a/yktPNIc

Edit 2: see @haunter's comment for a link to the change announcement

Re:Termux no longer updated on Google Play by admax88q on Tuesday January 05, 2021 @01:06PM (#25648647)
I wonder what the actual numbers are on malware installed via side-loading and malware installed from the play store.

There is no shortage of sketchy apps on the play store.

Through my personal bias I would imagine that most people side-loading apps tend to be people using F-Droid who know more or less what they're doing. Although I'm sure there are some people who blindly follow sketch website telling them to install sketchy APK directly. But do these people really outnumber people installing flashlight app from play store that steals your data?

All this locking down your device "for your own protection" assumes that the play store software is actually vetted and secure, but that second piece never seems to fall in to place.

This random article [1] suggests that 67% of malicious app installs comes from the play store itself. So this whole "Advanced Protection" scheme only protects against 23% of threats. Pretty weak IMO.

[1] - https://www.zdnet.com/article/play-store-identified-as-main-...

Re:Termux no longer updated on Google Play by tgsovlerkhgsel on Tuesday January 05, 2021 @02:57PM (#25650195)
There is "people intentionally side-loading", and "people getting social engineered into installing something they shouldn't".
Re:Termux no longer updated on Google Play by ocdtrekkie on Tuesday January 05, 2021 @06:59PM (#25653056)
The problem is, it's much easier to be socially engineered into installing something from the Play Store, or far worse, the Chrome Web Store, and both have extremely unchecked amounts of malware.

The real difference is between "apps that have to give Google 30%, and apps that don't".

Re:Termux no longer updated on Google Play by adewinter on Tuesday January 05, 2021 @04:28PM (#25651353)
I think even when you sum those two quantities it'll still be less than the number of people getting hit by apps from the regular play store.
Re:Termux no longer updated on Google Play by zamadatix on Tuesday January 05, 2021 @05:41PM (#25652234)
Likely but not because no filtering at is is better than mediocre filtering rather precisely because it's not easy for a user to "accidentally" side load.
Re:Termux no longer updated on Google Play by coretx on Tuesday January 05, 2021 @06:50PM (#25652966)
Tons of apps are referencing 100% turing complete web content and not taking flak. NORPS don't "accidentally" side load by means of typing stuff in a terminal that makes them both feel hackerman and scared shitless at the same time. Only boomers and ties believe it's not about anti competitive behavior.
Re:Termux no longer updated on Google Play by rodgerd on Tuesday January 05, 2021 @05:53PM (#25652355)
> There is no shortage of sketchy apps on the play store.

Certainly the Play store being a walled garden which appears to be full of weeds, nightshade, and hemlock is one of the key factors in pushing me over to iOS.

Re:Termux no longer updated on Google Play by zhengyi13 on Tuesday January 05, 2021 @04:51PM (#25651649)
If side-loading is generally discouraged to the point where it's a hassle, then it's a less attractive entry point for malware authors... so I'd expect the result is that there are ultimately fewer malware instances installed.

If side-loading becomes easy and normalized though...

Re:Termux no longer updated on Google Play by admax88q on Tuesday January 05, 2021 @10:32PM (#25654412)
Sure but does a 23% malware rate justify further restricting side loading? Seems like snake oil security, rather than addressing the bigger problem of malware through the official channels.
Re:Termux no longer updated on Google Play by drKarl on Tuesday January 05, 2021 @09:22AM (#25645750)
Wow! That is a very big deal!!! Almost all of the Apps I have on my Android phone are installed from F-Droid, and I try to avoid installing any Apps from other sources, exceptions force upon me by my social circle, like WhatsApp.

I have a PinePhone but it is not yet ready as a daily driver, and also the difference in hardware performance between my Android phone (which I bought this year) and PinePhone (or even Librem) is abismal. I wish there was at least one (or many) linux phone ready to be a daily driver and with hardware comparable to modern Android phones (or iPhones), but unfortunately that is not yet the case, although the community has made a massive effort this year to advance the state of linux on phones, at least for PinePhone...

I use a MacBook for work and same thing, almost all the apps I have I installed using homebrew (and the UI apps, with brew cask)

EDIT: I see that, at least for now, it's optional and you can un-enroll, which is good.

Re:Termux no longer updated on Google Play by input_sh on Tuesday January 05, 2021 @04:50PM (#25651639)
> EDIT: I see that, at least for now, it's optional and you can un-enroll, which is good.

It's always going to be optional. It's their solution for high-risk users (think: journalists, whistleblowers, and similar), it's not meant to be for everyone.

Disclaimer: No Google affiliation, but I've tested the program a long time ago before it was available to everyone.

Re:Termux no longer updated on Google Play by bartvk on Thursday January 07, 2021 @01:35AM (#25667944)
> It's their solution for high-risk users (think: journalists, whistleblowers, and similar)

Or people with bitcoin wallets, of which I assume there's going to be more and more.

Re:Termux no longer updated on Google Play by riedel on Tuesday January 05, 2021 @11:59AM (#25647551)
The problem will start with such offerings only if third parties (like employers or banks) demand turning this on. The patronizing of users that started with saftynet is horrifying. I think it will become crucial that some commercialy relevant group uses non play store content. Otherwise the affordance to use non main stream stuff will become higher and higher.
Re:Termux no longer updated on Google Play by bitwize on Tuesday January 05, 2021 @03:55PM (#25650899)
I have a strict "if you want me to use a phone for work, then issue me a work phone" policy. No, I will not install your MDM app on my personal phone, because that is tantamount to surrendering my phone to the company.
Re:Termux no longer updated on Google Play by throwaways885 on Tuesday January 05, 2021 @06:24PM (#25652695)
My Android's work profile has reasonable isolation. AFAIK my employer can't see or erase anything personal.
Re:Termux no longer updated on Google Play by paulie_a on Tuesday January 05, 2021 @01:13PM (#25648734)
If the employer demands that then they can provide me the phone
Re:Termux no longer updated on Google Play by judge2020 on Tuesday January 05, 2021 @12:57PM (#25648519)
I mean it makes sense. The employer requires you to only trust Google-approved apps since something like an evil maid (or mugging, or blackmail, etc) attack on an unlocked phone is part of their threat model.
Re:Termux no longer updated on Google Play by velosol on Tuesday January 05, 2021 @05:59PM (#25652422)
And it seems reasonable for an employer. What about banks? The argument I'm coming up with just isn't as compelling for no other reason than I'm 'only' risking my money, not corporate access.
Re:Termux no longer updated on Google Play by jolmg on Tuesday January 05, 2021 @12:02PM (#25647626)
> I have a PinePhone but it is not yet ready as a daily driver, and also the difference in hardware performance between my Android phone (which I bought this year) and PinePhone (or even Librem) is abismal.

I don't know about it being so much a hardware performance issue, rather than a software optimization issue. Personally, I don't think I need much performance, but I have had issues unlocking my Pinephone because the lockscreen seems to have a hard time keeping track of my finger as I slide it or press the keypad buttons. I've also had a number of kernel panics in the few times that I've used it (I got it just recently).

For the Pinephone to be my daily driver I just need to be able to run Whatsapp on it (so run an Android emulator with access to the SIM card, I imagine; haven't tried) and take real 5MP images. That's all I really need to switch the SIM card and leave my Android phone at home. It can even drop calls and I won't really care (not that it does; I haven't tried).

EDIT: I see I misread a bit and thought you meant its low performance prevented its use as a daily driver. I don't think it makes sense for linux phones to be offered with more expensive hardware until the software catches up to enable their use as daily drivers for more people. I think we're at a stage where the buyers are primarily people that are looking to possibly contribute to the software to get it to that point. Being a cheap phone is important for that.

Re:Termux no longer updated on Google Play by yoavm on Tuesday January 05, 2021 @12:50PM (#25648423)
Your Whatsapp running on an Android emulator doesn't need to have any access to the SIM card. You only need to have the SIM card on some phone so you can enter the code you're receiving by textwhen signing in for the first time.

You can then use a bridge to connect it to Matrix and chat using Whatsapp from any Matrix client.

Re:Termux no longer updated on Google Play by jolmg on Tuesday January 05, 2021 @12:53PM (#25648469)
Oh wow! Thank you so much for the tip! I've never used Matrix, but I'll look into that! Not having to depend on the Whatsapp client sounds like a dream.
Re:Termux no longer updated on Google Play by rstuart4133 on Tuesday January 05, 2021 @08:11PM (#25653611)
> Almost all of the Apps I have on my Android phone are installed from F-Droid ... I see that, at least for now, it's optional and you can un-enroll, which is good.

I can't see it going away. Google uses it to fend off monopoly accusations, viz you aren't locked in, you can always use another app store. Apple doesn't, and they are in a much more threatening territory when it comes to anti-trust law suites against their app store because of it. https://www.cnbc.com/2020/10/06/house-antitrust-subcommittee...

Google has far worse anti-trust problems than Apple in general because they own 80% of some markets, and is being reminded of it repeatedly by ongoing law suites being brought in various countries. https://www.vox.com/recode/2020/12/16/22179085/google-antitr... But for Google Play they have a free pass, and I don't think they aren't likely to give it up any time soon.

Re:Termux no longer updated on Google Play by h_anna_h on Tuesday January 05, 2021 @05:30PM (#25652109)
Afaik, if you disable it you basically let everyone spam you with password reset notifications.
Re:Termux no longer updated on Google Play by berdario on Tuesday January 05, 2021 @09:43AM (#25645981)
Wasn't aware of it, interesting

https://landing.google.com/advancedprotection/

There are instructions here for how to unenroll:

https://support.google.com/accounts/answer/7539956

Re:Termux no longer updated on Google Play by sneak on Tuesday January 05, 2021 @10:23AM (#25646434)
I learned recently that having Advanced Protection enabled also rewrites all URLs in your email messages to use the Google URL redirector, even when accessed via IMAP.

It breaks PGP signatures, among other things.

No way to turn it off without disabling all of Advanced Protection. Sweet, huh?

Re:Termux no longer updated on Google Play by liotier on Tuesday January 05, 2021 @01:25PM (#25648931)
Office 365 does that too - and Twitter by the way... Copying & pasting URL is becoming mostly a tedious rigmarole of opening the link, seeing what it finally resolves to - and only then copying & pasting...
Re:Termux no longer updated on Google Play by est31 on Tuesday January 05, 2021 @11:26AM (#25647121)
Which advantages does Advanced Protection give you in particular so that you have enabled it? It seems that things like hardware 2fA should work without it as well? Genuinely curious.
Re:Termux no longer updated on Google Play by sneak on Tuesday January 05, 2021 @03:12PM (#25650388)
It forbids 2FA with anything other than U2F hardware, which is practically unphishable. I don't really trust the Google auth system without the hard "disallow all non-hardware-based auth" restriction, due to the innumerable stories about sim swapping, et c.
Re:Termux no longer updated on Google Play by est31 on Thursday January 07, 2021 @01:05AM (#25667767)
Fair point! Didn't know there was no other way of enabling this.
Re:Termux no longer updated on Google Play by ufmace on Tuesday January 05, 2021 @12:02PM (#25647621)
I am on it and like it. It seems to explicitly forbid a bunch of edge cases in the login auth that would otherwise be tricky to configure properly and keep up to date. Yes, you can set up and use hardware key auth without it, but it's nice to guarantee that you can never login without a hardware key no matter what. IIRC it closes off a few other types of misconfiguration or over-authorization that might allow someone to exfiltrate data from your account.
Re:Termux no longer updated on Google Play by gst on Tuesday January 05, 2021 @09:53AM (#25646093)
> Quick note: Google's Advanced Protection program disallows sideloading apps, so you can't install F-droid.

It's still possible to sideload apps if they are installed with ADB.

Re:Termux no longer updated on Google Play by fullstop on Tuesday January 05, 2021 @10:57AM (#25646821)
Yes, I can confirm this. Advanced Protection is kind of cool but there are definitely some downsides.
Re:Termux no longer updated on Google Play by hyperpallium2 on Tuesday January 05, 2021 @09:21AM (#25645739)
This Advanced Protection program is optional, isn't it?
Re:Termux no longer updated on Google Play by vlunkr on Tuesday January 05, 2021 @10:16AM (#25646337)
Yes. You can disable it. https://support.google.com/accounts/answer/7539956 . It would have been nice for the parent comment to include that, since it changes the situation significantly.
Re:Termux no longer updated on Google Play by chrisrhoden on Tuesday January 05, 2021 @09:21AM (#25645738)
This is specifically if your employer requires it for you to be logged into your work google account.
Re:Termux no longer updated on Google Play by fullstop on Tuesday January 05, 2021 @10:58AM (#25646830)
I am enrolled in Advanced Protection with my personal account. It's optional.
Re:Termux no longer updated on Google Play by johnsoft on Tuesday January 05, 2021 @09:43AM (#25645986)
Yikes.

I use f-droid, and I'm lucky enough to be one Android version behind. Can someone who's upgraded let me know what to expect when I upgrade? The blog post mentions that adb still works. Does this mean I'll have to use adb once to install f-droid and have it work normally after that, or will _every_ app need to be installed using adb?

Re:Termux no longer updated on Google Play by suprfsat on Tuesday January 05, 2021 @10:42AM (#25646652)
You'll have to use ADB once to install F-droid and each new app not from the Play Store, but F-droid will be allowed to install updates.
Re:Termux no longer updated on Google Play by iagovar on Tuesday January 05, 2021 @08:55AM (#25645510)
? I have F-Droid in my phone, is this something new?
Re:Termux no longer updated on Google Play by zyx321 on Tuesday January 05, 2021 @09:49AM (#25646042)
Advanced Protection is an opt-in for people at risk of targeted attacks. Unless you have a company phone, it's unlikely to be enabled without your knowledge.
Re:Termux no longer updated on Google Play by amingilani on Tuesday January 05, 2021 @09:01AM (#25645560)
I believe so, I had it until I changed my phone. I've added a screenshot.

Edit: See this comment for link to announcement https://news.ycombinator.com/item?id=25645554

Re:Termux no longer updated on Google Play by opencl on Tuesday January 05, 2021 @09:43AM (#25645985)
It only applies if the Google account on your phone is enrolled in the Advanced Protection Program.
Re:Termux no longer updated on Google Play by Jubok on Tuesday January 05, 2021 @12:49PM (#25648411)
And even if you disable it, it can still block you. I didn't try to reset my phone completely, but I have to Force Stop the Google Play Store and empty cache/user's data to install any apk
Re:Termux no longer updated on Google Play by tambeb on Thursday January 07, 2021 @02:00PM (#25675557)
You can sideload apps via ADB. And once an app is installed that way you can then update it normally with an APK going forward. (I have Advanced Protection and I do this.)
Re:Termux no longer updated on Google Play by stjohnswarts on Tuesday January 05, 2021 @05:18PM (#25651980)
Thanks for the clarification. I was going to say I might as well just switch to Apple if I can't sideload and enjoy some freedom with my phone even if it's not as free as I would like.
Re:Termux no longer updated on Google Play by endgame on Tuesday January 05, 2021 @08:43PM (#25653825)
> Regular users won't be impacted by this.

Yet. Next step is to make it opt-out for the "safety" of the public.

Re:Termux no longer updated on Google Play by app4soft on Tuesday January 05, 2021 @06:27PM (#25652717)
> Quick note: Google's Advanced Protection program disallows sideloading apps...

According this rule, all web browsers should be removed from Google Play too, as JavaScript apps (embedded in webpages) are "sideloading apps" by design.

Re:Termux no longer updated on Google Play by ce4 on Tuesday January 05, 2021 @08:53AM (#25645479)
I disagree - any proof for your statement?
Re:Termux no longer updated on Google Play by haunter on Tuesday January 05, 2021 @09:00AM (#25645554)
Not OP but that was announced back in March https://www.blog.google/products/android/new-malware-protect...
Re:Termux no longer updated on Google Play by ce4 on Tuesday January 05, 2021 @09:40AM (#25645956)
Ok thanks. Somehow must have missed that one - I guess it's voluntary unless you install some work related app where company security policies pretty much default to switching off any possible loophole. I don't like where this path is going to lead :(
Re:Termux no longer updated on Google Play by shawabawa3 on Tuesday January 05, 2021 @10:00AM (#25646183)
The Advanced Protection program is opt-in for people with a high security posture

It also means you _have_ to have 2 security keys set up to login to your Google account with no other 2 factors allowed as backup

Re:Termux no longer updated on Google Play by amingilani on Tuesday January 05, 2021 @09:02AM (#25645563)
I've added a screenshot.
Re:Termux no longer updated on Google Play by AsyncAwait on Tuesday January 05, 2021 @02:02PM (#25649484)
> Note that the Advanced Protection program is opt-in for users that require the highest degree of security Google can offer. Regular users won't be impacted by this.

Yet. Google seems to be restricting Android more and more with each release.

I fully switched to the PinePhone last year because of this.

Re:Termux no longer updated on Google Play by ripdog on Tuesday January 05, 2021 @10:11PM (#25654315)
The AP program is optional and only for people with high security needs. The restrictions make it utterly inappropriate for unskilled users, so it will never be expanded to the general population.

General sideloading? True, that's anyone's guess.

Re:Termux no longer updated on Google Play by mongol on Tuesday January 05, 2021 @08:52AM (#25645466)
What?