I assume the response should be to detect and block this malware specifically, rather than generally locking the OS down more. macOS comes with built-in antivirus called XProtect[0], in the vein of Windows Defender but less obnoxious.
[0]https://support.apple.com/guide/security/protecting-against-...