An open API service indexing awesome lists of open source software.

https://github.com/priyabug/icmp-redirect-attack-lab

Demonstrates the execution and impact of an ICMP Redirect Attack, focusing on how attackers can manipulate routing to hijack network traffic.
https://github.com/priyabug/icmp-redirect-attack-lab

icmp icmp-redirect ip-protocol mitm-attacks python3 redirection routing show-ip-route ubuntu windows11

Last synced: 3 months ago
JSON representation

Demonstrates the execution and impact of an ICMP Redirect Attack, focusing on how attackers can manipulate routing to hijack network traffic.

Awesome Lists containing this project

README

        

ICMP Redirect Attack Lab


An ICMP redirect is an error message issued by a router to the sender of an IP packet, indicating that the packet is being routed inefficiently. The purpose of this message is to inform the sender to use a different router for future packets destined for the same address. However, ICMP redirects can be exploited by attackers to manipulate a victim’s routing table, redirecting their traffic through a malicious router.

The goal of this task is to execute an ICMP redirect attack, forcing the victim to route packets intended for 192.168.60.5 through a compromised router at 10.9.0.111, controlled by the attacker. Since the attacker has control over this router, they can intercept, modify, and forward the victim’s packets, effectively performing a Man-in-the-Middle (MITM) attack. This allows the attacker to monitor, alter, or inject malicious content into the communication flow, potentially compromising the integrity and confidentiality of the transmitted data.



In this lab, students will conduct several attacks on TCP. This lab covers the following topics:



  • The IP and ICMP protocols

  • ICMP redirect attack

  • Routing


![image](https://github.com/user-attachments/assets/5373e937-1c12-4639-89e4-bb971edeeb54)

Languages and Utilities Used

- Python
- Ubuntu 20.04 VM

Environments Used

- Windows 11 Home

Program walk-through:

- Task 1: Launching ICMP Redirect Attack
- Task 2: Launching the MITM Attack