In the vast majority of cases, they're just sending out phishing scams with email links, or fake websites. Some of them will try to install some malware on your PC. Most of these hackers are just trying to trick you into clicking or opening something; they don't use some fancy code or anything to actively break into your computer or server most of the time.