Skip to main content

Apparmor: Against Zero Day Attacks


I have my feed on Ubuntu Forum yesterday. I'm in the security discussion threads and I happen to come across the sticky for apparmor by the ubuntuguru. I like what I'm reading and the article is enjoining ubuntu users to take advantage of apparmor.

Apparmor is an alternative to Selinux. What it does is use application profiles to confine applications to only do what those profiles allow. It can run in complain mode or enforce mode. In complain mode, it basically learns to abide by the profile. The profile itself can be modified when running in complain mode. The user can allow or deny a particular behavior and incorporate that into the new profile. In the enforce mode, applications may proceed as before or be restricted to do a function according to the set profile. What apparmor does is prevent rogue applications from getting increased priveleges and thereby wreak havoc to the system.

Apparmor protects against zero-day attacks. Zero-day attacks are dangerous because the malware is as yet unknown and unclassified. We don't know what they are going to do. There is simply no patch for it. The vulnerability might be known but not fixed yet. Or it is unknown entirely. If an attacker uses an unknown malware to take over an application, that application is prevented by its apparmor profile from doing something worse to the system.

It is a very nice security discussion.

Comments

Popular posts from this blog

Evolution Mail on GNOME 3.26

There's a slight change in the user interface. A To Do column now appears to the rightmost after the GNOME 3.26 update. Also there's a noticeable stability increase, what with goa-daemon stopping its RAM usage creep. I don't have to kill it every couple of hours.

My Personal Macros Today Starting

Basis of these numbers is age and weight. I consume proteins at 1.6g per kg of body weight, whick is moderate. I track my fibers and aim for 30g daily. Psyllim husk and flax seeds help a lot with fiber consumption. 

Ubuntu 26.04 LTS Out now

Nothing but perfection. Indeed. The upgrade from Ubuntu 25.10 to 26.04 today is flawless.