by breakwaterlabs · 1w ago · 0 comments
It is certainly possible to enable authentication methods whereby two processes at the same privilege level cannot grab each other's secrets or tokens. Credential guard is one example, I am sure there are analogous implementations on Linux but I believe namespacing and SELinux attack this from different angles.
The next idea is to just steal the decrypted key out of RAM.
It is also not a given that a userland process can do this.Which is, in fact a relatively common posture.
There are a lot of ways of tackling this but the point is dev system security should not resemble the standard user posture.
We have reached a point where developing on your host OS has become irresponsible. Running development inside a container or VM is now mandatory.