Getting your computer offline is the best way to start dealing with the issue.
A persistent claim among Mac fans is that their computers are safer than Windows PCs, and that is true, broadly speaking. But a significant reason for that is that the Mac userbase is smaller. If you're a hacker with criminal intent, it just makes sense to focus on the largest target, especially with Windows being preferred by many businesses and government organizations.
That doesn't exempt Macs from security threats, and there have been plenty incidents over the years that reflect that. It's equally as important for Mac owners to put up defenses, and to be ready to react if a hacker slips through the barricades.
While antivirus tools should be one of your weapons, that's not all you need to think about. You should also be concerned about locking down access and accounts, and possibly starting from a clean slate if you're not sure a threat has been wiped out.
If you seriously suspect you've been hacked, you'll want to temporarily shut off your Mac's Wi-Fi and/or Ethernet connections. Malware is frequently about inflicting ongoing damage — it can create a tunnel for real-time surveillance, for instance, or expand a botnet for tasks like crypto mining.




