Mentaculus a member of OpenSc recently released the source to a Remote Administrator Tool (RAT) which is coded in Delphi. He says:
Found this source looking through some old files. I’m pretty sure its not public so I decided to share it with you guys. It has most of the classic RAT features with a smooth interface. Hopefully this will stop people from using shit like blackshades and learn how to code a bit.
Download link is attached, this source is for learning and personal use only.