Sploitus

Exploit for Vulnerabilty-Assessment-Detection-Lab

githubexploit Β· 2026-09-11

Exploit Code

README72 lines
## https://sploitus.com/exploit?id=AD3753A6-4B86-5E3B-9D75-BDF6E00E4DF4
# Vulnerability Assessment & Detection Lab

End-to-end vulnerability assessment and detection lab: Nmap/Nikto enumeration, manual + SQLMap SQLi validation, Hydra credential testing, OWASP ZAP web scanning, Snort 3 detection, log triage, and Linux/Windows host firewall hardening β€” built in an isolated Kali Linux / Metasploitable2 lab.

**Methodology:** Discover β†’ Enumerate β†’ Validate β†’ Detect β†’ Investigate β†’ Harden β†’ Re-test

## Highlights

| | |
|---|---|
| ![Nmap enumeration](evidence/01-nmap-enumeration.png) | ![sqlmap validation](evidence/04-sqlmap-validation.png) |
| **20+ services enumerated** with full service/OS fingerprinting | **SQL injection validated** across 4 techniques with sqlmap |
| ![ZAP RCE finding](evidence/06-zap-rce-cve-2012-1823.png) | ![Snort detection](evidence/07-snort-icmp-detection.png) |
| **High-risk RCE (CVE-2012-1823)** confirmed via OWASP ZAP active scan | **Custom Snort 3 rule** validated against live traffic |

## Findings Summary

| ID | Finding | Severity | Status |
|---|---|---|---|
| [F-01](docs/findings/01-exposed-legacy-services.md) | Exposed Legacy Services & Outdated Web Stack | High | Confirmed in lab |
| [F-02](docs/findings/02-sql-injection-dvwa.md) | SQL Injection in DVWA `id` Parameter | High | Confirmed in lab |
| [F-03](docs/findings/03-php-cgi-rce-cve-2012-1823.md) | Remote Code Execution β€” PHP-CGI (CVE-2012-1823) | High | Confirmed via scanner |
| [F-04](docs/findings/04-web-security-misconfigurations.md) | Missing HTTP Security Headers | Low–Medium | Confirmed in lab |
| [F-05](docs/findings/05-weak-credentials-ftp-bruteforce.md) | Weak/Default Credentials on FTP (vsftpd) | High | Confirmed in lab |
| [F-06](docs/findings/06-reflected-xss-dvwa.md) | Reflected XSS in DVWA `name` Parameter | Medium | Confirmed in lab |

Full write-ups (executive summary, evidence, validation workflow, impact, root cause, remediation, re-test criteria) live in [`docs/findings/`](docs/findings/).

## Defensive / Detection Work

Assessment findings show *what was wrong*. This work shows what was detected, investigated, and hardened:

| ID | Work | Status |
|---|---|---|
| [D-01](docs/defensive/01-snort-custom-detection.md) | Custom Snort 3 detection rule (ICMP) | Implemented and validated |
| [D-02](docs/defensive/02-authentication-log-triage.md) | SSH authentication log triage | Completed in lab |
| [D-03](docs/defensive/03-host-firewall-hardening.md) | Linux UFW & Windows Defender Firewall hardening review | Completed in lab |


Additional evidence (recon detail, manual validation steps, supporting screenshots)

- [01b β€” Nmap subnet-targeted scan](evidence/01b-nmap-subnet-targeted-scan.png)
- [01c β€” Nmap service version scan](evidence/01c-nmap-service-version-scan.png)
- [03 β€” DVWA SQLi manual proof of concept](evidence/03-dvwa-sqli-manual.png)
- [04b β€” sqlmap backend fingerprint](evidence/04b-sqlmap-backend-fingerprint.png)
- [04c β€” Burp Repeater SQLi dump](evidence/04c-burp-sqli-dump.png)
- [05 / 05b β€” ZAP passive header alerts](evidence/05-zap-passive-scan.png)
- [07b β€” Snort passive-mode packet statistics](evidence/07b-snort-packet-stats.png)
- [08b β€” Auth log triage, grouped by username](evidence/08b-ssh-auth-log-by-user.png)
- [13 β€” DVWA reflected XSS executing](evidence/13-dvwa-reflected-xss.png)
- [14 β€” Burp capture of the XSS payload request](evidence/14-burp-xss-payload-capture.png)



## Scope & Environment

Isolated lab: Kali Linux (attacker) against a Metasploitable2 target and its DVWA (Damn Vulnerable Web Application) instance. All testing was performed against systems owned and controlled within this lab β€” no external or production targets were tested.

## Tools Used

Nmap Β· Nikto Β· sqlmap Β· Burp Suite Β· OWASP ZAP Β· Hydra Β· Snort 3 Β· UFW Β· Windows PowerShell (`NetSecurity`)

## What's Next

A before/after Nmap comparison demonstrating measurable attack-surface reduction following the remediation steps documented in each finding is planned as a follow-up case file.

## Author

**Jaden Mascarenhas**
MSc Information & Network Security, Kingston University London
[Portfolio](https://jaden-mas1010.github.io) Β· [LinkedIn](https://linkedin.com/in/jaden-mascarenhas-989b6a254) Β· [GitHub](https://github.com/jaden-mas1010)