jemsa
jemsa on Hacker News
Well it's already pretty hard to exploit Android, the kernel is the weak point at the moment.
I've studied the grsecurity code a lot and if you can exploit that stuff you can get high paying jobs for either red team or blue ;)
Making it harder and driving up the cost to use/write exploits and ofcourse making everyone more secure is the end goal for the sec team :D
I'm not sure i follow, you can upstream any security feature to AOSP, CopperheadOS dev has upstreamed lots of stuff to improve security overall which is good.
Google can do whatever they want but most of it is happening in house sadly, they could probably pay grsecurity devs to implement security features for Android & ChromeOS if they wanted to.
Who are these top security researchers?
ASLR on its own is useless but security is about layers there isn't one mitigation to rule em all.
But ASLR combined with other features work very well, the funny part about FreeBSD that you can just apply 90s blog post about smashing the stack and you can exploit with it.
grsecurity code is clean and uses some neat tricks with the C language, most features have been there for at least a decade and recently things like RAP have come along but its all pretty clean.
The problem with upstreaming is that you will have people that think the code is shit or doesn't work properly or all kinds of other stuff and that takes a lot of time that could be spent somewhere else.
About the quality matching the respective project's standards is bullshit because many developers aren't security engineers or have never dealt with exploit mitigation's and instantly think/say the code is shit, biggest reason why Linux will never get actual important features from grsecurity because it takes lots of time and developers that actually understand what they are doing.
FreeBSD just doesn't have those developers and neither has Linux, now you know why out of tree patches just work for this kind of stuff.
Microsoft seems to take the upper hand in exploit mitigation's at the moment.
Yet FreeBSD hasn't done a single thing to improve the current state of exploit mitigations.
It doesn't matter how many people are writing code, grsecurity is mainly Spender & pipacs aka PaXTeam yet 14 Linux developers couldn't spot the vulnerabilities they've created by copy pasting and editing code from grsecrutiy.
You can't really blame others for trying while FreeBSD hasn't tried a single thing yet.
The funny part is that FreeBSD has had years to even implement anything as simple as ASLR but it didn't and instead starting to reject other peoples code.
What HardenedBSD did is basically following the PaX model which has been documented for a long time[1].
It seems like FreeBSD is just lacking any developers willing to deal with these security features or let alone upstream it because its usually a pain in the ass to upstream stuff like this just look how Linux is having a hard time implementing even basic stuff from grsecurity.
Exploit mitigations are not for fixing those security problems it is to make it harder to exploit certain vulnerabilities.
1: https://pax.grsecurity.net/docs/index.html