Is it possible to execute a shellcode that's placed on stack? I am using Windows. (It probably won't change the fact but maybe some other rules exist on different operating systems.)
Stacks in Windows are protected with data execution prevention (DEP), so you can't execute any instructions on stack. This was possible with older Windows versions, that didn't support DEP.