MobDojoStart learning free

Mobile Malware · Malware Basics · Lesson 2 of 5

Malware Types

Banking trojans, spyware, adware, lockers and droppers, sorted by what they do.

13 min60 XPFree lab

Trojans that want your bank, and apps that watch you

Analysts usually sort malware by its goal, not by how it looks. The disguise changes every month. The goal rarely does.

Banking trojans are the most studied mobile threat. Their goal is your banking logins, your one-time codes and, in the end, your money. You saw in Android App Security how they draw fake login screens over real bank apps. The piece that makes modern ones so dangerous is the accessibility service. Once a user turns it on, the trojan can read what's on screen and tap buttons, so it can grab a code from a text message or even approve a transfer while the victim watches a fake loading screen. Families such as Anatsa and Octo, documented by ThreatFabric, follow this pattern.

Spyware has a different goal: collecting information. Google defines it as code that collects, exfiltrates or shares user or device data unrelated to the app's legitimate job. It ranges from shady apps that upload your contacts, all the way up to mercenary tools sold to governments.

Stalkerware is spyware installed by someone the victim knows, often a partner, to monitor messages and location. You covered the warning signs and the safe way to respond in Android App Security. For analysts it's a special case, because removing it can alert the person who installed it.

All three lean on the same Android features: accessibility, notification access, SMS and overlays. That's why Android has tightened them. On Android 13 and later, a sideloaded app can't simply switch on accessibility. The setting is restricted until the user overrides it on purpose.

On the simulated phone, try to enable Battery Booster Pro, which was installed from a website. Follow each screen Android shows you, then open the bank app and note what the service can observe.

Adware, fraud, lockers and droppers

The rest of the common types, sorted by goal:

Real samples mix these. A dropper installs a banking trojan that also shows ads and reads texts. Analysts usually name a sample by its most harmful behavior, and list the rest as capabilities.

A helpful habit: when you read about a new threat, ask "what is it trying to get?" The answer usually tells you how serious it is and how to stop it.

Test yourself

Can you answer these?

  1. In the lab, what did you have to do before Android even showed its full control warning for Battery Booster Pro?
  2. According to Google's 2018 data, which type of PHA mainly cost advertisers and ad networks rather than causing direct harm to the phone's owner?

Answer them in the app to earn 60 XP.

Answer in the app