I. Overview

%%{init: { 'theme': 'base', 'themeVariables': { 'edgeLabelBackground': '#fff' }}}%%
flowchart LR
    A["Attacker"] -- "Impersonates trusted\nidentification info" --> B["Target\n(Target / System)"]
    style A fill:#f9f9f9,stroke:#333,stroke-width:3px
    style B fill:#e1f5fe,stroke:#01579b,stroke-width:3px

Definition: An attack technique that forges network identification information such as IP addresses, MAC addresses, and DNS names to masquerade as an authorized user, gaining system access or intercepting data.

Features:
( Exploiting Trust Relationships ) Exploits the trust relationship ( Trust Relationship ) between systems to bypass authentication procedures or hijack privileges.
( Basis for Man-in-the-Middle Attacks ) Redirects the flow of data packets to the attacker, serving as the core mechanism for eavesdropping ( Sniffing ) and tampering in man-in-the-middle attacks ( MITM ).
( Occurs Across Multiple Layers ) Occurs at every layer, from the data link layer ( ARP ) to the network layer ( IP ) to the application layer ( DNS / Email ).

II. Mechanism & Components

ARP Spoofing Mechanism (L2 Layer)

sequenceDiagram
    participant A as "User A (Victim)"
    participant H as "Attacker (Hacker)"
    participant G as "Gateway (GW)"

    Note over H: "Sends a forged ARP reply posing as the gateway"
    H->>A: "ARP Reply (GW's IP is Hacker's MAC)"
    Note over H: "Sends a forged ARP reply posing as User A"
    H->>G: "ARP Reply (A's IP is Hacker's MAC)"
    Note over A,G: "All traffic now passes through the attacker"
    A->>H: "Packet to Internet"
    H->>G: "Forwarding to GW"

Detailed Comparison of Major Spoofing Types

TypeForged ElementAttack PurposeCore Mechanism
IP SpoofingSource IP addressFilter evasion, hiding the origin of a DDoS attackTampering with the Source IP in the IP header
ARP SpoofingMAC addressEavesdropping on data within the local network ( Sniffing )Continuously sending forged ARP Reply packets
DNS SpoofingDNS query responsePharming ( Pharming ), redirection to phishing sitesPoisoning the DNS cache or pre-empting the legitimate response
Email SpoofingSender addressSocial engineering attacks, spam/malware distributionForging sender information in the SMTP protocol

III. Advanced Topics & Comparison

Technical Defenses (Network Security)

  • Static ARP/MAC Configuration: Manually pinning the ARP table between critical servers and the gateway so that forged ARP packets are ignored.
  • Ingress/Egress Filtering: Validating the legitimacy of source IPs at the network boundary to block inbound and outbound spoofed packets.
  • Strong Authentication: Moving away from simple IP-address-based trust relationships toward encryption-based authentication such as SSL / TLS or IPSec.

Infrastructure and Protocol Security Countermeasures

Countermeasure AreaDetailsSecurity Effect
DNS SecurityAdopt DNSSEC ( DNS Security Extensions )Verifies the integrity and legitimacy of DNS responses via digital signatures
Email SecurityConfigure SPF / DKIM / DMARCConfirms sending-domain legitimacy to block forged mail
L2 SecurityPort Security / DAI ( Dynamic ARP Inspection )Blocks invalid MAC / ARP at the switch port level

Key Point: Since Spoofing threatens confidentiality and integrity as well as availability, encrypted authentication of identification information and filtering at every network layer must be applied together.

Last updated 18 Aug 2026, 00:00 UTC. history