What are the best ways to prevent your website from being Phished? Please cite some technical suggestions and references if possible.
Thank you!
What are the best ways to prevent your website from being Phished? Please cite some technical suggestions and references if possible.
Thank you!
Websites aren't phished -- users are. The most you can do is get an SSL certificate and, on your login screen, make a huge deal about golden padlocks and domain names (thanks codeka) and such.
Not sure if this is what you mean, but sometimes websites can be "hijacked" using CSRF or XSS attacks.
XSS can particularly happen when you allow users to enter arbitrary text and don't ensure they're not entering arbitrary HTML code.
CSRF can happen if you don't ensure a link someone clicks in their browser originated from your website (they can authenticate on your website, get a cookie indicating they're authenticated, open a new tab, and be tricked into clicking a link on another website in the other tab that points to your website and causes some action to happen there).
Those links discuss mitigation strategies.
You can use one time password(OTP) via mobile sms or email to prevent phishing attack. And instead of asking OTP for all logins, you can do it once whenever there is a new IP. This was it can be less annoying for the user.
What result shows may not be phishing but one thing I noticed about the phishing site is that there are many folders with 32 character long and these folders are many. Inside each folder you may find phishing content. Use following command to find the folders with 32 character long name and scan manually to check if it is phishing or not.
#find /home*/*/public_html/* -type d -name "????????????????????????????????" > phishing.txt
You are free to use other techniques and can share if you like.
I think phishing can vary a lot from web site to users. I can set up a new gmail website with a different domain name like gmai1.com (the number 1 not l) and send it to everybody to login to my email. How can you prevent it? The users usally have to be careful. It is really hard to have a silver bullet here
Talk about using secure browsers (not IE) and about site verification issues that involve simple checking (a green domain name "certificate" next to the URI in Firefox that's green indicates a verified site). Edit: this particular method hence defeats fake sites that use similarly-printed characters (Cyrillic, etc)
BOFA website does something interesting that I really like, and I do believe it helps. They make you choose an image icon from set when you register your account, and every time when you login it displays this image... if the image is not the same or not present its a sign for the user that they are being ....
I don't like the pricetag, and I'm not entirely convinced of the usefulness, but EV SSL is touted as a preventative measure.
Also, as m0s points out, showing user-selected information like pictures at some point during or after the authentication process is a step being taken by some sites, like banks.
The Anti-Phishing Working Group has a list of solutions directed towards web developers.
None of these things is a surefire solution, since the real key is user education and caution, but they certainly can't hurt.