They may well be trying to stop something equally stupid happening where someone decided it would be a good idea to blast the user's name and phone number out over the local network.
398 karma · joined September 5, 2012
They may well be trying to stop something equally stupid happening where someone decided it would be a good idea to blast the user's name and phone number out over the local network.
A full page PDF of text with a few thousand letters specified as TTF outlines prints in realtime on pretty much everything while being rasterized into far more data than the cutting instructions for a plotter with a knife, and Adobe isn't grabbing at wallets for the privilege of doing so.
You dont hear about it as often because for reasons, the kids aren't exactly encouraged to reach out to adults on the internet. Dogs on the internet and all that.
Also, expecting problems of that nature to get wrapped up in just a week is well... "unreasonably optimistic".
You're going to have to start threatening to sue people, because that system is more than a little bit incestuous and definitely does not care. Each antivirus company cares about making the number of detections they can show on their website larger than everyone elses, and that's it.
A few years back a friend of mine put a keygen (from Adobe, no less) and a crack (which was a fix for some incompatibilty I forget) up on his non-SEOd "I don't care" web server so he could more easily get at the files while at work, because he needed them for work. This wasn't piracy, because these were for a couple of long out-of-support products running on hardware you'd be shocked to still see people using (who definitely had the licences but good luck keeping paperwork in order at a rural public school) but he still had to support these museum pieces. Fast forward a couple years and Google eventually indexed his webserver because it was open and someone mentioned it over IRC or something, and then the antivirus engines looked at it, and that's where things went sideways.
The antivirus companies are all in a big rush to show they detect eleventy bajillion more things than the other guy, so several have categories for anything even remotely bad, like keygens and cracks. Most of these are very widely known (especially the keygens that have been around for over a decade) and known to do nothing but spew out a code. The problem here is that since a couple of the antivirus engines now declared these files to be possibly verboten because they might be used for piracy (if you were so cursed as to need decade-old desktop publishing), other, less-granular anti-virus engines now also return a false positive for "malicious software" because they don't distinguish (or care) between the different types of "possibly evil" software. Adding to the confusion is that since a few of these companies use "heuristics" which amount to "If other engines decided this file was evil, then we'll just add it to the Big List o' Evil and call it done." Multiple vendors do this, so over the course of days you'll see more and more engines "decide" the file is evil, and if they know where it came from it gets even worse...
Because now there's more and more "professional" engines reporting "eek! A malware!" of these two fairly innocuous files on this utterly boring dump site running on a BSD server with all of two user accounts, no offsite passworded logins allowed, and a deeply paranoid admin, so the algorithms that are used to determine if a site itself is safe start to drop their ratings... because drumroll please multiple antivirus vendors have begun detecting malware on the site.
Now there's other engines apparently decide that this this site has been getting more and more attention (don't even ask me how the hell this happens other than some people were really bad at copying homework as kids) and the number of virus engines that are "finding malware" on it keeps growing, that it must have been _compromised_. They promptly begin to blacklisting the IP address_it uses, which also happens to vhost a dozen dinky little websites used by church groups and reading circles in a relatively rural community. The idea that it would be compromised is almost laughable because it's barely being allowed to do anything to begin with.
Yet other people going to different vhosts on the same IP address to find out the details about their upcoming church picnic or whatever are now getting dire warnings that the site may have been compromised and it is being used to ship malware so they should turn back for their own safety. This is also about the time anything even attempted to contact the actual admin about the problem, but he's already getting emails from freaked out grandmotherly-types. He's also getting bounce mail reports because some of those anti-virus engines will also declare an email to be malicious just because it came from a "malicious site". This is a pretty spectacular form of madness when you can see that the email which was rejected for "containing malware" was 100% plaintext with no attachments, and written by Mutt and doesn't even have the block of base64 MIME nonsense other HTML-obsessed mail clients do.
So, in short, get some boilerplate together, hit up VirusTotal, and then start tracking down where these idiot antivirus companies are and begin sending your own angry emails to _every single one of them that's reporting a false positive_, because this problem is otherwise never going to go away. The longer they get to sit with bad signatures matching your binaries in your database the further that madness will spread.
Google's SafetyNet scans the system files, but it looks for _specific_ files that should not be there and ensures that certain files that must remain unaltered actually remained unaltered to ensure that the security model is still intact, so it doesn't need to violate copyright laws by stealing copies of files off the user's phone without permission or user awareness.
...and funny that you mention Windows Defender because it repeatedly advises the user that it might upload files to Microsoft and asks for their approval for doing so at multiple points. Microsoft is being perfectly transparent about what they're doing and giving users the ability to opt-out. They're also the people who make the entire operating system so they've got an obligation to try real hard to prevent another Blaster incident. Facebook just makes a social media app.
Let's face it. This is the freakin' Facebook app. It's not doing anything so incredibly revolutionary in the field of computing that requires it to be intimately involved in system libraries. It needs to display cat pictures and take in and emit text and make HTTP and HTTPs calls over the network, oh and monitor the user's every move, even while they sleep.
Absent a rather dubious user agreement allowing Facebook to copy all the data off your phone, Facebook does not have that fair use right. Nor is it likely even remotely ethical to be doing this without explicitly notifying the user. So, illegal and unethical, but I guess unless some PR firm is paying the news media to be outraged about it, they're not likely to care.
The person who started this reply thread repeated part of it twice for good reason. Bots, unchecked, can and do take up a majority of the resources on small to medium sites.
I'd have been much happier with the article if the author had taken a moment to implement a bit of throttling on his end to at least go easy on the remote server.
This is simply not true. These two points don't even make a coherent argument, as it's plainly discernible that lots of apps don't use the Firebase Android client library but aren't "reported to the user".
Furthermore, "using too much battery" is not what the notification says. It simply says "is using battery", and even this is avoidable.
...and there are plenty of good reasons to explicitly register as a foreground service.
I agree with you that someone's bound to crank out a GPL-compatible lib for interfacing with FCM sooner or later.
It still doesn't mean that they're going to be able to go without a persistent notification if they want to run their own background service, but that's a change that everyone is required to deal with. "Secret" background services were abused egregiously by bad actors and sloppy coders alike in the past and it's time for that to stop. This carp some people are floating about it incurring "warning" is nonsense--if they looked at the developer docs they'd see how easy it is to avoid that happening.
> "Google started leveraging its de-facto monopoly on Android distributions by forcing all apps to use its proprietary service Firebase for push notifications."
A number of logical leaps of faith need to be made before the word "force" carries any truth, but no one's "forcing" anyone to do anything. A developer can still use the FCM or not, it's up to them. If a developer simply refuses to interface with any sort of proprietary code then it's a wonder they'll touch any commercial product at all (iOS included).
..and since Telegram-FOSS were cited as a source for this mess, here's the very first part of [i]their[/i] statement, which is also not true:
> Since Android 8.0 Oreo, Google doesn't allow apps to run in the background anymore, requiring all apps which were previously keeping background connection to exclusively use its Firebase push messaging service.
Sooo very not true. Android [i]does[/i] still allow apps to run in the background. The developer docs caution against doing so without good reason because so many developers try very hard to ignore the lifecycle methods, resulting in many wasted clockcycles and reduced battery life.
But the Telegram team didn't stop there, so let's unpack the rest:
> Sadly, if the app would set the notification to lower priority (to hide it a bit in the lower part of the notification screen), you would immediately get a system notification about Telegram "using battery", which is confusing and is the reason for this not being the default. Despite Google's misleading warnings, there is no difference in battery usage between v4.6 in "true background" and v4.9+ with notification.
First, it's not a "warning". It's simply a statement. ...and yes, if you're going to maintain a separate push notification service of your own (I'm looking at [i]you[/i], Facebook.) you [i]are[/i] going to be using at least a few clockcycles. There's no way around this.
The backgrounded apps notification is also as "judgement free" as any notification can possibly get. On my phone right now, running Android 8.0... "3 apps are using battery". One of these is my own app (which happens to be a homescreen widget), another is Life360, and another is GSam Battery Monitor. Tap that notification and a list appears, headed up with "Apps running in background" with "Tap for details on battery and data usage" and lists the apps with their icons. Tap one and it shows what resources the app [i]is[/i] actually using. GSAM... 52Mb of RAM, and ~55kB of data in the last month. 0% battery used since last full charge. My app, 0% battery (probably not enough to count as a whole percent) use since last full charge, 5.84MB of internal memory, no data usage. I don't know how other people might view them, but to me these seem like vindications. None of that information is being presented in any way that that should be construed as condemning or accusatory, let alone "misleading".
If Telegram-FOSS doesn't want users throwing a fit about their resource usage, perhaps they should spend a little time grooming user expectations to be more reasonable.
The reddit user who posted this mess, on the other hand... A five-year old account that only occasionally posts anything that doesn't smell of astroturf, and this one post is nearly 80% of their karma. Seems like they've decided to make a foray into outrage-farming.
Thing #1 to remember if you're in infosec is that you must pitch it based on the money saved by not having expensive problems like having to hire outside consultants and auditors after a breach.
What's going on in a good programmer's head is going to be complex and detailed, because we need to understand it to be able to write it, and that basically means we're running the code in our heads before we commit it to a screen.
We're not "setting [ourselves] up for failure". We're solving hard problems with the expectation that we won't have to come back to it in an hour's time just to erase all our poorly planned code and start over. It's not like writing an email--we're switching modes over to thinking like a computer and this requires concentration and focus.