Skip to content
Access control Write-up Intermediate

Attacking Android Antivirus Applications

The McAfee Security Android app exported its main activity, which accepted an intent extra that allowed starting arbitrary internal components with attacker-supplied extras. A malicious app with no permissions could exploit this to invoke privileged actions, such as making phone calls, using the antivirus app's permissions.

2Dai Follow

Published on blog.scrt.ch

Although the usefulness of security tools such as Antivirus, VPN and EDR is now indisputable in business circles, these solutions often need a lot of privileges and permissions to work properly, also making them an excellent target for an attacker. The presence of a bug in one of these types of solutions could allow a…

2Dai (@mabenz68), on blog.scrt.ch

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the exported main activity trusted intent extras to specify an internal component class name and extras, allowing arbitrary component launches within the app's context.

Impact

A malicious app could use the antivirus app's permissions to perform privileged actions such as making phone calls, and potentially access non-exported components and content providers.

What the attacker needed

Malicious app installed on the device; McAfee Security app installed

The fix

The app was end-of-lifed and replaced by a redesigned version; the report does not state a specific code fix.

How it was found

  1. Install a malicious app with no permissions.
  2. Create an intent targeting the exported McAfee main activity.
  3. Add the trigger extra set to MESSAGING.
  4. Add a SCREEN extra naming an internal component and its extras.
  5. Start the activity, which launches the internal component with the McAfee app's permissions.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

Android apps can expose parts of themselves to other apps. If a security app exposes a powerful part by mistake, a malicious app can ask it to do things on its behalf, like making a phone call, even though the malicious app has no permission to do so itself.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More from McAfee

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.