DEV Community

Cover image for Linux security
codesharedot
codesharedot

Posted on

Linux security

There are many softwares to secure your Linux box. You may think you are immune from bad malware, virus, actors. Well, nothing coul be further from the truth. So what can you do? Use some softwares to secure your box:

AppArmor / SELinux

AppArmor / SeLinux tools let you harden your system to the file system level (And beyond). Which apps can access what directories, which app can access the internet and so on.

apparmor

ClamAV

ClamAV AntiVirus is a free, cross-platform and open-source antivirus software toolkit able to detect many types of malicious software, including viruses.

Firejail

A tool to sandbox your apps. This is more "lightweight" than AppArmor. By runnning in a sandbox, the app can't do bad things outside of what it's supposed to do. Especially useful for web browsers.

Firewalls

UFW

The UFW firewall can block access based on port. If you want to block certain ports (like SSH), you can with UFW. It doesn't allow per-application blocking, only port based blocking.

OpenSnitch

Just an application firewall. If an app tries to access the internet, you'll get a popup asking if it's ok to access the internet

So what do you use? :)

Top comments (0)