Learn Visual Basic(Old school but its a simple place to start) or Download/get a Trojan source code and read through it dissect it and test it out. Learn whats doing what google commands that are run learn to adapt them to your own needs.
Make sure you set up a VM machine for testing tho dont want to compromise your own system. I do not have any tutorials for you to read through. Im sure google may have a few links for you to read through.
Hellbound Hackers is the collective work of the staff and the community and is therefore licensed under the CC BY-NC-SA license.