large set of apparmor rules for various distros
Go to file
2021-05-09 00:50:07 +01:00
apparmor.d Add some profiles. 2021-05-09 00:34:57 +01:00
debian Dev temporary version scheme. 2021-05-09 00:39:00 +01:00
root Better aa-log completion. 2021-04-29 20:58:03 +01:00
systemd Ensure some systemd services do not start before apparmor rules are loaded. 2021-04-02 10:34:59 +01:00
.gitignore Better install params. 2021-05-01 14:27:14 +01:00
.gitlab-ci.yml Fix CI build. 2021-04-03 23:51:57 +01:00
configure Better install params. 2021-05-01 14:27:14 +01:00
LICENSE Cleanup license file. 2021-04-01 14:47:01 +01:00
PKGBUILD Dev temporary version scheme. 2021-05-09 00:39:00 +01:00
profiles.manifest Minor fixes. 2021-04-18 17:54:04 +01:00
README.md Update Readme. 2021-05-09 00:50:07 +01:00

apparmor.d

Full set of apparmor profiles

Warning: This project is still in early development.

Description

A set of over 800 apparmor profiles which aims is to confine most of Linux base applications and processes.

Goals & Purpose

  • All distribution that support Apparmor (currenlty Archlinux and Debian),
  • Target both desktop and server,
  • Confine all root services (bluetooth, dbus, polkit, networkmanager...),
  • Confine all Desktop environments (currently only Gnome),
  • Fully tested (Work in progress),
  • Should not break a normal usage of the confined software.

These profiles strive to be fully functional with zero audit log warnings under proper behavior. Functionality is not ignored. If functionality is not explicitly blocked, then it's probably a bug in the profile and should be fixed.

Note: This work is part of a bigger linux security project.

This project is based on the excellent work from Morfikov and aims to extend it to more Linux distributions and desktop environements.

Tests

A full test suite to ensure compatibility across distributions and softwares is still a work in progress.

Installation

Requirements

  • An apparmor based linux distribution.
  • A systemd based linux distribution.
  • Base profiles and abstraction shipped with apparmor are supposed to be installed.

Archlinux

Build and install the package with:

makepkg -si

Debian

Build using standard Debian package build tools:

dpkg-buildpackage -b -d -us -ui --sign-key=<gpg-id>

Contribution

Feedbacks, contributors, pull requests, are all very welcome.

License

This program is based on Mikhail Morfikov's apparmor profiles project and thus has the same license (GPL2).

Copyright (C)  Alexandre PUJOL & Mikhail Morfikov

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 of the License.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.