In future Linux system may be soft target for attack because Linux popularity increases day by day and there is maximum possibility that Linux is soft target for attackers. My question is that, How can I protect my Linux system? Which precaution should I use for protect Linux system from future attack?

closed as too broad by Jeff Schaller, Michael Homer, G-Man, Anthon, Rui F Ribeiro May 17 '17 at 6:35

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • The availability of exploits is not necessarily in any way correlated with popularity. We can also speculate that the NSA (or those who control it) would learn from the WannaCry incident that weaponizing exploits was a bad idea in the first place, though that's admittedly very optimistic, and probably does nothing to dissuade organizations outside of democratic control and/or values from following their example so far. – tripleee May 17 '17 at 3:39
  • Billy Gates, is that you? – Rui F Ribeiro May 17 '17 at 6:37

I don't see anything particular about Linux and Unix systems regarding such malware. Non-Microsoft focused answers like this one can be adopted for other operating systems.


  • Behave like an educated and conscious computer user.
  • Do not hand your devices to others, always keep them with you or safely locked away.
  • Encrypt your backups and make sure that nobody else can.
  • Keep your installed software up to date on a daily basis. Use kernel live patching if you can, some distributions offer it for free and update your kernel on an hourly basis if there are updates available. Reboot regularly.
  • Follow the principles of least privilege and trust no one as best as you can.

Not the answer you're looking for? Browse other questions tagged or ask your own question.