Join our Newsletter — 33% off our NHI Course

Agent Smith (Android Malware)

Agent Smith is Android malware that replaces legitimate app components with malicious ones after abusing trusted apps on the device. It has been used to display unwanted ads and to enable further abuse inside legitimate-looking applications. Defenders should focus on app provenance, abnormal permission requests, and signs that installed apps are behaving differently from their published package.

How Agent Smith Changes a Legitimate App

Agent Smith is dangerous because it does not need to look like a standalone suspicious app once it lands. It can swap or alter components inside trusted-looking Android applications, so the malicious behaviour appears to come from software users already know and trust.

That makes the malware more than a simple adware nuisance. When a legitimate package is modified in place, the attacker inherits the app’s reputation, user trust and local privileges, which can blur the line between ordinary app behaviour and compromise.

Why This Malware Is Hard to Spot

The key challenge is that the device may still show the original app name, icon or package lineage while the behaviour changes underneath. Defenders should treat unexpected permission prompts, new ad activity, broken app logic and behaviour that differs from the published package as warning signs.

App-store presence alone is not proof of safety. A user can install a known app and still end up with a tampered version if provenance is weak, the device accepts untrusted installation paths, or a trusted app has been abused as a delivery vehicle.

Exposure Checks and Defensive Verification

Exposure checks should begin with inventory, provenance and package comparison. If an Android app is installed from a source that cannot be verified, or if the on-device package behaves differently from the vendor’s published version, it deserves close inspection and containment.

Abnormal permissions matter because malware that replaces components often needs broader device access than the original app required. Review whether the app suddenly asks for SMS, accessibility, overlay, device admin or other high-risk permissions that do not fit its stated function.

Published guidance for mobile malware families and control patterns is useful here, especially when the behaviour resembles other Android abuse patterns such as overlay attacks or accessibility-service misuse. NHIMG’s Mobile Malware Guide is a helpful reference for those related mobile defence patterns, while CIS Controls v8 reinforces the value of asset inventory, malware defence and monitoring for suspicious software changes.

Why Tampering Matters After Installation

Once a trusted app has been altered, the malware can use that trust to keep operating inside ordinary user workflows. The result may be ad fraud, unwanted content injection, or a foothold for more intrusive abuse such as credential capture, lateral device misuse or additional payload delivery.

Because the malicious code lives inside a legitimate-looking application, post-compromise review should ask whether the app has started contacting unfamiliar infrastructure, loading unexpected code, or generating behaviours that do not match its expected purpose. A trusted app that silently changes character is a strong indicator of compromise.

Risk and Threat Considerations

This malware creates a trust-abuse risk because defenders and users may continue to trust the app name while the internal behaviour has already been subverted. That can turn a normal application into a covert delivery and persistence point on the device.

Failure mechanism: The attacker abuses a legitimate app environment, modifies or replaces components, and then relies on the original app’s trust to hide malicious behaviour from the user and from weak review controls.

Impact: The device can be exposed to unwanted advertising, further compromise inside seemingly trusted software, and harder-to-detect abuse that may persist until the app is removed and the device is reviewed.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

CIS Controls v8 provides the primary governance reference for this term.

Framework Control / Reference Relevance
CIS Controls v8 CIS-2 — Software Inventory Agent Smith hides inside installed apps, so software inventory and provenance checks are central.
CIS-10 — Malware Defenses The term is malware and its abuse is detected through malicious-app controls and monitoring.
CIS-18 — Browser and Email Protections The malware often arrives through user-facing delivery paths and trust abuse, making user-exposure controls relevant.
Recommendation — Inventory installed apps and compare them with approved sources to spot tampered Android packages. Use malware defenses to quarantine suspicious Android apps and block known-bad behaviour. Reduce risky delivery paths that can introduce malicious apps onto managed devices.