Reputation: 4008
I wanted to learn this concept as per course syllabus. I need some idea to do the ICMP spoofing. I found the ICMP spoofing program online but I have to do something like this: When a host pings an unknown ip address whether it exists or not there has to be echo reply packet making the unknown host alive for the person who is pinging. How do I achieve this.
Can someone help me with this concept what I can do..
Upvotes: 1
Views: 2245
Reputation: 18895
This is usually difficult (but not impossible) to achieve. Your spoofing server has to be able to listen to all traffic on the network to be able to receive the pings that are not intended to go to itself. This is typically not the case on a switched network, but can be worked around, for example via MAC Flooding, or by connecting your spoofing server to a monitoring port on your switch.
You can probably find a lot of informations on the Ping page.
Edit:
So, your spoofing server has to listen to all ICMP ECHO REQUEST trafic, and generate an appropriate response. You could also have a look at packETH, which is a tool that can generate those packets.
Upvotes: 2