Skip to content
Tutorials Center
My learning

Topics

Lesson 7 of 80 ยท Security Foundations

Cybercrime, Identity Theft and Cyberstalking

Learn the main categories of cybercrime, how identity theft and cyberstalking happen, how to reduce your exposure, and what to do and report if you become a victim.

Cybercrime is any crime that targets computers, networks or data, or that uses them as a tool. The category is wide: from a stolen password to a ransomware gang shutting down a hospital. Two kinds of cybercrime affect ordinary people most directly: identity theft, where someone uses your personal information to impersonate you, and cyberstalking, where someone uses technology to harass, monitor or intimidate you.

This lesson is about understanding these crimes and defending against them. You will see how cybercrime is categorized, how identity theft works and how to limit what criminals can use, how to respond to online harassment, and how to report incidents. The coding examples show how personal data leaks in text and how scams reveal themselves, so you can build protections. For the wider picture, start with Threats, Vulnerabilities and Risk.

Categories of cybercrime

A common way to organize cybercrime is by what the computer is to the crime.

Category Computer is... Examples
Cyber-dependent crime The target; the crime cannot exist without it Ransomware, hacking into accounts, DDoS, malware, data breaches
Cyber-enabled crime A tool for an old crime done at scale Online fraud, phishing, identity theft, harassment, illegal marketplaces
Crimes against people The channel Cyberstalking, cyberbullying, sextortion, child exploitation
Crimes against property and money The channel Card fraud, investment and romance scams, business email compromise
Crimes against organizations and states The target Espionage, sabotage, attacks on critical services

Motives are mostly money, but also revenge, ideology, espionage and fame. The rise of crime-as-a-service, where specialists rent out malware, stolen data or botnets (Botnets and Command-and-Control), means that a criminal no longer needs technical skill.

How identity theft works

Identity theft means using someone else's personal information, such as name, date of birth, national ID number, bank or card details, or login credentials, to commit fraud. The harm is financial (loans, purchases, tax refunds), legal (a false criminal record) and emotional (months of repairing records).

Common forms:

  • Financial identity theft: opening credit accounts or taking loans in your name.
  • Account takeover: logging into your existing bank, email or shopping accounts with stolen or reused passwords.
  • Synthetic identity fraud: mixing real data (an ID number) with invented data to create a new "person".
  • Medical, tax and government benefit fraud: using your details to claim services or refunds.
  • Child identity theft: children have clean credit histories, and the fraud may go unnoticed for years.

Criminals collect data in several ways, all covered elsewhere in this course: phishing and other tricks (Phishing and Social Engineering), data breaches at companies you trust, malware such as infostealers on your device, reused passwords (Password Storage Done Right), insecure Wi-Fi (VPNs, Wi-Fi and Remote Access Security), skimmers on card readers, and old-fashioned theft of mail or rubbish. Oversharing on social media quietly supplies answers to "security questions" such as your birthday, hometown and pet's name.

Reducing what can be stolen

You cannot stop every breach, but you can limit the damage:

  1. Use a unique password per account, protected by a password manager, plus multi-factor authentication or passkeys (Multi-Factor Authentication and Passkeys).
  2. Share only the data that is needed. Do not give an ID number to a service that does not need it.
  3. Freeze or lock your credit file where your country offers it, and monitor statements and credit reports.
  4. Keep devices patched, with a screen lock and encrypted storage.
  5. Shred paper documents with personal data and be careful with mail.
  6. Use virtual or single-use card numbers for online payments when your bank offers them.

The script below acts like a small data-loss prevention check. It scans free text for patterns that look like personal data, so you could warn a user before they paste it into a chat or ticket. The patterns are simplified for teaching, and real tools add validation and context to avoid false positives.

Python Find personal data in text

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

The test card number passes the Luhn checksum and is flagged, while the lookalike reference number fails it and is ignored. This kind of filter is useful in support systems and logging pipelines, where personal data must not be stored by accident (Privacy and Data Protection, Secrets, Logging and Error Handling).

Warning signs and response

Signs your identity may be misused: unknown charges or accounts, letters about loans you did not apply for, being denied credit unexpectedly, password-reset emails you did not request, missing mail, or collection calls for debts that are not yours. If it happens:

  1. Contact the affected bank, card issuer or service and freeze or close the accounts. Change passwords and enable MFA, starting with email.
  2. Place a fraud alert or credit freeze with credit bureaus where available.
  3. Report it to the police and to the national fraud or consumer-protection agency in your country, and keep copies of every report and message.
  4. Check for further damage over the following months (credit reports, tax filings, medical records).

Cyberstalking and online harassment

Cyberstalking is a pattern of repeated, unwanted online behaviour that frightens, controls or harasses someone: sending threatening or obsessive messages, monitoring their accounts and location, posting private information (doxxing), impersonating them, or spreading false claims. Stalkerware installed on a phone is another form of control. It is often carried out by a person the victim knows, such as an ex-partner, and the law treats it seriously in many countries (Cyber Law, Ethics and Security Policy).

