Say I'm running a server with Ubuntu and an application stack and I want to lock down potential malicious access.
Is there some OSS toolchain for disallowing execution of all unsigned binaries on linux? I'm imagining some toolchain that allows me to sign every binary on the system at some point and then disallow execution of anything that isn't signed from then on.
Would there be any benefit to such a system? If standard interpreters like bash and python are present and signed they could allow an attacker with userspace access to read all my data, launch a reverse shell etc.