Stack Buffer Overflow - Platform Related Differences

Platform Related Differences

A number of platforms have subtle differences in their implementation of the call stack that can affect the way a stack buffer overflow exploit will work. Some machine architectures store the top level return address of the call stack in a register. This means that any overwritten return address will not be used until a later unwinding of the call stack. Another example of a machine specific detail that can affect the choice of exploitation techniques is the fact that most RISC style machine architectures will not allow unaligned access to memory. Combined with a fixed length for machine opcodes this machine limitation can make the jump to ESP technique almost impossible to implement (with the one exception being when the program actually contains the unlikely code to explicitly jump to the stack register).

Read more about this topic:  Stack Buffer Overflow

Famous quotes containing the words platform, related and/or differences:

    Across Parker Avenue from the fort is the Site of the Old Gallows, where 83 men “stood on nothin’, a-lookin’ up a rope.” The platform had a trap wide enought to “accommodate” 12 men, but half that number was the highest ever reached. On two occasions six miscreants were executed. There were several groups of five, some quartets and trios.
    —Administration in the State of Arka, U.S. public relief program. Arkansas: A Guide to the State (The WPA Guide to Arkansas)

    In the middle years of childhood, it is more important to keep alive and glowing the interest in finding out and to support this interest with skills and techniques related to the process of finding out than to specify any particular piece of subject matter as inviolate.
    Dorothy H. Cohen (20th century)

    I may be able to spot arrowheads on the desert but a refrigerator is a jungle in which I am easily lost. My wife, however, will unerringly point out that the cheese or the leftover roast is hiding right in front of my eyes. Hundreds of such experiences convince me that men and women often inhabit quite different visual worlds. These are differences which cannot be attributed to variations in visual acuity. Man and women simply have learned to use their eyes in very different ways.
    Edward T. Hall (b. 1914)