PDF p.350
In progress
On-Path Attacks
Summary
PDF p.350An on-path attack, also known as an adversary-in-the-middle (AitM) attack, involves a threat actor positioning themselves between two hosts to capture, monitor, and relay communications. This attack can also modify traffic covertly.
Detailed explanation
PDF p.350-
Mechanism
- Positioning: Threat actor intercepts communication between two hosts.
- Relaying: Captures and relays communication, making detection difficult.
- Modification: Can present spoofed forms to capture credentials.
-
Network Layers
-
Layer 2 Example: ARP poisoning attack.
- ARP (Address Resolution Protocol): Identifies MAC addresses for IPv4 addresses.
- ARP Poisoning: Uses unsolicited ARP replies to update MAC:IP address cache with spoofed addresses.
-
Layer 2 Example: ARP poisoning attack.
-
ARP Poisoning Attack Example
-
Attack Pattern
- Gratuitous ARP Replies: Attacker sends unsolicited ARP replies to hosts.
- Spoofed Addresses: Hosts update their cache with the attacker's MAC address.
-
Packet Capture
- Frames 6-8: Attacker sends ARP replies claiming to have certain IP addresses.
- Frame 9: Host tries to send a packet, received by the attacker.
- Frame 10: Attacker retransmits the packet to the actual host.
- Frames 11-12: Reply from the actual host is received and retransmitted by the attacker.
-
Attack Pattern
-
Target
- Default Gateway: Common target for ARP poisoning to intercept all traffic destined for remote networks.
Important terms
taken from the text above- Positioning
- Threat actor intercepts communication between two hosts.
- Relaying
- Captures and relays communication, making detection difficult.
- Modification
- Can present spoofed forms to capture credentials.
- Layer 2 Example
- ARP poisoning attack.
- ARP (Address Resolution Protocol)
- Identifies MAC addresses for IPv4 addresses.
- ARP Poisoning
- Uses unsolicited ARP replies to update MAC:IP address cache with spoofed addresses.
- Gratuitous ARP Replies
- Attacker sends unsolicited ARP replies to hosts.
- Spoofed Addresses
- Hosts update their cache with the attacker's MAC address.
- Frames 6-8
- Attacker sends ARP replies claiming to have certain IP addresses.
- Frame 9
- Host tries to send a packet, received by the attacker.
- Frame 10
- Attacker retransmits the packet to the actual host.
- Frames 11-12
- Reply from the actual host is received and retransmitted by the attacker.
- Default Gateway
- Common target for ARP poisoning to intercept all traffic destined for remote networks.
What I should remember
Key Points PDF p.350-
Mechanism
- Positioning: Between two hosts.
- Relaying: Captures and relays communication.
- Modification: Spoofed forms for credential capture.
-
Network Layers
-
Layer 2 Example: ARP poisoning.
- ARP: Identifies MAC addresses.
- Poisoning: Spoofed ARP replies.
-
Layer 2 Example: ARP poisoning.
-
ARP Poisoning Attack Example
- Gratuitous ARP Replies: Sent by attacker.
- Spoofed Addresses: Hosts update cache.
- Packet Capture: Shows attack pattern.
-
Target
- Default Gateway: Intercepts remote network traffic.