Yes, drive-by attacks can target any device that accesses the internet, including computers, smartphones, tablets, and IoT devices. It's essential to practice good cybersecurity hygiene across all your devices to minimize the risk of infection.