Member-only story

OSCP exam & The importance of enumeration

Jose Campo
5 min readDec 18, 2024

--

You’ve scanned a target machine and discovered that port 445 (SMB) is open. You decide to use enum4linux for enumeration, but the initial output doesn't reveal anything significant. Let’s dive in and see how focusing on fundamentals and enumeration can uncover the hidden treasure.

Every day, we see people who have passed the OSCP exam saying: “Enumeration is key.” But what we don’t often see is those same folks digging deeper or explaining what that actually means. For newcomers, this can be confusing — almost like a cryptic message, as if it were encoded with some WWII cryptographic algorithm. Well, maybe not quite, but you get the idea. I felt the same way when I first encountered it.

In plain English, “enumeration” in pentesting means ensuring that we’ve collected all the necessary information during the initial phases of the engagement. In the context of OSCP, this means using tools like nmap, a web browser (if an HTTP port is present), and any other relevant tools to gather as much information as possible about the service or services running on open ports. This includes details like service names, versions, and any other indicators that could lead to exploitation.

Armed with that information, and depending on the service, we proceed to interact with it: poking around, attempting to authenticate (with or without…

--

--

Jose Campo
Jose Campo

Responses (2)