Apple tried to warn you, several times
By default, new Macs don't allow you to install unsigned software packages. To fall victim to this malware, you would need to:
(a) download a package from a third party website
(b) disable the unsigned software protection in System Preferences
(c) ignore the warning that "By opening this app, you will be overriding system security which can expose your computer and personal information to malware"
(d) grant it root access.
Perhaps Apple users are lulled into a false sense of security, so they ignore all these warnings.
Coming next: North Korean evil-doers sell car phone chargers which only work if you follow the instructions to disable the car's ABS.