However, recent attacks prove that macOS is just as vulnerable to malicious software as any other operating system. Mac users think that macOS is invincible and does not get infected by malware or viruses.
The attacker makes a bogus link seem legitimate, but it will redirect you to a different page where you will get malicious software installed on your system.
One of the common tactics by which malicious software infects computers is through phishing.