Linux Hint published a security guide about how to detect if your Linux system has been hacked.
How to Detect if Your Linux System has been Hacked
When there is suspicion a system was hacked the only safe solution is to install everything from the beginning, especially if the target was a server or a device containing information exceeding the user or admin personal privacy. Yet you may follow some procedures to try to realize if your system was really hacked or not.
How to Detect if Your Linux System has been Hacked – Linux Hint