There are a few different types of browser-based attacks, but the most common ones are phishing attacks and drive-by downloads. Phishing attacks happen when someone tricks you into clicking on a malicious link that takes you to a fake website. This fake website looks just like the real thing, but it's designed to steal your personal information. Drive-by downloads happen when you visit a website that has been infected with malware.