<?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 Octavian Mihail Romanescu on Medium]]></title>
        <description><![CDATA[Stories by Octavian Mihail Romanescu on Medium]]></description>
        <link>https://medium.com/@octa-mihail?source=rss-f7c6517e292f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*ToY6UyFIS5K1BRMaVStmOg.jpeg</url>
            <title>Stories by Octavian Mihail Romanescu on Medium</title>
            <link>https://medium.com/@octa-mihail?source=rss-f7c6517e292f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 22 Nov 2026 08:19:50 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@octa-mihail/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[CPTS — My experience with the exam]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://octa-mihail.medium.com/cpts-my-experience-with-the-exam-a557f6a6a4e9?source=rss-f7c6517e292f------2"><img src="https://cdn-images-1.medium.com/max/762/1*qvOflOKGVEyvqC__KkiVDw.png" width="762"></a></p><p class="medium-feed-snippet">It has been a while since I wrote something here, but I think this one deserves a post.</p><p class="medium-feed-link"><a href="https://octa-mihail.medium.com/cpts-my-experience-with-the-exam-a557f6a6a4e9?source=rss-f7c6517e292f------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://octa-mihail.medium.com/cpts-my-experience-with-the-exam-a557f6a6a4e9?source=rss-f7c6517e292f------2</link>
            <guid isPermaLink="false">https://medium.com/p/a557f6a6a4e9</guid>
            <category><![CDATA[cpt]]></category>
            <category><![CDATA[red-team]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[pentesting]]></category>
            <dc:creator><![CDATA[Octavian Mihail Romanescu]]></dc:creator>
            <pubDate>Sun, 04 Oct 2026 20:01:59 GMT</pubDate>
            <atom:updated>2026-10-04T20:01:59.529Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[The 10 Most Common Cybersecurity Mistakes I Keep Seeing in Audits (and How to Fix Them)]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://octa-mihail.medium.com/the-10-most-common-cybersecurity-mistakes-i-keep-seeing-in-audits-and-how-to-fix-them-49fc2e52f3ef?source=rss-f7c6517e292f------2"><img src="https://cdn-images-1.medium.com/max/600/1*TDvNu1syXIjvk5dsRSTwaw.png" width="600"></a></p><p class="medium-feed-snippet">Hi, I&#x2019;m Octavian.
