<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Mohamed ibrahim NaseF on Medium]]></title>
        <description><![CDATA[Stories by Mohamed ibrahim NaseF on Medium]]></description>
        <link>https://medium.com/@medonasef2025?source=rss-b91b66c867a0------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*fetroSNIfpt7JVTo</url>
            <title>Stories by Mohamed ibrahim NaseF on Medium</title>
            <link>https://medium.com/@medonasef2025?source=rss-b91b66c867a0------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 15:29:19 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@medonasef2025/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Kioptrix Level 3]]></title>
            <link>https://medium.com/@medonasef2025/kioptrix-level-3-08bd1bc2ffe8?source=rss-b91b66c867a0------2</link>
            <guid isPermaLink="false">https://medium.com/p/08bd1bc2ffe8</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[pentesting]]></category>
            <dc:creator><![CDATA[Mohamed ibrahim NaseF]]></dc:creator>
            <pubDate>Sat, 10 Oct 2026 21:15:57 GMT</pubDate>
            <atom:updated>2026-10-10T21:15:57.402Z</atom:updated>
            <content:encoded><![CDATA[<p>Kioptrix Level 3</p><p>Full Lab Walkthrough: Reconnaissance, Web Assessment, and Evidence-Based Reporting</p><p>Medium-ready draft • Authorized training environment only</p><p>Introduction</p><p>Kioptrix Level 3 is a deliberately vulnerable practice machine used to learn the methodology of web application security testing. In this walkthrough, I document the initial application identification, review of public vulnerability references, HTTP response analysis, and the investigation of a database error exposed by the web application. The goal is not simply to run tools, but to understand what each result proves, what it does not prove, and how to write a defensible penetration-testing finding.</p><p>1. Scope and lab setup</p><p>Target observed in this lab: 192.168.162.132</p><p>Testing host: Kali Linux</p><p>Application observed: Gallarific 2.1 under /gallery/</p><p>Observed server banner: Apache/2.2.8 (Ubuntu), PHP/5.2.4–2ubuntu5.6 with Suhosin-Patch</p><p>Scope: the private, intentionally vulnerable lab machine only.</p><p>Authorization note: use these steps only on a system you own or have explicit permission to assess. The address shown is a private IP used in the supplied lab transcript; confirm that it still belongs to your isolated target before sending requests.</p><p>2. Step 1 — Confirm the application version</p><p>Command:</p><p>curl -s <a href="http://192.168.162.132/gallery/version.txt">http://192.168.162.132/gallery/version.txt</a></p><p>Observed output:</p><p>Gallarific 2.1 — Free Version released October 10, 2009</p><p>What this tells us: the version file identifies the web application as Gallarific 2.1. This is useful for asset identification and for checking whether public advisories may apply. It is not, by itself, proof that a specific vulnerability is exploitable.</p><p>3. Step 2 — Search public vulnerability references</p><p>Command:</p><p>searchsploit Gallarific</p><p>SearchSploit returned historical references describing possible issues such as cross-site scripting, changes to administrator information, authentication bypass, category editing/deletion, and SQL injection. These entries are leads for further verification, not confirmation that every issue applies to this target.</p><p>The SQL injection reference was inspected with:</p><p>searchsploit -x 15891</p><p>The local description identifies a historical Gallarific SQL injection report involving gallery.php and the id parameter, and lists CVE-2011–0519. A responsible assessment should compare the affected code and conditions in the advisory with the target before calling the vulnerability confirmed. Do not publish exploit success without a reproducible, authorized test result.</p><p>4. Step 3 — Compare HTTP response behavior</p><p>The gallery directory was requested with:</p><p>curl -s -o /dev/null -w “HTTP %{http_code}\n” <a href="http://192.168.162.132/gallery/">http://192.168.162.132/gallery/</a></p><p>Observed result: HTTP 500</p><p>The direct PHP endpoint was checked with:</p><p>curl -s -o /dev/null -w “Status: %{http_code}\n” <a href="http://192.168.162.132/gallery/gallery.php">http://192.168.162.132/gallery/gallery.php</a></p><p>Observed result: Status: 200</p><p>Interpretation: the directory path returned an internal server error, while the direct PHP page returned HTTP 200. A 200 status means an HTTP response was returned; it does not guarantee that the application logic succeeded. The difference may relate to the directory index, application routing, or server configuration. Server-side logs or source review are needed to identify the root cause.</p><p>5. Step 4 — Capture and inspect the response</p><p>Command:</p><p>curl -s -i “http://192.168.162.132/gallery/gallery.php&quot;</p><p>Key evidence in the response:</p><p>⦁ HTTP/1.1 200 OK</p><p>⦁ Server: Apache/2.2.8 (Ubuntu) PHP/5.2.4–2ubuntu5.6 with Suhosin-Patch</p><p>⦁ The HTML metadata identifies Gallarific.</p><p>⦁ The page displays a MySQL syntax error near ‘order by parentid,sort,name’.</p><p>⦁ The page displays ‘Could not select category’.</p><p>This demonstrates that internal database error details are returned to the client. The message may disclose database technology and part of the query structure. It does not alone prove SQL injection: an invalid query, application bug, or schema/configuration mismatch could cause a similar error.</p><p>6. Step 5 — Review local logs only if authorized access exists</p><p>The command below reads the Apache error log on the web server itself; running it on Kali only reads Kali’s own log and will not explain the target’s server error unless Kali is also the server:</p><p>sudo tail -n 50 /var/log/apache2/error.log</p><p>If administrative access to the target is not part of the lab, do not attempt to obtain it merely to read logs. Record the HTTP evidence available to you and mark the root cause as unconfirmed.</p><p>7. Step 6 — Findings: confirmed vs. unconfirmed</p><p>Confirmed observations</p><p>⦁ The version file reports Gallarific 2.1.</p><p>⦁ The HTTP response discloses Apache and PHP version information.</p><p>⦁ The direct gallery.php response contains a MySQL syntax error and the message ‘Could not select category’.</p><p>⦁ The /gallery/ path returned HTTP 500 during the recorded request, while /gallery/gallery.php returned HTTP 200.</p><p>Not established by the current evidence</p><p>⦁ A successful SQL injection.</p><p>⦁ Extraction of database records or passwords.</p><p>⦁ Authentication bypass.</p><p>⦁ Remote code execution or a shell.</p><p>⦁ Privilege escalation on the operating system.</p><p>8. Finding write-up — Verbose SQL Error Disclosure</p><p>Title Verbose SQL Error Disclosure in Gallarific</p><p>Affected URL <a href="http://192.168.162.132/gallery/gallery.php">http://192.168.162.132/gallery/gallery.php</a></p><p>Category Information disclosure / error handling</p><p>Severity Low, provisional; reassess if additional evidence demonstrates greater impact</p><p>Status Observed; root cause not confirmed</p><p>Description</p><p>A request to /gallery/gallery.php returns a page containing a MySQL syntax error near ‘order by parentid,sort,name’ followed by ‘Could not select category’. The application therefore discloses database error details in its HTTP response instead of presenting a generic user-facing error.</p><p>Impact</p><p>The response reveals the database technology and a fragment of the query structure, which may help an attacker plan additional tests. No successful SQL injection or unauthorized data access was demonstrated in the evidence collected for this report.</p><p>Recommendation</p><p>⦁ Disable detailed SQL error display to end users and log diagnostic details server-side.</p><p>⦁ Return a generic error page to the client.</p><p>⦁ Review and correct the category-selection query and verify the expected database schema.</p><p>⦁ Use parameterized queries/prepared statements for user-controlled values.</p><p>⦁ Run the application with a least-privileged database account.</p><p>⦁ Plan an upgrade from unsupported legacy components after compatibility testing.</p><p>9. Safe next steps for the lab</p><p>1. Review the application source, if provided with the lab, to locate the category-selection query.</p><p>2. Check whether request parameters are concatenated into SQL or handled using parameterized queries.</p><p>3. If further testing is permitted, use benign test inputs and a disposable test dataset; avoid extracting real credentials or private records.</p><p>4. Save exact request/response evidence and redact session identifiers or other secrets from screenshots.</p><p>5. Only report SQL injection as confirmed when controlled evidence demonstrates that user-controlled input changes the SQL statement structure.</p><p>6. Keep separate findings for separate issues, such as error disclosure, SQL injection, authentication flaws, or operating-system privilege issues.</p><p>10. Remediation and retest checklist</p><p>⦁ The gallery page no longer displays SQL syntax, table, column, or database error details.</p><p>⦁ The category listing functions normally for valid requests.</p><p>⦁ Server logs retain diagnostic detail without exposing it to clients.</p><p>⦁ Code review confirms parameterized database access for user-controlled values.</p><p>⦁ The directory path and direct PHP endpoint behave as intended after the fix.</p><p>⦁ All retesting is performed within the documented scope and authorization.</p><p>Conclusion</p><p>This lab exercise identified Gallarific 2.1, recorded legacy server technology information, and observed a database error disclosed in the web page. These findings support documenting verbose SQL error disclosure and investigating the category query further. The evidence currently available does not establish successful SQL injection, data extraction, or system compromise. The main lesson is to combine tool output with careful verification and accurate reporting rather than treating a public exploit reference as proof.</p><p>Appendix — Commands recorded during the lab</p><p>curl -s <a href="http://192.168.162.132/gallery/version.txt">http://192.168.162.132/gallery/version.txt</a></p><p>searchsploit Gallarific</p><p>searchsploit -x 15891</p><p>curl -s -o /dev/null -w “HTTP %{http_code}\n” <a href="http://192.168.162.132/gallery/">http://192.168.162.132/gallery/</a></p><p>curl -s -o /dev/null -w “Status: %{http_code}\n” <a href="http://192.168.162.132/gallery/gallery.php">http://192.168.162.132/gallery/gallery.php</a></p><p>curl -s -i “http://192.168.162.132/gallery/gallery.php&quot;</p><p>grep -inE ‘SQL syntax|Could not select category’ gallery-response.html</p><p>Medium publishing checklist</p><p>⦁ Add screenshots captured from your own authorized lab, with session IDs and secrets redacted.</p><p>⦁ Verify every command and result against your own terminal history.</p><p>⦁ Do not claim a shell, data extraction, or successful SQL injection unless you have evidence.</p><p>⦁ Add a short author introduction and the tools/environment you actually used.</p><p>⦁ Choose tags such as Cybersecurity, Penetration Testing, Web Security, and Kali Linux.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=08bd1bc2ffe8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From SQL Injection to OS Command Injection: My Kioptrix Level 2 Lab Journey]]></title>
            <link>https://medium.com/@medonasef2025/from-sql-injection-to-os-command-injection-my-kioptrix-level-2-lab-journey-2c7b6c1b69c6?source=rss-b91b66c867a0------2</link>
            <guid isPermaLink="false">https://medium.com/p/2c7b6c1b69c6</guid>
            <category><![CDATA[penetration-testing]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[sql-injection]]></category>
            <category><![CDATA[linux-security]]></category>
            <dc:creator><![CDATA[Mohamed ibrahim NaseF]]></dc:creator>
            <pubDate>Sat, 10 Oct 2026 18:35:58 GMT</pubDate>
            <atom:updated>2026-10-10T18:35:58.810Z</atom:updated>
            <content:encoded><![CDATA[<p>From SQL Injection to OS Command Injection: My Kioptrix Level 2 Lab Journey</p><p>A hands-on cybersecurity assessment covering vulnerability discovery, exploitation evidence, risk analysis, and remediation in an intentionally vulnerable Linux environment.</p><h3>Kioptrix Level 2: Penetration Testing Report — SQL Injection, OS Command Injection, and Legacy System Weaknesses</h3><p><strong>Author:</strong> Cybersecurity Learner<br><strong>Target:</strong> Kioptrix Level 2<br><strong>Environment:</strong> Isolated VMware lab<br><strong>Target IP:</strong> 192.168.162.130<br><strong>Attacker IP:</strong> 192.168.162.128<br><strong>Assessment Type:</strong> Authorized Vulnerability Assessment and Penetration Testing<br><strong>Status:</strong> Application-level exploitation confirmed; root privilege escalation not confirmed.</p><h3>1. Introduction</h3><p>As part of my cybersecurity learning journey, I conducted a penetration testing assessment against Kioptrix Level 2 in a controlled virtual lab environment.</p><p>The objective was to identify exposed services, investigate application-level vulnerabilities, validate their impact using controlled tests, and recommend appropriate remediation measures.</p><p>The assessment identified critical weaknesses in the web application&#39;s authentication and system command execution mechanisms. Additional observations included an outdated operating system and software stack, insecure legacy TLS configuration, exposed database connection details, and missing HTTP security headers.</p><p>This report documents the confirmed findings, supporting evidence, potential impact, and recommended security improvements.</p><h3>2. Scope and Methodology</h3><p>The assessment was limited to the intentionally vulnerable Kioptrix Level 2 virtual machine and its isolated lab network.</p><p>The testing process followed these stages:</p><ol><li><strong>Reconnaissance:</strong> Identifying the target and confirming network connectivity.</li><li><strong>Service Enumeration:</strong> Discovering accessible ports and identifying service versions.</li><li><strong>Web Application Assessment:</strong> Reviewing authentication, input handling, and exposed application functionality.</li><li><strong>Vulnerability Validation:</strong> Testing suspected vulnerabilities with controlled inputs and reviewing application responses.</li><li><strong>Local Enumeration:</strong> Examining the operating system, user privileges, file permissions, scheduled tasks, and kernel information.</li><li><strong>Risk Assessment:</strong> Evaluating findings according to their demonstrated impact and potential consequences.</li><li><strong>Remediation Planning:</strong> Recommending corrective measures for the identified weaknesses.</li></ol><p>All testing was conducted against the lab target. No production systems were involved.</p><h3>3. Target Reconnaissance and Service Enumeration</h3><p>The initial enumeration identified the following exposed TCP services:</p><p>PortServiceObserved details22SSHOpenSSH 3.9p180HTTPApache 2.0.52 with PHP 4.3.9111RPCrpcbind443HTTPSApache HTTPS service630RPC-related serviceService identified during enumeration631IPPCUPS/IPP service3306MySQLMySQL service</p><p>The target was identified as a legacy CentOS system running a 32-bit Linux kernel.</p><p><strong>Operating system:</strong> CentOS 4.5 (Final)<br><strong>Kernel:</strong> 2.6.9-55.EL<br><strong>Architecture:</strong> i686 (32-bit)</p><p>These results indicate a significantly outdated software environment. The age of a component alone does not prove that a specific exploit will work, so individual vulnerabilities require separate validation.</p><h3>4. Confirmed Vulnerability Findings</h3><h3>Finding 1: SQL Injection in the Login Functionality</h3><p><strong>Severity: High</strong></p><p><strong>Affected component:</strong> index.php<br><strong>Category:</strong> SQL Injection<br><strong>OWASP reference:</strong> Injection vulnerabilities</p><h4>Description</h4><p>The login functionality constructs a SQL query by directly concatenating user-controlled values into the query string.</p><p>The relevant source code was:</p><pre>$username = $_POST[&#39;uname&#39;];<br>$password = $_POST[&#39;psw&#39;];<br><br>$query = &quot;SELECT * FROM users<br>          WHERE username = &#39;$username&#39;<br>          AND password=&#39;$password&#39;&quot;;<br><br>$result = mysql_query($query);<br>$row = mysql_fetch_array($result);</pre><p>Because the application does not use parameterized queries, specially crafted input can change the logic of the SQL statement.</p><h4>Evidence and validation</h4><p>A controlled authentication-bypass test was performed using the following request:</p><pre>curl -s -X POST \<br>  --data-urlencode &quot;uname=admin&#39; OR &#39;1&#39;=&#39;1&#39; #&quot; \<br>  --data-urlencode &quot;psw=test&quot; \<br>  --data-urlencode &quot;btnLogin=Login&quot; \<br>  http://192.168.162.130/index.php</pre><p>The response contained the HTML comment:</p><pre>&lt;!-- Start of HTML when logged in as Administator --&gt;</pre><p>The response also exposed the application&#39;s authenticated interface, including the ping functionality.</p><p>This confirms that the login logic could be bypassed through SQL injection in the tested environment.</p><h4>Potential impact</h4><ul><li>Authentication bypass.</li><li>Unauthorized access to protected application functionality.</li><li>Potential exposure or manipulation of database records, depending on database permissions and query behavior.</li><li>Possible further compromise when combined with other application weaknesses.</li></ul><h4>Recommended remediation</h4><ol><li>Replace dynamically concatenated SQL statements with parameterized queries.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2c7b6c1b69c6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Kioptrix Level 1: A Penetration Testing Walkthrough]]></title>
            <link>https://medium.com/@medonasef2025/kioptrix-level-1-a-penetration-testing-walkthrough-5f24b82b63a1?source=rss-b91b66c867a0------2</link>
            <guid isPermaLink="false">https://medium.com/p/5f24b82b63a1</guid>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Mohamed ibrahim NaseF]]></dc:creator>
            <pubDate>Sat, 10 Oct 2026 14:50:56 GMT</pubDate>
            <atom:updated>2026-10-10T14:50:56.535Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction</h3><p>As part of my cybersecurity learning journey, I conducted an initial security assessment of Kioptrix Level 1 in a controlled virtual lab environment.</p><p>The objective was to identify exposed services, investigate potential security weaknesses, analyze the collected evidence, and recommend appropriate remediation measures.</p><p>This article documents the reconnaissance process, web server misconfiguration, legacy cryptographic protocols, and historical vulnerability research. Findings are classified according to the evidence collected, and unverified exploitation claims are clearly distinguished from confirmed observations.</p><h3>1. Target Information</h3><ul><li><strong>Target:</strong> Kioptrix Level 1</li><li><strong>IP Address:</strong> 192.168.162.129</li><li><strong>Hostname:</strong> KIOPTRIX</li><li><strong>Workgroup:</strong> MYGROUP</li><li><strong>Assessment Phase:</strong> Reconnaissance and Vulnerability Assessment</li></ul><p>All testing was performed within the designated lab environment.</p><h3>2. Reconnaissance and Service Enumeration</h3><p>The initial assessment identified several exposed services, including SSH, HTTP, HTTPS, RPC, and SMB.</p><p>The detected software included legacy versions of OpenSSH, Apache, mod_ssl, and OpenSSL.</p><p>These findings indicate that the target has an outdated software stack that requires further security assessment. However, identifying an outdated version does not automatically prove that a specific vulnerability can be exploited.</p><h3>3. Web Server Assessment</h3><h3>3.1 Default Apache Test Page</h3><p>The web server exposed the default Apache test page.</p><p>Default pages may disclose information about the underlying server and indicate that the web server configuration requires further review.</p><p><strong>Recommendation:</strong> Remove unnecessary default content and minimize avoidable information disclosure.</p><h3>3.2 PHP Source-Code Disclosure</h3><p>During testing, a request to /test.php returned an HTTP 200 OK response with the content type text/plain.</p><p>The response body contained:</p><p>&lt;?php4 print &quot;TEST&quot;; ?&gt;</p><p>Instead of returning the expected output of a processed PHP script, the server returned the source code as plain text.</p><p>This confirms that the tested file was not processed as expected and that its source code was disclosed.</p><p>No credentials, secrets, or sensitive application data were observed in this response. The finding is limited to the tested file and does not establish that all PHP files are affected.</p><p><strong>Recommendation:</strong> Review the PHP handler configuration, prevent source files from being served as plain text, and verify the correction through controlled retesting.</p><h3>3.3 Accessible Web Directories</h3><p>The following paths were accessible during testing:</p><ul><li>/manual/</li><li>/mrtg/</li><li>/usage/</li></ul><p>Their accessibility alone does not establish a security vulnerability. However, publicly accessible documentation and monitoring resources may reveal information that supports further reconnaissance.</p><p><strong>Recommendation:</strong> Review whether these resources need to be publicly accessible and apply suitable access controls.</p><h3>4. TLS and SSL Assessment</h3><p>The assessment identified support for SSLv3 and TLS 1.0, legacy cipher suites, and a certificate reported as expired by Nmap.</p><p>These observations indicate that the HTTPS configuration requires modernization.</p><p><strong>Recommendations:</strong></p><ul><li>Disable obsolete SSL/TLS protocols.</li><li>Configure modern TLS versions and strong cipher suites.</li><li>Replace the expired certificate.</li><li>Reassess the configuration after remediation.</li></ul><p>The observed configuration weaknesses do not, by themselves, demonstrate that encrypted traffic was intercepted or decrypted.</p><h3>5. SMB and RPC Assessment</h3><h3>SMB</h3><p>TCP port 139 was open, and an anonymous SMB session was accepted during enumeration. Access to IPC$ and ADMIN$ was restricted.</p><p>Anonymous session acceptance does not prove unauthorized file access or remote code execution.</p><p><strong>Recommendation:</strong> Restrict anonymous access, review share permissions, disable unnecessary SMB services, and upgrade unsupported components.</p><h3>RPC</h3><p>RPC-related services were observed on TCP ports 111 and 1024.</p><p>Further enumeration is required to determine which services are available and whether their exposure creates an exploitable security risk.</p><p><strong>Recommendation:</strong> Restrict unnecessary RPC exposure and permit only the services required for legitimate operations.</p><h3>6. Historical Vulnerability Research</h3><p>During vulnerability research, I identified a historical reference associated with Apache mod_ssl:</p><ul><li><strong>Reference:</strong> Exploit-DB ID 21671</li><li><strong>Title:</strong> Apache mod_ssl &lt; 2.8.7 OpenSSL — OpenFuck.c Remote Buffer Overflow</li><li><strong>Observed mod_ssl Version:</strong> 2.8.4</li><li><strong>Validation Status:</strong> Unconfirmed</li></ul><p>Although the observed version falls within the version range stated in the reference, version matching alone is insufficient to confirm exploitability.</p><p>Further investigation would be required to verify the target’s build details, platform characteristics, configuration, and other relevant conditions.</p><p>No exploit was executed, and no shell or root access was demonstrated during the documented assessment.</p><p>This reference is therefore classified as a potential vulnerability lead rather than a confirmed compromise.</p><h3>7. Findings Summary</h3><p>The assessment produced the following observations:</p><ul><li>Legacy server software was identified.</li><li>PHP source code was disclosed by the tested /test.php endpoint.</li><li>SSLv3 and TLS 1.0 support were observed.</li><li>Legacy and weak cipher suites were identified.</li><li>The TLS certificate was reported as expired.</li><li>Anonymous SMB session acceptance was observed, while access to the examined administrative shares was restricted.</li><li>RPC services were exposed and require further review.</li><li>A historical mod_ssl vulnerability reference was identified but remains unverified.</li></ul><p>Successful exploitation and privilege escalation have not been demonstrated.</p><h3>8. Remediation Priorities</h3><p>The recommended remediation actions are:</p><p><strong>1. Upgrade legacy software</strong></p><p>Replace unsupported server components with supported versions and apply appropriate security updates.</p><p><strong>2. Correct PHP handling</strong></p><p>Configure server-side PHP processing correctly and prevent application source files from being exposed as plain text.</p><p><strong>3. Strengthen TLS configuration</strong></p><p>Disable obsolete protocols, remove weak cipher suites, and replace the expired certificate.</p><p><strong>4. Reduce unnecessary service exposure</strong></p><p>Restrict anonymous SMB access, review share permissions, and disable or filter unnecessary RPC services.</p><p><strong>5. Validate the fixes</strong></p><p>Repeat the relevant checks and retain evidence demonstrating whether each issue has been resolved.</p><h3>9. Lessons Learned</h3><p>This assessment reinforced several important penetration testing principles:</p><ul><li>Reconnaissance helps establish the target’s attack surface.</li><li>Software version detection is an investigative starting point, not proof of exploitability.</li><li>Security findings must be supported by evidence.</li><li>The scope of a finding should match what was actually observed.</li><li>Vulnerability research, exploitation, and privilege escalation must be documented as separate stages.</li><li>Remediation recommendations should address the underlying weakness.</li></ul><h3>Conclusion</h3><p>The initial assessment of Kioptrix Level 1 identified legacy services, PHP source disclosure affecting the tested file, outdated TLS configuration, and SMB/RPC exposure requiring further investigation.</p><p>A historical mod_ssl vulnerability reference was also identified, but its applicability to the target remains unconfirmed.</p><p>This article documents the findings supported by the available evidence. Successful exploitation, shell access, and root access have not been demonstrated.</p><p>The next stage is to validate the outstanding vulnerability hypotheses, conduct any additional authorized testing, and document the results with reproducible evidence.</p><p><em>Disclaimer: This write-up documents testing in a controlled lab environment for educational purposes. Always obtain authorization before assessing systems you do not own or administer.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5f24b82b63a1" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>