<?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 0xska on Medium]]></title>
        <description><![CDATA[Stories by 0xska on Medium]]></description>
        <link>https://medium.com/@shanekhantaun9?source=rss-b92412b0abdc------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*otui9bhbBwszO5U-8inx3w.jpeg</url>
            <title>Stories by 0xska on Medium</title>
            <link>https://medium.com/@shanekhantaun9?source=rss-b92412b0abdc------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 22 Nov 2026 10:13:40 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@shanekhantaun9/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[S.H.E.LL CTF 2021]]></title>
            <link>https://shanekhantaun9.medium.com/s-h-e-ll-ctf-2021-3adf5e5d2078?source=rss-b92412b0abdc------2</link>
            <guid isPermaLink="false">https://medium.com/p/3adf5e5d2078</guid>
            <category><![CDATA[shell-ctf-writeup]]></category>
            <category><![CDATA[shell-ctf-2021]]></category>
            <category><![CDATA[python-scripting]]></category>
            <category><![CDATA[ctf-writeup]]></category>
            <category><![CDATA[webchallenge]]></category>
            <dc:creator><![CDATA[0xska]]></dc:creator>
            <pubDate>Mon, 07 Jun 2021 10:50:03 GMT</pubDate>
            <atom:updated>2021-06-07T10:50:03.589Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sO_gkCuYnpkRf6H6FCstrA.png" /></figure><p>I forgot about this ctf and when i remember , I have only the last 1 hour<br>So, I’ve solved only web challenge.This is also beginner friendly challenge and I will show you how to solve with <strong>python</strong> in this challenges for beginner who want to learn python .I didn’t show you some easy challenge like flag in robots.txt etc…, I only show you some interesting challenges, So let’s get start it</p><h3>Under Development (50)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/546/1*MvkM1p7bHCNuJL5L2j44zg.png" /></figure><p>Web page was look like this</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*co_XU0HMvG507i2Lt5oYNg.png" /></figure><p>In Source code</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/738/1*CD1mrtAOARdyfIFlMARuWA.png" /></figure><p>So, we know that this challenge is related to cookies, let’s look at cookies with cookie editor.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DKG1o2dLfkyG5DMAPATygQ.png" /></figure><p>Decode that value</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/949/1*BYqO22xMsAQs0FEBQngRiw.png" /></figure><p>we need to change this value to admin , let’s create python script :)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/715/1*Q3eQe0BUqWpGPxtWwMNFYw.png" /></figure><p>Run it and get the flag :)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/709/1*qVQJ_6mpVm8ieu3i41BJdQ.png" /></figure><h3>Collide(100)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/545/1*ZNgIoYKU410lxi9ngTPtaA.png" /></figure><p>Web Page:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/971/1*X3e2KW9B6oDQMjvtFk6AUw.png" /></figure><p>As a source code, we need to request with shell and pwn parameters by its value and the value must be different value and same hash. I found this writeup <a href="https://ctftime.org/task/12375">SHA-256-Collision</a>. Let’s create python script.</p><p>Python Script:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/705/1*lS05SlpQLvksg9q1UA-EDg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/709/1*fJ5Xl_hz2LbYsrYKATVwAw.png" /></figure><h3>Fun with Tokens(450)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/540/1*mPjBoMisPZddCMWX-ML3Vg.png" /></figure><p>WebPage:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/972/1*rS6XVpwG1m9Gj-8YBZKa1w.png" /></figure><p>In Source Code:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/809/1*iEJK_Cs-mDqtOO542jj_TQ.png" /></figure><p>In /admin</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/625/1*oCKw4w_BQ6MQV2RME86Kqw.png" /></figure><p>we get back json response, when I go to /adminNames</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/669/1*ufpmDlMUIk9pn9dnjWcB_A.png" /></figure><p>I got a file, let’s look at this file</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1008/1*tl-YfGpTm8r-bOzqeN1zyw.png" /></figure><p>I got username and passowrd</p><blockquote>0xd4127c3c #pass<br>din_djarin11 # username</blockquote><p>Go to login page and login with this credentials.After login , look at response header</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CJRfUMaYdAyueSM0PuDoAg.png" /></figure><p>we got jwt token. let’s decode with <a href="https://jwt.io/">jwt.io</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N6mfMhfY3U_3i_IXE4k_Zw.png" /></figure><p>when decode is done , it show us username and password as a rot13, admin:snyfr (false in rot13). So we name to change it to true (gehr in rot13 encode, Now our token look like this</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/644/1*CoWiYc340IhSEW5JT1EH-A.png" /></figure><p>Copy that token and let’s create python script :)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/704/1*g9tN33SJj6Pf7sdefwU_4A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/704/1*hVQ0iMcOVUt5t78FJWOsmg.png" /></figure><p>That’s all, Thanks for reading , see you in the other post :)</p><p><a href="https://www.buymeacoffee.com/shein">buymeacoffee</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3adf5e5d2078" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Basic Exploitation (Narnia1)]]></title>
            <link>https://shanekhantaun9.medium.com/basic-exploitation-narnia1-2fd49461580e?source=rss-b92412b0abdc------2</link>
            <guid isPermaLink="false">https://medium.com/p/2fd49461580e</guid>
            <category><![CDATA[narnia-writeup]]></category>
            <category><![CDATA[basic-exploitation]]></category>
            <category><![CDATA[overthewire-writeup]]></category>
            <category><![CDATA[binary-exploitation]]></category>
            <category><![CDATA[pwn]]></category>
            <dc:creator><![CDATA[0xska]]></dc:creator>
            <pubDate>Mon, 07 Jun 2021 04:55:03 GMT</pubDate>
            <atom:updated>2021-06-07T04:56:24.404Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/959/0*JWWz8eR0JgQLbAiv.png" /></figure><p>This is next challenge for basic exploitation from the <a href="https://overthewire.org/wargames/narnia/">Overthewire</a>.</p><p>Challenges:<a href="https://infosec-sk.medium.com/overthewire-basic-exploitation-narnia0-f7d2dcdaffd0"><br></a>- <a href="https://infosec-sk.medium.com/overthewire-basic-exploitation-narnia0-f7d2dcdaffd0">Narnai0</a></p><h4>Narnia1</h4><p>ssh: <em>ssh narnia1@narnia.labs.overthewire.org -p 2226</em><br>pass: <em>efeidiedae</em></p><p>Connect with ssh and execute narnia1</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/865/1*4p_j_Gg3-vtcTZrNb51r9w.png" /></figure><p>It seems like we need to give environment variables with EGGname.<br>Let’s look at the source code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/670/1*36V3rZ9ilfSbmmv3D4ruug.png" /></figure><p>As a source code, if EGG environment variables is equal to null , We will get this output Give me something to execute at the env-variable EGG ,otherwise it will execute what we put in env variable EGG .</p><p>Let’s use random shellcode from the <a href="https://www.exploit-db.com/exploits/44594">exploitdb</a>, you can use <a href="http://shell-storm.org/shellcode/">shell-storm</a> or whatever you want</p><p>\x31\xc9\xf7\xe1\x51\xbf\xd0\xd0\x8c\x97\xbe\xd0\x9d\x96\x91\xf7\xd7\xf7\xd6\x57\x56\x89\xe3\xb0\x0b\xcd\x80</p><p>Export this shellcode and execute the program again.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/927/1*93T5FX5LqDzKGSM6vIDQvw.png" /></figure><p>And we get narnia2 shell. Simple right.</p><p>Thanks for reading , narnia2 will be soon.</p><p><a href="https://www.buymeacoffee.com/shein">buymeacoffee</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2fd49461580e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Overthewire Basic Exploitation (Narnia0)]]></title>
            <link>https://shanekhantaun9.medium.com/overthewire-basic-exploitation-narnia0-f7d2dcdaffd0?source=rss-b92412b0abdc------2</link>
            <guid isPermaLink="false">https://medium.com/p/f7d2dcdaffd0</guid>
            <category><![CDATA[basic-exploitation]]></category>
            <category><![CDATA[binary-exploitation]]></category>
            <category><![CDATA[pwn]]></category>
            <category><![CDATA[overthewire-writeup]]></category>
            <category><![CDATA[narnia]]></category>
            <dc:creator><![CDATA[0xska]]></dc:creator>
            <pubDate>Sat, 05 Jun 2021 12:02:47 GMT</pubDate>
            <atom:updated>2021-06-06T06:18:37.862Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/959/0*-2CRzBb4_XfuAcbN.png" /></figure><p>Narnia is a wargame from the <a href="https://overthewire.org/wargames/narnia/">overthewire</a>.This wargame is for the ones that want to learn basic exploitation. You can see the most common bugs in this game and we’ve tried to make them easy to exploit. You’ll get the source code of each level to make it easier for you to spot the vuln and abuse it. The difficulty of the game is somewhere between Leviathan and Behemoth, but some of the levels could be quite tricky.</p><p>I will share each challenge day by day for beginner who want to learn basic exploitation.Let’s start with 0 level.</p><p>Login with ssh</p><p>&gt; ssh narnia0@narnia.labs.overthewire.org -p 2226 <br>pass : narnia0</p><p>and run it</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/894/1*jIuHU302ht9A62VARRtiJw.png" /></figure><p>look at the source code</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/580/1*WB__dv7xcIQl8_jitz9cTQ.png" /></figure><p>as a source code , we need to change the value 0x41414141(which mean AAAA in hex) to 0xdeadbeef<br> Lets find the offset from the stack to reach the value 0x41414141</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/541/0*xEbTxN9ZjwPOIF8z.png" /></figure><p>set the breakpoint at before scanf function and after function because that function scan our input and compare with 0xdeadbeef. If match ,we get the shell.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/677/0*ffjS0MXR8bhO0DUX.png" /></figure><p>As we see here is our value 0x41414141 . Let’s find our input <br> continues it and input some character</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/843/0*TMxJz2stE6EHR1q9.png" /></figure><p>As red lines we need 20 bytes to overwrite 0x41414141 with 0xdeadbeef. First we need to create oneline python script with 20 B (whatever you want) to reach 0x41414141 value and then to overwrite 0x41414141 , we will add another 4 bytes in the end which is 0xdeadbeef. But we need to change our 0xdeadbeef value to<a href="https://www.section.io/engineering-education/what-is-little-endian-and-big-endian/"> little endian</a> like below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/739/0*GKFfSplcNOFHOyab.png" /></figure><p>but we didn’t get shell . To get a shell we can use cat command in our one line script like this</p><p>(python -c &#39;print &quot;B&quot; *20 + &quot;\xef\xbe\xad\xde&quot;&#39; ;cat) | ./narnia0</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/871/0*5poISFF1--mYG2_W.png" /></figure><p>Thanks for reading, Narnia1 writeup will be soon.</p><p><a href="https://www.buymeacoffee.com/shein">buymeacoffee</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f7d2dcdaffd0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[CyberYoddha CTF 2020 writeup]]></title>
            <link>https://shanekhantaun9.medium.com/cyberyoddha-ctf-2020-writeup-831ce341a4d5?source=rss-b92412b0abdc------2</link>
            <guid isPermaLink="false">https://medium.com/p/831ce341a4d5</guid>
            <category><![CDATA[ctf-writeup]]></category>
            <category><![CDATA[ctf]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[cyber-yoddha-ctf]]></category>
            <category><![CDATA[cyctf-2020-writeup]]></category>
            <dc:creator><![CDATA[0xska]]></dc:creator>
            <pubDate>Mon, 02 Nov 2020 03:30:04 GMT</pubDate>
            <atom:updated>2020-11-02T03:30:04.444Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*H7RRS2wsO7mfuyYdNpV79w.png" /></figure><p>Cyber Yoddha CTF is started from October 30th to November 1st.In this CTF I played with my friend from indonesia. so tody I’m going to share what I solved in this CTF</p><h3>Trivia</h3><h4>1.Trivia 5(50)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*dPtFjzDwEsznTkPyacn60A.png" /></figure><p>Obviously, it shoulder sniffing</p><blockquote>Flag : shoulder sniffing</blockquote><h3>Cryptography</h3><h4>1.Home Base (125)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*ntS5jQZz4PUkgVJr-tAqiQ.png" /></figure><blockquote>cipher text: 4a5a57474934325a47464b54475632464f4259474336534a4f564647595653574a354345533454434b52585336564a524f425556435533554e4251574f504a35</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GOBgbtP1-_c0AKB8b9IPzA.png" /></figure><p>hex &gt; base32 &gt; base64 &gt; base85 and got the flag</p><blockquote>Flag: CYCTF{it5_@_H0m3_2un!}</blockquote><h3>Forensics</h3><ol><li>What’s the password (175)</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*llEEsxG3i3knyqNggnDtLQ.png" /></figure><p>It given a jpg file , file name is ‘sudo’</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/421/1*fk08WhyOnj0mqBcYpSf3Bw.png" /></figure><p>I used steghide tool to show what in this photo, password is ‘sudo’ as in photo<br>and I got a text file and flag is inside there</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*kVDa_7hhVfMTxEKuD_m-nA.png" /></figure><blockquote>Flag: CYCTF{U$3_sud0_t0_achi3v3_y0ur_dr3@m$!}</blockquote><h4>2.Steg2 (300)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/503/1*Z-FgJhkf-bY5VndpVAdr2A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/635/1*7SP4mWhzWVXXrvTc_lSYcA.png" /><figcaption>steg2.jpg</figcaption></figure><p>This one is easy , use stegsolve tool and change the color of photo and you will see the flag :)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/644/1*r0saCi_5K1X7V65YVvIm4Q.png" /></figure><blockquote>Flag: CYCTF{l$b_st3g@n0gr@phy_f0r_th3_w1n}</blockquote><h4>3.StegUltimate (450)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/496/1*v3GGgwZwzaR3QtxmlWjy1g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1014/1*2Hu2vFHJx2Kl3TrcMI2mFw.png" /><figcaption>stegultimate.jpg</figcaption></figure><p>I used steghide tool with no password and got another jpg file</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/392/1*ItK7XLfdGWmLisWhzL8Dug.png" /></figure><p>so I used it again and got a text file , in that file it’s gave a pastebin url</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/454/1*SbcHVclKhZGxyi0kZRU6gg.png" /></figure><p>In pastebin link , there is a lot of text like base64</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kX0qFV4vuW8mFSQrAALBOg.png" /></figure><p>It can be a file , so I used this <a href="https://base64.guru/converter/decode/file"><strong>tool</strong></a> to change base64 to file</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*g9WKM0g7cLA95drUEetpPg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1005/1*JA1mRMRU3TLJSoljIhXG2A.png" /></figure><blockquote>Flag: CYCTF{2_f0r_th3_pr1c3_0f_1_b64}</blockquote><h3>Misc</h3><h4>1. Loren ipsum (125)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/501/1*voB34zRqHvBJyxqjSVYoDA.png" /></figure><p>given a lot of text, if you are familiar with web development or design , you will know it , I copied all text and enter in google and I saw the different</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/742/1*Xq22-7iNb7NCHlhkutxsmg.png" /></figure><p>so I checked it one by one and got the flag</p><blockquote>Flag: cyctf{latiniscool}</blockquote><h3>Web Exploitation</h3><h4>1. Data Store2 (225)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/495/1*44BLJSJe8rL5HgsJ8_o7BA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oh3zjQuAFfRFg7juIHWRKw.png" /></figure><p>Look like sql bypass , I test with this (‘ or 1=1 — -) and it said invalid credentials</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/427/1*ovHWW9aNqLqeS9laS-Fqgw.png" /></figure><p>It has a hint and hint given a python file</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qENfmxm_Xkxq7-A9J5Zy3Q.png" /></figure><p>As I hightlight , if we use single quote ,it return false , so I test again with this<br>username : or 1=1 — -<br>password : ‘ or 1=1 — -</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/422/1*HlYVOZ8xdeDLCLuG26lM8w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/651/1*c_91tDdqjW0jA5S_2WN4JQ.png" /></figure><p>And got the flag :)</p><blockquote>Flag : CYCTF{S@n1t1ze_@11_U$3R_1npu7$}</blockquote><h3>Password Cracking</h3><h4>1. supa secure (225)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/498/1*WmHZoAb5BmTMn256dglrtA.png" /></figure><p>It can be MD5, I decrypt in some site but not match , finally can decrypt with this site <a href="https://www.md5online.org/md5-decrypt.html"><strong>MD5 Online</strong></a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/729/1*ohrwXiA93XNlWnzv36ARdA.png" /></figure><blockquote>Flag: cyctf{ilovesalt}</blockquote><h4>2.Me, Myself and I (225)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/498/1*IyAJNV7bYxUjhCreUvYFmA.png" /></figure><p>It given a text file and hash is in there</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/687/1*-DntHTDCS-ErUR9zeduIVQ.png" /></figure><p>I used <a href="https://hashes.com/en/tools/hash_identifier"><strong>hash identifier</strong></a> to know what type of this hash</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-QW-l6WaO05nGswGTzi4jA.png" /></figure><p>I used <a href="https://md5hashing.net/hash/whirlpool"><strong>this</strong></a> site to decrypt <strong>whirlpool</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/580/1*raYbTeGJN8N4-XctVnMORA.png" /></figure><blockquote>Flag : cyctf{whoami}</blockquote><p>That’all , for some writeup you can read my teamate blog <a href="https://inersin.medium.com/"><strong>Inersin</strong></a></p><blockquote>Thanks For Reading , See you next CTF</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=831ce341a4d5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[PeaCTF 2020 writeup]]></title>
            <link>https://shanekhantaun9.medium.com/peactf-2020-writeup-8353d728f24f?source=rss-b92412b0abdc------2</link>
            <guid isPermaLink="false">https://medium.com/p/8353d728f24f</guid>
            <category><![CDATA[ctf-challenges]]></category>
            <category><![CDATA[peactf-2020]]></category>
            <category><![CDATA[writeup]]></category>
            <category><![CDATA[ctf-writeup]]></category>
            <category><![CDATA[peactf]]></category>
            <dc:creator><![CDATA[0xska]]></dc:creator>
            <pubDate>Sat, 31 Oct 2020 07:40:54 GMT</pubDate>
            <atom:updated>2020-10-31T07:40:54.889Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UbqJzT5LlQUN2JVOIG2Wwg.png" /></figure><p><a href="https://peactf.com/">peaCTF</a> is 7 days event. This event start from Sat, Oct 24 at 12:00 AM EST and end at Fri, Oct 30 at 11:59 PM EST. In this event I played with my friend <a href="https://medium.com/@InersIn">Inersln</a> from indonesia and it have 16 challenges and we solved 13 challenges.Today I will share about that.</p><h3>General Skill</h3><h4>1.Warm-up 2 (30)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/494/1*jW7jsw5l7t2G8nTaaU1CHA.png" /></figure><p>This challenge is a little trickly :3 , firstly I logged in ssh with the given credentials and I saw readme.txt and wramup2 directory</p><blockquote>readme.txt</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/533/1*_LKhWjpXvXAF_XgATg77BA.png" /></figure><p>In warm-up2 directory , there are alot of directories</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PG8ofEp0wdTWiI3zQvLlnA.png" /></figure><p>In each directories have a lot of sub directories , so I used this command to find the flag</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1010/1*7VWXNwT5Ur7R9keJJTjTnw.png" /><figcaption>grep -ir “peaCTF{.*}” — color=always</figcaption></figure><p>There are alot of flag, but not real beacuse they don’t have <em>close curly brackets </em><strong>} , </strong>so we need to find the flag with } <em>close curly brackets</em>, after some searching and I got the flag</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/444/1*aLc5sFtZCqp8-fIdqWTazw.png" /></figure><blockquote>Flag : peaCTF{a7f5a03c-3bf2–4328–871f-c82249121b23}</blockquote><h3>Misc</h3><h4>1. Corrupt (10)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/502/1*ra8qimOBFypKe9BhbetY9Q.png" /></figure><p>It given a .txt file and the challenge name is corrupt , so something is wrong <br>I checked this file with file command</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/604/1*axLtFpA7ioSmhvNxnxwvhw.png" /></figure><p>As we think , it’s a png file. so I changed the extension to png and got the flag</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/898/1*oJiLzghhAo2kqNTBsaHMBw.png" /></figure><blockquote>Flag : REDACTED</blockquote><h4>2.MadVillainy (45)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/497/1*dkDQwVShIkthB7SwhV1BOA.png" /></figure><p>I got mp3 file and listen the sound and the man said one vice , It’s not normal vice ,I revered this sound and listen again (if you don’t know how to reverse sound you can read here one of my <a href="https://infosec-sk.medium.com/e-jornadas-2020-ctf-writeup-5b28b0eef68e"><strong>CTF</strong></a> )</p><p>And the man said “Mr.Hartwell”</p><blockquote>Flag: Mr.Hartwell</blockquote><h4>3.Introspective Investigation (60)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/497/1*dX56LpidOGeZ3fneGce59w.png" /></figure><p>This one easy , download wav file and I opened with sonic-visualiser and added new spectrogram layer</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4Vw4A07ZfwKW6IO5zEeOag.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VWxKFuPrm1sSb9q8sRM8yw.png" /></figure><blockquote>Flag : spectrogram</blockquote><h4>4.TheGreatestFighter (70)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/496/1*k-zG0eynpfF7CcA3V_Ja_A.png" /></figure><p>This challenge gave us two different photos</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/482/1*gYVdJZoLlKkWKfrtFN9oFA.png" /><figcaption>thegreatestfighter1.png</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/484/1*FPICqr6_svv26UAhgcA2Yg.png" /><figcaption>thegreatestfighter2.png</figcaption></figure><p>I used this <a href="https://www.textcompare.org/image/"><strong>tool</strong></a> to compare these two image</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Fxlj534MyfEl7lDskc9jVA.png" /></figure><blockquote>Flag: Adesanya</blockquote><h4>5.BasedSteg (80)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*KG6M-q0aUgd5G11xdwCCuQ.png" /></figure><p>It given a blank png file</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/552/1*ykJZLRyYFEX92i3y-FpDWw.png" /></figure><p>So used stegsolve tool to know what hidden in this photo</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/608/1*fOXZ1kx-OuetbD93fo-muw.png" /></figure><p>I got base64 text , decode it and get the flag</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/503/1*Vn6y21npvrgfgIQ2apYrjQ.png" /></figure><blockquote>Flag: Based and stegpilled</blockquote><h3>Web Exploitation</h3><h4>1.Bots (25)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/497/1*g_rKFG1H2wp_6yVd7rbS6Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*C-FXQDua9Tno3rLPAu9Mjg.png" /></figure><p>So I checked robots.txt</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/502/1*I6jjfO26M5hbrLc-3wHvrQ.png" /></figure><p>when I go /sitemap.xml , I saw like this</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/842/1*20UnUiq-mcI24qXkfkbTvA.png" /></figure><p>Let’s go again this url and got the flag</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/951/1*ZRwD4FNhW1fLl8k3md9bPQ.png" /></figure><blockquote>Flag: peaCTF{dc38a05a-2768–4fee-83c7-e106edcc4ebd}</blockquote><h4>2.Secure Admin (40)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/493/1*Cmj15X7WgMAk-rCnwT3PQA.png" /></figure><p>Another easy one :3</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/918/1*rNi8aRoZ61fgXNGDBIL0Jw.png" /></figure><p>I tried with sql login bypass</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/950/1*e8Ci3R7l2_2Ea3BVSHrqig.png" /></figure><p>and got the flag :)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/657/1*jAyZxdFUQ7M-0wdJGJ_coQ.png" /></figure><blockquote>Flag: peaCTF{cfef7be4-ccb1–4d54–9423-eafae033c38f}</blockquote><p>That’s what I solved , you can read other challenges from my teamate acc <a href="https://medium.com/@InersIn"><strong>Inerlin</strong></a></p><blockquote>Thanks for reading , see you next CTF :)</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8353d728f24f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hacktober CTF writeup]]></title>
            <link>https://shanekhantaun9.medium.com/hacktober-ctf-writeup-c3afb456ac1a?source=rss-b92412b0abdc------2</link>
            <guid isPermaLink="false">https://medium.com/p/c3afb456ac1a</guid>
            <category><![CDATA[hacktober-2020]]></category>
            <category><![CDATA[hacktober-ctf]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[ctf]]></category>
            <category><![CDATA[ctf-writeup]]></category>
            <dc:creator><![CDATA[0xska]]></dc:creator>
            <pubDate>Sun, 18 Oct 2020 04:29:52 GMT</pubDate>
            <atom:updated>2020-10-18T04:49:18.225Z</atom:updated>
            <content:encoded><![CDATA[<h3>Hacktober 2020 CTF writeup</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qezsKPnJIkjXij55VbDafQ.png" /></figure><p>I played this CTF with my friend from indonesia and in the CTF I solved only 4 challenge because in my country, electricity is down the whole day and some challenges are my teamate solved it,Let’s start with crypto</p><h4>Crypto</h4><ol><li>Down the wrong path</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/496/1*5yEIry96WsY71u7RIz5edw.png" /></figure><p>I got an image with cipher text like this</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/662/1*6CyJ3q_4jPpL4sFVwaoMrQ.png" /></figure><p>they gave us a hint</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/493/1*LukQN9rjj2euyA20uegABg.png" /></figure><p>So I know transposition ciphers ,if you don’t know yet , you can read here about that <a href="https://en.wikipedia.org/wiki/Transposition_cipher"><strong>transposition cipher</strong></a><strong>,</strong></p><p>It has some method to read . In this photo , It is easy to read, look at this</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/582/1*dfXetmj0JFtxjn-U2mqgOA.png" /></figure><p>we can read column by column, see this the first word is <strong>REMEMBER</strong> , so I write it down and the cipher text gonna be like this ,<br><strong>REMEMBERTOTELLSPOOKYBOIABOUTTHENEWTARGETSOFOURNEXTATTACK</strong></p><p>Let’s make it readable<br><strong>REMEMBER TO TELL SPOOKY BOI ABOUT THE NEW TARGETS OF OUR NEXT ATTACK</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/469/1*4qsIcnIz7wUhLxd4_uN7rQ.png" /></figure><p>the challenge is only want the name , so the flag is SPOOKYBOI.</p><blockquote><strong>Flag</strong> : flag{SPOOKYBOI}</blockquote><h4>Stego</h4><ol><li>Ghost Hunnter</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*KIA0o_Qgw1nDtIRr7hWCuw.jpeg" /></figure><p>In this challenge , I got an image</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/390/1*6hlgUtcn3nBm1epcnUh5Sw.png" /></figure><p>the challenge said it has hide information , so I used binwalk and some other tool but it didn’t work, finally I used <strong>zsteg</strong> and got the flag</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Rl7DME07jT-xbwcCSa_1uw.png" /><figcaption>zsteg -a ghost_01.png</figcaption></figure><blockquote><strong>Flag</strong> : flag{8862a805a3140996343da91bdcbda79e}</blockquote><p>2.You believe in ghosts?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/495/1*8NocH3-DvXOCkUTSVMjEXQ.png" /></figure><p>This one is so easy ,I got a photo in this challenge</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/457/1*mkI3ulDrvNaMLJ0LqOcxtg.png" /></figure><p>And I used <strong>stegsolve</strong> tool to solve this challenge, change some color and <br>get the flag :)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PTsjDeZLD8utq1XNq9J76Q.png" /></figure><blockquote><strong>Flag</strong>: flag{ghosts_everywhere}</blockquote><p>3.Start Digging</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/491/1*BMDosyVKAOdqCBJF2aRrNA.png" /></figure><p>Also this challenge gave us a photo</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/481/1*9fpoy_9AEslGzl-vOJBVYQ.png" /></figure><p>The challenge said the <strong>flag is hidden</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/466/1*c-eIa6m2bqY76hUnkbqxIA.png" /></figure><p>so I used <strong>steghide</strong> tool , but it didn’t work and then I used <strong>binwalk</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/681/1*jg0lyejxxC0MjMoHL9JpiQ.png" /></figure><p>I got a directory and it has some file</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/415/1*N0_Kd9c2RHKS3mLKXwcB_w.png" /></figure><p>Check with <strong>file</strong> command what file is this</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/683/1*vDZUqq0Zpm7aJ-G5G-L-GQ.png" /></figure><p>It all jpg and tiff file ,so change the extension .jpg and the flag have one of the photo</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/435/1*eoeY3y4Pe3Q-JbJHe0TtYg.png" /></figure><blockquote><strong>Flag</strong> : flag{buried_s3cr3ts}</blockquote><p>You can read other challenge from my teamate writeup <a href="https://medium.com/@InersIn/hacktober-ctf-2020-write-up-7b906b01a460"><strong>Inersln</strong></a></p><blockquote>Thanks for reading</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c3afb456ac1a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[e-Jornadas 2020 CTF writeup]]></title>
            <link>https://shanekhantaun9.medium.com/e-jornadas-2020-ctf-writeup-5b28b0eef68e?source=rss-b92412b0abdc------2</link>
            <guid isPermaLink="false">https://medium.com/p/5b28b0eef68e</guid>
            <category><![CDATA[e-jornadas-2020]]></category>
            <category><![CDATA[ctf]]></category>
            <category><![CDATA[2020-ctf-writeup]]></category>
            <category><![CDATA[e-jornadas-2020-ctf]]></category>
            <category><![CDATA[ctf-writeup]]></category>
            <dc:creator><![CDATA[0xska]]></dc:creator>
            <pubDate>Fri, 16 Oct 2020 09:49:55 GMT</pubDate>
            <atom:updated>2020-10-16T10:10:10.779Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lKx0EysEHI7xdqs5zu2Ptg.png" /></figure><p>Today I wanna share for you some challenge of e-Jornadas 2020 CTF<br>I solved 7 challenges in this CTF.<br><em>Crypto [1]</em><br><em>Network [2]<br>Stego [3]<br>OSINT [1]</em></p><h4>Crypto</h4><ol><li>Rotate Away (100)</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/498/1*BHWtpmHHhHniRUu7YAwlDw.png" /></figure><p>If you familiar with cryto challenge , it’s obviously. It can be rot13 <br>so I used <a href="https://gchq.github.io/CyberChef/">CyberChef</a> but it’s not rot13, I rotated some number and<br>I found the flag in rot14.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*i14nYdqDGnn0xsbfvGNJkg.png" /><figcaption>flag{letsrotatethisthing}</figcaption></figure><h4>Network</h4><ol><li>Not so strong covert channel (100)</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/499/1*TZ5MQM-vZDB8DeMigQyfUQ.png" /></figure><p>It given a pcap file, I opened with wireshark and look up some tcp stream</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nk0p0LOHsxw0fGDWUkzQ1A.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*3-SHMUeRkEt9V7FpfWpG9w.png" /></figure><p>There is no interesting here, so I go to the next stream , you can go next stream to change stream value 0 to 1 at the right corner of bottom.<br>And got the flag :)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/901/1*UYt2NFn8KEGsf3ZvXUi4Qw.png" /><figcaption><strong><em>flag{long_live_lalaland}</em></strong></figcaption></figure><p>2.Cooperation is key(300)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/499/1*IUiQlHuT63UflnyitACy2w.png" /></figure><p>Another pcap file, opened with wireshark and lookup tcp stream ,changed stream vaule like above challenge and I noticed one interesting</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/628/1*gj8prA16mpClwAZc3vGGNQ.png" /></figure><p>There is a png file , so I exported as HTTP like this</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VQjJvnKSSfkzVY0HWpv9qw.png" /></figure><p>And click on save all and save it in a directory</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/754/1*1an1mvJFJJsxTzARIKmqhg.png" /></figure><p>From the output , I got the flag in png :)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/446/1*1YPq9gvQd9H9SDE_jvGv5w.png" /><figcaption><strong><em>flag{red_is_cooler}</em></strong></figcaption></figure><h4>Stego</h4><ol><li>Count the cups (100)</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/503/1*cRNSZ9thi7HOenoF8F5cYw.png" /></figure><p>It given a jpg file like this</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yMEUKLLNfkIo7UQr-s8dsg.png" /></figure><p>I tested with exiftool, strings, binwalk but there is nothing interesting, so I used steghide tool to know what hidden in this jpg</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/555/1*sG2QbXYsPIf5O06sPoNLWg.png" /></figure><p>here we go , I got a .txt file ,and I used <strong>cat</strong> command to read that file but It show up a lot of nonsense text.<br>so I checked what file is this with <strong>file</strong> command</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/645/1*BJtcn6wZGhpx6i-z3GvMUg.png" /></figure><p>It’s jpg again and then I changed the extenstion .txt to .jpg and I got a picture</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/439/1*wcjty1Zny5xo19maSPorBg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/442/1*z3OQnbyjkx4l7a_B_pvBoQ.png" /></figure><p>Rotate it and it seem like fliped the photo, so I use <a href="https://onlinepngtools.com/flip-png-horizontally"><strong>this</strong></a> tool to flip back and <br>got the total number</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/948/1*Wz6Mhg_osqR5TTo5hpQWhA.png" /><figcaption>1 + 26 + 36 + 2 +7 + 7 = 79</figcaption></figure><p>Flag : flag{79}</p><p>2.Someone’s voice (100)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/497/1*EiYHI4RsXgaYuJ3rLSlsAQ.png" /></figure><p>In this challenge I got one mp3 file , so I opened and listen it but sound is very first, it’s just only about 2 second ,So I changed the speed of sound with sonic-visualiser but it’s still make nonsense , after a little struggle I think it can be reverse , so I used <strong>audacity</strong> to reverse the sound</p><p>First Ctrl+A select the sound and click ‘<strong>Effect</strong>’ on the tab bar and you will see <strong>reverse</strong> function like this</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/925/1*um1VuRL3_qaOOkRNNekkIA.png" /></figure><p>After reverse it, I heard the sound said ‘the flag is’ … but I didn’t clear after it :3. So I used sonic-visualiser again to slow the sound</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/898/1*6hInhDnmrZokvr_1WYQLww.png" /></figure><p>And then the sound said : <strong>The flag is all lower case hello sound</strong></p><p>Flag: flag{alllowercasehellosound}</p><p>3.Just Listen (100)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/501/1*rTuKTKignx4szOJdjKpKIg.png" /></figure><p>After download it, I got a hex file like this</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vJNYs26Weig0pB66Jg1maQ.png" /></figure><p>The title is <strong>Just Listen</strong>, So it can be mp3 file or something , Firstly I removed space and new line in this file with sublime text editor and I used <a href="https://tomeko.net/online_tools/hex_to_file.php?lang=en"><strong>this</strong></a> website to change hex to file</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8z-nRIpTDdlptDTq0pQ7Rw.png" /></figure><p>Convert and save it and then check what file is this with <strong>file</strong> command</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/702/1*fyCgukg2g7JcJ2rWReGQNA.png" /></figure><p>It’s Wave audio file , so I change the extension .dat to .wav and listen it<br>The sound said ‘Please get your flag at https slash slash pastebin.com slash tje2unc6’ and then I entered like this ‘https://pastebin.com/tje2unc6 but I got this page is no longer availiable</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/862/1*drhUcAKF02EUrzWQrGHZLQ.png" /></figure><p>As you know pastebin character is randomly generated like that</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/668/1*NnuZHXCZ2Z4zzzuMIOv7ew.png" /></figure><p>So I tried many time , one by one character and finally I got it :3. It’s all uppercase</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/650/1*Q5eHWreET8oYy3OP3-Sscw.png" /></figure><p>It’s base64, obviously. Decode it and get the flag :)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/522/1*Zxw1-rXeSLk9IN3cZuApfQ.png" /><figcaption>flag{YOU_DID_LISTEN}</figcaption></figure><h4>OSINT</h4><ol><li>A Mirror would be useful (100)</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/498/1*5b5Zbm7E3lmB3gR0cqP_ew.png" /></figure><p>It’s give us a photo and we must find the number on the back of this shirt</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/439/1*vVdDzgIm2KZYrWNEmM8t-g.png" /></figure><p>Firstly, I reverse this image with <a href="https://yandex.com/images/"><strong>yandex</strong></a> because sometime <strong>yandex</strong> is better than <a href="https://www.google.com/imghp?hl=EN"><strong>google</strong></a> image reverse , but I got nothing on that, so I used <a href="https://www.google.com/imghp?hl=EN"><strong>google</strong></a> image again and I saw one interesting photo</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lHSz7rz67kEFcG8Cglz5zQ.png" /></figure><p>And then I got the number 29 ,so the flag is gonna be like that</p><p>Flag:<em>flag{29}</em></p><p><strong>Thanks for reading</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5b28b0eef68e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[HACON 2020 CTF writeup]]></title>
            <link>https://shanekhantaun9.medium.com/hacon-2020-ctf-writeup-418b105ad31b?source=rss-b92412b0abdc------2</link>
            <guid isPermaLink="false">https://medium.com/p/418b105ad31b</guid>
            <category><![CDATA[hacon]]></category>
            <category><![CDATA[hacon-2020]]></category>
            <category><![CDATA[ctf-writeup]]></category>
            <category><![CDATA[ctf]]></category>
            <dc:creator><![CDATA[0xska]]></dc:creator>
            <pubDate>Sun, 27 Sep 2020 07:52:42 GMT</pubDate>
            <atom:updated>2020-09-27T13:23:08.913Z</atom:updated>
            <content:encoded><![CDATA[<p>I never post about ctf writeup before because of I’m boring :3. I only noted in my CherryTree but Today I wanna share a ctf writeup</p><ol><li>Crypto [4]</li><li>Misc [4]</li><li>Forensics [3]</li><li>OSINT [1]</li><li>Web [1]</li><li>Networking [1]</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7c-Q79Jmu_L6KIYXjKRHoQ.png" /></figure><p>Let’s start with Cryptography</p><p>I sovled 4 challenges in cryto category</p><ol><li>BiG BrAiN (80)</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/498/1*rJlXxShqCWhiX3_FI04-Jg.png" /></figure><p>ciphertext.txt</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*exsnrQVP2lhpk_FZzD6Pqg.png" /></figure><p>Obviously , It’s brain Fuck language ,so I decode it from <a href="https://www.dcode.fr/brainfuck-language">Here</a> and get the flag</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/799/1*DW3RDp44QIj_Q475Z2MjRw.png" /></figure><pre>HACSEC{y3s_y0u_n33d_br4in_t0_Cr4Ck_Br4inf#ck}</pre><p>2.ARE u SuRE(100)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/499/1*uMfzZpKoYe9kSVK3hQ6J2A.png" /></figure><p>ciphertext.txt</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/788/1*XFq0kYD37ZwsVqsojiSjKg.png" /></figure><p>Firstly , I think it’s ASCII85 cuz ascii85 is also like that but it said invaid character</p><p>I have seen this before in JohnHammond youtube video , and I know another possible is malboge . <a href="http://malbolge.doleczek.pl/">Mabolge</a> is an esoteric programming language<br>designed to be as difficult to program in as possible</p><p>paste it , click run program and get the flag</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TkHTP2Js1x2u9zuhT1vAGw.png" /></figure><p>HACSEC{3so7eRiC_Is_M3Ss3d_Up}</p><p>3.Baby RSA(100)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*TWtcIwCGgFD2yOdebPSMiw.png" /></figure><p>clue.txt</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bKEtmyeV9SppHwm4HTQpgg.png" /></figure><p>It’s RSA encrypted, obviously. You can search about RSA in google if you don’t know what it is.</p><p>Lucky for me ,I have been solved challenge like that other CTF , I already have script to solve it</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/682/1*6j3m2f0dU9THBNFdUetlYg.png" /></figure><p>HACSEC{R54_baBy_i5_35Sy}</p><p>4.MIRROR MIRROR(100)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/498/1*bQ_URUtdvnH3WdGPschZFQ.png" /></figure><p>ct.txt</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wDzOIIOJRwHOIArNOJOIuA.png" /></figure><p>I removed chr() with sublime text and decode it with <a href="https://cryptii.com/pipes/decimal-text">decimal to text</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gny3qs8c4RHYgvBLP3x_Hg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5FU5KPzKp68Xk_GOBjKjdw.png" /></figure><p>I confused a moment and finally I thought it may be another decimal, so I splited it by space like that and got the flag</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*E57KcsoACV0tcRl9E50Yvg.png" /></figure><p>(be careful when you split , it have some three character eg.123,125)<br>HACSEC{M1RROR_!S_4LWAYS_BE4UTIF!ES_US}</p><h3>Misc</h3><p>I sovled 4 challenge in this category .Actually 3, Feedback challenge is just a give feedback about thier ctf and get the flag :3, so I’m not show about it</p><ol><li>MISC 2(50)</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/502/1*kwF1QgM4jXKOXp7P8EvTCA.png" /></figure><p>zippppp.zip</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*na8b4TQq-Viwdlpv3BoRZw.png" /></figure><p>When you unzip it , you will see a lot of files, some files are blank ,some files have flag</p><p>It easy xD , I used ‘cat’ command and grep text by flag format HACSEC</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/604/1*AOp3XQ7nEKrra7t3Th7Y7A.png" /><figcaption>cat * | grep HACSEC</figcaption></figure><p>HACSEC{z1ppppitnice}</p><p>2.MISC 3(75)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/501/1*I_peOLI-oOmx6qK27y1gQg.png" /></figure><p>Unzip it and see a lot of files like Misc 2 but this challenge have some directory</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0gasUJIhOIz56rv5QC0TaQ.png" /></figure><p>In each diretories have a lot of files</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bB7sML3u9KfVKwCXNZnGrQ.png" /></figure><p>I have some experience with some machine and thanks to ippsec videos .It was easy for me xD</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/621/1*MWGO10CCi7CZfKX_YXgo9Q.png" /><figcaption>grep -ir “HACSEC” — color=always</figcaption></figure><p>HACSEC{Z1ppv2}</p><p>3.B4sH (100)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/499/1*Z34k0g3cHOiPLc87KwVPug.png" /></figure><p>It way really fun for me xD ,because it’s a litte same Hackthebox eternal loop challenge, but no need to brutefore zip password like eternal loop</p><p>When you unzip it , it has zip password, password is zip file name eg.93531<br>After unzip it , you will see another zip file ,unzip it again and you will see another zip file will pop up, so we need to write a script to solve this challenge</p><p>I wrote a simple easy bash script</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/580/1*RIKoG_CHZON_yktWwTXunQ.png" /></figure><p>Run it and stop it when you got error ,because i didn’t use if statement to break cuz I want to solved quickly for first blood but didn’t get it xD ,one player got before me :’)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/683/1*qFUDLvOh8r-BEiAvoVNWgg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/334/1*xGvXrVJjqjZ3KguI00b2pg.png" /></figure><p>HACSEC{SH3LL_SCRIP71NG_!S_FUN}</p><p>Note: when you write script like me,you should create new directory and put only these two files , 93531.zip and flag.sh</p><h3>Forensics</h3><p>I solved 3 challenge in this category</p><ol><li>Sn0w M4N(50)</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/497/1*kgzyfLucH8a9OvsZC84Ehg.png" /></figure><p>chall.txt</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/497/1*C2bLfO83jkBHBXmypuxxIA.png" /></figure><p>It’s obviously for me , I have been sovled this challenge other ctf in steganography category, You can know when you see challenge name SNOW xD .I used command line tool stegsnow</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/241/1*NOa8IdNsVWIY27UYNQZ85Q.png" /></figure><p>HACSEC{s7eg_5n0W_F7W}</p><p>2.BEEP(75)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*XOCrWSYm-YdZUd0I4ZFkdg.png" /></figure><p>It’s give us a song file , when I open it and it seem like morse code song<br>So I used online tool to decode <a href="https://morsecode.world/international/decoder/audio-decoder-adaptive.html">here</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/588/1*PsoXjrpz5WmscnlG1B5ycw.png" /></figure><p>I splited by underscore(_) for each words but my flag is wrong :’) cuz I forgot to see the hint xD</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/496/1*vfmw5j-_WaHG39nEj_iPGQ.png" /></figure><p>flag: HACSEC{M0RS3C0D3_1S_W4Y_T0O_CONV3N7ION4L}</p><p>3.Wizard(75)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*1QfQxYOmI0JG3p-cTdvVvg.png" /></figure><p>There are many ctf challenge same like this , we got a png file and can’t open it, immediately I checked its header with hexeditor tool</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/679/1*DTxzvcCU62ZopalpraFSxQ.png" /></figure><p>So I changed png header like this</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/681/1*3wQ_rsV9CkaZ0hHaYrU75Q.png" /></figure><p>save it ,open it and get the flag</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/507/1*i4eiP_SdYUDcuGjQQ3aFLg.png" /></figure><p>HACSEC{w1Z4rD_u53_M4giC_byT3S}</p><h3>Networking</h3><ol><li>BAsic</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/501/1*6SKJigyH43taD-yzLSrSiw.png" /></figure><p>EZPZ xD , copy the question and paste it in google</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/713/1*T5Bo4OCUBD8s0TVSNbQcow.png" /></figure><p>HACSEC{631}</p><h3>OSINT</h3><ol><li>Wigly Wigly Wack</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/499/1*ywka4Avu93NeYrqnGbIy8w.png" /></figure><p>Hint-1:SSID == FLAG<br>Hint-2:challenge name is a tool</p><p>I found this tool on google <a href="https://wigle.net/">WiGle</a> , register it and go View &gt; advance search paste the given Net ID and click on Query</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/607/1*d-RbrmT0wwOYAK8hYhy4Pw.png" /></figure><p>In the bottom , you can see like this</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/467/1*mhsOLzAJOTgdhcOlHW3xLg.png" /></figure><p>HACSEC{w1Z4rD_u53_M4giC_byT3S}</p><h3>Web</h3><ol><li>EAsy WEb(70)</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*zqDgoVNn6-gV5YAsmWEWtw.png" /></figure><p>When you visit the given url , you will see a login page, firstly I submited admin:admin and get some hint</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wcD194DUD4qGfY0GuSZF6g.png" /></figure><p>It’s base64 , when decode it , I got username and password</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/658/1*YiQJqtfVZ0vBDFMiNAE7bQ.png" /></figure><p>Login with it again and got another hint text</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/539/1*ZKkxZDEWO1xmxCs-JVqYhg.png" /></figure><p>I decoded with ROT13</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/587/1*__0haNiUVvcuAmpiIAQb6g.png" /></figure><p>So I entered this text at the end of the url and got a lot of text</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/863/1*PkNRwlhviQYtq5mWV-S4iQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/421/1*cN1hvy-Gtc_k5w5yeqWyXw.png" /></figure><p>But it’s not the flag , after some searching I found the really flag</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/454/1*dpVGD7o4iY4CDLhSLtD3Xg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/429/1*fjOVWi8O40vNyHucm8KPpA.png" /></figure><p>it’s hidden xD</p><p>HACSEC{Y0u_g0T_I7}</p><p>That’s all guys <br>I’m stopped solving challenges here and I’m not tried hard on other challenges because I’m sovling some machine boxes :)</p><p>Thanks for reading<br>Sorry for Bad English</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=418b105ad31b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>