Welcome!

This is my personal website.

It contains write-ups for exploiting machines and solving Sherlocks from Hack The Box (HTB) along with my notes, my projects, and educational background.

HTB Sherlock: Unit42

How many Event logs are there with Event ID 11? We can sort on Event ID and select the ones with a value of 11: and see that there are 56 of such logs with event ID 11. What is the malicious process that infected the victim’s system? In the windows event viewer we sort the Event ID and look through the ones with value of 1, which indicate process creation/execution. Here the only interesting one is one that has technique_name=User Execution: which show an installer being executed from C:\Users\CyberJunkie\Downloads\Preventivo24.02.14.exe.exe. Since this is from a Download folder and since it is a file with a malicious looking .exe.exe extension, we can rightfully be suspicious of the process executed from this file. ...

November 27, 2026

HTB: Baby

Enumeration Nmap We start enumerating with the usual nmap scans: and dive deeper by inspecting the open ports with scripts and version detection: where we see that the target is a windows machine with the fully qualified domain name BABY.baby.vl that we map to the IP in /etc/hosts. LDAP - TCP 389 We can dump user-info with netexec in a file: Grepping for “password” results in: where we see a description to set initial password to BabyStart123!. ...

November 23, 2026

HTB: Paper

Enumeration Nmap We start with the usual nmap scan: where we see the target is running ssh, a http website and a https website. We enumerate these ports more in depth with nmap scripts and version control: where we see an interesting hint that port 80 has a potential risky http method TRACE. Website - TCP 80 Navigating to the website shows a http test page: where there is no other pages to navigate to. ...

November 3, 2026

HTB: MetaTwo

Enumeration nmap We start by enumerating with the usual nmap scans: We see that the server is running ftp, ssh and a web page which we scan in depth with nmaps defaults scripts and version control: where we see that the target is running OpenSSH 8.4p1 Debian and that the web page is running nginx 1.18.0 on metapress.htb. Website - TCP 80 Typing the IP in the browser indeed try to open metapress.htb, which we must first pair with the IP in /etc/hosts. ...

October 24, 2026

HTB Sherlock: Luckyshot

What method did the attacker use to gain access to the system? I first check authentication logs. By looking at var/log/auth.log and searching for “password” with cat auth.log | grep "password" we see: which shows the same IP with using different ports failing to log in with SSH to the administrator account several times in the duration of a second, which points to the attacker using a brute force method. ...

September 13, 2026

Building a Simple Portscanner in C

I use nmap a lot and was wondering how it works. Of course nmap does a lot more than portscanning, but this project was started because I was intrigued to see if I could, with no AI, make a simple tool in C capable of scanning ports like nmap to establish if they are open or closed. This article shows the code of this tool at different stages of development (which I call versions) and walks through how each one was build and what changes were made from the previous one. Only basic knowledge of computer networks and the syntax of C is required. ...

September 10, 2026

HTB: Planning

Enumeration nmap We start enumeration with a nmap scan that scans all ports: where we see two open ports running ssh(21) and http(80). We inspect these further by running the default scripts with -sC and version detection with -sV: where we see the types and versions of ssh and http being run, which we can search for CVEs to exploit but nothing interesting comes up. SSH - TCP 22 As we are provided by the credentials admin:0D5oT70Fq13EvB5r it might be worth trying them for ssh: but these are not valid. ...

June 25, 2026

HTB: Cap

Enumeration nmap We start enumerating with a nmap scan that scans all ports: where we see three open ports: ftp (21), ssh (22), and http(80). We inspect these further by running default nmap scripts (-sC) and version detection (-sV): where we see that the host is likely running Linux and the versions of ftp and ssh along with a Gunicorn website. Website - TCP 80 We start by checking out the website, where we see a dashboard with a user called Nathan logged in: ...

May 19, 2026

HTB Sherlock: BFT

Simon Stark was targeted by attackers on February 13. He downloaded a ZIP file from a link received in an email. What was the name of the ZIP file he downloaded from the link? First we convert the MFT file into a csv for further analysis. This is done using MFTECmd from EZ tools We can then view it with TimelineExplorer, also from EZ tools With this tool we get a tabular view of the csv file, which we can filter and search. Since the question revolves around a ZIP file downloaded on February 13 we filter for that date and the .zip file extension ...

April 20, 2026

HTB: Knife

Enumeration nmap We start enumerating with a nmap that scans all ports: where we see two open ports. One running ssh and another running an http server. We inspect these further by running nmap with defaults scripts (-sC) and version detection (-sV): where we see the versions of ssh and Apache 2.4.41 running the http server and that the host is likely running Ubuntu. Website - TCP 80 Navigating to the website hosted by the http server gives us the web page: where there are no links to interact with and nothing interesting when inspecting the source. ...

March 10, 2026