Default Port: 873
Rsync is a file synchronization tool, and when it’s run as a standalone daemon rather than over SSH, it exposes “modules,” named directory shares, directly over the network on port 873. The real risk isn’t the protocol itself, it’s that modules are frequently left unauthenticated or writable, turning what should be an internal backup mechanism into an open door for reading or planting files.
Read-Only Module
Lets you list and pull files from a share. Still a real finding if it exposes backups, configs, or source code.
Writable Module
Lets you upload files into the share. Combined with the right target path, this is a direct route to remote code execution or SSH persistence.
Recon
Enumerating Modules
A “module” is rsync’s term for a shared directory. Listing them is the rsync equivalent of listing SMB shares, the first real step once you know the service is there.Pulling Files
Writable Modules
If a module allows writes, the most direct path to access is dropping your own SSH public key into a user’s.ssh directory, provided the module’s path actually exposes it.
Quick Reference Tools
Hackviser: Rsync
Quick-reference pentesting guide for the Rsync service.
HackTricks: Rsync
Deeper breakdown of Rsync enumeration and exploitation techniques.

