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)

    Gambling is closely related to theft, and lewdness to murder.
    Chinese proverb.

    The mother must teach her son how to respect and follow the rules. She must teach him how to compete successfully with the other boys. And she must teach him how to find a woman to take care of him and finish the job she began of training him how to live in a family. But no matter how good a job a woman does in teaching a boy how to be a man, he knows that she is not the real thing, and so he tends to exaggerate the differences between men and women that she embodies.
    Frank Pittman (20th century)