
Explore how AppArmor, a Linux security module, uses profiles to control what applications can do, including internet access and reading files or directories, with examples like Firefox and Apache.
Explore AppArmor on SUSE Linux by verifying the default installation, checking its status with sudo service apparmor status, and using the graphical user interface to enable or disable protection.
AppArmor on Ubuntu Linux enforces what applications can do using profiles. It restricts internet, file, and directory access and ships with default profiles.
Learn how to manage the AppArmor service on Ubuntu and openSUSE by checking its status with systemctl, and starting or stopping it to ensure it runs by default.
AppArmor profiles control what each app can do, listing apps and governing access to the internet and directories, with modes enforce and complain and a disable option.
Learn how AppArmor uses profiles to govern what apps can do, check profile status and modes such as enforcement, complain, and confined to decide permissions.
Create an app profile for gedit using aa-genprof, monitor events, and decide allow or deny for actions. The generated profile restricts access, such as denying reads of the home directory.
Learn to enable and disable AppArmor profiles by checking loaded profiles with aa-status, linking profiles to /disable, and using apparmor_parser to replace or remove profiles in the kernel.
Learn to view and switch AppArmor profiles between enforce, complain, and unconfined modes with aa status and aa enforce, aa complain, and aa disable, and apply profiles to specific programs.
Learn to restrict apps with AppArmor by adding deny rules to a directory, reload and enforce the profile, and verify that read access is blocked.
Use AppArmor to deny internet access for a program by editing its profile and reloading the service. Test with a web page, then remove rules to restore connectivity.
Use aa-logprof to audit AppArmor events and update existing profiles to allow or deny programs. Save changes or abort, and explore confined versus manual profile updates.
In this course you will learn how to use AppArmor.
AppArmor lets you control whats apps can do. You can decide if an app is allowed to access the internet, if its allowed to read your home directory, your system files, to write files or anything else.
By taking this course you'll be able to increase the security of your Linux system. You will need Ubuntu Linux or OpenSuse Linux for this course.