Basically you can use Metasploit to try hack this system, find any exploitable software and install on your remote system and try to hack. You will learn which exploit works on which port.. Start with using Metasploit there are lots of information about MSF like ; offensive-security.com/metasploit-unleashed



