Re: Trapsleds

2017-06-21 Thread Mike Larkin
On Tue, Jun 20, 2017 at 10:34:00PM -0400, Todd Mortimer wrote: > > 2. This patch also hits NOP sleds > 8 bytes on i386. We could also hit > > the NOP sleds between 3 and 7 bytes if there are no objections. > > The attached diff implements the same trapsled mechanism for i386 and > amd64 for all

Re: Trapsleds

2017-06-20 Thread Todd Mortimer
> 2. This patch also hits NOP sleds > 8 bytes on i386. We could also hit > the NOP sleds between 3 and 7 bytes if there are no objections. The attached diff implements the same trapsled mechanism for i386 and amd64 for all padding sequences between 3 and 15 bytes. I have put this through a

Re: Trapsleds

2017-06-19 Thread Bryan Steele
makes it harder for an > attacker to hit any ROP gadgets or other instructions after a NOP sled. > > NOP sleds are used for text alignment in order to get jump targets onto > 16 byte boundaries. They can appear both in the middle of a function > and at the end. The trapsleds implemented

Re: Trapsleds

2017-06-19 Thread Mike Larkin
makes it harder for an > attacker to hit any ROP gadgets or other instructions after a NOP sled. > > NOP sleds are used for text alignment in order to get jump targets onto > 16 byte boundaries. They can appear both in the middle of a function > and at the end. The trapsleds implemented

Trapsleds

2017-06-19 Thread Todd Mortimer
. NOP sleds are used for text alignment in order to get jump targets onto 16 byte boundaries. They can appear both in the middle of a function and at the end. The trapsleds implemented in this diff convert NOP sleds longer than 2 bytes from a series of 0x6690 instructions to a 2 byte short JMP over