Writeups

Ogni writeup documenta la catena completa, compresi i tentativi falliti e i vicoli ciechi. Il testo integrale è scaricabile in .txt su ognuno.

Every writeup documents the full chain, failed attempts and dead ends included. The full text of each one is downloadable as .txt.

Windows Offensive - TryHackMe 10 writeup

Dieci room TryHackMe completate tra agosto e settembre. Trattate vulnerabilità note su host, su Active Directory, con un plus sull'analisi post compromissione (le tracce che un attaccante lascia dietro di sè)

writeups▾
Profilo TryHackMe, room completate
Il profilo TryHackMe con le room completate
2026-09  |  OS: Windows Server 2019 (Domain Controller)  |  Difficulty: Medium
winADredisresponderhashcatGodPotatoprivesc

Domain Controller con le porte AD filtrate e un Redis 2.8 esposto. Lettura file arbitraria via Lua, hash NetNTLMv2 catturato con Responder, SYSTEM con GodPotato.

2026-09  |  OS: Windows Server 2016 Datacenter  |  Difficulty: Easy
windfirregistryevent-logwevtutilpersistence

Macchina già compromessa, sedici domande investigative. Webshell .jsp, mimikatz rinominato, tre meccanismi di persistenza e hosts file avvelenato.

2026-09  |  OS: Windows Server 2019  |  Difficulty: Medium
windfirsysmonempireprintdemoninjectionprocmon

Due attacchi diversi sulla stessa macchina: una backdoor agganciata al servizio di stampa di Windows, e il framework Empire nascosto dentro explorer.exe, il processo del desktop.

2026-09  |  OS: Windows Server 2016 Datacenter  |  Difficulty: Medium
windfirwmilokiyaraprocmonsysinternals

Trenta domande su una macchina compromessa. L'attaccante ha lasciato una backdoor WMI che chiama casa ogni ora e che chiude Process Explorer appena provi ad aprirlo.

Blueprint THM

2026-09  |  OS: Windows 7 Home Basic SP1 (stack XAMPP)  |  Difficulty: Easy
winxampposcommercemetasploitsecretsdumphashcat

osCommerce con la directory install mai rimossa. Nessun payload PHP regge sul target: la strada è php/exec più un eseguibile msfvenom servito via HTTP.

2026-09  |  OS: Windows Server 2019 (Domain Controller)  |  Difficulty: Medium
winADkerberosas-repdcsyncpass-the-hashimpacket

L'accesso iniziale passa da Kerberos stesso: kerbrute, AS-REP roast su svc-admin, credenziali base64 in una share backup, DCSync e pass-the-hash.

Anthem THM

2026-09  |  OS: Windows Server 2019 (Umbraco 7.15.4 + Articulate)  |  Difficulty: Easy
winumbracoosintrdpaclprivesc

Nessun exploit, solo osservazione richiesta. Password nel robots.txt, username ricavato da un documento, privilege escalation riscrivendo le ACL di una cartella.

Ice THM

2026-08  |  OS: Windows 7 Professional  |  Difficulty: Easy
winicecastrcemeterpreteruac-bypassmimikatz

RCE su Icecast, bypass UAC per arrivare a SYSTEM, dump di SAM e LSA secrets con kiwi.

Blue THM

2026-08  |  OS: Windows Server 2012 R2 Datacenter  |  Difficulty: Easy
winsmbMS17-010metasploitprivesc

EternalBlue su SMB. Il payload reverse_tcp viene bloccato in uscita, bind_tcp apre una shell diretta come SYSTEM.

Blaster THM

2026-08  |  OS: Windows Server 2016 (IIS 10.0 + WordPress)  |  Difficulty: Easy
winiiswordpressfuzzingCVE-2019-1388rdp

WordPress nascosto sotto /retro, credenziali nei commenti di un post, escalation a SYSTEM via CVE-2019-1388 sulla finestra UAC di hhupd.exe.

Profilo TryHackMe →

Kaspersky{CTF} 2026 3 writeup

Lega regionale Europea con competizione a squadre: partecipato con team MOLO dell'ITS ICT Piemonte. Chiusa al 13esimo posto con 553 punti e 9 challenge completate dalla squadra. Qui ci sono i writeup di quelle risolte da me.

writeups▾
Scoreboard Kaspersky CTF 2026, lega Europa
Posizionamento finale nella lega regionale Europa

Sudokrypt KCTF

2026-08
cryptochosen-plaintextGF(4093)linear-recurrencevandermondepython

53 punti. Il servizio cifra qualunque cosa gli mandi, e la flag te la dà solo cifrata. Con 96 tentativi si ricostruisce il generatore di chiavi, che non è casuale come sembra, e si decifra.

Cimple KCTF

2026-08  |  OS: Windows (.NET 8 single-file)
reverse.NETvm-bytecodepackerunicornpython

83 punti. Un eseguibile .NET che dentro ne nasconde altri tre, fra cui un finto processore con istruzioni inventate. La password non è scritta da nessuna parte: si ricava al contrario dai 16 controlli che il programma fa.

2026-08  |  OS: Linux (BusyBox / musl)
miscchrootbusyboxescapeproclinux

77 punti. La shell parte dentro un chroot con due sole directory e nessun comando. Ma /bin/sh è BusyBox, che contiene mount e tutto il resto: si monta /proc e da lì si esce dalla gabbia.

HackTheBox 3 writeup

Macchine singole, catena di attacco completa: enumerazione, exploitation, privilege escalation.

