Securing a Linux system against fileless malware and other sophisticated modern threats requires a proactive, layered security strategy. The majority of attacks on Linux systems can be attributed to misconfigurations and poor administration, making it essential that administrators remain vigilant about testing and verifying the security of their servers. In addition, we recommend that administrators implement these security best practices to protect against fileless malware and other dangerous exploits:
Make sure that all software and patches are up-to-date.
Uninstall applications that are not being used and disable unnecessary services and program features for all necessary applications.
Restrict admin privileges - only grant the privileges that are necessary for a user to do his or her job.
Monitor network traffic and check activity logs frequently.
In the event that an infection does occur, change passwords immediately once you become aware of the infection and again after disinfection.
Implement adaptive security solutions capable of detecting malicious code – not just on the file system, but also in the RAM.