Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Commit

Permalink
add more /etc/ld.so.* files / folders
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Schleizer committed Dec 17, 2019
1 parent e28f379 commit dbeaeb7
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion etc/apparmor.d/abstractions/dangerous-files
Expand Up @@ -81,5 +81,12 @@
## An attacker can modify /etc/ld.so.preload to make everything
## preload their malicious library which can be used to compromise
## apt and replace the kernel images.
## TODO: See if other /etc/ld.so.* files can be abused this way.
audit deny /etc/ld.so.preload w,
## /etc/ld.so.preload.d drop-in configuration folder support
## https://sourceware.org/bugzilla/show_bug.cgi?id=24913
audit deny /etc/ld.so.preload.d/ w,
audit deny /etc/ld.so.preload.d/** w,
audit deny /etc/ld.so.cache w,
audit deny /etc/ld.so.conf w,
audit deny /etc/ld.so.conf.d/ w,
audit deny /etc/ld.so.conf.d/** w,

0 comments on commit dbeaeb7

Please sign in to comment.