Problem solve Get help with specific problems with your technologies, process and projects.

How to find a real IP address using proxy server logs

While using proxy server logs to identify the real IP address of an attacker using a proxy server is technically easy, there are other difficulties along the way. Expert Mike Chapple explains.

Is it possible to find the real IP address of someone using a proxy to change his or her IP address?

Attackers often use proxy servers to hide their IP addresses from the administrators of systems they are trying to access.  Other individuals may use proxy servers as a tool to protect their own privacy.  No matter the intent, individuals hiding their identity behind a proxy server always leave some trail of digital breadcrumbs.

In the simplest situation, where an attacker uses a single proxy server to relay traffic to its final destination, the technical part of tracking the user down is easy.  You simply need to analyze the proxy server logs, find the connection request to the target server and look at the source IP address.  Unfortunately, while this is technically simple, gaining access to the proxy server logs is easier said than done.  In the best case, you’ll bump up against a company that was unwittingly running the proxy server and is eager to eradicate it quickly from its network.  In that situation, you’ll probably be redirected to their corporate lawyer, who likely won’t be eager to share information with you that could later be used as evidence that the company was negligent or even complicit in any attack launched through the proxy.  In that situation, it’s probably going to take the involvement of law enforcement and a court order to gain access to the proxy server logs, if they even exist.

In the worst case, the proxy server may actually be run by someone who is intentionally providing a privacy-enhancing service that operates under the protection of the laws of the country where the server is located.  You’re going to have a hard time getting anything in this scenario, because the proxy server is likely configured not to keep logs and, even if the logs do exist, you’ll have a hard time finding a law enforcement officer in that country who is willing to assist you.

If that’s not enough to intimidate you, many attackers use multiple proxy servers to hide their true location, so you’ll probably need to repeat this process multiple times in order to find the real IP address!

This was last published in June 2011

Dig Deeper on VPN security