How to add SMACK rule for controlling mmap of shared lib via SMACK64MMAP extended attribute

I am new to SMACK and trying to explore SMACK64MMAP attribute and how it works. Basically, I want to control which process can map my shared library.
Hence, I am adding a label to SMACK64MMAP attribute of my shared library file. After this… Continue reading How to add SMACK rule for controlling mmap of shared lib via SMACK64MMAP extended attribute

Can a subject in Bell-LaPadula model write to other files with different compartments but same classification?

my question is based on the post made Toaster which never got a reply (Bell-LaPadula Model Compartments). In BLP If a subject has a classification level General and compartment Land (General, {Land}), would he be able to read/write to (Gen… Continue reading Can a subject in Bell-LaPadula model write to other files with different compartments but same classification?

Difference between access control systems that can/can’t be compromised without valid credentials?

Take the following examples:

When I run sshd, it can in theory grant access to anything that the process itself has access to, regardless of provided credentials. For example, I could in theory modify a single if statement in the sshd sou… Continue reading Difference between access control systems that can/can’t be compromised without valid credentials?

Linux whitelist-based Mandatory Access Control instead of a blacklist-based model

I’m trying to harden a Linux installation on a personal computer – I decided to try both SELinux and AppArmor as a Mandatory Access Control (MAC) to supplement the default Discretionary Access Control (DAC) that Linux comes with by default… Continue reading Linux whitelist-based Mandatory Access Control instead of a blacklist-based model