<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/htb-abducted-7nhys9rk3" -->

---
title: HTB: Abducted | daily.dev
description: A walkthrough of the HackTheBox machine 'Abducted', a Linux box exploited through multiple chained vulnerabilities. The initial foothold uses CVE-2026-4480, a...
canonical: https://daily.dev/posts/htb-abducted-7nhys9rk3
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: HTB: Abducted | daily.dev
og:description: A walkthrough of the HackTheBox machine 'Abducted', a Linux box exploited through multiple chained vulnerabilities. The initial foothold uses CVE-2026-4480, a...
og:url: https://daily.dev/posts/htb-abducted-7nhys9rk3
og:image: https://api.daily.dev/og/posts/7nHys9Rk3.png
og:image:alt: HTB: Abducted
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# HTB: Abducted

**[0xdf hacks stuff](https://daily.dev/sources/0xdf)** · 21 min read · 0 upvotes · 0 comments

## Summary

A walkthrough of the HackTheBox machine 'Abducted', a Linux box exploited through multiple chained vulnerabilities. The initial foothold uses CVE-2026-4480, a command injection in Samba's printing subsystem where the print job name (%J substitution) is passed to the shell unescaped, allowing RCE as nobody. Lateral movement to scott is achieved by decoding an obfuscated rclone backup config password. Access to marcus is gained by abusing a Samba share configured with wide links and force user, allowing an SSH key to be planted in marcus's home directory via SMB symlink traversal. Root is obtained by writing a malicious ExecStartPre directive to the smbd systemd drop-in directory (writable by the operators group) and restarting smbd via a polkit rule that permits operators to manage that specific service.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://0xdf.gitlab.io/2026/07/07/htb-abducted.html>

## Similar posts on daily.dev

- [HTB — Strutted Writeup: Linux Machine](https://daily.dev/posts/htb-strutted-writeup-linux-machine-x6cn8azui) · InfoSec Write-ups · 1 upvotes · 0 comments
- [HTB: CodeTwo](https://daily.dev/posts/htb-codetwo-klj991bhn) · 0xdf hacks stuff · 2 upvotes · 0 comments
- [CodePartTwo HTB Walkthrough](https://daily.dev/posts/codeparttwo-htb-walkthrough-gzwjbhyde) · InfoSec Write-ups · 1 upvotes · 0 comments
- [HTB: Snapped](https://daily.dev/posts/htb-snapped-u9na3pl4h) · 0xdf hacks stuff · 0 upvotes · 0 comments
- [HTB: Dump](https://daily.dev/posts/htb-dump-yhhzlzoum) · 0xdf hacks stuff · 1 upvotes · 0 comments

---

Tags: [#security](https://daily.dev/tags/security), [#linux](https://daily.dev/tags/linux)

[View this post on daily.dev](https://daily.dev/posts/htb-abducted-7nhys9rk3)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"HTB: Abducted","url":"https://daily.dev/posts/htb-abducted-7nhys9rk3","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/htb-abducted-7nhys9rk3"},"datePublished":"2026-07-07T10:36:48.167Z","dateModified":"2026-07-07T10:37:12.384Z","description":"A walkthrough of the HackTheBox machine 'Abducted', a Linux box exploited through multiple chained vulnerabilities. The initial foothold uses CVE-2026-4480, a...","image":"https://media.daily.dev/image/upload/s--P4t4XyoV--/f_auto/v1722860399/public/Placeholder%2001","thumbnailUrl":"https://media.daily.dev/image/upload/s--P4t4XyoV--/f_auto/v1722860399/public/Placeholder%2001","isAccessibleForFree":true,"articleSection":"0xdf hacks stuff","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"0xdf hacks stuff","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/16cdada70d5f4fac8b588c53bcf005ff","url":"https://daily.dev/sources/0xdf"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/htb-abducted-7nhys9rk3","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"security,linux","timeRequired":"PT21M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"0xdf hacks stuff","item":"https://daily.dev/sources/0xdf"},{"@type":"ListItem","position":3,"name":"HTB: Abducted"}]}
```

