News for hackers. Stuff that matters.
Re:The next circle of security hell by imtringued on Monday November 23, 2026 @02:25PM (#50617638)
This is something I'm getting irritated over.

I thought about what hardening techniques there are for dealing with RCE in a process but short of SELinux policies I can't really think of anything that might help.

The problem is ultimately that any RCE can overcome any in-process security mechanism you come up with. If you have an RCE, the security logic has to be enforced by a process that is not a victim of an RCE.

The best way to deal with a threat model with inevitable RCE is to ultimately give up and come up with a general RCE mitigation.

For example, a hypothetical ISA could mark valid entry points for functions and if you skip them, the process aborts. This prevents using just the last instruction of a gadget but ultimately I think even that type of mitigation is useless against an LLM. You are simply better off doing your bounds checks.

I'm talking about RCEs, because most in-process security measures work best if they cannot be bypassed and an RCE is always an implied bypass.

Re:The next circle of security hell by dcrazy on Monday November 23, 2026 @03:00PM (#50618271)
> For example, a hypothetical ISA could mark valid entry points for functions and if you skip them, the process aborts.

OpenBSD implemented this for syscalls: https://man.openbsd.org/pinsyscalls.2

Re:The next circle of security hell by kibwen on Monday November 23, 2026 @04:00PM (#50619200)
> Rust the language does not operate on the C concept of ambient authority. Rust's STD unfortunately does.

Rust's standard I/O abstractions are intended to be cross-platform, which means they're unfortunately going to be approximately the lowest common denominator of what the platforms natively provide. If you're okay with not strictly adhering to cross-platform abstractions, then the cap-std crate is the state of the art: https://crates.io/crates/cap-std

Re:The next circle of security hell by lightedman on Monday November 23, 2026 @06:27PM (#50621013)
"hardening techniques there are for dealing with RCE in a process but short of SELinux policies I can't really think of anything that might help"

Forcing hardware makers to be responsible for the first 3 layers of the OSI model would be a great start.