<?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 Firas Mahmoud on Medium]]></title>
        <description><![CDATA[Stories by Firas Mahmoud on Medium]]></description>
        <link>https://medium.com/@realfiras?source=rss-3cd8a180dfa7------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*iIAkn9g3P4EFzQ5ZJzgW_g.jpeg</url>
            <title>Stories by Firas Mahmoud on Medium</title>
            <link>https://medium.com/@realfiras?source=rss-3cd8a180dfa7------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 18 Nov 2026 21:40:32 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@realfiras/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[OrbitCTF — MISC]]></title>
            <link>https://realfiras.medium.com/orbitctf-misc-d95e180a1119?source=rss-3cd8a180dfa7------2</link>
            <guid isPermaLink="false">https://medium.com/p/d95e180a1119</guid>
            <dc:creator><![CDATA[Firas Mahmoud]]></dc:creator>
            <pubDate>Wed, 29 Oct 2025 00:10:24 GMT</pubDate>
            <atom:updated>2025-10-29T00:10:24.565Z</atom:updated>
            <content:encoded><![CDATA[<h3>OrbitCTF — MISC</h3><p><strong>Challenges WriteUps</strong></p><p><strong>#1 diet mountain dew</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/615/1*4pXxS7xAcckmGJbZPAtKsw.png" /></figure><p>I have a song that seems normal, there is nothing in it. There is a hint in the question, which is the name of the program used to extract the hidden things in the song, which is: <strong>deepsound</strong></p><p>This is the program interface. Click on <strong>open carrier files</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/989/1*clXRwxiW9bK3t5CoCo7Djg.png" /></figure><p>As soon as I put the song on, we see that there is a picture with the name flagg, Click to Extract secret file to extract the image.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/982/1*lwuBvJBUwYA27wB4bcWLtw.png" /></figure><p>When we open the image, we see that it is a QR code. We scan it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wXhxSVISa9rab-vfGwCYhA.png" /></figure><p>And here we are, this is the Flag</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LNEFdMdOpgVcavj5g6QIOw.png" /></figure><blockquote>Flag : OrbitCTF{D33p_H1dd3n_And_Lyr1cally_L0ck3d}</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d95e180a1119" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[OrbitCTF — OSINT]]></title>
            <link>https://realfiras.medium.com/orbitctf-osint-4dedaac0bd55?source=rss-3cd8a180dfa7------2</link>
            <guid isPermaLink="false">https://medium.com/p/4dedaac0bd55</guid>
            <dc:creator><![CDATA[Firas Mahmoud]]></dc:creator>
            <pubDate>Tue, 28 Oct 2025 22:31:00 GMT</pubDate>
            <atom:updated>2025-10-28T22:31:00.850Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Challenges WriteUps</strong></p><p><strong>#1 The Gray Escape</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/615/1*_t5pZbFjaLBUgBzMqaCWRA.png" /></figure><h3>Idea</h3><p>There is a person we want to arrest who is on the run from the police and we want his first and second names and which city he went to and we only have this video</p><p>In the video, there is an Instagram account <strong>raven_transit </strong>of the person who is driving and he is a friend of the wanted person, and there is information that the person said that he will go to a city that the two of them had visited before, keep it in mind</p><p>Okay, let’s go to his Instagram account and see a lot of Post and highlights. His avatar doesn’t look suspicious, nor does his bio, so we’ll look at the highlights first.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/694/1*hkAUauOOJCUyg7p1A4hmLQ.png" /></figure><p>In one of the highlights it is written that he traveled with Ahmed’s brother, so here we know the person’s first name which is Ahmed, but how do we know the second name? In the same highlight there is a ticket for his brother whose name is JASEM LOMEN and since they are brothers they have the same second name which is LOMEN</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/659/1*mpmmhWmO9v6l7dVH7if4ng.jpeg" /></figure><p>We go to the posts. All the posts are normal until the last post with the description. It says that the photo was taken by Ahmed, meaning that they were both here. In the video, he said that he would go to a place that they had both visited together.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/880/1*V88uz9V2YhZyBQA4QfFzhA.jpeg" /></figure><p>We search for the picture of the place and see that it is in <strong>ROMA.</strong></p><blockquote>FLAG : OrbitCTF{ahmedlomen_roma}</blockquote><p><strong>#2 Glowhouse</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/610/1*IvkKz5GLy7rvZuCJtHTqoQ.png" /></figure><p>There is a picture and we want to know the type of device that took the picture, the date it was taken, and the country of the picture.</p><p>We analyze the image using <strong>exiftool </strong>and see the encrypted text in the User Comment field.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/514/1*wXrYjfsNPq3s3OVERxzOfQ.png" /></figure><p>We decode it and see the name : <strong>jay morfe</strong></p><p>We search for this name and a website specialized in images will appear, then we enter it</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/743/1*icW0yZ0wwGaNvE8F0TzhhQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7VGxXNsi3E42_pHGOCjADA.png" /></figure><p>We found the name of the camera that took the photo and the date it was taken. We want the name of the country in which this place is located.</p><p>With a quick search on Google, we see that it is in <strong>Azerbaijan.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1OSjndio3VnQ3CpRAa91HQ.png" /></figure><blockquote>Flag: OrbitCTF{Pentax K100D_November 13, 2008_Azerbaijan}</blockquote><p><strong>#3 Anime</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/485/1*ziRDh94OsdY1Q3QZ4paWJQ.png" /></figure><p>The idea of ​​the question is simple. We only want the spot of the place where the photo was taken. There is a hint on the country in which the photo is located, which is the name of the question, which indicates <strong>Japan</strong>.</p><p>Another hint is this well-known place in Japan which is <strong>Hiroshima</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/139/1*Rqe9vt1ZV7kAxMk2anL7kA.png" /></figure><p>We search for the teacher’s image on Google and see that this place is <strong>Hiroshima Peace Memorial park</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/712/1*xTM9CskopUi_X6kxex6PIw.png" /></figure><p>We activate the stream viewer to enter and see the spot from which the photo was taken</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/711/1*r-IYsenRkjvlDDCvcFR97g.png" /></figure><p>After searching for the matching point, I found that this is the point.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/714/1*WsJ3WwgG0rhogejdjpQDdQ.png" /></figure><p>We take the image coordinates.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CIeZOs77muKb7JtYD-yuCQ.png" /></figure><blockquote>FLAG: OrbitCTF{34.3923003,132.4523565}</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4dedaac0bd55" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[OrbitCTF — Cryptography]]></title>
            <link>https://realfiras.medium.com/orbitctf-cryptography-35e5fbf8aafc?source=rss-3cd8a180dfa7------2</link>
            <guid isPermaLink="false">https://medium.com/p/35e5fbf8aafc</guid>
            <dc:creator><![CDATA[Firas Mahmoud]]></dc:creator>
            <pubDate>Tue, 28 Oct 2025 21:13:47 GMT</pubDate>
            <atom:updated>2025-10-28T21:13:47.089Z</atom:updated>
            <content:encoded><![CDATA[<h3>OrbitCTF — Cryptography</h3><p><strong>Challenges WriteUps</strong></p><p><strong>#1 Dandan’s Dream</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/463/1*gdobNBR1BW1w3C9pCE63-A.png" /></figure><h3>Idea</h3><p>Server gives elliptic-curve parameters p,a,bp,a,bp,a,b, an initial y0y_0y0​, and a list of small integers “wake-up attempts.”<br> Each step adds inc to the current y until (𝑦+𝑖𝑛𝑐)3+𝑎(𝑦+𝑖𝑛𝑐)+𝑏 is a quadratic residue mod p.<br> For every valid step we pick one of the two square roots(small→bit0,big→bit1).<br> All bits together form the final answer that wakes Dandan.</p><h3>Solution</h3><ol><li>Parse p,a,b,y_origin from banner.</li><li>Send F to get Final value and Wake-up attempts.</li><li>Recreate all possible bit paths whose final y ≡ Final value (mod p).</li><li>Try four variants (original / inverted / reversed / reversed+inverted).</li><li>Send each with W; when the server accepts → flag</li></ol><pre>#!/usr/bin/env python3<br><br>from pwn import remote<br>import re, time<br>from collections import deque<br><br>HOST = &quot;shortline.proxy.rlwy.net&quot;<br>PORT = 10593<br>CAP_INC = 1 &lt;&lt; 21<br>MAXC = 4000<br>TIMEOUT = 12.0<br><br>def is_qr(n, p):<br>    n %= p<br>    if n == 0: return True<br>    return pow(n, (p-1)//2, p) == 1<br><br>def modsqrt(n, p):<br>    n %= p<br>    if not is_qr(n, p): raise ValueError<br>    r = pow(n, (p+1)//4, p)<br>    return r, (p - r) % p<br><br>def find_inc(y,a,b,p,cap=CAP_INC):<br>    for i in range(cap):<br>        yy = (y + i) % p<br>        rhs = (pow(yy,3,p) + (a%p)*yy + (b%p)) % p<br>        if is_qr(rhs, p): return i<br>    raise RuntimeError<br><br>def read_until(conn, pat, timeout=1.0):<br>    t = time.time() + timeout; out = b&quot;&quot;<br>    while time.time() &lt; t:<br>        try:<br>            c = conn.recv(timeout=0.2)<br>            if c: out += c<br>        except: pass<br>    try:<br>        out += conn.recvuntil(pat.encode(), timeout=1)<br>    except: pass<br>    return out.decode(&#39;utf-8&#39;,&#39;replace&#39;)<br><br>def parse_banner(text):<br>    def g(k):<br>        m = re.search(rf&quot;{k}\s*=\s*([0-9]{{8,}})&quot;, text)<br>        return int(m.group(1)) if m else None<br>    p = g(&quot;p&quot;); a = g(&quot;a&quot;); b = g(&quot;b&quot;); y0 = g(&quot;y_origin&quot;)<br>    if None in (p,a,b,y0): raise RuntimeError(&quot;parse banner&quot;)<br>    return p,a,b,y0<br><br>def parse_follow(text):<br>    mf = re.search(r&quot;Final value:\s*([0-9]{8,})&quot;, text)<br>    mw = re.search(r&quot;Wake-up attempts:\s*\[([0-9,\s]*)\]&quot;, text)<br>    if not mf or not mw: raise RuntimeError(&quot;parse follow&quot;)<br>    final = int(mf.group(1))<br>    s = mw.group(1).strip()<br>    wake = [] if s==&quot;&quot; else [int(x.strip()) for x in s.split(&quot;,&quot;)]<br>    return final, wake<br><br>def build_candidates(p,a,b,y0,wake,final,cap_inc=CAP_INC,maxc=MAXC):<br>    L = len(wake)<br>    q = deque(); q.append((0, y0%p, &quot;&quot;))<br>    ok = []<br>    while q:<br>        idx,y,bits = q.popleft()<br>        if idx &gt;= L:<br>            if y % p == final % p:<br>                ok.append(bits)<br>                if len(ok) &gt;= maxc: break<br>            continue<br>        inc = wake[idx]<br>        try:<br>            chk = find_inc(y,a,b,p,cap=cap_inc)<br>        except:<br>            continue<br>        if chk != inc: continue<br>        ytest = (y + inc) % p<br>        rhs = (pow(ytest,3,p) + (a%p)*ytest + (b%p)) % p<br>        try:<br>            r1,r2 = modsqrt(rhs,p)<br>        except:<br>            continue<br>        small,big = (r1,r2) if r1 &lt;= r2 else (r2,r1)<br>        for bit,ny in ((&#39;0&#39;, small), (&#39;1&#39;, big)):<br>            if idx+1 == L:<br>                if ny % p == final % p:<br>                    q.append((idx+1, ny, bits+bit))<br>                continue<br>            try:<br>                nxt = find_inc(ny,a,b,p,cap=cap_inc)<br>            except:<br>                continue<br>            if nxt == wake[idx+1]:<br>                q.append((idx+1, ny, bits+bit))<br>    return ok<br><br>def transforms(s):<br>    inv = &#39;&#39;.join(&#39;1&#39; if c==&#39;0&#39; else &#39;0&#39; for c in s)<br>    rev = s[::-1]<br>    rinv = &#39;&#39;.join(&#39;1&#39; if c==&#39;0&#39; else &#39;0&#39; for c in rev)<br>    return [(&quot;orig&quot;, s), (&quot;inv&quot;, inv), (&quot;rev&quot;, rev), (&quot;rev+inv&quot;, rinv)]<br><br>def main():<br>    conn = remote(HOST, PORT, timeout=10)<br>    banner = read_until(conn, &quot;&gt;&gt; &quot;, timeout=1.2)<br>    if &quot;p =&quot; not in banner or &quot;y_origin&quot; not in banner:<br>        try: conn.sendline(b&quot;&quot;)<br>        except: pass<br>        banner += read_until(conn, &quot;&gt;&gt; &quot;, timeout=1.2)<br>    p,a,b,y0 = parse_banner(banner)<br>    conn.sendline(b&quot;F&quot;)<br>    follow = read_until(conn, &quot;&gt;&gt; &quot;, timeout=TIMEOUT)<br>    final, wake = parse_follow(follow)<br>    candidates = build_candidates(p,a,b,y0,wake,final)<br>    if not candidates:<br>        y = y0 % p; bits = []<br>        for inc in wake:<br>            incchk = find_inc(y,a,b,p,cap=CAP_INC)<br>            if incchk != inc: raise RuntimeError(&quot;fallback mismatch&quot;)<br>            ytest = (y + inc) % p<br>            r1,r2 = modsqrt((pow(ytest,3,p) + (a%p)*ytest + (b%p)) % p, p)<br>            small = r1 if r1 &lt;= r2 else r2<br>            bits.append(&#39;0&#39;); y = small<br>        candidates = [&#39;&#39;.join(bits)]<br>    for cand in candidates:<br>        for name,trial in transforms(cand):<br>            conn.sendline(b&quot;W&quot;)<br>            try:<br>                conn.recvuntil(b&quot;:&quot;, timeout=1)<br>            except: pass<br>            conn.sendline(trial.encode())<br>            time.sleep(0.35)<br>            try:<br>                resp = conn.recvuntil(b&quot;&gt;&gt; &quot;, timeout=3).decode(&#39;utf-8&#39;,&#39;replace&#39;)<br>            except:<br>                resp = read_until(conn, &quot;&gt;&gt; &quot;, timeout=1.0)<br>            if (&quot;That&#39;s not right&quot; in resp) or (&quot;still asleep&quot; in resp) or (&quot;not right&quot; in resp):<br>                continue<br>            print(resp.strip())<br>            conn.close()<br>            return<br>    print(&quot;no match&quot;)<br>    conn.close()<br><br>if __name__ == &quot;__main__&quot;:<br>    main()</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fu2yH9AaQWo1vkQbgktA2A.png" /></figure><blockquote>Flag : OrbitCTF{f4st_ecc_is_b3st_ecc!}</blockquote><p><strong>#2 </strong>زجزج</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/554/1*hAIAgFmLi2bIn4Ewz9zhTw.png" /></figure><h3>Idea</h3><p>Same plaintext m (the flag) is encrypted with <strong>textbook RSA</strong> (no padding) under <strong>three different public keys</strong> that share the same public exponent e = 3. The participants receive n1,n2,n3 and c1,c2,c3 where ci ≡ m^3 (mod ni). Because the attacker has three ciphertexts for the same message and m^3 &lt; n1·n2·n3, use CRT + integer cube root to recover m</p><h3>Solution</h3><ol><li>Read n1,n2,n3 and c1,c2,c3 from the challenge JSON.</li><li>Use the Chinese Remainder Theorem (CRT) to compute the unique integer x with:</li></ol><pre>x ≡ c1 (mod n1)<br>x ≡ c2 (mod n2)<br>x ≡ c3 (mod n3)</pre><ul><li>if n1,n2,n3 are pairwise coprime, CRT yields x modulo N = n1·n2·n3. Under the challenge assumption m^3 &lt; N, the integer x equals the exact m^3, not just its residue.</li></ul><ol><li>Compute the integer cube root m = ⌊x^(1/3)⌋. If the assumptions hold it will be exact (m^3 == x).</li><li>Convert m back to bytes with big-endian encoding and decode UTF-8 to get the flag string.</li></ol><p><strong>Notes:</strong> The attack only works because:</p><ul><li>Textbook RSA (no OAEP/padding) was used.</li><li>The same message m was encrypted with the same small exponent e=3 for multiple recipients.</li><li>The organizer ensured m^3 &lt; n1·n2·n3.<br> If any of those conditions fail (padding present, moduli not pairwise coprime, or m^3 &gt;= N), the attack does not directly work.</li></ul><pre>import json,sys,math<br>j=json.load(open(sys.argv[1] if len(sys.argv)&gt;1 else &quot;zjzj.json&quot;))<br>n=[int(j[f&quot;n{i}&quot;]) for i in (1,2,3)]<br>c=[int(j[f&quot;c{i}&quot;]) for i in (1,2,3)]<br>x,m=c[0],n[0]<br>for i in (1,2):<br>    k = ((c[i]-x) * pow(m % n[i], -1, n[i])) % n[i]<br>    x = (x + k*m) % (m*n[i]); m *= n[i]<br>lo,hi=0,1<br>while hi**3&lt;=x: hi&lt;&lt;=1<br>while lo&lt;hi:<br>    mid=(lo+hi)//2<br>    if mid*mid*mid &lt; x: lo=mid+1<br>    else: hi=mid<br>root = lo-1<br>b = root.to_bytes((root.bit_length()+7)//8,&#39;big&#39;).lstrip(b&#39;\x00&#39;)<br>print(b.decode())</pre><blockquote>Flag: OrbitCTF{zJZj_g0_2_sle3p_th@k$_y0o0o}</blockquote><p><strong>#3 </strong>Barcelona</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/612/1*jkP1rJxVT9GjJGfv1dF_3Q.png" /></figure><ol><li><strong>Base64 ×5 </strong>“the crowd begins chanting five times in a row in the 64th minute”</li><li><strong>Reverse </strong>“with a sudden whistle, the play recedes, each movement reversed”</li><li><strong>Base85 </strong>“in the 85th minute, the pattern intensifies”</li><li><strong>XOR = PEDRI </strong>“PEDRI intervenes, delivering a pinpoint pass”</li><li><strong>ROT13 </strong>“the 13th receives the ball and spins it in midfield”</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/574/1*R4Glypwi9Yyyp-b2esAJDw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/962/1*TkuK-jJ2mcKqnCqXJXpSQQ.png" /></figure><blockquote>Flag : OrbitCTF{b@rc3l0na_be5t_teame_ev3r}</blockquote><p><strong>#4 </strong>Ghazlooq</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/312/1*CZiaMCXF1VLT4S_QJfQZeQ.png" /></figure><ol><li><strong>Base64 </strong>“a frantic <strong>64</strong>-count jumping jack just to <strong>seal</strong> the package”</li><li><strong>HEX </strong>“a long list of <strong>two-digit coordinates”</strong></li><li><strong>Base85 </strong>“I now weigh <strong>85 kilograms</strong>”</li><li><strong>Vigenère , KEY= Ghazlooq “ I love my name</strong>, so much that I kept repeating it over and over while I ran, until the message was in a <strong>completely different order”</strong></li><li><strong>Reverse </strong>“I wrote it all <strong>backward</strong>”</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/546/1*xWjTDv2KvAhPFQgSSuxzdg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/949/1*4s0vGwLdlPn7pCocQEXt9w.png" /></figure><blockquote>Flag : OrbitCTF{Ghazlooq_HuNgRy_F0R_FlAgS}</blockquote><p><strong>#5 Meowngry</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/547/1*DxbJBaIZpjlQOd4tDW1bPA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/839/1*FB5jvN5Tp8SX7nqHUWaokQ.png" /></figure><pre><br>from math import gcd<br><br>n = 2460405670512456903405434655885868080561217822023475425469983932902408115188598243<br>e = 65537<br>c_hex = &quot;26fab6a2c350bc3181a8dca00b520f4281d59567225a1a2726cff148182592f92fdf&quot;<br>c = int(c_hex, 16)<br><br>p = 36857<br>q = n // p<br><br>phi = (p - 1) * (q - 1)<br>d = pow(e, -1, phi)        <br><br>m = pow(c, d, n)          <br><br>m_hex = f&quot;{m:x}&quot;<br>if len(m_hex) % 2: m_hex = &quot;0&quot; + m_hex<br>plaintext = bytes.fromhex(m_hex).decode()<br><br>print(plaintext)</pre><blockquote><strong>open_the_chest</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/525/1*UFz-Ma1w5QapKeBshFZxBA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/531/1*3sxffZNrkwKHOKFQ0h4OOw.png" /></figure><ol><li><strong>Base64 </strong>“ Ends with = , Contains only uppercase/lowercase letters, numbers, and / or + (here letters only), That’s the <strong>classic Base64 alphabet</strong>.</li><li><strong>Reverse</strong> “ My mind is reversed”</li><li><strong>XOR Key = Bery</strong> “ You already know my name it might help you untangle my thoughts ”</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/791/1*HPHr-Uz2LuejZGIjhr99cw.png" /></figure><blockquote>remember_my_title</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/508/1*WtnMCzZ1iRi7YS9XE-uAmw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/581/1*It635GUw4617vMus0VuJLw.png" /></figure><ol><li><strong>Base64</strong></li><li><strong>ROT13</strong></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/879/1*NuvSrBukf8RG0agVwIzC1Q.png" /></figure><blockquote>shift_the_letters_back</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/510/1*2ra0Dj_pt3lyAuyH8eY5Ew.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/698/1*fay6rWfvCCfJhZOYSNGAJA.png" /></figure><ol><li><strong>Base64</strong></li><li><strong>MorseCode</strong></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*igQSTeCKcmn3y0PxwIXz-w.png" /></figure><blockquote>TRANSLATETHEMEOWS</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/515/1*Bavmqlk1r_IdASXzLDtbGQ.png" /></figure><p>Decode all parts of the flag.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jmLNnyTiDo5WMw0jEhDSjw.png" /></figure><blockquote>Flag : OrbitCTF{the_hungry_cat_finally_got_its_meal_after_solving_all_the_crypto_puzzles_in_the_orbit_and_sleeping_in_peace_under_the_moon}</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=35e5fbf8aafc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[4hatsCTF ONLINE — Crypto]]></title>
            <link>https://realfiras.medium.com/4hatsctf-online-crypto-bf4b62ba001e?source=rss-3cd8a180dfa7------2</link>
            <guid isPermaLink="false">https://medium.com/p/bf4b62ba001e</guid>
            <dc:creator><![CDATA[Firas Mahmoud]]></dc:creator>
            <pubDate>Wed, 24 Sep 2025 18:54:46 GMT</pubDate>
            <atom:updated>2025-09-27T08:25:36.603Z</atom:updated>
            <content:encoded><![CDATA[<h3>4hatsCTF ONLINE — Crypto</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XNThoHlwdlqsxOu1CdvZ4g.png" /></figure><h3>4hatsCTF — AABU</h3><p><strong>Category:</strong> Crypto</p><h3>Challenge (1)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/618/1*Jmo4KE9-poqShnzAwKrkxQ.png" /></figure><h3>Challenge Solution:</h3><p>The first thing you think of when you play the video and hear it is Morse code, but often the sites take the file as <strong>mp3</strong> format so we convert from <strong>mp4 to mp3.</strong></p><p>When we convert it to an <strong>mp3 </strong>file, we go to this <a href="https://morsecode.world/international/decoder/audio-decoder-adaptive.html"><strong>site</strong></a><strong> </strong>to analyze the M<strong>orse code.</strong></p><p>When we run it we get this.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*F3OSb2cYMFe6NuuFDKC2eA.png" /></figure><h4>Oops but we didn’t get the flag!.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/613/1*hjp6omvqlIjsv7k6fAegzg.png" /></figure><p>We notice that the name of the challenge is written as 64, which <strong>strongly hints</strong> at Base64 encryption. So let’s try to encrypt the speech to Base64 and submit it, Here we are.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/605/1*HfvRrhhC_H4-6fhoALbKlg.png" /></figure><h3>Challenge (2)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/603/1*GWturoPo69oim5V-gUIsjw.png" /></figure><h3>Challenge Solution:</h3><h3>Reading the Story Clues</h3><p>The intro text contained subtle hints:</p><ul><li><strong>“Some of them rise like soldiers… watch the skyline”</strong><br> → Focus on tall (ascender) letters.</li><li><strong>“The first hand always slips by before the true count begins.”</strong><br> → Skip some bits at the start.</li><li><strong>“Only in octaves does the shadow make sense.”</strong><br> → Work in groups of 8 → bytes.</li><li><strong>“In still waters… everything is seen in reverse.”</strong><br> → Reverse something during decoding.</li></ul><h3>Step 2 — Converting Letters to Bits</h3><p>Lowercase letters have different heights. We only care about the <strong>tall ones</strong> (ascenders):</p><p><strong>Set = { b, d, f, h, k, l}</strong></p><p>Rule:</p><ul><li>If the letter is in the set → <strong>1</strong></li><li>Otherwise → <strong>0</strong></li></ul><p>By scanning through the ciphertext, we build a long stream of 0s and 1s.</p><h3>Step 3 — Applying the Offset</h3><p>From the hint, “the first hand slips,” I realized the binary stream wasn’t aligned properly.<br> By <strong>skipping the first 5 bits</strong>, the text started to decode cleanly.</p><h3>Step 4 — Grouping into Bytes</h3><p>Now, split the binary stream into chunks of <strong>8 bits</strong> each.</p><h3>Step 5 — The Reflection Trick</h3><p>Before decoding, apply the “still waters” rule: <strong>reverse the bits inside each byte</strong>.</p><ul><li>Example: 01100101 → reversed → 10100110</li></ul><p>This reversal step is crucial. If you skip it, you’ll get nonsense or a backwards string.</p><h3>Step 6 — ASCII Conversion</h3><p>Finally, convert each reversed 8-bit chunk into ASCII characters.<br> The result is a readable plaintext:</p><pre>shad0ws_d4nc3_in_th3_t1d3_0f_r33fs</pre><pre>4hats{shad0ws_d4nc3_in_th3_t1d3_0f_r33fs}</pre><h3>Challenge (3)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/617/1*rtr34j1XN0buk-1HF-sn2A.png" /></figure><h3>Challenge Solution:</h3><pre>import binascii<br><br>ct_path = &quot;ciphertext.hex&quot;<br>ct_hex = open(ct_path, &quot;r&quot;).read().strip()<br>ct = binascii.unhexlify(ct_hex)<br><br>known_prefix = &quot;4hats{&quot;<br>partial_key = [ct[i] ^ ord(c) for i, c in enumerate(known_prefix)]<br><br>def find_params(ct, partial_key):<br>    L = len(ct)<br>    for x in range(1, 256):<br>        for y in range(256):<br>            for z in range(2, 256):<br>                ok = True<br>                for i, pk in enumerate(partial_key):<br>                    if (i * x - y) % z != pk:<br>                        ok = False<br>                        break<br>                if not ok:<br>                    continue<br><br>                key = [(i * x - y) % z for i in range(L)]<br>                dec_bytes = bytes([ct[i] ^ key[i] for i in range(L)])<br>                try:<br>                    dec = dec_bytes.decode(&#39;utf-8&#39;)<br>                except UnicodeDecodeError:<br>                    continue<br><br>                if dec.startswith(known_prefix) and &quot;4hats{&quot; in dec:<br>                    return (x, y, z, dec)<br>    return None<br><br>res = find_params(ct, partial_key)<br>if res:<br>    x, y, z, dec = res<br>    print(&quot;Decrypted plaintext:&quot;, dec)</pre><pre>4hats{d!r3ct_fl@g_v3rs!0n}</pre><h3>Challenge (4)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/449/1*pLh0c-jYBFm7yGvLAgebSw.png" /></figure><h3>Challenge Solution:</h3><h3>eading the Clues → Mapping to Operations</h3><ul><li><strong>“watch it in reverse”</strong> → Start by <strong>reversing</strong>.</li><li><strong>“switched his position… slightly”</strong> → <strong>ROT 13.</strong></li><li><strong>“He always shines late… 85th minute”</strong> → <strong>Base 85</strong>.</li><li><strong>“The same style repeats over and over across his career.”</strong> → A step that <strong>repeats many times</strong> → <strong>Base64</strong> (done <strong>10 times</strong>).</li><li><strong>“You definitely need his name on your team.”</strong> → You’ll need a <strong>key named after him</strong> → <strong>XOR with key </strong><strong>MESSI10</strong>.</li></ul><blockquote><strong><em>Reverse → Base 85 → Base64 (×10) → XOR with “MESSI10” → ROT13</em></strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/579/1*_gX65wRmj_O0Avz-7O4zvQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/957/1*W9nQdavSE_lNPMLJ1Pcyxg.png" /></figure><pre>4hats{G0@T!_B64_ME5S1O!}</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bf4b62ba001e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SpongeBob — OSINT]]></title>
            <link>https://realfiras.medium.com/spongebob-osint-aa8bae965ea1?source=rss-3cd8a180dfa7------2</link>
            <guid isPermaLink="false">https://medium.com/p/aa8bae965ea1</guid>
            <dc:creator><![CDATA[Firas Mahmoud]]></dc:creator>
            <pubDate>Sun, 31 Aug 2025 18:21:37 GMT</pubDate>
            <atom:updated>2025-08-31T18:21:37.176Z</atom:updated>
            <content:encoded><![CDATA[<h3>SpongeBob — OSINT</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tj_mKFZYA3jLAGtkpDoU4A.png" /></figure><h3>4hatsCTF — AABU</h3><p><strong>Category:</strong> OSINT</p><h3>Challenge Description</h3><p>One of <em>SpongeBob’s</em> fans is named <strong>rayanosamaahmad</strong>.He is a SpongeBob lover and he has some questions. Help him find the answers to get whats you want.</p><p>nc maglev.proxy.rlwy.net 16216</p><h3>Challenge Solution</h3><p>First thing we do is connect to the netcat: nc maglev.proxy.rlwy.net 16216 , The first thing we see in front of us is a simple drawing of something that probably looks like SpongeBob, hahahahaha. In short, it says that there is a person named <strong>rayanosamaahmad</strong> who loves SpongeBob very much and he has many questions. Answer them to get the flag. The first question is : <strong>What is the word that Basit repeats in the song?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/794/1*NoRyCOSWYTL_DZZ9Ola_CQ.png" /></figure><p>Ok I want to know what song he is talking about so I search for the name of the person in the question to extract all of his accounts, and to do that we use <a href="https://www.idcrawl.com/"><strong>https://www.idcrawl.com</strong></a><strong>. </strong>We clearly find someone who loves SpongeBob, so this is the account we want.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/936/1*qzIVmLdrTVGCYH5iJ8EcOA.png" /></figure><p>We see a lot of tweets, each tweet has a question, so we scroll down to see the first question, and here it is</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/739/1*sEeStF3MuuYNtb708_4xlg.png" /></figure><p>When asked, he says that he loves this song and wants to remember the word that baseet says. We have information that it was 13 years ago and we have a picture of the song.</p><p>Well, the first thing we do is search the official SpongeBob channel on YouTube because the song is definitely there, and we put the date from the oldest. We see this song, which is the oldest song on the channel, so we go to it to see if there is the same scene as in the picture or not.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/350/1*lto1Fax6GOFqnXzJ18MVHA.png" /></figure><p>From the first moment we see the similarity between the video and the picture in the question, so we are in the correct video.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/849/1*rbG5j96IzkgszS7DkRnsYQ.png" /></figure><p>We pass the video and hear or do the caption for us the word that baseet was repeating, and yes it is <strong>Road.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/837/1*BbN_xcs0FYdvSqLX2plcVA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/359/1*84qreUVS3RTDnhbKJI9sSg.png" /></figure><p>And here we have taken the first part of the <strong>FLAG.</strong></p><p>Let’s move on to the second question. He says that he wants the time the shop opens so that he can come back and visit it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/669/1*mRbL9mVP12-RL-wVmekTgA.png" /></figure><p>Well we have like hint here because he says that he liked the store because it has nice toys or because of its name and since the person is a SpongeBob fan and from the obvious name of the store that it is SpongeBob.</p><p>So we search for the name SpongeBob in Google Maps, and we find that this is the only result in the search, which is the same store shown in the picture, and we enter the opening and closing times, and here we are, it opens at <strong>10 AM</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/502/1*aHDoh70QtnpTT5LnMeDkNA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/374/1*6njcMZVoPXpHMgfpJ41zHw.png" /></figure><p>That’s right, let’s move on to the next question.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/245/1*Mpd7fXaujkVuDFCFBG2mog.png" /></figure><p>Okay, for the second question, we have a picture of SpongeBob taking a selfie in a cafe near Al al-Bayt University. He wants to remember the name of this cafe, so we search for all the cafes near Al al-Bayt University.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/664/1*scOcz7C7z0DKLToyzX8UWQ.png" /></figure><p>After a lot of searching, we see the cafe that has the same location as SpongeBob’s photoshoot, and its name is : <strong>Turkish coffee.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4ujifPXEeMZ5oS1lT8s5sA.png" /></figure><p>And here we are, another part of the <strong>FLAG</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/253/1*VtSbrFxR7_wIBNxppaJ20w.png" /></figure><p>Moving on the next question, which says that he watched the episode “Sleepy Time” and wants the name of the fifirst on-line editor credited in the Editorial Department.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/668/1*ff7Yi6td_1Fqlb82E-tPgg.png" /></figure><p>We search for the name of the episode and watch the well-known and famous site for rating films and series, which displays all the details of the work.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/926/1*ESuubllZydolE8uBd_hc9w.png" /></figure><p>We enter it and go down little and click on <strong>All casr &amp; crew.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*T8Ffl8uGvL9r7lCyr5yMjg.png" /></figure><p>We are looking for the section of the <strong>Editorial Department</strong>, and we search for the first name in <strong>ON-LINE EDITOR </strong>And he is <strong>Dan Aguilar</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DvOGXH4A-xjnOcdaJzw4ow.png" /></figure><p>And here we are, another part of the <strong>FLAG</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/243/1*g12So25Ym8sc80pqdQqSNA.png" /></figure><p>The last question is only available on netcat and the question is what is the second most reviewed work that Dan has been involved in in the same field?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/729/1*sEnpGWtezi7-4T64KmUp1A.png" /></figure><p>Okay, from the same site we are on, we click on Dan’s name and click on filter for works and select the same field which is Editorial Department and select all works except episodes because he does not want to evaluate a single episode, he wants the entire work</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SOp_YPeSc__5XHdlsCFbeg.png" /></figure><p>And here is the second most highly rated work with a rating of <strong>8.8</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vaejmdpA0N24D0paG9RRFw.png" /></figure><p>Finally they got all the parts of the flag, and it is clear that they are encrypted with <strong>base64 encryption</strong>. We encrypt them all nd here is the final flag.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5YAmyQ2JZaNKutO_m1yMTg.png" /></figure><pre><strong>FLAG : 4hats{5p0nG3_L0v3s_R@y4n_and_&quot;_05!nt}</strong></pre><h3>Challenge idea</h3><p>The challenge begins with a simple connection to a Netcat service, where the player receives their very first clue. From this small piece of information, they are pushed to look deeper and eventually stumble upon a Twitter account. The account contains subtle hints that, when pieced together, lead them toward something more concrete.Following the trail, the player is directed to Google Maps, where hidden locations and coordinates unlock another layer of the puzzle. With each step, Google Search becomes a key tool for pivoting between terms, people, and places until a new clue emerges. Eventually, the trail takes the player into YouTube, where carefully placed content inside a video holds the final secret.By connecting these fragments across platforms and thinking like an investigator, the player slowly reconstructs the path. Only by completing the full chain do they uncover the hidden flag.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aa8bae965ea1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Whispers in the Wind — OSINT]]></title>
            <link>https://realfiras.medium.com/whispers-in-the-wind-osint-c1db58eb6149?source=rss-3cd8a180dfa7------2</link>
            <guid isPermaLink="false">https://medium.com/p/c1db58eb6149</guid>
            <dc:creator><![CDATA[Firas Mahmoud]]></dc:creator>
            <pubDate>Sun, 10 Aug 2025 19:34:03 GMT</pubDate>
            <atom:updated>2025-08-11T12:35:39.822Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Whispers in the Wind — OSINT</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GfBtWm4blQ3UW5gsggEBHA.png" /></figure><h3><strong>4hatsCTF — AABU</strong></h3><p><strong>Category:</strong> OSINT</p><h3><strong>Challenge Description</strong></h3><p>For years, YarasalemJamal, a Jordanian researcher interested in wind turbine technology, shared her field notes, sketches, and photos across various platforms. Her updates painted a picture of a dedicated scientist, quietly documenting her work. Then, without warning, she disappeared. We speculate that her research may have fallen into the hands of a foreign entity, which is also the reason for her disappearance. In her last days online, fragments of a private exchange hinted at a secret she had been discussing a secret that may have been leaked through unusual data transfers, traces of which might still be found.</p><h3>Challenge Solution</h3><p>By using <a href="https://www.idcrawl.com/"><strong>https://www.idcrawl.com</strong></a> to perform a social media hunt for the username <strong>YarasalemJamal</strong>, we discovered an account on <strong>Instagram</strong>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/931/1*pwOOlfPEkAWN6uONzj6Vsg.png" /></figure><p>We go to the account and see the bio that she is a Jordanian researcher, meaning we are on the right track. Then we notice that there are five posts on her account. We searched all the posts for any evidence, trace, or account that we could benefit from, and we noticed in one of the posts a picture of an office with books written on it <strong>Ventus march — Index YSJ-8491</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/836/1*pPZ3bqK4CieqyWoqzVEPyw.png" /></figure><p>By using <strong>Sherlock</strong> to search for this name we discovered an account on <strong>Medium. </strong>Since what is written on the book is <strong>Index YSJ-8491</strong> after the name, this means that it is like a book on tools and techniques analysis or a book on technical explanations, and these are the uses of <strong>Medium</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/603/1*VJWbWGmusb9xHsvW0gjgLw.png" /></figure><p>OR USE <a href="https://www.idcrawl.com/">https://www.idcrawl.com</a> you will see same <strong>Medium</strong> account</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/928/1*IlfkpsVtBbqv66dLLMB6-Q.png" /></figure><p>When we enter the link, it takes us to this page here.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*f11d1OeJsq5qFVswL-A23A.png" /></figure><p>We see the person talking about an archive of drawings, sketches, and notes from multiple sites in Jordan, with some notes still in draft form and an active contact link, meaning the account written below still exists.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1007/1*8IUqbN5uP6PsfK47nUh3fw.png" /></figure><p>Again we have a contact account we use <a href="https://www.idcrawl.com/"><strong>https://www.idcrawl.com</strong></a> to show all social media for username <strong>ysj_research, </strong>Yes, we found <strong>Yara’s Twitter</strong> account. Let’s go to it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/927/1*9sMVhHGIh30cFHw-JSd8Bw.png" /></figure><p>When we enter the account, we find three tweets, but there is something striking in one of these tweets, which is the only tweet that has a comment. Let’s see who it is.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/378/1*Jif79Dlyz6KKi7Hp0vqlSA.png" /></figure><p>Yara’s tweet illustrates that some collaborations aren’t worth the risk. She may have been with a company, but it was a bad experience, or they broke their promises to her. An account called <strong>AeroFalcon</strong> responded by saying she should have kept quiet, as they were likely a company official who asked her to stay quiet, but she refused. Her response suggests that she wants to get rid of them because they are after her to steal her research Or something that defines her life.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/742/1*1irOiyWl1K7KB2mRU-Es_g.png" /></figure><p>We are curious so we will go to the <strong>AeroFalcon</strong> account and see if there is any important information that will lead us to the company name, There’s almost nothing remarkable about his account, but wait, I expect there’s something in the profile picture!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*UpTvRrwnOGyez4Bx337PNA.png" /></figure><p>When we zoom in on the image, we see that there is a link on the laptop, which is <a href="http://pastebin.com/jeH6vSaY"><strong>pastebin.com/jeH6vSaY</strong></a><strong> . </strong>We find that there is a conversation between Yara and Aero indicating that she was informed that the draft was safe, but it clearly wasn’t. As a result, she requested that her name or initials not be associated with any folders on the hub, But he says her draft are still on the hub and there is a name after that</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/749/1*2VP8OtxPPJsTnLewmGRgqg.png" /></figure><p>Let’s search for the existing account and see what appears to us, oh there is something interesting, the <strong>github</strong> account, it is possible that the contracts and conversations are here.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/922/1*3P41D8kGUpIxt2rlwCXTrg.png" /></figure><p>When we enter the account, we see that there are two repositories, and in the bio it is written data and experimental drafts” meaning that the probability of Yara’s data being here is high or may be certain.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lECvpiVgoi3gZf6jmaAGDw.png" /></figure><p>We go to the <strong>WindDataHub</strong> repositories, then to the <strong>README.MD</strong> file. We see that it is a writer -&gt; Check the file called <strong>/docs</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*edEykhMPw0Zh4-KQGnuEbg.png" /></figure><p>We go back a little to the same <strong>WindDataHub</strong> folder and we see a file named <strong>/docs </strong>and<strong> </strong>open it, We see that there is a <strong>Text file</strong> and a <strong>PDF file</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*y7jAFBEmSM3EojWL1WkvwQ.png" /></figure><p>Let’s try to enter the file named <strong>placeholder.txt,</strong> oh he’s empty</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l5RnVe5PB-Bp0VulYnslOw.png" /></figure><p>No problem, enter the second file named <strong>contract.pdf</strong> and then download it, but we discover that it is protected with a password!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RGv2jFLV0ha1K8TPRqo49w.png" /></figure><p>Okay, let’s keep this file for a while. We need a password. The question was described earlier as a secret that may have leaked through unusual data transfers, and traces of it may still exist. The password is likely present in these conversations, so let’s move on to the second repository file, called <strong>SignalLogs</strong>,<strong> </strong>We see an eye-catching file here called <strong>capture.zip</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0NxYVJBz-V_xuegwPA2YIw.png" /></figure><p>We download the file, unzip it and We found a .pcap file containing numerous packets captured between local ports 52300 and 2121 over the <strong>TCP</strong> protocol. We opened it in <strong>Wireshark</strong> to inspect and analyze these packets, and upon reading the captured conversations, we discovered a password that had been transmitted in plain text within one of the messages, <strong>PASS= AeroWind2025</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*68j3vc4nCPSNrwkfHRNofw.png" /></figure><p>So this is the password we need for the <strong>PDF file</strong> that we extracted. We go to enter the password.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sLDdQO0x_VYXEPBNZfzVsg.png" /></figure><p>We see the confidentiality agreement between <strong>Yara</strong> and the <strong>company</strong>, and thus we know the name of the company.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/696/1*O0P6sbgXeRNPl6-mdtCv8A.png" /></figure><pre><strong>Flag is : 4hats{HelioCore Technologies Ltd}.</strong></pre><h3>Challenge idea</h3><p>In this challenge, the main objective is to trace the disappearance of a Jordanian wind turbine researcher by following her scattered digital trail across multiple platforms. Beginning with an open search of her name, players uncover hidden details in social media profiles, pivot through linked accounts, and analyze subtle clues embedded in images and posts. The investigation leads to technical repositories containing password-protected files and captured network traffic, where fragments of private conversations hint at a foreign company involved. Challenge elements include extracting text from images, identifying usernames across services, inspecting GitHub repositories, analyzing a PCAP file for credentials, and unlocking a protected document to reveal the hidden flag.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c1db58eb6149" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>