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:

    “I marched in with the men afoot; a gallant show they made as they marched up High Street to the depot. Lucy and Mother Webb remained several hours until we left. I saw them watching me as I stood on the platform at the rear of the last car as long as they could see me. Their eyes swam. I kept my emotion under control enough not to melt into tears.”
    —Rutherford Birchard Hayes (1822–1893)

    “The content of a thought depends on its external relations; on the way that the thought is related to the world, not on the way that it is related to other thoughts.”
    —Jerry Alan Fodor (b. 1935)

    “Generally there is no consistent evidence of significant differences in school achievement between children of working and nonworking mothers, but differences that do appear are often related to maternal satisfaction with her chosen role, and the quality of substitute care.”
    —Ruth E. Zambrana, U.S. researcher, M. Hurst, and R.L. Hite. “The Working Mother in Contemporary Perspectives: A Review of Literature,” Pediatrics (December 1979)