The most common types of attacks by hackers are social engineering attacks, especially phishing, cyber attacks on institutions to gain constant access to them (Advanced Persistent Threats) or cyber attacks to overload a system (DoS/DDoS attacks).
Hackers also try to exploit browser weaknesses through malware on websites (exploit kits) or use ransomware to lock down devices and networks in order to blackmail the owner.