writeups▾

Support HTB

2026-06  |  OS: Windows  |  Difficulty: Easy
winADldaprbcdkerberosprivesc

Reactor HTB

2026-05  |  OS: Linux  |  Difficulty: Easy
linrcenmapprivescCVE-2025-55182

Logging HTB

2026-05  |  OS: Windows  |  Difficulty: Medium
winADkerberosnmapprivesc

Windows Offensive - TryHackMe 10 writeups

Ten TryHackMe rooms completed between August and September. They cover known vulnerabilities on hosts and on Active Directory, plus post-compromise analysis (the traces an attacker leaves behind).

writeups▾
TryHackMe profile, completed rooms
The TryHackMe profile with the completed rooms
2026-09  |  OS: Windows Server 2019 (Domain Controller)  |  Difficulty: Medium
winADredisresponderhashcatGodPotatoprivesc

Domain Controller with the AD ports filtered and a Redis 2.8 exposed. Arbitrary file read via Lua, NetNTLMv2 hash captured with Responder, SYSTEM with GodPotato.

2026-09  |  OS: Windows Server 2016 Datacenter  |  Difficulty: Easy
windfirregistryevent-logwevtutilpersistence

Machine already compromised, sixteen investigative questions. A .jsp webshell, renamed mimikatz, three persistence mechanisms and a poisoned hosts file.

2026-09  |  OS: Windows Server 2019  |  Difficulty: Medium
windfirsysmonempireprintdemoninjectionprocmon

Two different attacks on the same machine: a backdoor hooked into the Windows print service, and the Empire framework hidden inside explorer.exe, the desktop process.

2026-09  |  OS: Windows Server 2016 Datacenter  |  Difficulty: Medium
windfirwmilokiyaraprocmonsysinternals

Thirty questions on a compromised machine. The attacker left a WMI backdoor that calls home every hour and that closes Process Explorer as soon as you try to open it.

Blueprint THM

2026-09  |  OS: Windows 7 Home Basic SP1 (XAMPP stack)  |  Difficulty: Easy
winxampposcommercemetasploitsecretsdumphashcat

osCommerce with the install directory never removed. No PHP payload holds up on the target: the route is php/exec plus an msfvenom executable served over HTTP.

2026-09  |  OS: Windows Server 2019 (Domain Controller)  |  Difficulty: Medium
winADkerberosas-repdcsyncpass-the-hashimpacket

Initial access comes from Kerberos itself: kerbrute, AS-REP roast on svc-admin, base64 credentials in a backup share, DCSync and pass-the-hash.

Anthem THM

2026-09  |  OS: Windows Server 2019 (Umbraco 7.15.4 + Articulate)  |  Difficulty: Easy
winumbracoosintrdpaclprivesc

No exploit, only observation required. Password in robots.txt, username derived from a document, privilege escalation by rewriting the ACLs of a folder.

Ice THM

2026-08  |  OS: Windows 7 Professional  |  Difficulty: Easy
winicecastrcemeterpreteruac-bypassmimikatz

RCE on Icecast, UAC bypass to reach SYSTEM, dump of SAM and LSA secrets with kiwi.

Blue THM

2026-08  |  OS: Windows Server 2012 R2 Datacenter  |  Difficulty: Easy
winsmbMS17-010metasploitprivesc

EternalBlue over SMB. The reverse_tcp payload gets blocked outbound, bind_tcp opens a shell straight in as SYSTEM.

Blaster THM

2026-08  |  OS: Windows Server 2016 (IIS 10.0 + WordPress)  |  Difficulty: Easy
winiiswordpressfuzzingCVE-2019-1388rdp

WordPress hidden under /retro, credentials in the comments of a post, escalation to SYSTEM via CVE-2019-1388 on the UAC window of hhupd.exe.

TryHackMe profile →

Kaspersky{CTF} 2026 3 writeups

Europe regional league, team competition: I took part with team MOLO from ITS ICT Piemonte. Finished 13th with 553 points and 9 challenges completed by the team. These are the writeups of the ones I solved myself.

writeups▾
Kaspersky CTF 2026 scoreboard, Europe league
Final standing in the Europe regional league

Sudokrypt KCTF

2026-08
cryptochosen-plaintextGF(4093)linear-recurrencevandermondepython

53 points. The service encrypts anything you send it, and gives you the flag only encrypted. With 96 attempts you reconstruct the key generator, which isn't as random as it looks, and you decrypt it.

Cimple KCTF

2026-08  |  OS: Windows (.NET 8 single-file)
reverse.NETvm-bytecodepackerunicornpython

83 points. A .NET executable that hides another three inside it, one of them a fake processor with invented instructions. The password is written nowhere: it is derived backwards from the 16 checks the program runs.

2026-08  |  OS: Linux (BusyBox / musl)
miscchrootbusyboxescapeproclinux

77 points. The shell starts inside a chroot with only two directories and no commands. But /bin/sh is BusyBox, which contains mount and everything else: you mount /proc and from there you get out of the cage.

HackTheBox 3 writeups

Single machines, full attack chain: enumeration, exploitation, privilege escalation.

writeups▾

Support HTB

2026-06  |  OS: Windows  |  Difficulty: Easy
winADldaprbcdkerberosprivesc

Reactor HTB

2026-05  |  OS: Linux  |  Difficulty: Easy
linrcenmapprivescCVE-2025-55182

Logging HTB

2026-05  |  OS: Windows  |  Difficulty: Medium
winADkerberosnmapprivesc