This Kioptrix Level 1 walkthrough covers the original VulnHub Level 1 (#1) image: confirm the target, record services, research an evidence-backed route, verify the resulting privileges, and write a reproducible lab report. Exploit-path hints are collapsed below so you can stop before spoilers.
Still preparing the VMs? Start with Kioptrix Level 1 for beginners. For tool purposes and command flags, use the Kali tools guide. This walkthrough does not assume a successful local test or promise a completion time.
Table of Contents
Quick answer: The challenge objective is root access to the target VM. Your deliverable is an evidence trail showing the target identity, service observations, chosen route and resulting privileges. Setup troubleshooting belongs in the beginner preparation guide.
What the Original Kioptrix Level 1 Includes
VulnHub’s original Level 1 (#1) listing describes a beginner challenge whose objective is root access, with more than one possible solution. It lists a VMware-format Linux VM and automatic DHCP addressing. Check that you downloaded this image rather than Level 1.1 or another similarly named release.
The listing does not specify a universal root.txt path. Record the actual evidence from your VM instead of inventing a flag filename. Treat its legacy software as a fundamentals exercise, not a simulation of current enterprise systems or a complete certification course.
Setting Up a Safe, Legal Kioptrix Lab
For this beginner lab, place Kali and Kioptrix on the same named host-only network and check that its DHCP server is enabled. Host-only networking includes the host computer; it is not complete isolation from the host. Keep the target off bridged networking, remove target NAT adapters and port-forwarding rules, and do not enable routing or Internet sharing through the host or Kali.
In VirtualBox, ordinary NAT gives each VM a separate network by default, so two NAT-attached VMs do not automatically communicate. NAT Network lets VMs on that shared network communicate and permits outbound connections. It is not an offline sandbox. An Internal Network restricts traffic to attached VMs, but requires suitable IP configuration or a configured DHCP service.
See Oracle’s networking-mode documentation. Configure updates for Kali separately before the exercise; leave the vulnerable target on the lab network.
For download, import, prerequisite and DHCP checks, follow the beginner setup path. Record the image source, hypervisor version, network name, target MAC/IP and snapshot name before continuing.
OSCP-Style Methodology We’ll Use on This Box
Use this study workflow: scope, discovery, service enumeration, evidence-backed testing, privilege verification, and reporting. A separate privilege-escalation step is necessary only if your initial access is not already root. This is a learning structure, not a claim about current OSCP exam rules.
Infographic – The 5-Stage Loop You’ll Reuse on Every Box
Scope & IPs
Ports & services
One clear path
Check current access; escalate only if needed
Notes & proof
Loop this flow on every VM: that’s how you build OSCP muscle memory.
Show me the nerdy details
The PEN-200/OSCP approach emphasizes not just running tools, but also explaining why a specific vector was chosen and how the vulnerability maps to a known class (e.g., outdated Samba with a known CVE vs a custom logic flaw). Your lab report should make it possible for someone else to reproduce your steps and understand remediation. Use the exam provider’s current reporting requirements for an actual exam submission. If you train yourself to think “what would I write in the report?” during enumeration, your notes get automatically sharper.
- Label each note section by lifecycle stage.
- Don’t “exploit” until you’ve listed all open services.
- Write one sentence on why you chose each attack path.
Apply in 60 seconds: Create five headings in your notes: Recon, Scanning, Testing, Privilege verification, Reporting.
Step 1 – Scoping, Host Discovery & Basic Recon
Record the target MAC from the VM settings and match it to the lab DHCP lease or discovery result. An IP address alone is not proof of identity. In Kali, inspect interfaces and routes before choosing a lab range:
ip -br addr
ip route
nmap --iflist
If necessary, discover only your confirmed dedicated lab range with nmap -sn LAB_CIDR. Replace LAB_CIDR with the actual configured range; do not copy a home-network range or assume every lab uses /24. -sn performs host discovery without a port scan. Match the candidate MAC and exclude the host and DHCP service.
Once confirmed, replace TARGET_IP below with that one target address:
mkdir -p evidence
nmap -sT -n -oA evidence/initial TARGET_IP
This TCP connect scan records normal, XML and grepable output. It is an initial view, not an all-port or UDP inventory. Use a new output basename for later scans to avoid overwriting evidence. If discovery reports the known target down, troubleshoot first; -Pn skips discovery rather than fixing routing.
References: Nmap discovery and saved output.
Step 2 – Service Enumeration That Feels Like OSCP Prep
For each open port, record its number/protocol, observed service, version evidence, uncertainty, and next question. A port label is not proof of the application, and a version match alone is not proof of exploitability.
nmap -sV -n -p OPEN_PORTS -oA evidence/services TARGET_IP
Replace OPEN_PORTS with the comma-separated ports from your scan and TARGET_IP with the confirmed lab target. -sV probes those services for identification. Record the actual output; do not overwrite a missing version with one copied from a walkthrough.
- HTTP/HTTPS: inspect the page, headers and observed server components. A default page is still evidence.
- SMB/Samba: investigate the service and version; record negotiation or authentication errors separately from vulnerability conclusions.
- SSH and other services: note versions and possible relevance without assuming every port is the intended entry point.
See Nmap version-detection documentation. Keep failed probes as evidence of what remains unknown.

Step 3 – Inspect the Web Service Without Assuming a Login Flaw
Browse the confirmed lab target and record what is actually present. Do not assume an SQL-injection login page exists because another Kioptrix level has one. An HTTP service can expose a default page while the relevant issue lies in a server component. If HTTPS fails in a modern client, save the exact protocol error; that failure is not proof of a vulnerability.
Hint 1: What should I research after enumeration?
Compare the observed service version and configuration with the maintainer’s security history. Keep a short hypothesis: observed evidence, candidate issue, required conditions, and a reason the issue could apply. Check the image identity if the services differ substantially from the reference.
Spoiler: a legacy Samba research route
One research lead for the original Level 1 is Samba’s historical trans2open issue, CVE-2003-0201. Samba’s release history describes a defect that can permit root access; Rapid7’s Linux x86 module documents version and platform restrictions. Neither source proves that your running VM is vulnerable. Match your own service evidence and review the implementation before a lab attempt.
Read the Samba security history and Rapid7 module source. Legacy implementations may crash a service; take a snapshot first. This guide has not executed this route on your environment.
Step 4 – Document an Authorized Lab Attempt
Before using a researched method, write down the single target IP, the evidence supporting it, the implementation source/version, prerequisites, expected result and rollback point. Review code before running it. Keep all traffic and any callback on the authorized lab segment. Record the command and result you actually used rather than copying another author’s successful output.
If an attempt fails, separate reachability, service-version mismatch, client compatibility, payload/platform mismatch and service crash. Capture the error, check the target is still running, and restore the snapshot if necessary. Do not expand the scope or cycle through unrelated exploits.
Step 5 – Verify Privileges Before Escalating
In the shell on the target VM, record:
id
whoami
hostname
uname -a
An id result showing uid=0 establishes root privileges for that session. If initial access is already root, proceed to reporting; do not invent an extra escalation step. If it is not root, record the current identity, OS and architecture before researching any local path.
- Review relevant permissions, processes and configuration evidence.
- Where needed, inspect SUID files with
find / -perm -u=s -type f 2>/dev/nulland read/etc/crontab. - Age alone does not establish exploitability. Do not run an unknown precompiled kernel exploit simply because the kernel is old.
Step 6 – Post-Exploitation & Your First OSCP-Style Report
A root shell is the challenge result; a reproducible evidence trail is the learning deliverable. Save the actual privilege output with enough target context to distinguish it from a Kali terminal. Do not assume a particular flag file or claim an unseen result.
Completion checklist
- Recorded original image source, target MAC/IP, network mode and snapshot.
- Saved service observations and the commands that produced them.
- Explained why the selected vulnerability research matched the evidence.
- Recorded the actual attempt, errors and resulting identity.
- Separated observed facts, assumptions and untested alternatives.
- Explained remediation: remove or replace unsupported exposed services, patch applicable flaws and restrict unnecessary network access.
- Powered down or restored the vulnerable target after retaining the report.
Use three report sections: scope and summary; technical evidence and reasoning; remediation and lessons. Redact personal paths, unrelated addresses and secrets before publishing. Describe only the work you performed; do not invent a client, credential, employment outcome or successful test.
Beyond Kioptrix Level 1 – What to Practise Next
Once you can walk through Kioptrix Level 1 without panic, the temptation is to jump straight into the hardest boxes you can find. Resist that urge. Instead, build a small, deliberate path:
- Finish the rest of the Kioptrix series to see how difficulty ramps with similar themes.
- Add a couple of modern beginner-friendly VMs with more up-to-date stacks.
- Introduce Active Directory or Windows-focused machines once you’re comfortable on Linux.
If OSCP or PEN-200 is in your 12–18 month plan, now is the time to align your lab work with their methodology: practice documenting every box, timing yourself during enumeration, and troubleshooting calmly when tools misbehave.
- Plan a 3–5 box sequence with increasing difficulty.
- Keep your reporting template the same across boxes.
- Review your notes monthly to spot recurring blind spots.
Apply in 60 seconds: List the next three VMs you want to tackle and put them on your calendar.
Anatomy of a “Boot-to-Root” VM (Kioptrix Level 1)
Initial Vector: Web Service (HTTP)
Inspect the HTTP and HTTPS services, headers and observed server components. Do not assume a login form or SQL-injection route exists; research findings against the actual version and configuration.
Initial Vector: File Sharing (Samba)
This box exposes an old version of Samba (SMB). Outdated SMB services are notorious for misconfigurations allowing anonymous access or, even worse, remote code execution (RCE) vulnerabilities.
Kioptrix: Level 1
An outdated Linux machine (Red Hat) built with intentional vulnerabilities for training.
Verify Current Privileges
Check the current identity first. Some service-level routes may already yield root. Research local escalation only if needed; kernel age alone does not prove exploitability.
Defensive Lessons from This Legacy Lab
- Inventory exposed services and retire unsupported software.
- Apply relevant vendor patches after checking the actual product and version.
- Restrict unnecessary network access and use least privilege for services.
- Keep evidence and tested recovery procedures; a lab outcome is not a breach-frequency statistic.
Interactive Lab Advisor
Stuck? Select your current situation for a methodological tip.
Action: Put Kali and the target on the same named host-only lab network; the host remains reachable. Confirm DHCP, the target MAC and its current IP. Discover only the configured lab range when necessary, then scope tests to the matched target. Do not assume /24 or broaden discovery to the physical LAN.
Action: Record the actual service, version evidence and configuration. For web services, inspect headers, visible pages and observed paths without assuming a form exists. For Samba, distinguish protocol negotiation or authentication errors from vulnerability evidence. Use official documentation to resolve what remains unknown.
Action: Run id first. If the session is already root, proceed to reporting. Otherwise record identity, OS and architecture, inspect relevant permissions and configuration, and research a supported hypothesis. Kernel age alone is insufficient. Relevant checks may include find / -perm -u=s -type f 2>/dev/null and /etc/crontab.
FAQ
1. Is Kioptrix Level 1 appropriate for a beginner?
Yes, when you can manage a private VM network and understand basic Linux, IP addresses and ports. Complete the beginner preparation guide first if target discovery or isolation is unclear.
2. How long does the lab take?
There is no reliable completion-time benchmark here. Import, compatibility and networking problems can take longer than the exercise. Track your own sessions and use evidence quality rather than speed as the goal.
3. Must I get a low-privilege shell before root?
No. Check the resulting identity. Some service-level routes can yield root directly; local escalation is needed only when your actual access requires it.
4. Is this a current OSCP exam guide?
No. It is a legacy lab for enumeration, vulnerability research and reporting habits. Check current certification requirements with the exam provider rather than treating this VM as an exam simulation.
5. What if my services differ from a walkthrough?
Confirm the original Level 1 image, current target IP and MAC, then repeat the relevant enumeration. Keep conflicting observations in your notes; do not force them to match a published result.
6. Do I need to buy training to use this guide?
This guide does not require a commercial training subscription. Hardware, software and hosted-platform costs depend on your choices; check the provider’s current terms before purchasing.
Conclusion – Your First Ethical Root, Done the Right Way
We started with that anxious moment: booting Kioptrix Level 1 and wondering if you were out of your depth. By now, you’ve seen that the real magic isn’t in secret commands — it’s in a patient, OSCP-style process: define scope, enumerate calmly, turn one clear weakness into access, and then tell the story in a way a non-technical person could follow.
Use this legacy VM to practise a bounded method: identify the target, collect evidence, explain one validated route and record what you learned. Continue with newer authorized labs when you want experience with current systems.
Next 15 minutes:
- Write a one-paragraph summary of how you’d explain Kioptrix Level 1 to a non-technical manager.
- Schedule your next lab session (even 45 minutes) on your calendar.
- Decide which skill you want to sharpen next: recon, web testing, or PrivEsc.
Technical references checked: 8 October 2026. Reviewed against the original VulnHub listing, Oracle VirtualBox networking documentation, Kali setup documentation, Nmap reference guide and linked Samba/Rapid7 source material. This review did not include a new exploit run.
🔗 Kioptrix Labs Beginner Roadmap