Exetools  

Go Back   Exetools > General > General Discussion

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 05-08-2005, 14:20
arnix arnix is offline
Friend
 
Join Date: Feb 2005
Posts: 68
Rept. Given: 11
Rept. Rcvd 18 Times in 7 Posts
Thanks Given: 2
Thanks Rcvd at 6 Times in 4 Posts
arnix Reputation: 18
Exectution on the stack

I've listened that it's possible to overcome the restriction in WinXP SP2
which does not allow to execute commands on the stack. i have 2 questions:

1. how can i do that in XP SP2 (or maybe in other OS too?) (i know google.com but maybe someone has a small and good way to do that)

2. i wanna write a simple protector (just for experience), what do you
think, is it a good idea using this trick (execution on the stack)
or it is a outdated trick and it will not be possible to overcome
the restriction on newer OS-s with new processors.

thank you.
Reply With Quote
  #2  
Old 05-09-2005, 09:05
retroer
 
Posts: n/a
I know only two articles related the subject:
hxxp://www.ngssoftware.com/papers/defeating-w2k3-stack-protection.pdf
hxxp://www.maxpatrol.com/defeating-xpsp2-heap-protection.htm
and I think it's very complicated to use this techiques in real programs, because there many additional restrictions you should comply such as very small buffer and different incompatibilities between OSes,

If you want use stack execution in legal program (not exploit) try add your program to DEP exception list:
hxxp://www.microsoft.com/technet/security/prodtech/windowsxp/depcnfxp.mspx
Reply With Quote
  #3  
Old 05-09-2005, 19:03
nikola nikola is offline
Friend
 
Join Date: Jan 2004
Location: Your head
Posts: 115
Rept. Given: 0
Rept. Rcvd 0 Times in 0 Posts
Thanks Given: 0
Thanks Rcvd at 1 Time in 1 Post
nikola Reputation: 0
This is already talked about in KaGras topic. He also supplied some examples.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Relocate thread Stack? visu General Discussion 0 03-29-2005 12:36
DOS stack under Win2k Nukacola General Discussion 2 12-07-2004 23:20


All times are GMT +8. The time now is 11:59.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( 1998 - 2024 )