May 31, 2019

Security APP Review - Lionmobi

An Anti-Virus mobile App can have fancy UI and claimed to have a lot of protections to your phone. However, non-tech users wouldn't know whether it is true or not. Let's have some reviews on some popular mobile security Apps.

Security APP Review - Lionmobi

Since Android ecosystem is more open to users, you can download and install any App from many sources instead of just Google Play Store if you want. However, the same convenience was brought to App developers and Malware authors too. Security concern is always a big topic for Android users, especially for Chinese users. For this reason, there are a lot of security App published for Android in the market. In this series, we will go through some of the well known security mobile App to see how they perform. Let's start with a very popular application in Play store: Power Clean - Antivirus & Phone Cleaner App from Lionmobi.

Open Play store from Google, you can see there are several security related tools from Lionmobi. We have reviewed and analyzed all of them, but in this topic we will focus on Power Clean. All other App which has the overlapped features has the similar code and performance.

Power Clean itself has more than 100 millions downloads and currently still have more than 2.5 millions active users for the timeline of the writing. Besides the popularity of the App, the reason why we focus on this App is that it has a very wide range of security and utility tool features, include but not limited virus/malware scan, wifi security scan, CPU cool down, memory/storage clean. Some of the features sound really cool and helpful for Android users. But will it work well as it claimed? Let's have a deeper look.

Alt

The UI of the App looks cool and professional, it shows some status on the top and features on the bottom. Since we are more concerned with the security features. Let's start from the Antivirus part. If you click on the Antivirus, a radar animation is shown to start scanning your phone for WiFi security and other threats:

Alt

For Wifi security, it is claimed to detect DNS hijacking, SSL hijacking, ARP spoofing and WiFi encryption method. However, from our testing, those features always return the same result even we tested it in some phishing hotspot environment or under ARP spoofing attacks. So we went to the code of the App and found some very interesting result from it:

public static int getEncryptionType() {  
        try {  
            WifiInfo connectionInfo = a.getConnectionInfo();  
            if (connectionInfo != null) {  
                String bssid = connectionInfo.getBSSID();  
                try {  
                    List scanResults = a.getScanResults();  
                    if (scanResults != null) {  
                        String str;  
                        for (int i = 0; i < scanResults.size(); i++) {  
                            ScanResult scanResult = (ScanResult) scanResults.get(i);  
                            if (scanResult.BSSID.equals(bssid)) {  
                                str = scanResult.capabilities;  
                                break;  
                            }  
                        }  
                        str = null;  
                        if (str != null) {  
                            if (str.contains("WPA2")) {  
                                return 3;  
                            }  
                            if (str.contains("WPA")) {  
                                return 2;  
                            }  
                            return str.contains("WEP") ? 1 : 0;  
                        }  
                    }  
                } catch (Exception e) {  
                    return -1;  
                }  
            }  
        } catch (Exception e2) {  
        }  
        return -1;  
    }

public static boolean checkDnsFake() {   
    return true;  
 } 
     
public static boolean checkArp() {  
        return false;  
}  
    
public static boolean checkHttpsHookFake() {  
        return false; 
}

It seems only function getEncryptionType has done some real logic to get the WiFi encryption type, for other WiFi related threads detection, it just returns constant results and does nothing. Then it is not surprised it will always tell your WiFi environment is secure even you were under attacks.

After the WiFi scan, the App will continue on scanning virus and malware. To test the detection of malware, we downloaded 50 malware samples from VirusTotal. All of them were reported as malware from the most of major Anti Virus (AV) vendors. Since the Power Clean App only scan installed App other than files or folders, we need to install all of the testing samples on the phone. After installing all 50 samples with help of xargs and adb, we can see a lot of App was installed on the phone:

Alt

After what we have observed from its WiFi scanning functions, we did not expect too much on the detection rate of the malware scanning part. However, since the 50 samples are from 2018 and most of the AV vendors report them, we still think it would not be too bad to detect most of them. But the result is still disappointing:

Alt

Besides an AD was successfully shown on the screen, nothing was alarmed by the App. Considering what we have seen from the WiFi part we can say Lionmobi Power Clean actually has done almost nothing to secure your phone except putting some ADs on the interface. For all the testing sample list, you can refer to the Appendix A. Then we tested the same 50 samples to another Lionmobi App Power Security, whose major functionality is for mobile security. The result is the same:

Alt

After testing and analyzed the security part of the App, we also went through some of the interesting features. For example, “cool down”:

Alt

When your CPU show red words with high temperature like 150F, you can click on the Cool Down and after some animation down, you will see some degree was dropped. However, if you really  looked at the code of the cooling down logic, you will observe following code snippet:

