Stack Smashing in AMD64
Results 1 to 3 of 3

Thread: Stack Smashing in AMD64

Hybrid View

  1. #1
    Junior Member Pixilated's Avatar
    Join Date
    Apr 2011
    Posts
    3

    Stack Smashing in AMD64

    okay, so I can't tell if I am being a complete idiot or not(I am going with the idiot hypothesis), but I am having problems with overwriting the .dtors section of some code in a wargame I am playing. I think the problem is that I am trying to do so on the AMD64 architecture. After some digging (reading the damn manual), I found that the rbp register, the AMD64 'equivalent' to the ebp register, is not..... what's the word.... well the rbp functionality isn't as rigid as the ebp register in the IA32 architecture. As in it is more along the lines of an optional ebp register is how I am looking at it. Does this make smashing the stack on AMD64 completely asinine? I even tried writing a more simple stack smashing exercise and couldn't get positive results. Well, I hope you guys can help!

  2. #2
    Junior Member BabyNet's Avatar
    Join Date
    Oct 2003
    Location
    Underground base in the mountains.
    Posts
    18
    Are you having problems programming a game or having problems passing a game?
    Salmos 23:4 Aunque ande en el valle de sombra profunda, no temo nada malo, porque tu estas conmigo; tu vara y cayado son las cosas que me consuelan.

  3. #3
    Senior Member Wazz's Avatar
    Join Date
    Apr 2003
    Posts
    288
    This used to happen to me all the time on the AMD64 architecture, especially when using IDA Pro Disassembler, W32DASM, and pretty much any similar tools. Lots and lots of floating point crashes and overall bad compatibility and stability....Won't touch AMD ever again. You could try to achieve the overwrite in Virtualbox or VMWare to see if their architecture would allow it. Good luck!
    "It is a shame that stupidity is not painful" - Anton LaVey

Similar Threads

  1. Question reagarding Smashing the Stack
    By esprain in forum Newbie Security Questions
    Replies: 11
    Last Post: October 4th, 2005, 10:15 AM
  2. Smashing The Stack For Fun And Profit - Buffer Overruns
    By Double//Cut in forum Programming Security
    Replies: 10
    Last Post: January 10th, 2005, 06:24 PM
  3. I am HACKED! Help Me Please!
    By Shakira in forum Newbie Security Questions
    Replies: 9
    Last Post: February 16th, 2004, 09:07 AM
  4. Tcp/ip
    By gore in forum Newbie Security Questions
    Replies: 11
    Last Post: December 29th, 2003, 07:01 AM
  5. Stack Ghost
    By instronics in forum Programming Security
    Replies: 10
    Last Post: May 9th, 2003, 04:42 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

 Security News

     Patches

       Security Trends

         How-To

           Buying Guides