OPSECTLAS you are here: Essentials
Essentials

Exploitation Decision Tree

reference 1 tool

  1. Recon
  2. Enumerate
  3. Foothold
  4. PrivEsc
  5. Lateral
  6. Post-Ex
toolsmetasploit
You have service version + enumeration data →

  → Is there a known CVE?
      YES → searchsploit <service> <version>
              → Match found → Read the exploit. Understand it. Modify IPs. Run it manually.
              → No match → Check exploit-db.com, packetstormsecurity.com, GitHub
      NO  → Check for:
              - Default credentials (try before anything else)
              - Anonymous / guest access
              - Misconfigurations (writable dirs, etc.)

  → Manual exploit available?
      YES → Run it manually. Understand every step.
              → If it fails, check dependencies, target OS, exact version match
      NO  → Try searchsploit for Metasploit module

  → Metasploit module available?
      YES → Use it only if manual fails or time pressure exists (exam context = avoid MSF)
              use <module>
              set RHOSTS <TARGET-IP>
              set LHOST <YOUR-IP>
              check    # verify target is vulnerable before running
              run
      NO  → Try different service / vector. Re-enumerate.
connected