So, essentially, really poorly written malware? Given the number of assumptions it makes without any sort of robustness around system configuration it's about as good as any first-pass bash script.
It'd be a stretch to call it malware, it's probably an outright fabrication to call it a virus.
Not too long ago, when Fracturiser was a concern on Minecraft, and I read up on it, I got a chuckle when I read that stage 2 was a systemd service, and therefore couldn't have run on my machine even if it had gotten that far (of course, I still checked for signs of infection)
I know your shitposting, but I used to run into shit like this all the time back when I used to try to run Loki software games on Linux back in the day. Within 6 months all the games I had were un-fucking-runnable.
It's still a thing now depending how crazy you want to get with your system (let's pretend you don't run Linux on an x86 system for example - good luck lol)