Or you could just make a waifu gacha game that people install freely because, dude: anime tiddies! And it requires kernel level anticheat because you definitely don't want people getting their waifus and husbandos for free.
I don't know that any of that is or could be connected to spyware, but it seems like if I wanted to orchestrate some kind of hidden state sponsored spyware network, targeting the gooners that will voluntarily install software on their phones and computers would be a lot simpler than hiding shit in RAM.