Please enable JavaScript to use CodeHS

Cybersecurity • Privacy

What Is Spyware and Stalkerware?

Some apps are built to watch you in secret. Learn what spyware and stalkerware are, how to spot the warning signs, and the simple habits that keep your phone yours. Calm, practical, and no scary stuff.

Privacy & Safety ~12 min Beginner friendly
The Basics

What are spyware and stalkerware?

Spyware is a kind of software that secretly watches what you do on a phone or computer and sends that information to someone else. The key word is secretly. A normal app tells you what it does. Spyware hides.

Think of a sticky note on the back of your notebook that quietly copies down every page you write. You never agreed to it, and you might never see it. Spyware does that with your messages, photos, locations, and more. It is a type of malware, which is any software built to cause harm.

Exhibit A • What a hidden app could see

Each line below is blacked out, like a document that has been redacted. Tap a line to see an example of what spyware could collect. These are made-up examples.

What makes stalkerware different?

Stalkerware is spyware that one person puts on another person's phone to watch them. It is usually someone they know: a partner, an ex, a friend, or sometimes a family member. The person doing it may say they are worried or they care. But watching someone in secret, without their say, is not okay. It takes away their privacy and their control.

If this ever happens to you, it is not your fault. Someone else made a choice to cross a line. You did nothing wrong, and there are people who can help. We cover that in the last sections.

Spyware

Secret software that collects information. It might be installed by a criminal, a shady company, or someone with bad intentions. The goal is usually money or information.

Stalkerware

Spyware used by a person to watch someone they know. The goal is control or tracking. It can show up in families, friendships, and relationships.

What about parental controls? Some families use apps that show screen time or block websites. When everyone knows about the app and agreed to it, that is open and honest. Stalkerware is the opposite: it is hidden, and the person being watched never said yes. Secrecy is the main difference.

If you want to compare it with a close cousin, a keylogger records what you type, and many spyware apps include one.


Warning Signs

What are the warning signs of spyware on a phone?

Spyware tries to hide, but it still leaves clues. No single clue proves anything. Phones act strangely for lots of boring reasons. What matters is a pattern, especially when it comes with the last sign on this list.

  • Battery drains fastHidden apps keep working in the background, which uses power. A very old battery can do this too.
  • Phone runs hot or slowEspecially when you are not using it. Games and videos also cause this, so think about what you were doing.
  • Apps you do not recognizeLook for boring names like "System Service" or "Sync" that you never installed.
  • Odd permissionsAn app asking for things that do not match its job, like a flashlight that wants your contacts.
  • Settings you did not changeFor example, a setting that allows installs from outside the app store has been switched on.
  • Someone knows too muchA person knows private things or where you have been, and you never told them. This is the biggest clue.
Interactive

Spot the warning signs

Read each short story. Then pick how you would respond. There is no penalty for guessing, and each answer comes with an explanation.


How It Works

How does spyware get onto a phone?

Spyware does not appear by magic. It needs a way in, a way to get permission, and a way to send what it collects. Each step is a chance for you to stop it. Here are the most common ways in, described at a high level:

  • Someone has your unlocked phone. For stalkerware, this is the most common route. A person who knows your passcode, or who picks up your phone when it is unlocked, can set something up in a few minutes. That is why a private passcode matters so much.
  • A tricky download. An app from outside the official store, or a link in a message, that pretends to be something fun or useful. This is a kind of phishing.
  • A look-alike app. An app that seems harmless, like a game or a tool, but quietly asks for far more access than it needs.
  • An old, unpatched phone. Software that has not been updated can have known weak spots that attackers use.

Once it is on the phone, spyware needs permissions. That is the next step in the diagram below. Press the button to send a piece of your data down the chain. Then switch on some protections and see where the chain breaks.

Interactive

Where does your data go?

1. Pick what the spyware is after
STOPPEDSTEP 1Gets onto the phone
STOPPEDSTEP 2Asks for permissions
STOPPEDSTEP 3Collects your data
STOPPEDSTEP 4Sent to a server
STOPPEDSTEP 5Someone reads it
2. Switch on your protections

Pick some data and press the button. Then try again with protections switched on.

Notice that protections work best at the start of the chain. If the app never gets on the phone, nothing else can happen. But even later steps can stop it. That is why using several habits together is smart.


Defense

How do I protect my phone from spyware?

