Re:SSHD: Random boot time relinking, OpenBSD
by codetrotter on Friday January 20, 2023 @06:59AM
(#34451867)
I suppose if someone found a technique in the wild that defeats regular ASLR (even if only sometimes), they could then test that same technique against fine-grained ASLR and evaluate if the FG ASLR was more effective at preventing exploitation.
Re:SSHD: Random boot time relinking, OpenBSD
by TheCondor on Friday January 20, 2023 @09:54AM
(#34453917)
Any classic buffer overflow/stackssmash can defeat ASLR, it just might take a long time to get lucky guessing addresses. Couldn’t we Monte Carlo this?
Maybe take a known vulnerable exec, create a fuzzing attacker and run it both ways seeing how long it takes to get lucky a few times. The more secure version should take longer.
Re:SSHD: Random boot time relinking, OpenBSD
by insanitybit on Friday January 20, 2023 @01:45PM
(#34457738)
There are whitehats constantly looking at this sort of thing. It's why we can say that KASLR is a huge waste of time - because it's both theoretically bogus and we have actual exploit devs saying that they don't care about it.
Re:SSHD: Random boot time relinking, OpenBSD
by rfoo on Friday January 20, 2023 @02:37PM
(#34458564)
It's not about failed attempt at finding a hole, it's about failed attempt at actually making use of a hole (i.e. write an exploit) given a hole.
(FG)ASLR is more of a "targeting at exploit instead of vulnerability" style mitigation.
Not a rhetorical question.