Vulnerability in Xiaomi Pre-Installed Security App Allows Hackers to Hijack Device by Injecting Malware

A vulnerability in Xiaomi Mi Pre-Installed Security App ‘Guard Provider’ exposes more than 150,000 devices to an attack.

Security researchers from Checkpoint discovered a critical vulnerability in pre-installed security app, ‘Guard Provider’ which allows an attacker to launch a Man-in-the-Middle (MiTM) attack.

Xiaomi Pre-Installed Security App

The security app includes third-party SDKs for offering the protection services, but the vulnerability in allows attackers to launch a MiTM attack, disable malware protection, deploy ransomware, tracking scripts and any kind of malware on the user device.

Guard Provider – How the Attack Works

Guard Provider use three different antivirus databases that include Avast, AVL, and Tencent, to provide protection service.

The pre-installed security app in Xiaomi phones aim’s to protect the phone by detecting malware, but the vulnerability in the app exposes the user to an attack.

Guard provider network traffic is unsecured, which allows a connected in the same Wi-Fi network as the victim could carry out a MiTM attack and inject malicious code as a part of the third-party SDK update.


unsecured HTTP traffic

“There are actually some hidden disadvantages in using several SDKs within the same app. Because they all share the app context and permissions. One SDK could compromise others, SDK Private storage cannot be isolated, so another SDK can access it.”

According to Checkpoint researchers, “Remote Code Execution (RCE) attack is possible when integrating two SDKs with problematic behavior.”

The attack leverages unsecured HTTP traffic, Path-Traversal Vulnerability and lack of integrity. “The attack is successful because the previous Avast update’s signature file was not verified before loading and Guard Provider has already checked it the first time it was downloaded.

“It is completely understandable that users would put their trust in smartphone manufacturers’ preinstalled apps, especially when those apps claim to protect the phone itself. This vulnerability discovered in Xiaomi’s ‘Guard Provider’, however, raises the worrying question of who is guarding the guardian.”

Checkpoint reported the vulnerability to Xiaomi and it has been fixed now, users are recommended to update the app.

You can follow us on LinkedinTwitterFacebook for daily Cybersecurity updates also you can take the Best Cybersecurity courses online to keep your self-updated.

Hackers Compromise iOS & Android Devices by Launch Malicious APK & Drop Malware Over Hijacked WiFi Routers

Android Security Update – Code Execution Flaw Let Hackers Control Your Android Device Remotely – Update Now

Guru baran

Gurubaran is a co-founder of Cyber Security News and GBHackers On Security. He has 10+ years of experience as a Security Consultant, Editor, and Analyst in cybersecurity, technology, and communications.

Recent Posts

Best SIEM Tools List For SOC Team – 2024

The Best SIEM tools for you will depend on your specific requirements, budget, and organizational needs. There are several popular…

24 mins ago

Beware of Phishing Attacks Targeting AmericanExpress Card Users

Cybercriminals target American Express cardholders through deceptive emails that mimic official communications from the financial services giant. The scam attempts…

56 mins ago

Indonesia Emerging As A Hub For Highly Invasive Spyware

In today's digital age, civil society is facing a serious threat in the form of invasive malware and surveillance technology…

1 hour ago

Hackers Use Custom Backdoor & Powershell Scripts to Attack Windows Machines

The Damselfly Advanced Persistent Threat (APT) group, also known as APT42, has been actively utilizing custom backdoor variants, NiceCurl and…

4 hours ago

Europe’s Most Wanted Teenage Hacker Arrested

Julius “Zeekill” Kivimäki, once Europe's most wanted teenage hacker, has been arrested. Kivimäki, known for his involvement with the notorious Lizard Squad, was apprehended after a series of…

5 hours ago

Tinyproxy Flaw Let Attackers Execute Remote Code

A security flaw has been identified in Tinyproxy, a lightweight HTTP/HTTPS proxy daemon widely used in small network environments. The…

7 hours ago