Andres Diaz

andres@diaz:~$ whoami

Andres Diaz

Defect Reproduction Engineer at Filevine

andresdiaztech@gmail.com

LinkedIn GitHub Blog



andres@diaz:~/blog$ cat day-03.md

cd ..

Day 03: The five stages of ethical hacking

Day 03 ยท Oct 19, 2026

Today in one line

I learned the five stages every pentest follows, updated my Kali VM (Virtual Machine) for the first time, and built a drill to review everything from the Network Refresher.

My notes from today

NoteWhat it covers
Five Stages of Ethical HackingRecon, scanning and enumeration, gaining access, maintaining access, covering tracks
Recon ToolsWhere I find companies to practice on, plus tools for emails, subdomains and breaches

What I learned

1. Recon is where most of the work is.
Before touching anything, a pentester learns everything they can: employees and job titles online, photos of badges and desks, the building layout, subdomains, and old data breaches with leaked passwords.

2. Passive vs active.
Passive recon never touches the target's systems, like searching LinkedIn or reading DNS records. As soon as I send packets to the target, like an Nmap scan, it's active and has to be in scope.

3. Enumeration is digging into what a scan finds.
A scan saying port 80 runs Apache 1.2 is just the start. The next step is researching whether that old version has known exploits.

4. Covering tracks means cleaning up, not hiding.
I remove what I added, like uploaded files and test accounts, but I leave the client's logs alone and document everything in the report.

Tools I used and built

  • Network Refresher Drill (my practice tool, on the Tools page): ports, the TCP handshake and scan results, ARP and DHCP, and IP and MAC addresses. Anything I miss comes back until I get it right.
  • Kali Linux: first boot and first full update with sudo apt update && sudo apt full-upgrade -y.

Next up

  • Reboot Kali after the update and change the default password with passwd
  • Master every deck in the Network Refresher Drill
  • PEH: information gathering (reconnaissance) hands-on