@OP, are there ways of identifying this type of malware, aside avoiding unnecessary downloads or using fake play stores?.
I expect that installing a good antivirus program can detect this type of advanced malware. There’s also a feature I once found in an antivirus app that automatically removes permissions from idle apps after a certain period and that’s truly a useful feature.
What you said is true, usually a reliable antivirus scans for suspicious things or activities, so that it automatically takes preventive measures against it, and maybe what you mean is one of the antivirus applications that has a robot logo, right? Because I have used it, and it is really very reliable in doing prevention and security.
Other than that, I think it should be for anyone to install a reliable antivirus, so that they can avoid losses caused by attacks, and don't forget to always update when it is available, this must also be considered especially for a beginner, because I often find people who don't really care about antivirus.