David Aguiar (tomato)

Developer and security researcher. I write about HackTheBox machines, malwares, home-lab stuff and whatever side project I’m currently ignoring my other side projects for.
CCTV, Easy Linux machine cover

CCTV Writeup - HackTheBox

CCTV, an easy Linux machine that exposes a real-world camera management stack where default credentials open the door and a misconfigured service hands you root.

March 19, 2026 · 8 min · 1531 words · tomato
Pirate, Hard Windows machine cover

Pirate Writeup - HackTheBox

Pirate, a hard level Windows machine that throws you into a multi-segment Active Directory environment where every step forward requires digging deeper into how Windows authentication actually works and how to break it.

March 19, 2026 · 21 min · 4299 words · tomato
Interpreter, Medium Linux machine cover

Interpreter Writeup - HackTheBox

Interpreter, a medium level Linux machine where you exploit a known Mirth Connect RCE, crack hashes and abuse a SSTI vulnerability to reach root.

March 5, 2026 · 12 min · 2499 words · david (tomato)
Personal media server setup with Plex and the arr stack

Creating a personal Netflix at home

How I turned an old notebook into a home media server running Plex, qBittorrent and the full arr stack. Less of a tutorial, more of a documented mess that actually works.

May 24, 2025 · 15 min · 3068 words · david (tomato)
Planning, Easy Linux machine cover

Planning Writeup - HackTheBox

Planning, an easy level Linux machine exploiting a Grafana RCE CVE, escaping Docker via leaked SSH creds, and abusing a cron web panel to execute commands as root.

May 12, 2025 · 4 min · 754 words · david (tomato)
Scepter, Hard Windows machine cover

Scepter Writeup - HackTheBox

Scepter, a hard level Windows machine where two chained ADCS misconfigurations are the heart of the box, with some certificate cracking and BloodHound enumeration to set the stage.

May 12, 2025 · 12 min · 2385 words · david (tomato)
Environment, Medium Linux machine cover

Environment Writeup - HackTheBox

Environment, a medium level Linux machine chaining a Laravel auth bypass CVE, a file upload filter bypass for RCE, and a BASH_ENV sudo misconfiguration to reach root.

May 5, 2025 · 6 min · 1252 words · david (tomato)
LLM notes cover

A Post About LLMs

Personal notes on how LLMs actually work under the hood — transformers, neurons, weights, biases, training vs inference, and everything in between.

April 28, 2025 · 9 min · 1756 words · david (tomato)
Discord is there, enjoy it

Discord DLL Hijacking

How Discord’s DLL search order can be abused to load attacker-controlled code. Covers DLL basics, cross-compiling from Linux with mingw64, procmon analysis, and dropping a rogue d3d12.dll.

April 28, 2025 · 6 min · 1083 words · david (tomato)

What's Heaven's Gate and how it's used on malwares

Breaking down the Heaven’s Gate technique: WoW64 internals, how Windows handles 32-bit processes on 64-bit systems, and what actually happens at that far jump switching code segments — with live debugging in x32dbg and WinDbg.

January 28, 2025 · 16 min · 3375 words · david (tomato)