I've recently came across new phishing attack which is using @
symbol to make the URL look legit. It goes like this:
I have an account at totally-legit-site.com
and the attacker sets up a phishing site at his IP like 192.168.50.20
. Then, he sends me a message at the site, containing link which looks like http://totally-legit-site.com@192.168.50.20/account
. This is used to trick the user into thinking this is the link to the legit site.
Clicking this link, however, opens page 192.168.50.20/account
in my browser (Google Chrome). I tried adding random stuff with @
before random domains and my browser always resolves the page correctly, throwing that stuff with @
away. So if I try to open http://test@google.com
, I end up at Google's homepage.
This really interests me. I wasn't able to find any information about @
in URLs before domain. How is this called? Is this some obsolete stuff from the early stages of the internet? Are there some webservers that can process this part of URL (being able to modify my nginx instance to return different sites based on this parameter would be cool)?