Malware
Another way malware installs itself is when a victim gets malware just by going to a website with the malware hidden on it. This is called  drive-by downloading. A user does not have to click anything for their computer to get infected from a drive-by download. This kind of malware attack is usually found on websites that are not used a lot or whose security methods are very old. However, even current websites that people use all the time can host drive-by downloads when someone hacks the site.