One of the most dangerous
attacks against servers is exploiting unhandled buffer
overflows.This way you can
inject code. Overwriting the return address (and setting
it to the malicious code) will run the attack.
How:
•OnStartup: Generate „magic“ cookie
•OnFuncCall: Write cookie before the return
address