I don't know if such a question is allowed on this site, sorry if it's not
For educational purposes I am asked to write a small virus running on Linux, which should just be able to inject itself into other binaries (but not anything else). I thought of injecting its code with a technique described here: http://www.securelist.com/en/weblog?weblogid=183651915 and this one (playing with the ELF format) but I couldn't find the assembly source. Do you have any links showing how to do such things? Thanks!