Basic Network Attacks in Computer Network (original) (raw)

Last Updated : 28 Apr, 2026

Network attacks are malicious activities aimed at compromising the confidentiality, integrity or availability of computer networks. As dependence on digital systems grows, attackers exploit vulnerabilities to gain unauthorized access, disrupt services or steal data.

Key Network Attacks

1. Malware Attacks

Malicious software is designed to disrupt, damage or gain unauthorized access to computer systems. Modern malware is often self-replicating, spreading exponentially across networks by infecting one host and then seeking entry into others.

**Types of Malware:

**Real-World Examples: Zeus malware has infected over 3 million computers in the USA, targeting financial systems to steal banking credentials. This threat has compromised major organizations like NASA and Bank of America.

**Prevention Measures:

2. Denial of Service (DoS) Attacks

Aim to render networks, hosts or infrastructure unusable by overwhelming them with malicious traffic or exploiting vulnerabilities.

**Three Main Categories:

3. Distributed Denial of Service (DDoS)

Uses multiple compromised systems (often botnets with thousands of hosts) to launch coordinated attacks, making them significantly harder to detect and defend against than single-source DoS attacks.

**Prevention Measures:

4. Interception and Eavesdropping Attacks

**Packet Sniffing: Attackers use passive receivers to capture and record network traffic, potentially exposing sensitive information like passwords, credit card numbers and private communications. This is particularly dangerous in wireless networks where transmitted packets can be easily intercepted.

**Prevention Measures:

5. Identity and Authentication Attacks

**IP Spoofing: Attackers inject packets with false source addresses to disguise their identity and impersonate legitimate users. This requires end-point authentication mechanisms to verify message origins.

**Man-in-the-Middle (MITM) Attack: An attacker secretly intercepts and relays communication between two parties, capturing or modifying data without their knowledge. The attacker can re-route exchanges and control the communication transparently.

**Compromised-Key Attack: When attackers obtain secret encryption keys through resource-intensive methods, they can access secured communications without detection by either sender or receiver.

**Prevention Measures:

6. Social Engineering and Deception Attacks

**Phishing: Fraudulent emails pretending to be from reputable companies trick users into revealing personal information like passwords and credit card number.

Types of Phishing:

**DNS Spoofing (DNS Cache Poisoning): Attackers corrupt DNS resolver caches with false data, causing name servers to return incorrect IP addresses and redirecting users to malicious websites.

**Prevention Measures:

7. Web Application Attacks

**SQL Injection:

**Cross-Site Scripting (XSS):

**Prevention Measures:

8. Network Layer Attacks

**ARP Spoofing (ARP Poisoning): Attackers send fake Address Resolution Protocol (ARP) messages on a local network to associate their MAC address with the IP address of another device (usually the gateway). This allows them to intercept, modify or block network traffic between devices on the same network.

**Prevention Measures:

9. Privilege Escalation

Attackers gain initial access to a system through weak points, then escalate their privileges to obtain higher-level permissions and access more sensitive systems. This technique allows them to move laterally through networks and compromise critical resources.

**Prevention Measures: