Agent Smith is Android adware that silently replaces installed applications with modified versions containing malicious advertising modules. Its infection chain combines the Janus vulnerability (CVE-2017-13156), Bundle, and Man-in-the-Disk weaknesses to install altered applications without users’ knowledge. Its primary observed activity is displaying fraudulent advertisements.
Agent Smith enumerates installed applications, compares them against a target list supplied by its command-and-control server, and checks whether targeted applications are running before infection. It extracts a target application's base APK, incorporates malicious advertising code, and installs the repackaged application as a purported update. The core malware masquerades as a legitimate Google application, while subsequent malicious updates impersonate official Google patches. It also deletes update packages for infected applications, preventing legitimate updates from replacing the malicious versions.
Distribution has included trojanized applications in third-party Android marketplaces, particularly 9Apps, as well as malware-dropping applications identified on Google Play. Distribution apps included utilities, games, beauty-filter applications, and adult-content applications. Infections were observed internationally, with particularly high numbers in India, Saudi Arabia, Pakistan, Bangladesh, the United Kingdom, the United States, and Australia.
1 CVE Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
2 distinct techniques documented for this family, organized by ATT&CK tactic.
Bouncing Golf distributed malware as repackaged legitimate applications, with the malicious code in the com.golf package.
Agent Smith can impersonate any popular application on an infected device, and the core malware disguises itself as a legitimate Google application.
9 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.