π€ What is a Security Attack? (Basic Idea)
A security attack is any action that:
Tries to steal data
Modify data
Disrupt services
Gain unauthorized access
π In simple words:
A security attack is an attempt to break security goals (CIA).
π§ Simple Definition
π A security attack is a malicious activity that attempts to compromise the confidentiality, integrity, or availability of information or systems.
π― Why Do Attacks Happen?
Attacks are performed to:
Steal sensitive data π³
Spy on communication π΅οΈ
Damage systems π₯
Cause service downtime π«
Gain illegal access π
π§© Main Classification of Attacks
Security attacks are broadly classified into:
1οΈβ£ Passive Attacks
2οΈβ£ Active Attacks
π This classification is VERY IMPORTANT for exams β
π΅οΈ 1. Passive Attacks
π What is a Passive Attack?
A passive attack is one where:
Attacker only observes
No data is modified
No disruption is caused
π In simple words:
Attacker listens quietly without changing anything.
π― Goal of Passive Attacks
Steal information secretly
Violate confidentiality
π Types of Passive Attacks
π‘ a) Eavesdropping / Snooping
Attacker listens to network communication
Reads data packets silently
π Example:
Capturing passwords on public Wi-Fi
β Impact
Password theft
Privacy violation
π b) Traffic Analysis
Attacker observes:
Communication patterns
Data size
Frequency of messages
π Even if data is encrypted, patterns reveal information.
π§ Example
Knowing when a company is most active
Guessing sensitive operations timing
β οΈ Key Features of Passive Attacks
Feature | Passive Attack |
|---|---|
Data Modification | β No |
Detection | Difficult |
CIA Goal Broken | Confidentiality |
Examples | Eavesdropping |
π Passive attacks are hard to detect.
π£ 2. Active Attacks
π₯ What is an Active Attack?
An active attack is one where:
Attacker modifies data
Disrupts communication
Causes system damage
π In simple words:
Attacker interferes directly with the system.
π― Goal of Active Attacks
Break integrity
Break availability
Cause damage
π§ Types of Active Attacks
π a) Masquerade Attack
Attacker pretends to be a legitimate user
Uses stolen credentials
π Example:
Hacker logs in using someone elseβs password
β Impact
Unauthorized access
Data theft
π b) Replay Attack
Attacker captures valid data
Re-sends it later to trick system
π Example:
Replaying login request packets
β Impact
Unauthorized transactions
Authentication bypass
βοΈ c) Message Modification
Attacker alters data during transmission
π Example:
Changing bank transfer amount from βΉ1,000 to βΉ10,000
β Impact
Financial loss
Data corruption
π« d) Denial of Service (DoS) Attack
Attacker floods system with requests
Legitimate users cannot access services
π Example:
Website crash due to heavy fake traffic
π e) Distributed DoS (DDoS)
Attack from multiple machines
Much more powerful
β Impact
Service downtime
Business loss
β οΈ Key Features of Active Attacks
Feature | Active Attack |
|---|---|
Data Modification | β Yes |
Detection | Easier |
CIA Goals Broken | Integrity, Availability |
Examples | DoS, Masquerade |
βοΈ Passive vs Active Attacks
Feature | Passive | Active |
|---|---|---|
Modification | β No | β Yes |
Detection | Hard | Easier |
Damage | Low | High |
Examples | Eavesdropping | DoS |
π§ Attack Impact on Security Goals
Attack Type | Confidentiality | Integrity | Availability |
|---|---|---|---|
Passive | β | βοΈ | βοΈ |
Active | βοΈ/β | β | β |
π‘οΈ How to Prevent Attacks (Preview)
Encryption π
Authentication βοΈ
Firewalls π₯
IDS/IPS π¨
π These will be covered in upcoming topics.
π§ Memory Tricks
Passive = Peeping π
Active = Attacking π₯
DoS = Deny Service π«
β One-Line Summary
πΉ Security attacks are classified into passive attacks that observe data and active attacks that modify or disrupt communication.