All of lore.kernel.org
 help / color / mirror / Atom feed
* Is there any Buffer overflow attack mechanism that can break a vulnerable server without breaking the ongoing connection?
@ 2005-12-26 20:47 Xin Zhao
  2005-12-26 20:51 ` Arjan van de Ven
  0 siblings, 1 reply; 4+ messages in thread
From: Xin Zhao @ 2005-12-26 20:47 UTC (permalink / raw)
  To: linux-kernel

We are working on a mechanism that monitors the connections of a
server and detects potential intrusions via broken connection
(incoming request received, but no reply).  We want to thoroughly
understand the possibility of mounting a buffer overflow attack
against a server process without cutting off the connection.

Any insight on this?

Thanks in advance!

Xin

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Is there any Buffer overflow attack mechanism that can break a vulnerable server without breaking the ongoing connection?
  2005-12-26 20:47 Is there any Buffer overflow attack mechanism that can break a vulnerable server without breaking the ongoing connection? Xin Zhao
@ 2005-12-26 20:51 ` Arjan van de Ven
  2005-12-27 14:18   ` nashleon
  0 siblings, 1 reply; 4+ messages in thread
From: Arjan van de Ven @ 2005-12-26 20:51 UTC (permalink / raw)
  To: Xin Zhao; +Cc: linux-kernel

On Mon, 2005-12-26 at 15:47 -0500, Xin Zhao wrote:
> We are working on a mechanism that monitors the connections of a
> server and detects potential intrusions via broken connection
> (incoming request received, but no reply).  We want to thoroughly
> understand the possibility of mounting a buffer overflow attack
> against a server process without cutting off the connection.

buffer overflows do not break connections, and as such I think you are
out of luck.
Having said that.. on modern linux distros it's pretty hard to do a
buffer overflow exploit nowadays (NX[1] to make stacks non-executable,
randomisations, compiler based detection (via FORTIFY_SOURCE and/or
-fstackprotector)... add all those together and it's certainly not easy
to do this....



[1] or emulations of NX such as segment limits techniques


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Is there any Buffer overflow attack mechanism that can break a vulnerable server without breaking the ongoing connection?
  2005-12-26 20:51 ` Arjan van de Ven
@ 2005-12-27 14:18   ` nashleon
  2005-12-27 14:23     ` Arjan van de Ven
  0 siblings, 1 reply; 4+ messages in thread
From: nashleon @ 2005-12-27 14:18 UTC (permalink / raw)
  To: Arjan van de Ven, linux-kernel

Arjan van de Ven escreveu:

>buffer overflows do not break connections, and as such I think you are
>out of luck.
>Having said that.. on modern linux distros it's pretty hard to do a
>buffer overflow exploit nowadays (NX[1] to make stacks non-executable,
>randomisations, compiler based detection (via FORTIFY_SOURCE and/or
>-fstackprotector)... add all those together and it's certainly not easy
>to do this....
>
>
>
>[1] or emulations of NX such as segment limits techniques
>
>  
>

Hello!

Locally is very simple to exploit buffer overflows in the linux kernel. 
This protections is not
efective very well, so it's possible many attacks... It's possible to 
return in mmap() area,
overwrite values em syscall table and after that run malicious code 
using mmap() to allocate
data and many others schemes and techniques.

Linux is very robust and its resources is very good, but it is not yet 
the solution against buffer overflows.

Best Regards,

Nash Leon 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Is there any Buffer overflow attack mechanism that can break a vulnerable server without breaking the ongoing connection?
  2005-12-27 14:18   ` nashleon
@ 2005-12-27 14:23     ` Arjan van de Ven
  0 siblings, 0 replies; 4+ messages in thread
From: Arjan van de Ven @ 2005-12-27 14:23 UTC (permalink / raw)
  To: nashleon@gmx.de; +Cc: linux-kernel

On Tue, 2005-12-27 at 12:18 -0200, nashleon@gmx.de wrote:
> Arjan van de Ven escreveu:
> 
> >buffer overflows do not break connections, and as such I think you are
> >out of luck.
> >Having said that.. on modern linux distros it's pretty hard to do a
> >buffer overflow exploit nowadays (NX[1] to make stacks non-executable,
> >randomisations, compiler based detection (via FORTIFY_SOURCE and/or
> >-fstackprotector)... add all those together and it's certainly not easy
> >to do this....
> >
> >
> >
> >[1] or emulations of NX such as segment limits techniques
> >
> >  
> >
> 
> Hello!
> 
> Locally is very simple to exploit buffer overflows in the linux kernel. 

sure kernel space is a whole different kettle of fish. The good news
there however is that in kernel space it's rather rare to work with
buffers on the stack (by virtue of only having a really tiny stack in
the first place). Not impossible but at least rare.



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-12-27 14:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-26 20:47 Is there any Buffer overflow attack mechanism that can break a vulnerable server without breaking the ongoing connection? Xin Zhao
2005-12-26 20:51 ` Arjan van de Ven
2005-12-27 14:18   ` nashleon
2005-12-27 14:23     ` Arjan van de Ven

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.