Re: Clever ways to hide a compare
- From: "f0dder" <spamtrap@xxxxxxxxxx>
- Date: Sun, 25 Sep 2005 23:30:25 +0000 (UTC)
David J. Craig wrote:
> I did say if you are using DOS. This won't work for Windows NT
> unless you know a lot about the internals of the kernel and then even
> self modifying code is possible with device driver support. How can
> you have a buffer overflow if you write the code correctly. You are
> setting things based upon decisions you have made and not on user
> input. It might be a side effect of user input in that you might
> change the code flow based upon that input, but you will have checked
> and validated the input before you start making these type of
> modifications.
You can do self modifying code on NT without any problems, you just have to
either modify the PE header on disk or use VirtualProtect to allow writing
to your .text section. And you could even do "running line" trickery if you
want, using SEH.
.
- Follow-Ups:
- Re: Clever ways to hide a compare
- From: TS
- Re: Clever ways to hide a compare
- References:
- Clever ways to hide a compare
- From: jonathon
- Re: Clever ways to hide a compare
- From: David J. Craig
- Re: Clever ways to hide a compare
- From: Aslan
- Re: Clever ways to hide a compare
- From: David J. Craig
- Clever ways to hide a compare
- Prev by Date: Re: Clever ways to hide a compare
- Next by Date: Re: Clever ways to hide a compare
- Previous by thread: Re: Clever ways to hide a compare
- Next by thread: Re: Clever ways to hide a compare
- Index(es):
Relevant Pages
|