private void b(boolean z) {  
    if (!isFinishing()) {  
        if (z) {  
            aaj.setLong("last_cooler_time", Long.valueOf(System.currentTimeMillis()));  
            int i = this.e - this.g;  
            if (i >= 45) {  
                i = 45 - ((int) ((Math.random() * 1.0d) + 1.0d));  
            }  
            aaj.setKeepTemperature(i);  
        }  
        uv.scheduleTaskOnUiThread(800, new Runnable() {  
            public void run() {  
                Intent createActivityStartIntent = aim.createActivityStartIntent(CoolerActivity.this, CoolerResultActivity.class);  
                createActivityStartIntent.putExtra("intent_data", Long.valueOf((long) CoolerActivity.this.g));  
                createActivityStartIntent.putExtra("back_to_main", CoolerActivity.this.shouldBackToMain());  
                CoolerActivity.this.startActivity(createActivityStartIntent);  
                CoolerActivity.this.onFinish(true);  
            }  
        });  
    }  
}  

It just generates some random number to tell you how many degrees it helped to cool down and actually had done nothing. It also use the similar method to tell how much it can speed up your device by using some random numbers too.

After testing the Power Clean - Antivirus & Phone Cleaner App from Lionmobi App, the only expression for us is they faked several features that they claimed to have and has almost no real working security features to prevent any real threats for endpoints. Besides that, they have very heavy AD delivery for almost any functionality. For example, when they claimed they are downloading fraud phone numbers, it actually did nothing other than just showing you some AD on the screen. It wasted a lot of storage and resource to Android users by claiming it as a security App.

The Apps reviewed from Lionmobi are all from Google Play Store.

They are:

Network Master Speed Test_v1.9.82 - 306030a2040861e0ce52e736cd396e05

Power Battery Battery Life Saver Health Test_v1.9.8.6 - 6736e8db37df6ad04dbf827b2c8b60ec

Power Clean Antivirus Phone Cleaner App_v2.9.9.64 - c06b7b8e78202ead80a2a1ec5ed1120f

Power Security Anti Virus Phone Cleaner_v2.1.6 - c9d069ff45397fdf7b6412093b59e80c

Thanks Yue luo for all the code review and analysis.  

Appendix A

https://www.virustotal.com/file/c625be6fb17e72845e091be5e4f5a6e0e42ded5b030a3911fee20620be0d9766/analysis/1539992663/

https://www.virustotal.com/file/ea9cd41316a6baf97a026e3d83c74d2781feb77d27e1cebb2e90932e5196fd5f/analysis/1540056413/

https://www.virustotal.com/file/4282183a0547e63b35e58efae79aca851e02fca1ccda16ba2d92062a95b31cc4/analysis/1540061471/

https://www.virustotal.com/file/4c0ce8baf7880be7482098b33e2d8966a2ee91660ae66ffac6ec931bf7a32520/analysis/1540017677/

https://www.virustotal.com/file/48e951c09b5a7a81d827d9cbb5f219dd23fee728573de3caad95ba43030a36f0/analysis/1540776557/

https://www.virustotal.com/file/de87eec9932e93b121464bcf57e32ca2a33455b7e271b76250d5af110ab449f9/analysis/1540047785/

https://www.virustotal.com/file/7b09c181f40cf2492b304e473c7c92012ce7994b898a5f8e68afef0a64404b68/analysis/1540061480/

https://www.virustotal.com/file/f0732ad7a4afa93e31ea7c8498b5c0817f4e5c64bfe0bfa18927291cf7ec389b/analysis/1540049563/

https://www.virustotal.com/file/eeb708f55cf5a6b1586ded69783480b02c90b1ebe10ebfb09d4406f2804dd779/analysis/1539994306/

https://www.virustotal.com/file/e3408a401615d9d43a3a77030de1836a5e74e29928b01ef94d4ab13535a1b8a8/analysis/1540033910/

https://www.virustotal.com/file/e75c0594643237c09c4888e1450f45e9bfc716ec66c2f7d2caa306d4d1bb471a/analysis/1540002171/

https://www.virustotal.com/file/75b09aff499532c70c8237b2e281dfc60a30db149f953863b739d50351a2242f/analysis/1539995444/

https://www.virustotal.com/file/4811fe9638f6741bfe299c47def7fd130d509c9f6530151bc0f230d48e8279c2/analysis/1539995464/

https://www.virustotal.com/file/76ad0a3d251529572e5a92eae9ba8e6b487a7e368b73a695f6b030f93706762d/analysis/1540013159/

https://www.virustotal.com/file/ebab3a14dc482ef5d702ddea7f246e80d852c24ed383607bf63fd9c641225ed8/analysis/1539992685/

https://www.virustotal.com/file/9287b76ba6e2d78c77c3c3550b97c159a9db42e9b87bd9881428651e9ee29adf/analysis/1540012784/

https://www.virustotal.com/file/34b4106bb60ca3917ed9441d02b1013875c3b2fc833a9c3421842d89d2a23304/analysis/1540776567/

https://www.virustotal.com/file/6756860ca6580cfcccaf63c8f1519d5e969cccec1ac7dbc38bd1750d4b6d052c/analysis/1539992663/

https://www.virustotal.com/file/1299269cc9897dcd3d4ae2384e97d7a66599711d2df8d5e330df3d368efbb5c4/analysis/1540049660/

