Any Linux Distro that protects shadow file using SELinux or something else even against root, similar to PPL in Windows?

Posted by BitDrill@reddit | linux | View on Reddit | 19 comments

In Windows, only PPL processes are allowed to read (or inject) lsass process memory and get process hashes. so even SYSTEM processes cannot read the hashes from lsass.

Was wondering, is there any Distro in Linux that has a similar protection? Meaning, even as an attacker I gain root, I still wouldn't be able to read the password hashes from the shadow file? Tried chagpt but it said no, and at least in my Fedora and Ubuntu no such protection seems to be implemented.

I know that I can probably do it by myself using SELinux rules, but I am looking for any distro that has implemented this by default because that would be interesting and impressive.

Any distro?