Services to Start
The following are common useful services that I frequently use for data exfiltration, hosting payloads, or anonymizing traffic.
SSH
#Start service service ssh start #Confirm with netstat -antp | grep sshd
HTTP (Apache Web Server)
#Start service service apache2 start #Confirm by checking http://127.0.0.1 in your browser
PostgreSQL
#Start service service postgresql start
TOR
#Anonymize traffic through the onion network service tor start
Metasploit Database
#Initialize the database msfdb init service postgresql start
NFS (Network File System)
#Useful for creating shared folders for exfiltration service nfs-kernel-server start
Samba (SMB)
#Share files with Windows targets service smbd start
I usually run these after a fresh install of Kali Linux, Parrot OS, etc. To make them persistent:
#To start the above services persistently at boot systemctl enable ssh systemctl enable apache2 systemctl enable postgresql systemctl enable tor systemctl enable nfs-kernel-server systemctl enable smbd