Assuming that the phishing link is sent over email, the following set of details can be verified to identify whether or not they are phishing attempt of not. An algorithm which incorporates the following can detect most such instances.
If the text of email shows a URL and the content is hyperlinked to a different URL, it is very likely a phishing attempt. For example this is a phishing link https://google.com
- Trust factor of the domain name
Sometimes attackers might try to confuse users by creating subdomains which sound similar to trusted domains. For example > https://facebook.com.secvibe.com An unsuspecting user who is not aware of the concept of subdomains might think that the above link is from facebook.
- Similar sounding domain names
Domain names with slight difference in spelling from the actual domain names.For eg: Facebookd.com
Shortened URLs need not always point towards trusted sites. People might use goo.gl or bit.ly to send phishing links.