Shellcode Execution Strategy
An exploit will commonly inject a shellcode into the target process before or at the same time as it exploits a vulnerability to gain control over the program counter. The program counter is adjusted to point to the shellcode, after which it gets executed and performs its task. Injecting the shellcode is often done by storing the shellcode in data sent over the network to the vulnerable process, by supplying it in a file that is read by the vulnerable process or through the command line or environment in the case of local exploits.
Read more about this topic: Shellcode
Famous quotes containing the words execution and/or strategy:
“If I were asked to chose between execution and life in prison I would, of course, chose the latter. Its better to live somehow than not at all.”
—Anton Pavlovich Chekhov (18601904)
“That is the way of youth and life in general: that we do not understand the strategy until after the campaign is over.”
—Johann Wolfgang Von Goethe (17491832)