If you or someone you know is targeted:

  • Do not engage or retaliate. Replies often escalate things.
  • Document everything: save messages, URLs, dates and screenshots, and keep the originals.
  • Block and report the account to the platform, and tighten privacy settings.
  • Secure your accounts: change passwords, enable MFA, review connected apps and logged-in devices, and check your phone for unknown apps or device administrators.
  • Tell trusted people and report to the police or a specialist support service. If you feel in immediate danger, contact emergency services.

For organizations, a clear acceptable-use policy and a quick, respectful reporting channel matter as much as technology.

Spotting scams by their red flags

Most cyber-enabled fraud works by pressure and urgency rather than technical tricks. A short scoring script shows the common patterns defenders train people (and filters) to notice:

Python Score a message for scam red flags

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Scores only guide a decision. Real systems combine many more signals, and people should always verify requests through a second channel, for example by calling the organization using a number from its official website. Project: Phishing Email Classifier builds a fuller version.

Reporting cybercrime

Report early, even if you are unsure. Useful places, depending on your country: your local police or national cybercrime unit, your bank or card issuer (fastest for money), the platform where the abuse happened, the national fraud and consumer-protection agency, and, for work incidents, your security team (The Incident Response Process). Include dates, amounts, account names, copies of messages and any URLs. Reports help investigators connect cases and sometimes recover funds.

Cyber terrorism, cyber warfare and state activity

Cybercrime is usually financial, but two related categories have a different motive.

  • Cyber terrorism means attacks on computer systems intended to intimidate or coerce a population or government for political or ideological goals, for instance by disrupting hospitals, transport or power distribution. Definitions differ between countries, and many incidents that headlines call terrorism are in law ordinary offenses such as computer misuse or extortion.
  • Cyber warfare describes operations by or for a state against another state's systems: espionage, sabotage of infrastructure, or disruption alongside a conflict. It is governed by international law (the laws of armed conflict) and by national doctrine, not by criminal law alone.

The hard part of both is attribution: attackers route traffic through compromised machines in third countries, reuse tools, and plant false flags, so confident attribution takes months of technical and intelligence work.

Why cybercrime is under-reported

Official statistics understate the problem. Companies fear reputational damage and lost customers, victims are embarrassed, small businesses do not know where to report, and some crimes are never noticed at all. Cross-border cases are slow, so victims doubt that reporting helps. Under-reporting hurts everyone: police cannot see patterns, and other victims are not warned. Many laws now push the other way with mandatory breach notification.

The European Union approach

In the EU, cybercrime and cyber resilience are handled by several layers of law: the Budapest Convention (a Council of Europe treaty from 2001) that harmonized offenses and cross-border cooperation, the GDPR, which requires reporting a personal-data breach to the regulator within 72 hours when it creates risk, and the NIS2 Directive, which obliges operators of essential services to manage risk and report significant incidents. Agencies such as Europol and ENISA coordinate investigations and guidance. Compare this with the laws in your own country: the pattern of "criminalize misuse, require reporting, coordinate across borders" is common worldwide.

Check your understanding

Quick check ยท 4 questions

of 4 answered You scored / 4 ยท perfect!

  1. 1. Which of these is a cyber-dependent crime?

    Cyber-dependent crimes such as ransomware, hacking and DDoS cannot exist without computers; they target the systems themselves.
  2. 2. What is synthetic identity fraud?

    Fraudsters blend a real identifier, such as an ID number, with false details. It can be hard to detect and is often built using the data of children or the deceased.
  3. 3. You find that someone has been sending you repeated threatening messages. What is the best first set of actions?

    Evidence is vital for platforms and police. Not engaging reduces escalation, and tightening account security protects you from further access.
  4. 4. Which habit most reduces the damage of a data breach at one website?

    Unique passwords stop credential stuffing from spreading a breach to other accounts, and MFA protects accounts even when a password leaks.

Summary

  • Cybercrime is either cyber-dependent (target: systems) or cyber-enabled (tool: old crimes at scale); crime-as-a-service lowers the skill needed.
  • Identity theft takes forms such as financial fraud, account takeover and synthetic identities, fed by phishing, breaches, malware and oversharing.
  • Limit exposure with unique passwords, MFA, data minimization, credit freezes, patched devices and careful disposal of documents.
  • Cyberstalking is repeated unwanted online behaviour; document, do not engage, block, report and secure your accounts.
  • Scams rely on urgency, secrecy and unusual payment methods; verify through a second channel.
  • Report quickly to your bank, the platform, the police and the relevant authority, keeping evidence.

Next: Personal Cybersecurity Hygiene, a practical checklist for everyday safety.