Its rare to see a malware or spyware on Linux, but this article shows that someone has been working on one for Desktop
https://thehackernews.com/2019/07/linux-gnome-spyware.html
https://thehackernews.com/2019/07/linux-gnome-spyware.html
The Spy Agent of EvilGnome contains five malicious modules called "Shooters," as explained below:
- ShooterSound— this module uses PulseAudio to capture audio from the user's microphone and uploads the data to the operator's command-and-control server.
- ShooterImage— this module uses the Cairo open source library to captures screenshots and uploads them to the C&C server. It does so by opening a connection to the XOrg Display Server, which is the backend to the Gnome desktop.
- ShooterFile— this module uses a filter list to scan the file system for newly created files and uploads them to the C&C server.
- ShooterPing— the module receives new commands from the C&C server, like download and execute new files, set new filters for file scanning, download and set new runtime configuration, exfiltrate stored output to the C&C server, and stop any shooter module from running.
- ShooterKey— this module is unimplemented and unused, which most likely is an unfinished keylogging module.