Aller au contenu
  1. Posts/

Writeup de la box "Medium" "Giveback" de Hack The Box

·260 mots·2 mins
Lacroix Raphaël (Chepycou)
Auteur
Lacroix Raphaël (Chepycou)
Bonjour, bienvenue sur mon blog. Je suis Raphaël LACROIX, je développe diverses applications pendant mon temps libre, allant du très inutile au parfois utile. Je fais aussi beaucoup de Capture The Flag et de défis de cybersécurité. Je suis actuellement à la recherche d’un CDI en pentest sur Toulouse ou en remote
Hack The Box Medium Boxes - Cet article fait partie d'une série.
Partie : Cet article

Cette box est une box Linux notée “Medium” et hébergée par HackTheBox.Nota Bene : Cette box est probablement la plus dure des box medium que j’ai vues, d’où la réaction suivante sur le canal discord :

Babywyrm a crée une box qui est aux “box medium” ce que Dark Souls est aux jeux relaxants

Flag utilisateur
#

Énumération
#

mkdir scans loot shares
nmap -A 10.129.39.123 -vvv -oA scans/first_scan
nmap -A 10.129.39.123 -vvv -p- -oA scans/full_scan
nmap -sU -A 10.129.39.123 --top-port 100 -vvv -oA scans/first_scan_udp
22/tcp open  ssh     syn-ack ttl 63 OpenSSH 8.9p1 Ubuntu 3ubuntu0.13 (Ubuntu Linux; protocol 2.0)
| ssh-hostkey: 
|   256 66:f8:9c:58:f4:b8:59:bd:cd:ec:92:24:c3:97:8e:9e (ECDSA)
| ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBCNmct03SP9FFs6NQ+Pih2m65SYS/Kte9aGv3C8l43TJGj2UcSrcheEX2jBL/jbje/HRafbJcGqz1bKeQo1cbAc=
|   256 96:31:8a:82:1a:65:9f:0a:a2:6c:ff:4d:44:7c:d3:94 (ED25519)
|_ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICjor5/gXrTqGEWiETEzhgoni1P2kXV3B4O2/v2SGnH0
80/tcp open  http    syn-ack ttl 62 nginx 1.28.0
|_http-favicon: Unknown favicon MD5: 000BF649CC8F6BF27CFB04D1BCDCD3C7
|_http-title: GIVING BACK IS WHAT MATTERS MOST – OBVI
| http-methods: 
|_  Supported Methods: GET HEAD POST
|_http-generator: WordPress 6.8.1
|_http-server-header: nginx/1.28.0
30686/tcp open     http         syn-ack ttl 63 Golang net/http server
|_http-title: Site doesn't have a title (application/json).
| http-methods: 
|_  Supported Methods: GET HEAD POST OPTIONS
|_http-favicon: Unknown favicon MD5: 078C07D5669A42740EF813D5300EBA4D
| fingerprint-strings:

Box Linux classique mais avec un port exotique en plus (tcp/30686)

Web recon
#

Ok commençons avec le Wordpress :

Le contenu de cet article est actuellement restreint en raison des politiques de HackTheBox. Cet article restera privé jusqu’à ce que la machine soit passée en “retired”. Bon hacking et n’hésitez pas à me poser des questions en message privé depuis le discord HTB, sur Linkedin ou sur X ;)

En attendant vous pouvez me follow sur HTB :

Chepycou

Hack The Box Medium Boxes - Cet article fait partie d'une série.
Partie : Cet article