&#xA0;I once invited every Daniel in a 20,000-employee company to a meeting by mistake.
&#xA0;Now I help companies strengthen&#x2026;</p><p class="medium-feed-link"><a href="https://octa-mihail.medium.com/the-10-most-common-cybersecurity-mistakes-i-keep-seeing-in-audits-and-how-to-fix-them-49fc2e52f3ef?source=rss-f7c6517e292f------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://octa-mihail.medium.com/the-10-most-common-cybersecurity-mistakes-i-keep-seeing-in-audits-and-how-to-fix-them-49fc2e52f3ef?source=rss-f7c6517e292f------2</link>
            <guid isPermaLink="false">https://medium.com/p/49fc2e52f3ef</guid>
            <category><![CDATA[microsoft]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[computer-science]]></category>
            <category><![CDATA[hacking]]></category>
            <dc:creator><![CDATA[Octavian Mihail Romanescu]]></dc:creator>
            <pubDate>Sun, 18 May 2025 21:51:31 GMT</pubDate>
            <atom:updated>2025-05-18T21:51:31.055Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Auditing Active Directory Passwords]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://octa-mihail.medium.com/auditing-active-directory-passwords-8755881a2b47?source=rss-f7c6517e292f------2"><img src="https://cdn-images-1.medium.com/max/659/1*q4YkBMWXwXt8hH3cZ6Eu1g.png" width="659"></a></p><p class="medium-feed-snippet">This article walks you through how to perform a security audit on Active Directory passwords step by step. Learn how to use tools like&#x2026;</p><p class="medium-feed-link"><a href="https://octa-mihail.medium.com/auditing-active-directory-passwords-8755881a2b47?source=rss-f7c6517e292f------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://octa-mihail.medium.com/auditing-active-directory-passwords-8755881a2b47?source=rss-f7c6517e292f------2</link>
            <guid isPermaLink="false">https://medium.com/p/8755881a2b47</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[active-directory]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[windows]]></category>
            <category><![CDATA[passwords]]></category>
            <dc:creator><![CDATA[Octavian Mihail Romanescu]]></dc:creator>
            <pubDate>Sun, 22 Dec 2024 20:02:48 GMT</pubDate>
            <atom:updated>2024-12-22T20:05:43.476Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[How to Disable NetBIOS and LLMNR Protocols in Windows and Intune]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://octa-mihail.medium.com/how-to-disable-netbios-and-llmnr-protocols-in-windows-and-intune-830fe9cafe6d?source=rss-f7c6517e292f------2"><img src="https://cdn-images-1.medium.com/max/651/1*BsEMNgYBe19vsXGRpCBCdA.png" width="651"></a></p><p class="medium-feed-snippet">What are they?</p><p class="medium-feed-link"><a href="https://octa-mihail.medium.com/how-to-disable-netbios-and-llmnr-protocols-in-windows-and-intune-830fe9cafe6d?source=rss-f7c6517e292f------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://octa-mihail.medium.com/how-to-disable-netbios-and-llmnr-protocols-in-windows-and-intune-830fe9cafe6d?source=rss-f7c6517e292f------2</link>
            <guid isPermaLink="false">https://medium.com/p/830fe9cafe6d</guid>
            <category><![CDATA[security]]></category>
            <category><![CDATA[windows]]></category>
            <category><![CDATA[tunein]]></category>
            <category><![CDATA[system-administration]]></category>
            <dc:creator><![CDATA[Octavian Mihail Romanescu]]></dc:creator>
            <pubDate>Mon, 16 Dec 2024 21:00:00 GMT</pubDate>
            <atom:updated>2024-12-16T21:04:48.613Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Protecting against OS Credential Dumping]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://octa-mihail.medium.com/protecting-against-os-credential-dumping-4a99c996ae7a?source=rss-f7c6517e292f------2"><img src="https://cdn-images-1.medium.com/max/727/1*72Wm0TZ5YrMPTo_lyq2uUQ.jpeg" width="727"></a></p><p class="medium-feed-snippet">You may have heard about OS Credential Dumping during a penetration test or in the news, and now you may want to learn how to protect&#x2026;</p><p class="medium-feed-link"><a href="https://octa-mihail.medium.com/protecting-against-os-credential-dumping-4a99c996ae7a?source=rss-f7c6517e292f------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://octa-mihail.medium.com/protecting-against-os-credential-dumping-4a99c996ae7a?source=rss-f7c6517e292f------2</link>
            <guid isPermaLink="false">https://medium.com/p/4a99c996ae7a</guid>
            <category><![CDATA[windows]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[credential-dumping]]></category>
            <category><![CDATA[microsoft]]></category>
            <dc:creator><![CDATA[Octavian Mihail Romanescu]]></dc:creator>
            <pubDate>Sun, 15 Dec 2024 22:45:27 GMT</pubDate>
            <atom:updated>2024-12-15T22:45:27.562Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[BadBlood-Building your Active Directory lab fast]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://octa-mihail.medium.com/badblood-building-your-active-directory-lab-fast-181848e1534d?source=rss-f7c6517e292f------2"><img src="https://cdn-images-1.medium.com/max/600/1*QIEvgyV40W7d5pZb49I4Yg.png" width="600"></a></p><p class="medium-feed-snippet">As we discussed in the last article how to secure your Active Directory service, you may want to build a lab to test your skills or learn&#x2026;</p><p class="medium-feed-link"><a href="https://octa-mihail.medium.com/badblood-building-your-active-directory-lab-fast-181848e1534d?source=rss-f7c6517e292f------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://octa-mihail.medium.com/badblood-building-your-active-directory-lab-fast-181848e1534d?source=rss-f7c6517e292f------2</link>
            <guid isPermaLink="false">https://medium.com/p/181848e1534d</guid>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[active-directory]]></category>
            <category><![CDATA[red-team]]></category>
            <category><![CDATA[microsoft]]></category>
            <dc:creator><![CDATA[Octavian Mihail Romanescu]]></dc:creator>
            <pubDate>Wed, 16 Oct 2024 13:23:41 GMT</pubDate>
            <atom:updated>2024-10-16T13:23:41.613Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[How to Harden the Security of your Microsoft 365 Tenant part 1]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://octa-mihail.medium.com/how-to-harden-the-security-of-your-microsoft-365-tenant-part-1-ac159a242bfb?source=rss-f7c6517e292f------2"><img src="https://cdn-images-1.medium.com/max/642/1*AqAnoEtLcgDUwqp1Ip7z8A.png" width="642"></a></p><p class="medium-feed-snippet">On this series of articles we are going to talk about how we can improve the security of our tenant.</p><p class="medium-feed-link"><a href="https://octa-mihail.medium.com/how-to-harden-the-security-of-your-microsoft-365-tenant-part-1-ac159a242bfb?source=rss-f7c6517e292f------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://octa-mihail.medium.com/how-to-harden-the-security-of-your-microsoft-365-tenant-part-1-ac159a242bfb?source=rss-f7c6517e292f------2</link>
            <guid isPermaLink="false">https://medium.com/p/ac159a242bfb</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[microsoft-365]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[azure]]></category>
            <dc:creator><![CDATA[Octavian Mihail Romanescu]]></dc:creator>
            <pubDate>Tue, 24 Sep 2024 22:26:50 GMT</pubDate>
            <atom:updated>2024-09-24T22:26:50.092Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Maester - Secure your M365 Tenant]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://octa-mihail.medium.com/maester-secure-your-m365-tenant-3377c5e9f01d?source=rss-f7c6517e292f------2"><img src="https://cdn-images-1.medium.com/max/1200/1*cM_kpK7UUezRiq56FBO0rA.jpeg" width="1200"></a></p><p class="medium-feed-snippet">In the last article, we discussed how to secure our Active Directory. Now, it&#x2019;s time to talk about how we can secure our Microsoft 365&#x2026;</p><p class="medium-feed-link"><a href="https://octa-mihail.medium.com/maester-secure-your-m365-tenant-3377c5e9f01d?source=rss-f7c6517e292f------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://octa-mihail.medium.com/maester-secure-your-m365-tenant-3377c5e9f01d?source=rss-f7c6517e292f------2</link>
            <guid isPermaLink="false">https://medium.com/p/3377c5e9f01d</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[azure]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[cloud-security]]></category>
            <category><![CDATA[microsoft]]></category>
            <dc:creator><![CDATA[Octavian Mihail Romanescu]]></dc:creator>
            <pubDate>Mon, 23 Sep 2024 20:03:59 GMT</pubDate>
            <atom:updated>2024-09-23T20:03:59.898Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Ping Castle - Secure your Active Directory]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://octa-mihail.medium.com/how-to-secure-your-active-directory-95250a7c6f86?source=rss-f7c6517e292f------2"><img src="https://cdn-images-1.medium.com/max/921/1*TcpC1E8QICuztuiHnkIjWg.png" width="921"></a></p><p class="medium-feed-snippet">In this article, we will discuss how to secure our Active Directory. Before spending a lot of money on an expensive vulnerability&#x2026;</p><p class="medium-feed-link"><a href="https://octa-mihail.medium.com/how-to-secure-your-active-directory-95250a7c6f86?source=rss-f7c6517e292f------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://octa-mihail.medium.com/how-to-secure-your-active-directory-95250a7c6f86?source=rss-f7c6517e292f------2</link>
            <guid isPermaLink="false">https://medium.com/p/95250a7c6f86</guid>
            <category><![CDATA[hardening]]></category>
            <category><![CDATA[ethical-hacking]]></category>
            <category><![CDATA[active-directory]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[vulnerability-management]]></category>
            <dc:creator><![CDATA[Octavian Mihail Romanescu]]></dc:creator>
            <pubDate>Mon, 09 Sep 2024 18:32:04 GMT</pubDate>
            <atom:updated>2024-09-23T19:34:07.570Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[HTB — Inject Writeup]]></title>
            <link>https://octa-mihail.medium.com/htb-inject-writeup-e6408718f225?source=rss-f7c6517e292f------2</link>
            <guid isPermaLink="false">https://medium.com/p/e6408718f225</guid>
            <dc:creator><![CDATA[Octavian Mihail Romanescu]]></dc:creator>
            <pubDate>Fri, 07 Jul 2023 16:49:48 GMT</pubDate>
            <atom:updated>2023-07-07T22:49:26.675Z</atom:updated>
            <content:encoded><![CDATA[<h3>HTB — Inject Writeup</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*clFJX8KH7viwJDWIq596gw.jpeg" /></figure><p>Descubrimos un LFI que nos permitirá leer carpetas y ficheros internos. Gracias al LFI, identificaremos el servicio interno y encontraremos una vulnerabilidad que nos permitirá realizar RCE utilizando Java para obtener una reverse shell. Localizaremos las credenciales de otro usuario en un archivo XML y, por último, utilizando pspy, podremos ver una tarea que ejecuta archivos YML, lo que nos permitirá elevarnos a una bash shell con permisos SUID.</p><h3>Enumeración</h3><pre>nmap -sVC 10.10.11.204</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/777/1*DZFkiY8uldWDohBHEDV1lQ.png" /><figcaption>nmap result</figcaption></figure><p>Hemos encontrado 2 puertos abiertos, el 22 para SSH y el 8080 para una aplicación web.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*NzMJdTpFh7Ehp5Qz.png" /><figcaption>Web application</figcaption></figure><p>De todas las opciones, solo podemos elegir las opciones de <strong>Blogs</strong> y <strong>Upload</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*TAxhtWGUKkBnj7Cf.png" /><figcaption>Upload feature</figcaption></figure><p>La parte de Subir (Upload) es bastante interesante, así que intentamos subir una imagen para ver si nos permite verla después de que el proceso esté completo.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/837/1*EepIoTAXRfsdeGytSAIGLA.png" /><figcaption>Uploaded image</figcaption></figure><p>Somos capaces de ver la imagen subida (la imagen utilizada es de otra maquina).</p><p>Utiliza el parámetro ‘img’ para que podamos ver la imagen. Esto puede ser interesante por dos razones: puede ser vulnerable a LFI o podemos subir un archivo y establecer una reverse shell.</p><h3>Acceso inicial</h3><p>Al probar la carga típica de LFI, podemos ver el archivo <strong>passwd </strong>de la máquina. También podemos observar que hay dos usuarios que parecen interesantes,<strong> frank</strong> y <strong>phil</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/738/1*6T_xdGLSZUiU_ajLOAoVtg.png" /><figcaption>/etc/passwd via BurpSuite</figcaption></figure><p>Sabiendo eso, comenzamos a investigar la máquina. Podemos ver que el archivo user.txt se encuentra en la carpeta de inicio de phil.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/434/1*wDZIjhqfm5oxbk5CTMxI8w.png" /></figure><p>Luego, al enumerar, encontramos la carpeta /var/www/WebApp.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/148/1*gVaMXug_nbAHwCyqM7bOpQ.png" /></figure><p>Leemos el archivo pom.xml, ya que generalmente contiene información interesante. Podemos ver que se está ejecutando el framework Spring. Spring es un framework de código abierto que facilita el desarrollo de aplicaciones Java..</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/668/1*H9gzgkmBEh77V5Phfh5qhg.png" /></figure><p>Después de buscar un poco en línea, encontramos un <a href="https://sysdig.com/blog/cve-2022-22963-spring-cloud/">exploit</a> para esta versión.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/808/1*b5leGFwvCGRN26xKbDxpZw.png" /></figure><p>Para confirmar que esta vulnerabilidad funciona para nosotros, intentaremos ejecutar un ping hacia nuestra máquina utilizando el siguiente payload:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/764/1*QXS1ZsFQipSUlmWbJQF2EQ.png" /></figure><p>Configuramos nuestro tcpdump para escuchar conexiones:</p><p><strong>tcpdump -i tun0 icmp</strong></p><p>¡Y tenemos un ping desde la máquina!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/790/1*6WJl3VrSoIA99bUI-xtwEQ.png" /><figcaption>Ping from the victim machine</figcaption></figure><p>El siguiente paso consiste en crear una reverse shell y subirla a la máquina utilizando este exploit. Primero, creamos el archivo de la reverse shell.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/365/0*9632Wuefz0wwLf9g.png" /><figcaption>reverse shell</figcaption></figure><p>Luego, lanzamos un servidor HTTP para que la máquina remota pueda obtener el archivo desde nuestra máquina.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/504/0*-gDjIfeFiAnU9GGD.png" /><figcaption>http server on our machine</figcaption></figure><p>A continuación, ejecutamos el siguiente código para llevar nuestra reverse shell a la máquina remota.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/770/1*EhGP50izwghzYdi4L97j9g.png" /></figure><p>Después de eso, verificamos si se cargó correctamente. Podemos ver el archivo en la carpeta /tmp, junto con otras reverse shells de otras personas.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/498/1*ELrCY7tlV0vop9ILtFUDaA.png" /><figcaption>/tmp folder files</figcaption></figure><p>Ahora configuramos el listener.</p><p><strong>nc -lvnp 4444</strong></p><p>El siguiente paso consiste en otorgar permisos de ejecución a la reverse shell.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/846/1*t4zDMLWoXBzgIt0JQ_7jeA.png" /></figure><p>Y ahora lo ejecutamos para recibir la shell.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/796/1*X1uiKOG8mlVyiIFo9-cWCg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/643/1*YC0-MSxB5MdK4eYTOy77sA.png" /><figcaption>reverse shell</figcaption></figure><h3>Privesc to user</h3><p>En el directorio HOME de Frank, encontramos una carpeta oculta inusual. Dentro de esta carpeta, hay un archivo XML.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/579/0*yfoa3nZEsSq4k1Rr.png" /><figcaption>hidden folder</figcaption></figure><p>En ese archivo, encontramos la contraseña de Phil.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/882/0*V3z_7bBATG4dS7Vo.png" /></figure><p><strong>DocPhillovestoInject123 (SSH is disabled for PHIL user)</strong></p><p>Ahora debemos cambiar de usuario a <strong>Phil</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/317/0*79oY8SDPdtYRTFWz.png" /></figure><p>Una vez que estamos conectados como <strong>Phil</strong>, podemos leer el archivo <strong>user.txt</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/287/0*Q_svdEGSWN-nhlCr.png" /><figcaption>user.txt</figcaption></figure><h3>Privesc to root</h3><p>En nuestra búsqueda para elevar privilegios, ejecutamos “ps -aux” para identificar procesos intrigantes. Encontramos “ansible-parallel” ejecutándose con permisos de root..</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*sDuc1K5lwqQEeh5O.png" /></figure><p>Podemos ver que ejecuta todos los archivos YML de la carpeta /opt/automation/tasks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/353/0*0yhdK_2kGksW_FzX.png" /><figcaption>Discovered YML file</figcaption></figure><p>Posteriormente, generamos un archivo YML análogo en nuestra máquina atacante para adquirir permisos SUID.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/734/0*xnEJc9a7j_SIA6T8.png" /><figcaption>Crafted YML file</figcaption></figure><p>A continuación, subimos el archivo YML malicioso a la máquina víctima y esperamos.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/668/0*bJvhr6ptmaDhVYeX.png" /></figure><p>Después de un corto tiempo, verificamos si los permisos SUID están establecidos.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/439/0*7bP6JPWO9fkf4xvK.png" /></figure><p>Como tenemos derechos SUID, ejecutamos bash -p para cambiar a root y leer el archivo <strong>root.txt</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/279/0*LAjfv_XYVrtC6CpS.png" /><figcaption>root.txt</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e6408718f225" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>