You do not need special tools. A few habits do most of the work:

  1. Keep your phone updated. Updates fix weak spots. Turn on automatic updates if you can.
  2. Use a screen lock only you know. A code or fingerprint keeps other people from using your phone. Do not share it, even with friends. Change it if someone learns it.
  3. Install apps only from the official store. Stores check apps for problems. Skip "free" apps that arrive in a message or a link.
  4. Review your permissions. A permission is a yes or no question an app asks, like "Can I use your microphone?" Say yes only when the app's job needs it. Try it in the audit below.
  5. Protect your accounts. Use strong passwords and two-factor authentication.
  6. Tell a trusted adult. A parent, teacher, or school counselor can help you check your phone and make a plan.
Interactive

Phone permission audit

This mock phone has six apps, and every app has been allowed everything it asked for. Tap an app, read why it wants each permission, and switch off the ones that do not fit its job. Watch the risk meter.

    App

      Phone risk meterHigh

      A risky permission does not prove an app is spyware. It just means the app can see more than it needs. Fewer permissions means less that anyone could misuse. You can find the same switches in your phone's Settings, under Privacy or Apps. You can also read what your photos reveal and how your digital footprint grows, since location and photo access are two of the most sensitive permissions.


      If It Happens

      What should I do if I think I'm being watched?

      Take a breath. Lots of odd phone behavior has a boring cause, and even when it does not, you have options. Here is a calm plan:

      1. Do not panic and do not confront anyone. If a person is secretly watching you, they may react badly if they find out you noticed. Stay calm for now.
      2. Tell a trusted adult. That could be a parent or guardian, a teacher, a school counselor, or a school IT team. Pick someone you feel safe with. You are not in trouble for asking.
      3. Think before you delete anything. Removing an app can warn the person, and it can erase evidence that adults may need. Wait until you have a plan with your trusted adult.
      4. Use a safe device for private talk. If you think your phone is being watched, do not plan next steps on it. Use a school computer, a library computer, or an adult's device.
      5. Get expert help. A trusted adult can contact the phone maker, a school IT team, or a local support organization. A factory reset can remove most spyware, but do it with an adult's help so important files are saved first.

      If you are in danger right now, call your local emergency number. In the US, you can also call or text the National Domestic Violence Hotline at 1-800-799-7233 (SAFE) for private support, and a trained person can talk it through with you. Ask a trusted adult to help you find the right service where you live.


      Check Yourself

      Quick quiz

      1. What makes stalkerware different from a normal parental-control app?

      2. A flashlight app asks for your contacts and microphone. What should you do?

      3. You think someone may be secretly tracking your phone. What is a good first step?

      FAQ

      Questions people ask about spyware

      What is the difference between spyware and stalkerware?

      Spyware is any software that secretly collects information about what you do on a device. Stalkerware is spyware that a person installs on someone else's phone to watch them, usually someone they know, such as a partner, ex, friend, or relative. The software can be similar. The difference is who installs it and why.

      Can spyware be on my phone without me knowing?

      Yes. Spyware is built to stay hidden, so it may have no icon or a boring name like System Service. That is why the warning signs, such as unusual battery drain, unfamiliar apps, and odd permissions, are worth knowing. No single sign proves spyware, but several together are a reason to check.

      How can I tell if my phone has spyware?

      Look for apps you do not remember installing, apps with permissions that do not match their job, a battery that drains much faster than usual, and someone knowing private things you never told them. Review your app permissions and your installed apps list, and talk to a trusted adult if something looks wrong.

      How do I protect my phone from spyware?

      Keep your phone updated, use a screen lock with a code only you know, install apps only from your phone's official app store, review app permissions and turn off ones an app does not need, and tell a trusted adult if you suspect something. Never share your passcode with anyone who might misuse it.

      Key takeaways

      • Spyware secretly watches what you do. Stalkerware is spyware one person uses on someone they know.
      • Warning signs are clues, not proof. Look for patterns, and take "someone knows things I never told them" seriously.
      • Most spyware needs either your unlocked phone or a trick to get in. A private screen lock, updates, and official stores close those doors.
      • An app's permissions should match its job. If they do not, say no.
      • If you suspect something, stay calm, tell a trusted adult, and make a plan before you delete anything.

      Keep learning about privacy and security

      Spyware is one way people try to see your private life. These tutorials cover the pieces around it:

      Want to go deeper? Explore CodeHS Cyber Range and the CodeHS curriculum for cybersecurity and AI literacy courses.

      Part of the CodeHS cybersecurity and privacy tutorials.