apparmor
Prerequisites
Ensure apparmor daemon is running
Install neccessary tools
Default firefox profile shipped with Kali Linux
1. Generate a starting profile
Default profile
2. Optionally, load the profile using aa-genprof or aa-logprof
aa-genprof or aa-logprofGenerate a new profile according to logs from the specified log file
Update the existing profile
3. View the profile and manually edit the configurations
Abstractions
Profile language
4. Load and enforce the profile
apparmor_parser
5. View the status
6. View the logs and manually update the profile
Install required packages
Filter the logs
View the logs in real-time
Example
7. Verify the apparmor configurations
Example
8. Other useful commands
Last updated