The 'return-to-libc' attack, first demonstrated in 1997 by Alexander Peslyak, laid critical groundwork for stack exploitation by showing how to hijack program execution via buffer overflows to existing library functions, bypassing non-executable stacks.