Search code examples
securityipimpersonationspoofing

Is it possible to spoof or impersonate a destination (server) IP?


Is it possible to spoof or impersonate a server's IP? So that clients wanting to connect to that Server's IP, would actually connect to the attacker's machine? But the attacker would still be able to contact the actual server.

This is all TCP/IP based, no name resolution, and all machines are on the same network or the internet (No NAT-ing).

I am working on a networking application, and I would like to build in some authentication.

What I need to do is to authenticate the server by IP. In other words, I want to make sure that when I open a HTTPS URL to an IP Address, it will go to the machine that has that IP.

Other notes: All communication would be over TLS, but certificates would be blindly accepted.


Solution

  • Yes, if you can perform man-in-the-middle attack. Evil transparent proxy in your LAN can do it.