Re: Re: Stack changes for a program on mulitple occasions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Arjan

> 1) Performance: By changing the stack to different positions, you get
> less cache aliases, so you can use the cpu cache better

What do you mean by "cache alias"? Mapped to same cache line?

> 2) Security: By having a different and unpredictable stack place in
> memory, stack based buffer overflow exploits are harder to create.
> (and in combination with other security measures, really really hard
> ;)

BTW, does that mean, it also immune against brute force style attack 
(e.g combining shell code with various number of NOPs)? This is 
assuming stack area still allow executable pages.

regards

Mulyadi


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux