#1Tools for maintaining long-term access to compromised systems, even after reboots.
Kitploit recommended

Mac OS X rootkit - for learning purposes

Remote Access Trojan (RAT) source code for learning C2 communication, payload delivery, and post-exploitation techniques in Windows environments.

PowerShell-based command and control framework using website-hosted payloads for persistent remote access and post-exploitation on Windows systems.

A host based IDS written in C# Targetted at Metasploit