@gargron The answer is "using Ruby", obviously!

(sorry)

@keithzg The answer is malloc's overallocation default due to RedHat's preferences and malloc's failure to return free empty heaps as a performance precaution

This is why you don't get memory issues when using jemalloc instead of glibc's malloc

@brnrd @pertho @saper @Gargron @keithzg

And jemalloc is starting to become friendlier to ASLR. So jemalloc + HardenedBSD = I'm in love!

I'd love to see the heap implementation be interchangeable at world compile time, like the work you (sp1l) did for #HardenedBSD with #LibreSSL.

I would like to see #OpenBSD's malloc imported in HardenedBSD along with Daniel Micay's HardenedMalloc.

#FreeBSD #infosec

@lattera @brnrd @pertho @saper @Gargron @keithzg ASLR is what we call in french « usine Γ  gazΒ Β», is an outdated concept, and not even fully protecting against ROP. Like canaries & NX bit in PMMU don’t protect 100% against stack and buffer overflows. I have found a simple 100% operationnal solution stopping these 3 problems just by slitghly modifying any microprocessor architecture. I also consider PMMU a outdated concept.

@stman @brnrd @pertho @saper @Gargron @keithzg

PaX ASLR and PaX NOEXEC changed forever how exploits are written. Now you must chain multiple vulnerabilities together to gain code execution. They can fully kill certain vulnerabilities and attackers must now pay much closer attention to both control and data flow.

@stman @brnrd @pertho @saper @Gargron @keithzg

The overarching goal of security is to raise the economic cost of a successful and reliable attack.

PaX ASLR and PaX NOExEC do that and with minuscule overhead on the part of the defender.

So, I wouldn't even come close to saying ASLR is an outdated concept.

@stman @brnrd @pertho @saper @Gargron @keithzg

Those who claim "ASLR is dead!" either:

1. Don't understand just how much ASLR (and its companion, NOEXEC) have changed exploitation.
2. Have an ulterior motive, a snakeoil sales pitch.
3. Don't actively do exploit dev.
4. Have bought the false narratives of university researchers simply looking for more grant money.
5. Don't fully understand what ASLR is meant to protect against.

@stman @brnrd @pertho @saper @Gargron @keithzg

Wouldn't that require access to the binary along with its dependent shared libraries or local access? ASLR isn't meant to protect such cases.

@stman @brnrd @pertho @saper @Gargron @keithzg

I just recognized that I might have sounded a bit harsh. I apologize if I did.

I just get annoyed with the "ASLR is dead" fallacy. It does exactly what it was meant to do. I think the non-exploit dev (just regular tech folks) have put ASLR on a pedestal it doesn't deserve, which has now caused a general "ASLR is dead" line of thinking.

ASLR remains strong for what it was designed and architected to do: protect purely remote attacks.

@lattera @brnrd @pertho @saper @Gargron @keithzg I should have phrased my point differently. As it is a complex matter, and as I want to have an honnest discussion with you, let me prepare a text or an audio file explaining my point. To me these concepts are outdated, we can do better, way much better. Will be back to you this evening at tomorrow at last, to precisely explain my point. The only rule I’m asking you for this discussion

@stman @brnrd @pertho @saper @Gargron @keithzg Sure. Textual medium is preferred for me.

I agree we can do better. PaX RAP is the best solution. However, it requires a GPLv3 toolchain, is patented, and RAP with the paid grsecurity patch kills all forms of ROP, JOP, etc.

The rest of the non-Windows world will likely use llvm's CFI and SafeStack to above and beyond ASLR. Which is what we're doing in HardenedBSD. :)

Follow

@lattera @brnrd @pertho @saper @Gargron @keithzg solution, that don’t fix those issues at 100% , represents ? I’m sure it’s way much more than 1000 lines of C code. By the way, I would be interested to know an approximate lines count.

Will be back later,

Kind regards,

Stman

@stman @brnrd @pertho @saper @Gargron @keithzg

Regarding RMS: I'm not that big a fan of him.

Regarding cache and micro-architectural attacks: ASLR wasn't meant to protect against them. As such, bypassing ASLR through them is moot point.

Regarding a hardware-based solution: have you looked at the CHERI project from the University of Cambridge? I really like the work they're doing, though I doubt it'll be impactful for another decade or two (or three).

@stman @lattera @brnrd @pertho @Gargron @keithzg amazed how one little remark sparked such a discussion! thanks! make sure you post a pointer here once you are ready...

@saper @lattera @brnrd @pertho @Gargron @keithzg Have you heard about cyber-geopolitics and its secret wars ? According to you, what game all military of the world are playing with technology and the current cyberspace ? An universal love story for global peace or a wacky race to find as much ways & tricks as possible to fuck their competitors & cyber-dominate them ?

@saper @lattera @brnrd @pertho @Gargron @keithzg In all this mess, there are still a very few crypto-anarchists like me who think evrrybody has the right to understand these secret wars, what strings each waring parties are pulling, etc...

@saper @lattera @brnrd @pertho @Gargron @keithzg To help other understanding these stupid games that lead nowhere except global war, I have been studying cyber-power genesis, in all know technological layers. My studies are aiming to represent the cyber-power model of the current cyberspace with all its technological layers.

@saper @lattera @brnrd @pertho @Gargron @keithzg My main discovery is that it’s the architectural choices, in all technological layers, that generate and caracterize cyber-powers.

Technological layers of a PC is architectured as a stack. According to you, what is the base if this stack, its first element ?

According to you, what is the element in this stack that generate most cyber-powers and the most important ones ?

@saper @lattera @brnrd @pertho @Gargron @keithzg The first elements if the stack (low level layers) , or the last ones (top level layers) ?

Once you give the right answers to these questions, you will understand my point better.

Sign in to participate in the conversation
Mastodon

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!