Paths / Security Basics / Lesson 2

How Attackers Think

Video + 9 min read

Attacker
Easiest way in?
Staff
Laptops
Servers10.0.0.5
How Attackers Think
0:00 / 4:28 · How Attackers Think
Chapters and transcript

How Attackers Think Imagine an attacker looking at this company from the outside. They do not see desks and walls. They see people, laptops and servers. And they ask one simple question: where is the easiest way in? To defend a system, you need to think the same way. Security teams call this thinking like an attacker.

Who are attackers? Attackers are not all the same. Cybercriminals want money, from card data, ransomware and scams. Hacktivists want to make a political or social point. Insiders are staff who misuse their access, on purpose or by mistake. Nation-state groups spy and steal secrets. And beginners, called script kiddies, want fun or fame. Most attacks in daily life come from cybercriminals who want money.

The easy way in Attackers are practical. They do not choose the hardest path. They try weak or reused passwords. They look for software that has not been updated. They look for misconfigured systems, like a database open to the internet. And they look for people who can be tricked into clicking a link or sharing a code.

Social engineering Here is the easiest way in, on a phone. A message arrives from someone who says they are IT support. They say they are fixing the account, and ask for the code that was just sent. The person trusts them and shares it. Now the attacker has the code, and the account.

Social engineering Tricking people like this has a name. Social engineering means tricking people into giving access, instead of breaking the software. Fake support messages and phishing emails are common examples. It is behind a large share of real attacks. The defence is simple: never share a code, and check any request using a number or contact you already trust.

Steps of an attack Most attacks follow a similar pattern. Reconnaissance: collect information about the target. Initial access: get a first foothold, for example with a phishing email. Privilege escalation: go from a normal user to an admin. Lateral movement: move from one computer to others. And action on objectives: steal data, install ransomware, or move money.

Steps of an attack Now watch it happen. First, reconnaissance: the attacker learns who works here and what software they use. Then a phishing email gives initial access to a staff laptop. From there, they escalate to an admin account. Next they move to the file server. Finally, they copy the company data.

Stop it early Defenders try to stop the attack as early as possible. Here, the same phishing email arrives. But this time the staff member has been trained. They do not click. They report it to the security team. The attacker never gets a foothold, so the company data is never reached. The earlier an attack is caught, the less damage it does.

Ethical hacking So what about ethical hackers? A criminal attacker breaks in without permission, causes damage, and keeps what they find. An ethical hacker, also called a penetration tester, may use the very same tools and skills. The difference is permission. They work with the owner, inside agreed limits, and help fix every weakness they find.

Ethical hacking An ethical hacker follows four rules. Written permission from the system owner. An agreed scope: exactly which systems may be tested. Report every weakness found, so it can be fixed. And no damage, and no data kept. Remember: without permission, even just checking a real website is illegal in most countries. On this platform, every lab is a safe practice target.

Quick check Quick check. Two people scan the same website with exactly the same tool. One is a criminal, and one is an ethical hacker. What makes the ethical hacker's work legal? Take a moment, then choose.

Putting it together Let us put it together. Most attackers are cybercriminals who want money. They look for the easy way in, and people are often the easiest. Most attacks follow the same steps, from reconnaissance to action on objectives. Defenders stop attacks as early as possible. And ethical hackers always have permission. Now read the lesson below, and answer the quiz to unlock the next one.

To defend a system, you need to understand the people attacking it. Security teams call this thinking like an attacker.

Who are attackers?

Type What they want
Cybercriminals Money: stealing card data, ransomware, scams
Hacktivists To make a political or social point, often by defacing websites or leaking data
Insiders Employees or contractors who misuse their access, on purpose or by mistake
Nation-state groups Spying, stealing secrets or disrupting another country
Beginners ("script kiddies") Fun or fame, usually using ready-made tools

Most attacks you hear about in daily life come from cybercriminals who want money.

Attackers look for the easy way in

Attackers are practical. They do not choose the hardest path. They look for:

  • Weak or reused passwords
  • Software that has not been updated
  • Misconfigured systems, such as a database open to the internet
  • People who can be tricked into clicking a link or sharing a code

That last point is important. Tricking people is called social engineering, and it is behind a large share of real attacks.

The steps of an attack

Most attacks follow a similar pattern:

  1. Reconnaissance: collect information. Which websites does the company have? Who works there? What software do they use?
  2. Initial access: get a first foothold, for example through a phishing email or a vulnerable login page.
  3. Privilege escalation: go from a normal user to an admin.
  4. Lateral movement: move from one computer to others in the network.
  5. Action on objectives: steal data, install ransomware, or transfer money.

Defenders try to stop the attack as early as possible in this chain. The earlier it is caught, the less damage it does.

Ethical hacking

An ethical hacker (or penetration tester) uses the same skills as an attacker, but:

  • Has written permission from the system owner
  • Agrees the scope: exactly which systems may be tested
  • Reports every weakness found so it can be fixed
  • Does not damage systems or keep any data

Without permission, even "just checking" a real website is illegal in most countries. In this platform, every lab is a safe practice target built for learning.

Check your understanding

Answer every question correctly to complete this lesson. If you miss one, try the quiz again.

1. What is usually the first step of an attack?

2. What is the main difference between an ethical hacker and a criminal?

3. Why do attackers often target people instead of software?

Locked: answer every quiz question above correctly to complete this lesson.

Spotted a mistake or something unclear? Report a mistake