Post

HTB: Abducted

Abducted is an HTB machine that chains multiple Samba exploitation techniques. Initial foothold exploits command injection in Samba’s printing subsystem where an unescaped print job name is passed directly to shell. Subsequent privilege escalation involves decoding obfuscated rclone credentials to access shared storage, exploiting a Samba share configured with wide links and alternate execution context to write SSH keys to a third user’s home directory, then abusing a systemd drop-in directory writable by a privileged group combined with polkit rules to inject a SetUID bash creation command. The walkthrough demonstrates practical exploitation of realistic Samba misconfigurations across multiple privilege levels.

Read original article

This post is licensed under CC BY 4.0 by the author.