Skip to main content

Penetration Testing

October 16, 2025

In yesterday's meeting we introduced Penetration Testing, focusing on its historical origins, the standardized lifecycle of an engagement, and practical training with industry-standard tools.

What is Penetration Testing?

Penetration Testing is the simulated cyberattack intended to identify and exploit vulnerabilities before malicious actors can. We explored the history of PT, tracing its roots back to Cold War intelligence and the 1970 "Ware Report," which first demonstrated that skilled operators could systematically exploit systems. We also discussed the evolution of "Tiger Teams" and the eventual commercialization of hacking in the 1990s following tools like SATAN (Security Administrator Tool for Analyzing Networks).

The Pentesting Lifecycle

A core part of the discussion focused on the pentesting lifecycle, which follows a structured six-step process:

  • Defining the Scope: Establishing target systems and rules of engagement.
  • Information Gathering: Conducting reconnaissance, OSINT, and network mapping.
  • Vulnerability Detection: Using automated and manual methods to identify exploits.
  • Initial Foothold: Exploiting vulnerabilities to gain access.
  • Privilege Escalation: Elevating permissions to obtain administrative rights.
  • Lateral Movement: Pivoting between systems to expand network access.

Nmap (Network Mapper)

The technical portion of the meeting deep-dived into Nmap, covering basic and advanced scanning techniques. We discussed various scan types, such as TCP-SYN (-sS) for stealth and TCP Connect (-sT) for accuracy, as well as timing templates (-T0 to -T5) to manage speed and detection. Advanced topics included firewall evasion through decoy scanning (-D) and packet fragmentation (-f), alongside the power of the Nmap Scripting Engine (NSE) for automated vulnerability detection.

Metasploit Framework

We then transitioned to the Metasploit Framework, a multi-purpose environment for exploitation. Key concepts included:

  • Modules: Understanding the roles of exploits (getting in), payloads (gaining control), and auxiliary modules (reconnaissance).
  • Shell Types: The difference between Bind Shells (attacker connects to target) and Reverse Shells (target connects back to attacker), with the latter being more effective for bypassing firewalls.
  • Payload Architecture: Comparing Single payloads (standalone and simple) with Staged payloads (small stage followed by a larger stage like Meterpreter).

Members completed a workshop where they practiced using msfconsole to search for modules, configure parameters, and manage active sessions.