black electronics

Services to Start

Common services I start for data exfiltration, hosting payloads, or anonymizing traffic.

The following are common useful services that I frequently use for data exfiltration, hosting payloads, or anonymizing traffic.

SSH

Terminal window
# Start service
service ssh start
Terminal window
# Confirm with
netstat -antp | grep sshd

HTTP (Apache Web Server)

Terminal window
# Start service
service apache2 start
Terminal window
# Confirm by checking http://127.0.0.1 in your browser

PostgreSQL

Terminal window
# Start service
service postgresql start

TOR

Terminal window
# Anonymize traffic through the onion network
service tor start

Metasploit Database

Terminal window
# Initialize the database
msfdb init
service postgresql start

NFS (Network File System)

Terminal window
# Useful for creating shared folders for exfiltration
service nfs-kernel-server start

Samba (SMB)

Terminal window
# 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:

Terminal window
# 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
Useful LinksPentest PayloadsCheat Sheets