https://www.virustotal.com/file/cb07ddcdadfbe955124133c549735cd6c01daa8d58237ebd775a914eb0989c14/analysis/1540000732/

https://www.virustotal.com/file/dd9cc1a8d27e44b784485a7897aea436fdda5bb603d7f681bc7d19a7f5c4d997/analysis/1540001145/

https://www.virustotal.com/file/6cb4917252e906d6ae44065e7ecfdb975736f30e74ea19309fb780d99ce133f8/analysis/1540051526/

https://www.virustotal.com/file/28d4f5087a9adbf66e2b776cf2c354b0425f760166af8230636d44e455230654/analysis/1540012735/

https://www.virustotal.com/file/d495f76157b1bfa9a5fe6ec91b35ed3d98505c1f6c0b189e8e70a26f59156c2c/analysis/1540776573/

https://www.virustotal.com/file/7daff1b012e9a5e37f714c7d2b31dba82517c9fa9bbd9260fd53ceebef360351/analysis/1540009444/

https://www.virustotal.com/file/54652a80b8a78ecfdfd55303b2e764ef6c59d0ffe57e482b99682748cbdca409/analysis/1540037875/

https://www.virustotal.com/file/2e01c816f12085f1b7061f4ffe0b350397df1b10460e31570f1de0e95b4b757c/analysis/1540059917/

https://www.virustotal.com/file/f5acea2600e0001a38341e9fbbd499bafaa557dfa91041dfb530cb9144fa19e0/analysis/1540010137/

https://www.virustotal.com/file/425525a90aaaa4ab9d1af76b34286d2ea3be8f08cb8a5d13c8da631f56d13a7d/analysis/1539998794/

https://www.virustotal.com/file/50d832bcf39122522360b2dfd6138db2f66c7510453e88f07020db3178e0318a/analysis/1540050833/

https://www.virustotal.com/file/711776544b74b675ad984fca7da9eb4fae66b02a9e74b769eb11ce36150d43f4/analysis/1539992716/

https://www.virustotal.com/file/3516f255091bc777e85354e82ada792fc1893363031f814c21ff1606806c95d7/analysis/1541381144/

https://www.virustotal.com/file/c304fca125c85d260082b96390fbcd371de9b76a1301e3d366a8c8609cd57142/analysis/1539991630/

https://www.virustotal.com/file/565e5e2b51ec0700376ae6fe2b23568112c4374b2323b796bedae1df394a009c/analysis/1540002077/

https://www.virustotal.com/file/44b8666af14aaba637405bb4c39ca14de196f5e5a4ab66ea7580b52c17c68690/analysis/1541295261/

https://www.virustotal.com/file/594670e2590f146286a9ff418c5d9ca71d602ddfe6eed81a9fa99aa3730a7b6a/analysis/1540054506/

https://www.virustotal.com/file/472a1de343a23f9823adc48288eae81fa3d4c18c468713530974e2fabdc58195/analysis/1540776592/

https://www.virustotal.com/file/511598fe024036f6a1574029c896980e1aeb8a2697b6be663b61924cacbf0444/analysis/1540012801/

https://www.virustotal.com/file/e0201c98644dbfaedcf6f62a2be837892a2b0d3096febff2a665a7be7ee08ca7/analysis/1541381147/

https://www.virustotal.com/file/abed5cb32aa2ba90d334e7df72ccd6d89e8847b46cb7629d2fbc4d3fb5425bac/analysis/1541381144/

https://www.virustotal.com/file/e57eaa0a009610937c7e3f729a0eb7dd09482ce43596f42b2c5c6dca12747e23/analysis/1540776597/

https://www.virustotal.com/file/d958a708e1311042562a8f186d42cb8adbb1588638e90fde3188e4cbb62ccaa8/analysis/1540021245/

https://www.virustotal.com/file/0159157e825b3a44a5f3d4cbcb8032306be1965954d29afd05b3a066b397eb6f/analysis/1540039522/

https://www.virustotal.com/file/dc349c599cdba3e53d665b4611c0c2ed5ea701a1e3e3d35e5d2739d34be5eb51/analysis/1540047802/

https://www.virustotal.com/file/74a9f94bdeb89ce66dfb178820f22050dc9a329622df39335fd8895c4268c592/analysis/1540041219/

https://www.virustotal.com/file/d04aaf864220e29a418153ef0dbc88071c8e2246fa9515bd3c537f1402836295/analysis/1540018512/

https://www.virustotal.com/file/d759817af95ffaa3dcdb6aeaee3c168fea19c99d153c28bc4b60cf10cb81df05/analysis/1541381150/

https://www.virustotal.com/file/5018296b1e44b4873563fd774e3ee9189bb30f9f7adb2393b12accdfc47722b5/analysis/1540024792/

https://www.virustotal.com/file/fdc579a16050163f03ce5900aa51fcea43f6d328a671fbcbc2762e7246d055f1/analysis/1540061216/

https://www.virustotal.com/file/f455b069eac87e584ffbe2b8e7095fe99a4afe4e879920e7812eb25665803026/analysis/1539992750/