NetCat is a tool which is capable of doing just about everything. One of its most used features is the Telnet server where you infect somebody with NetCat and then use normal telnet to connect that the infected computer.
A book that teaches you a lot about NetCat is Hacking Exposed (yes I know it is a very skript kiddy book).