<?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 shozin on Medium]]></title>
        <description><![CDATA[Stories by shozin on Medium]]></description>
        <link>https://medium.com/@shozin?source=rss-26fd39604ba4------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*DzpSycq3hsdptcfYz_ytjw.jpeg</url>
            <title>Stories by shozin on Medium</title>
            <link>https://medium.com/@shozin?source=rss-26fd39604ba4------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 05:39:33 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@shozin/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[GEO INT’ing Travis Scott ]]></title>
            <link>https://shozin.medium.com/geo-inting-travis-scott-556ed0e20641?source=rss-26fd39604ba4------2</link>
            <guid isPermaLink="false">https://medium.com/p/556ed0e20641</guid>
            <category><![CDATA[geospatial]]></category>
            <category><![CDATA[challenge]]></category>
            <category><![CDATA[osint]]></category>
            <category><![CDATA[geoint]]></category>
            <category><![CDATA[travis-scott]]></category>
            <dc:creator><![CDATA[shozin]]></dc:creator>
            <pubDate>Sat, 02 Sep 2023 19:10:34 GMT</pubDate>
            <atom:updated>2023-09-02T19:10:34.340Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Who said OSINT != FUN?</strong></p><h4>&gt;&gt;&gt; Introduction</h4><p>Hey everyone, hope you guys are doing just fine! The summer is now officially over and Shozin has to go back to school, or maybe OSINT-ool would be just the word. Today I’m going to write up a GEO INT challenge that I’ve created for myself after watching Travis Scott’s new (well, it was new one month ago — i’ve been procrastinating this write up reeeeeallly hard!) music video <a href="https://www.youtube.com/watch?v=_kS7F4VpJa0">K-POP</a>. Regardless of your attitude towards american hip-hop, I would recommend watching this just for fun and also for identifying interesting locations to be found later.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iEpi9b5au5VZ-l8Ufqqv8g.jpeg" /><figcaption>hmmm, blurring the name of the shop but not everything around??? Challenge accepted!</figcaption></figure><p>That is exactly what I did, actually. I was watching the video, and I spotted this frame above, where the name of the shop is blurred, yet nothing else is blurred, not even car license plate – weird, right? So i said to myself – <em>okay Shozin, brother in Christ, you now have more than 6 months of OSINT experience, which makes you a veteran in the industry, wouldn’t it be such an noob task to geo locate this frame?</em></p><p>Long story short: <strong>NO IT WOULD NOT! 🤡</strong></p><p>But let’s be patient.</p><h4>&gt;&gt;&gt; Details, details…</h4><p>I am a man of simple habits. If i see a location to geolocate, I start with identifying as much details as I can right away, preferably 20. <a href="https://nixintel.info/osint/20-questions-quiztime-25th-november-2019/">That’s how the best of the best do it!</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3p-QTH8z0vT0xokOWVsnBQ.jpeg" /><figcaption>okay, you can use apple pencil, what is next?</figcaption></figure><p>As you can see, we can work with something, but all of those details I’ve highlighted were useless because the only thing that got my attention was the clue no. 1 — a person looking like a cop with some element of clothes/equipment looking like having a light-blue color. Man oh man, thou shall not ignore your cognitive biases…</p><p>What happened was me telling myself — <em>Oh, light-blue stuff, this is surely Argentina! I am not the one to put over-confident estimates, but that is a 100% probability!!! Okay, 95% cause i know certainty freaks you guys out…</em></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Ftenor.com%2Fembed%2F7322494&amp;display_name=Tenor&amp;url=https%3A%2F%2Ftenor.com%2Fview%2Fcertainty-zero-dark-thirty-jessica-chastain-freak-out-gif-7322494&amp;image=https%3A%2F%2Fmedia.tenor.com%2FMfIdxiyIJ5gAAAAC%2Fcertainty-zero-dark-thirty.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=tenor" width="600" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/d554b130220362379505ce7a6ad33019/href">https://medium.com/media/d554b130220362379505ce7a6ad33019/href</a></iframe><p>And I had reasons to believe those cops were from Argentina! Just check this photo out, I made it myself actually – see those light-blue jackets? Fucking A!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*djmtPkNJcx0YAyO569ySvQ.png" /><figcaption>Muuuuchachoooooos</figcaption></figure><p>I am not an overpass user, I am scared of it, so I will just omit the part where I spent two or three hours wandering around Argentina and trying to locate the spot which does not look like Argentinian at all, but light blue is light blue, right? I ended up drawing a scheme to have a better understanding of what satellite imagery of this spot would look like more or less. Did it help me? No.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oNfQHLNsxN47EuuxVJPaiw.jpeg" /><figcaption>are you sure you can use apple pencil?</figcaption></figure><p><strong>&gt;&gt;&gt; Getting there!</strong></p><p>🇫🇷-nkly speaking, I don’t like 🇫🇷-nce. First of all, they are so good in OSINT. That’s just intimidating. Second of all, every time a nice geo challenge happens, it turns out the place is in France. WTF? North Korea has some nice views too, right? So does Iran actually. Never seen Iran in GeoGuessr though.</p><p>Anyway, I decided to ask the community, and someone from LocusTX server suggested having a look at the frame that was shown to us in the video just 2 seconds before the one I was trying to geolocate.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Bkl7lG_KjvW5D9dHPjuIAQ.png" /><figcaption>Bro is blurred, but the sign is not!</figcaption></figure><p>What we see here is what seems like a similar shop sign, also yellow, also close to the edge of the building – worth checking out, right? I was so mad for not spotting this frame myself, man, I just ignored it! But it gives us a lot of information actually – we can see the black street sign which clearly says “Boulangerie” – so, some croissants are definitely involved here, that’s what I’ve suspected 🥐</p><p>But to look for Boulangerie in France is just insane — there are more of those than particles in the universe, good luck with whatever tool you use, it should not be overpass — it should be quantum-pass at least! Not helpful…</p><p>So i decided to formulate another hypothesis and validate it right away. I thought — <em>well, maybe if there are two frames in the video from allegedly the same location, maybe there is more from the same location?</em></p><p>That’s where I noticed that interesting building – which seemed interesting enough to be known by Google Lens.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*b3FeFgRoTPhv3DfCVcvxFg.jpeg" /><figcaption>reverse image me…</figcaption></figure><p>And this time I was not wrong! Turned out it was <a href="https://www.culture.gouv.fr/en/Regions/Drac-Provence-Alpes-Cote-d-Azur/Politique-et-actions-culturelles/Architecture-contemporaine-remarquable-en-Paca/Les-etudes/Marseille-ensembles-et-residences-de-la-periode-1955-1975/Ensembles-residences/Selection-des-80-ensembles-et-residences/Notices-monographiques-des-80-ensembles-et-residences-etudies/1427-Les-Rosiers"><strong>“Les Rosiers Residence”</strong> </a>in Marseille, France, a 20th century heritage of domestic architecture.</p><p>From that point the task is trivial. Okay, we got Marseille, we got Boulangerie, we got les Rosiers — easy!</p><p>Google Maps shows us the location, we change the view to satellite — and wow, what a nice “Boulangerie chez bou” do we spot there? Let’s inspect this bad boy in details!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*R117sizApIEYjK--E8glIA.png" /><figcaption>have a look at this Boulangerie chez bou in the middle of the image</figcaption></figure><p>If we look at it, we can see that the scheme i tried to draw and this Boulangerie actually are the same – just the line with trees is wider in reality, but that is just because i am such a noob in geospatial.</p><p>Let’s see Street level imagery!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*y_j8zncSQQPLxeVei28VIw.png" /><figcaption>Okay, the building is definitely familiar, and we see a part of that black Boulangerie sign in the middle right part of the screenshot</figcaption></figure><p>Finally, we open Boulangerie chez bou’s photos in Google Maps and see, that the building behind it has the same structure that our initial frame (what looks like a balcony with vertical piles) – could there be too similar buildings like that? I don’t think so… The yard in front of the boulangerie also looks good for that barbecue frame with a blurred bro — this is our spot!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mWI2RqEBqyBvUdoSCjekPw.jpeg" /><figcaption>that is a 🎯</figcaption></figure><p>Travis Scott did not ask, but we got the flag!</p><p><strong>🚩: 43.322354999160794, 5.3864634772980935</strong></p><p><strong>&gt;&gt;&gt; Conclusions</strong></p><p>This is another challenge, where I was stuck because of my own cognitive biases (confirmation bias – I just wanted it to be Argentina and would not accept the details that implied other locations) and got the correct answer after a short brainstorm from the community.</p><p>Creating a challenge yourself for yourself just to test yourself is fun. Realizing that you are stupid is not. Realizing that you are a stupid shozin almost kills you. That’s life 🥷🏼</p><p>Finally publishing the much-procrastinated write up feels amazing! Totally worth spending a couple of hours on Saturday for that. I feel relieved.</p><p>Thank you so much for reading that, I hope it was fun – I would appreciate any feedback and good luck in your OSINT/GEOINT endeavors!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=556ed0e20641" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[predicta lab / ctf  writeup]]></title>
            <link>https://shozin.medium.com/predicta-lab-ctf-writeup-1ba678d7cac3?source=rss-26fd39604ba4------2</link>
            <guid isPermaLink="false">https://medium.com/p/1ba678d7cac3</guid>
            <category><![CDATA[ctf]]></category>
            <category><![CDATA[osint-tool]]></category>
            <category><![CDATA[ctf-walkthrough]]></category>
            <category><![CDATA[ctf-writeup]]></category>
            <category><![CDATA[osint]]></category>
            <dc:creator><![CDATA[shozin]]></dc:creator>
            <pubDate>Tue, 20 Jun 2023 17:24:55 GMT</pubDate>
            <atom:updated>2023-06-22T21:55:37.755Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*kOrEol_X5Rb-DU6BTjdtIg.jpeg" /><figcaption>ohh yeah you are about to have a lot of fun!</figcaption></figure><h3>&gt;&gt;&gt; Part 0. Intro and disclaimers</h3><p>This is my writeup of Predicta Lab’s first CTF that will be online for a year, so if you are interested in testing your OSINT skills a la francaise, I would definitely encourage you to close this text and <a href="https://ctf.predictalab.fr/&#39;">check out their CTF here</a>!</p><p>Before diving into the challenges themselves I want to admit that I would never be able to finish without advice/help/collaboration of other fellow OSINTers from <strong>Hacktoria</strong> and <strong>OZINT</strong> discord channels. So props to everyone who has contributed to my result: Tungst, Degun, Hoxed, nemesisalm, carcosa — i appreciate your help a lot! And lots of love and respect to <strong>souf6x</strong> who almost became my teammate for this challenge and helped me burn only 95% of my eyesight, otherwise i would end up completely blind lol</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tBMItzEvxUhLjZV5kPO2gg.png" /><figcaption>shozin enters top 10 but looses job, friends, social life and eyesight</figcaption></figure><p>So i finished this CTF on 9th position out of 672 [as of June 20, 2023] players and scored 5001 points out of 5001 possible 😎 Those are just points though, I can’t stress enough that this is not my sole victory, far from that. But I learned a lot and definitely did better than previous CTFs which is a very good sign I am making some progress with my OSINT/investigative skills, that’s nice to observe. At the same time, clearly a lot to work on and learn, but that’s what makes this so interesting – there is always more! With all that in mind, let’s move on and see what we had to deal with here!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/556/1*KT2ieeknTbtZMMEAl-AvSA.png" /><figcaption>precision is my second name, you can call it magic, i call it skill. waiting for that “one shot one kill” award 🏆</figcaption></figure><p>Another disclaimer, I will post the challenge and the flag right after it, and only then the solution for the sake of readability. The flags have been posted as images so that they are not indexed when other people complete the CTF. Also the title of each section will contain the total amount of points that one can score for getting all the flags of that section; and accordingly the title of each challenge — the amount of points for that challenge. <strong>Don’t forget to check out the last section of this write up where i list all tools and sources used during the CTF!</strong></p><p>Oh, and one more thing – if you come from 2024 and think about doing this CTF and you don’t speak French – well, i have to admit it is totally doable, but will be a loooot harder and will take more time since everything is in French. So some realistic advice in that regard: go back in time and spend maybe two-three years studying French so that you won’t need to translate every word from that CTF.</p><h3>&gt;&gt;&gt; Part 1. Réinformation Lucide [1501]</h3><h4>&gt; Introduction / 1</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/674/1*2BdB4jezB-tt17Mmg__NHQ.png" /></figure><p>Here we learn that our job is doing OSINT for <em>Direction Générale de la Sécurité Toulousaine</em> and we’re examining an online community called <em>Réinformation Lucide [RL] </em>known for its disinformation campaigns and conspiracy theories. We don’t need to do anything, just copy past the flad and move on.</p><h4>&gt; Slogan / 100</h4><p><em>❓ What is the slogan of Reinformation Lucide? Format du flag : PLAB{La phrase slogan}</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6T6Q_axGLfgfZz2ENukdvg.png" /></figure><p>Well, let’s just use search engines one by one, only to find <strong>bing</strong> getting us to <a href="https://www.facebook.com/people/R%C3%A9information-Lucide/100093226036700/">Reinformation Lucide community on facebook</a> which welcomes us with a slogan: <em>{Bienvenue dans l’univers des révélations profondes}</em>. Easy money!</p><h4>&gt; Pseudonyme / 100</h4><p>❓<em> Someone called Gabriel Rochefort seemes to be very interested by the content of RL, we need to find his nickname from social media. Format du flag : PLAB{Pseudonyme}</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/776/1*Mdh74k3UwM9PYggfhfB47g.png" /></figure><p>We got the name: Gabriel Rochefort. To find the nickname I decided to use the tool <a href="https://lullar-com-3.appspot.com/en"><strong>Lullar</strong></a><strong> </strong>from the “user name” section of this <a href="https://start.me/p/b5Aow7/asint_collection"><strong>ASINT collection</strong></a>, it can take name surname as input and come out with queries for every social media platform possible, a kind of meta-searcher.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/881/1*PpbEPqypCTsPDijt_V1fxQ.png" /><figcaption>even though the temptation to start with onlyfans was strong, i made a strategic decision to work from the top of the list</figcaption></figure><p>Spokeo gave nothing, tiktok too, youtube nothing, facebook came up with a <a href="https://www.facebook.com/profile.php?id=100092868355297">Gabriel Rochefort</a> who is definitely our guy because he reposted some RL content, noted for later but not what we look for here, but twitter came up with <a href="https://twitter.com/BeethovenLeCrac">a very interesting profile on the top position</a> which also makes it clear this is the guy we were looking for! A very good indicator that we are on a right path is that content was published only recently — i don’t know if it is a bag or a feature, but really simplified the search, since it’s clear that someone registered in 2013 and tweeting in 2020 for the last time is probably out of the scope for us, while someone who has posted four times and all of them, say, on June 12, 2023 is clearly a fake account created for the CTF. In <a href="https://shozin.medium.com/projet-fox-ec-2-reedition-writeup-89af97a6302c"><strong>Projet Fox’s CTF</strong></a> some content was published several months ago, like in January, which made it more difficult to search. Anyway we get the nickname <em>@BeethovenLeCrac</em> and this is our flag!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/613/1*t9jJdGpTxGF0YttB09HR_A.png" /><figcaption>joined June 2023 — not suspicious at all!</figcaption></figure><h4>&gt; Association / 200</h4><p>❓<em>We’ve confirmed that GR is an administrator of RL, but it seems he is getting his orders from another group. We need to find their public facade. Format du flag : PLAB{</em><a href="https://site.fr/%7D/"><em>https://site.fr}</em></a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BnXxO8vtkPMENvqYvdfjKg.png" /></figure><p>I actually started with Geolocation challenge first, but got stacked [will dive into that later], so this one was resolved earlier. First i studied the twitter account we got, but nothing interesting, Elon Musk, old barbie, well, you could do better Gabriel, you could do better… That’s when we were brainstorming the Geolocation with souf6x and he mentioned fb, so i remembered about that Gabriel Rochefort profile Lullar helped us find. We go there and <a href="https://www.facebook.com/100092868355297/videos/1997786017235511">find a video</a>, at the end of which we spot some post-it stickers on the monitor with a url written on them. +200 points go to shozin 🥷🏼</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MqAdQ0QdVmVxGgxK8FmRgw.png" /><figcaption>is it me or this guy is really into EM?</figcaption></figure><h4>&gt; Acolyte / 400</h4><p><em>❓ Our sources let us know that there is a second person hiding behind RL. We need to find his alias. Format du flag : PLAB{Son Alias}</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/686/1*WcxPcViLLYqpaKPC14uFOQ.png" /></figure><p>Attention, this is where eyesight games come into play. Don’t try this at home! We were still discussing Geo challenge with souf6x when he encouraged me to use my eyes better for this challenge [he has already solved it by the time i got to it]. Okay, easier said than done, my parents also told me to use my brain better in life, look where i am now!</p><p>First i thought that the alias is the name from the picture i used at the top of this write up [Giova]. Maybe that emoji 😉 made me believe that. Did not work. Hmm, what else? I spotted another sequence of symbols on a fb page of RL which looked a lot like a potential lead:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sKIq5Nbyd58YNUo8Pe5ikw.png" /><figcaption>gmxz production?</figcaption></figure><p>That is clearly something, but nothing worked, GMIXZPRODUCTION was not the flag, nor was it GMIX/PRODCTION7. But when i was desperately using my eyes to distinguish those symbols, I’ve spotted another place of this picture, where something seemed like a hidden sequence of symbols, too. I downloaded the pic and edited it a little bit, and here is what it revealed:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/699/1*xqQqLX0opk1FDjOXIG1daA.jpeg" /><figcaption>see anything in the top right corner under “THINK”? well, you better do</figcaption></figure><p><em>Fred Le Cuistot!</em> souf6x used a better tool for this called <a href="https://stegonline.georgeom.net/image"><strong>stegonline</strong></a>, which clearly shows this name in LSB half mode. One more tool for our OSINT toolbox!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/735/1*aWP1IWggkg_iWNj9LtuCkg.png" /><figcaption>LSB half mode in stegonline tool</figcaption></figure><h4>&gt; Chronolocalisation / 400</h4><p>❓ <em>We are focused on the photos of RL more than reposted images, since the photos are most likely to have been made by group administrators. So we need to find the date and hour [in the interval of one hour] </em><a href="https://www.facebook.com/photo/?fbid=113605025090365&amp;set=a.109449912172543"><em>of the photo here</em></a><em>. Format du flag : PLAB{jj/mm/aaaa;11:00–12:00}</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/786/1*QZ1MvZC2eNvdTusbi52llg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*INH89EgfOf5V25yHeZkzJQ.jpeg" /><figcaption>the photo in case you don’t know how to open a fb link</figcaption></figure><p>First i remembered visiting Palais Royal in 2014, when the building of Comedie Francaise was on renovation and thus covered with white construction paper or whatever. Hmm, i thought, this is how we can find the date! We need to reverse engineer the surroundings of this photo! But then souf6x suggested that i should maybe try to use my eyes AND my brain at the same time, so i’ve looked at the post and the capture again and understood that the answer is already there:</p><blockquote>Si vous passez dans le centre de Paris <strong>comme je l’ai fait il y a trois jour</strong> vous pourrez observer cette fameuse installation “artistique”. Mais connaissez-vous sa Véritable histoire ? <br>Au XVIIIe siècle, un groupe secret influent, les Illuminati, ont infiltré les cercles artistiques parisiens. Ils ont collaboré (et le mot est bien choisi) avec des artistes de renom pour disséminer des messages codés à travers leurs œuvres d’art.</blockquote><p>So the picture was posted on June 9, and the author was there three days ago, this gives us the date: <strong>06/06/2023</strong>. To identify the hour i used suncalc, but ended up just trying several answers since 21:00–22:00 did not fit and i thought this is what seems like it based on suncalc pic. So i kept going down from that and got the flag at 18–19h interval.</p><p>Here i need to make a critical remark that this and several other flags would be impossible to get if the number of attempts was limited, like in Projet Fox’s CTF. We’ll have another example later, but this is what makes me say this results is definitely not completely mine – we should give the correct answer from the first attempt, not 50th!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3WJq7XIpSwNkeNq3MNg--w.png" /><figcaption>looked like 21:00 for me but not for the flag</figcaption></figure><h4>&gt; Geolocalisation / 300</h4><p>Before we continue I need to admit that this was one of two challenges in this CTF which made me literally feel pain. A. lot. of. pain.</p><p>❓<em>The same legend here, we are </em><a href="https://www.facebook.com/photo/?fbid=110341222083412&amp;set=pb.100093226036700.-2207520000"><em>focused on a photo</em></a><em> because it could have been made by RL admins. We area asked to find GPS coordinates of the place from where the photo was made. Format du flag: PLAB{11.1111,0.0000}</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/790/1*7bmZeAajhrQlwR9XCjiNjA.png" /></figure><p>Okay, we have a photo, let’s examine it for potential keys, leads and details:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IfK6QZzUTViEAGejI4dkpg.jpeg" /><figcaption>night geo location, hmmmm</figcaption></figure><p>First things first, we run it directly through four reverse image platforms: <strong>TinEye</strong>, <strong>Yandex Images</strong>, <strong>Google Images</strong> and <strong>Bing Images.</strong> It seemed like Paris at first, but then it became obvious that this is Lyon, not Paris. Google Earth view confirmed this, we can validate it by the bridge on the left which goes directly into a building, quite unusual road configuration.</p><p>To establish the angle of the photo i tried to a) first find those three bridges we see here [points 1,2,3 on the screenshot below] and b) draw lines [4 and 5 on the screenshot below] based on how we see those bridges and buildinga close to them — we see only one building to the lefr of the left bridge and only one building to the right of the right bridge. That made me draw a conclusion, that got confirmed by looking at photos online, that the only spot with such an angle could be <strong>Tour Metallique de Fourviere</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YhdkoZRwVQnYuytw5IdDrQ.png" /><figcaption>easy money? ah ah not too fast</figcaption></figure><p>All this search and validation process took me maybe 30 minutes. Next three hours i’ve spent trying to get the flag with right coordinates. Only four digits needed, which means 10m precision, okay, should i round those digits from full coordinates or shoud i just put first four? Why Tour de Fourviere’s coordinates don’t work? Maybe it is not Tour de Fourviere, but the building next to it? Maybe the cathedral? Maybe some freaking point in the middle of the park, a little bit lower than the Tour but still higher than all those building in front of the river? Whyyyy is this so hard? I’ve tried maybe 40–50 different coordinates, just by changing the last digit of the lattitude and longitude one by one and inputting them. Nothing worked.</p><p>Another problem was by the time I was solving this challenge all other available ones were solved [even Acolyte 2 from the next chapter], so I could not move on, it was blocking me. souf6x experienced the same problem, not being able to get the flag even though he correctly located the spot too. At some point sof6x managed to get the flag, and it turned out it was close to the Tour Metallique de Fourviere after all. I was correct from the very beginning! And yet for some reason I did not get the flag with Tour’s coordinates. This challenge made me very angry, because I got the right answer, and spent a loooooot of time on just formatting it for the flag. Anyway, we finally got it and completed first chapter! Nice</p><h3>&gt;&gt;&gt; Part 2. Le Revers du Médaillon [500]</h3><h4>&gt; Acolyte 2 / 200</h4><p>❓ <em>We need to find who is hiding behind le Revers du Medaillon webpage that we found in Association challenge. Flag format : PLAB{Prénom_Nom}</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/898/1*OpQ9cStSHi69PwobtgwQyQ.png" /></figure><p>That one was quite easy. I opened the source code of the page: <a href="https://lereversdumedaillon.wordpress.com/about/">https://lereversdumedaillon.wordpress.com/about/</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*suJdtx55RXOkFD7_KGFVaw.png" /></figure><p>And saw that there is another url <a href="https://lereversdumedaillon.wordpress.com/about/coucou/">https://lereversdumedaillon.wordpress.com/about/coucou/</a>, however it leads to a page with a word “coucou”, does not make sense.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GsjXst8X6-P1aRJaD0IhPQ.png" /><figcaption>coucou… i guess</figcaption></figure><p>Then i examined the source code again and discovered that there is .png file located at <a href="https://lereversdumedaillon.files.wordpress.com/2023/06/coucou.png">https://lereversdumedaillon.files.wordpress.com/2023/06/coucou.png</a>. This one actually comes earlier in the source code than <strong>/about/coucou</strong> url above [line 132 vs line 596]:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BDa12pBjol6RGmuV4uMmFg.png" /><figcaption>definitely coucou ☺️</figcaption></figure><p>so it is strange i did not see it first, but it is what it is. This link leads us to a photo with a gmail address <strong>russkiyalmaz@gmail.com</strong>, and this is when i got my Projet Fox’s CTF flashbacks and understood French people really enjoy putting Russians everywhere, but I guess the only one to blame for that putting is Putin, things get a little bit political here, and i am only shozin who is trying to get the 🚩. So I run this address in <strong>EPIEOS</strong> tool [about which I learned during Projet Fox CTF actually] and get the name Anastasija Kolesnikov for our flag. Pretty straightforward and easy challenge</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/590/1*eDNrsm5ySQQgnQLsME3sEg.jpeg" /><figcaption>seems like he also tried to find flags for “Geolocalisation” and “Operation”</figcaption></figure><h4>&gt; Operation / 300</h4><p>Remember I told you there were two challenges when i felt pain? This is the second one. It hurts, also #itisnotosint. Let’s see why</p><p>❓ <em>We confirmed that RL cooperates with Revers du Medaillon and they seem to be preparing an attack. We need to find out what is that about. Format du flag: PLAB{</em><a href="https://youtu.be/aaaaaaaaaaa/%7D"><em>https://youtu.be/aaaaaaaaaaa/}</em></a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EyVN-VQnBloNXpDbUWcLow.png" /></figure><p>First of all, that’s exactly my emotions during this challenge — aaaaaaaaaaaaaaaaaaaa. No. It was actually</p><p>AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA</p><p>So when i discovered the twitter @beethovenlecrac i used an amazing tool <strong>whatsmyname.app </strong>that Rae Baker mentions in her amazing book <strong>“Deep Dive: Exploring the Real-World Value of OSINT” </strong>to find the <a href="https://www.snapchat.com/add/beethovenlecrac">snapchat with the same nickname</a>. It had only one video and it was clearly seen that the url of a youtube tab is wrapped in PLAB flag. What could be easier, right? Yeah right. This huge emoji you see below moves, but never enough to uncover the whole url!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/858/1*8PffS6MkKpbOWdSBH46nXA.png" /><figcaption>so close and yet so far…</figcaption></figure><p>Long story short, all possible filters applied, several people from Hacktoria bothered, long discussions and brainstorms with souf6x held, <strong>#thisisnotosint</strong> shouted million times, the amount of possible permutations to bruteforce a youtube link counted [if you are curious, 64¹¹ — which amounts to 7,378697629484e19 if you don’t know any symbols of it — and 64⁵ if you already know 6 of them — which is still like one billion possible combinations 🤡]</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Odo0LJHrvaCzno2IaRPK3g.png" /><figcaption>this is what i see in my dreams for the last 5 days, and what do you dream of?</figcaption></figure><p>What can I say, I have suspected that some kind of cryptonite exists for shozin, too, I just had no idea I would find it on a French CTF. This challenge almost killed me. Maybe I am blind, but no one of three people I have asked for help was able to get this url neither. Guys, I am sorry for spending your time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ejG0293xrK-67RBxJtqq1Q.png" /><figcaption>if someone asks you to show them how PAIN looks like, just show them this pic</figcaption></figure><p>How did I get this flag after all, you might ask? <strong>Well, someone just told me the answer.</strong> And you know what, this is the only flag that I did not get myself I don’t actually feel guilty about. Even after I got the flag I tried to reverse engineer it and I realised I could not see it there anyway. Just impossible for me 🤷🏼‍♂️ And what killed me the most was seeing a lot of players take hints for easy challenges like Acolyte / Acolyte 2 etc, and <strong>THEN GET THIS ONE WITHOUT ANY HINT B*TCH WHAAAAAAAT HOW IS THAT SUPPOSED TO WORK???</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3KL4Q-wx07yNQcAdW6TOzQ.png" /><figcaption>if someone asks you to show them how PAIN looks like, just show them this pic v.2.0</figcaption></figure><p>Anyway this was the last flag of part 2 and even though I was already dead inside after getting it, we needed to move on…</p><h3>&gt;&gt;&gt; Part 3. Opération spéciale [2700]</h3><p>This is the final chapter of this CTF and things went more or less smothless with this one</p><h4>&gt; Annonce / 300</h4><p>❓<em>We need to find the webpage where the operation will be announced to RL’s partisans. Format du flag : PLAB{</em><a href="http://site/%7D"><em>http://site/}</em></a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/962/1*cX0mFjg0VFGi8ORWC9Xofw.png" /></figure><p>This webpage was discovered by souf6x looong before we solved “Operation” one, and I also managed to find it, so this flag was just sitting there already, waiting for its moment to come. And it came. From a public calendar of that Anastasija I found earlier using EPIEOS. There was an event in 2024 from August 1 to August 8 that had this webpage in comments to the event. I found it manually, he used <strong>ghunt</strong> tool for that.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TqK1OSwShKiavZmkUDTupw.png" /></figure><h4>&gt; Cible / 600</h4><p>❓ <em>For the final stage we need to find the target of the operation. Format du flag : PLAB{Nom du lieu}</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/886/1*gxJTVGAmSimNRKvP57Uknw.png" /></figure><p>Even though this challenge is probably supposed to be the last one in this CTF, I solved it earlier than others. When we try to access the IP with a Port from previous challenge we just see that the site is under construction. Okay, let’s check the wayback machine. It actually has one capture from June 9 and this capture shows us the operation brief and a photo of the target.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1SVrD9HKObS2aaXcMm2Khw.jpeg" /><figcaption>this is our target</figcaption></figure><p>Okay, another geo challenge, hopefully this time it is not coordinates. First thing I did is cleaned the pic from the arrow and target using <a href="https://cleanup.pictures/"><strong>cleanup pictures tool</strong></a>, and then the same geo challenge routine [TinEye, Yandex, Google, Bing], but this time with one more nice tool — <a href="https://labs.tib.eu/geoestimation/"><strong>geoestimation</strong></a>. Sometimes it provides good leads or quite accurate guess about the location of the photo. Search engines returned too many typical French buildings and were thus not useful, but estimator showed three options</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EIc4RsF7-OrWjvggwKlTzA.png" /><figcaption>our leads</figcaption></figure><p>One of them was in the UK — clearly not the case. Another two were Bordeaux and Paris. I quickly checked the spot in Bordeaux and it turned out it is not the case, so i decided to work on the assumption that we are looking at a buildin in Paris here. This is what we know from the photo:</p><ul><li>There is one road going into another one;</li><li>There is smaller building in front of us and a higher one on the right;</li><li>There seems to be a kind of bicycle parking spot in the corner of the street;</li><li>The building on the right has two numbers: 92 and then 94, and also a street sign which makes it clear the format is “RUE DE ….” not AVENUE for example;</li><li>There are 3 CCTV cameras on the smaller building and that’s just what we see — probably a governmental building?</li></ul><p>So far so good, i decided to run a google search with a dork like that <strong>“92 rue de * paris”</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*70XPBPcCbcUChYayMXxZZA.png" /><figcaption>station velib you say?</figcaption></figure><p>And it seems there is a bicycle parking at 92 rue de Lille in Paris. We check it out in google maps and validate this is the spot. We look at the building which is the target and see the name of Assemblee nationale. Thanks god no coordinates needed so c’est flag easily 🥷🏼</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GCpAzuxIJrwMk_5MSrJlzg.png" /><figcaption>validation of the address</figcaption></figure><h4>&gt; Rendez vous / 600</h4><p>❓ <em>We now know two groups are preparing an attack, so we need to find where and when. Format du flag : PLAB{jj/mm/aa,h:mm}</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/982/1*NxlATJ44JiB8lrF5K6nUZQ.png" /></figure><p>Remember the “Operation” challenge? I most definitely do and will do so for the rest of my life i think. There we got [well not “got” more like “begged for it and received”] a private youtube video, and if you play it, it sounds weird. This made me believe this is a steganography challenge similar to the one Projet Fox’s CTF had, and souf6x confirmed it, so I downloaded the mp3 in youtube and tried to build a spectrogram of it using <strong>Audacity</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EhfrKXgFnwsA9kqWHWzC8g.png" /><figcaption>spectrogram of a smoker [mine]</figcaption></figure><p>However because my hands grow not from my shoulders but probably from another spot on the body [🍑], I could not get anything useful out of it even after playing with settings and changing parameteres of the spectrogram. Then souf6x helped me a little bit and i got the flag</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/615/1*DXHNwM8byfZ-yyvPHWC-QA.png" /><figcaption>spectrogram of a healthy person [souf6x]</figcaption></figure><h4>&gt; Message / 500</h4><p>❓<em>We know what is preparing and when, but we need to confirm that 3 people preparing the attack will be there. Beethoven left a message for his partisans, we have to find it. Format du flag : PLAB{Le message}</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*v0DkPOTOoxNh1pNEqTcMWw.png" /></figure><p>I had some basic intuition we need to work with the site found earlier [ip and port], because the source code of it provided <strong>ID</strong> and <strong>PASSWORD</strong>, and also the hint to use FastApi.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wyUDap1o8wn9YKVqgN3Ffg.png" /><figcaption>le swagger? like SWAG?</figcaption></figure><p>Quick chat gpt question showed that FastApi usually can be accessed using /docs and indeed that gives us UI to make HTTP requests.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1AoqfRjhO8xH4PxJGIkBZw.png" /><figcaption>something new here</figcaption></figure><p>We need the message, so maybe what we need is to get the calendar first?</p><p>We have all the data — user ID, password and date (we found it in the previous challenge). However, just putting passwords in the way we saw them in the source code gives nothing, only a mock message from host, we did not really believe it would be easy, huh?</p><p>So we google those passwords and it turns out they were hashed using MD5 algoryther, thanks souf6x and <strong>cyberchef</strong>. The id turns out to be <strong>illuminati</strong>, the password = <strong>rex</strong>. We input those together with the date 11/08/2024 we got before and get what seems like another hash or ID.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*v5lS8hDnUSX23okRVxL-CQ.png" /><figcaption>what’s that supposed to mean?</figcaption></figure><p>But below the calendar section we also saw the event section which requires only one string as input — <strong>evenement_id</strong>. Let’s try this out. We put this string we got there et voila! We got the message! Another flag!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yStNVKh-kP3DR4-sWqHJfQ.png" /><figcaption>nice one, beethoven</figcaption></figure><h4>&gt; Evenement / 300</h4><p>❓ <em>We need to confirm that </em><strong><em>Fred LeCuistot</em></strong><em> will be in Paris on the eve of the attack. An event indicates to that and we need to find the code of the event.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/814/1*ChyL8TPYXhOdAqrFQ-mXNg.png" /></figure><p>Here we are not given the flag format for the first time, so it is not clear what code are we looking for exactly, but let’s start the search based on the information we have — the name.</p><p>We read that Fred LeCuistot will be in Paris, so maybe we need to find his account in social media just like we did with Beethoven LeCrac before. Searching gets us to instagram where Fred turns out to be a huge fan of wheightlifting and in particular of Lasha Talakjadze, a super heavyweight from Georgia.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_cSYQyDNDS1x6PQ-Dvr3fg.png" /><figcaption>tokyo 2020</figcaption></figure><p>From the capture it is obvious we are talking about Olympic Games 2024 which will take place in Paris in the exact dates of the attack. And it is clear Fred bought tickets to see his favourite athlete, a legendary weightlifter.</p><p>So we search for tickets to weightlifting event, the weight division we need is +102 kg since this is the one where Lasha competes, and we need the date on the eve of the attack. The attack is due August 11, so we are probably looking for August 10 or 9.</p><p>That leads us to the official webpage of JO 2024 and we find a PDF (<a href="https://tickets.paris2024.org/obj/media/FR-Paris2024/ticket-prices.pdf">https://tickets.paris2024.org/obj/media/FR-Paris2024/ticket-prices.pdf</a>) with tickets prices where we see that the event we are loooking for [page 90] could be medals for men’s +102 kg category.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HFda7OJQC9WnOA_b2zFULg.png" /><figcaption>and the code is there!</figcaption></figure><p>The information satisfies the criteria we’ve defined before, and we also see that there are codes for each event — so maybe this is the flag we are looking for? It is indeed! We try the standard format of <strong>PLAB{}</strong> and it works. Yay! 😎</p><h4>&gt; Train / 400</h4><p>❓<em>Sachant que le trajet de RusskiyAlmaz durera 04:08, quel sera son numéro de train ? NB : les horaires de transports seront les même en 2023 et en 2024. Format du flag : PLAB{0000}</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/816/1*VDPEy7Fn40lXPVd1PRN2EQ.png" /></figure><p>Ok, this is actually the last challenge we need to solve in this CTF! It is almost over, so if you made it to this point, you need to wait just a little bit and it will all be over!</p><p>What we have here is the trip from <strong>Point A[unknown]</strong> to <strong>Point B[Paris]</strong> and the name <strong>RusskiyAlmaz</strong> we’ve met before. Also we have the exact duration of the trip: <strong>4 hours, 8 minutes</strong>. We are also told that timetables are expected to be the same in 2024 as in 2023, so we can just search the trains from 2023.</p><p>Let’s apply the same logic as in the previous challenge and try to find social media of that person. We already know it is a woman called Anastasia from Acolyte 2, so when we find this instagram account, we confirm it is what we need (<a href="https://www.instagram.com/p/CtYf53Yo1Rd/">https://www.instagram.com/p/CtYf53Yo1Rd/</a>).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6YrPSMBpGyX2Wijsq_HpHQ.png" /><figcaption>validation</figcaption></figure><p>This post gives us a lot of valuable information, from the capture we confirm the dates (<strong>August</strong>) and the country — <strong>Switzerland</strong>. Reverse image search shows that this is <strong>Zurich</strong>.</p><p>Okay, now we know that we are looking for a train from Zurich to Paris that needs 4hours 8 minutes to get there. We open the SNCF website and find the only train that satisfies this criteria.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*H1oVe5kYt-37MIJQSCIoCA.png" /><figcaption>niiiiice</figcaption></figure><p>We proceed to selecting tickets and get the number of this train, that is the flag we were looking for! 🫡</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/549/1*fed1UFoE58zvN0G07abrrA.png" /><figcaption>feels sad to say goodbye..</figcaption></figure><p>We input this flag and this is it — <strong>we’ve completed this awesome French CTF</strong>! 🇫🇷 We got a final challenge that requires no search, but gives us 300 points:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LSPgzcmAg3uKZOyby-n56w.png" /></figure><p>and here we are <strong>at position 9 with 5001 points out of possible 5001</strong>. Feels good to be in top 10 to say the truth, even though that would not be possible without cooperation and help from other OSINTers.</p><p>Conclusion: probably this all looks easy in the write up, but actually took me almost 4 days and a lot of brain cells. <strong>Yet it was fun and as usual made me learn new things (now I can go and watch Lasha compete in Paris, too) and probably a little bit better OSINTer. </strong>Stay tuned for more writeups and check out the list of tools used in this CTF below!</p><p>Thank you for reading, I hope this writeup was somehow useful and made you smile at least one time 🙂</p><h3>&gt;&gt;&gt; Part 4. Toolbox</h3><p>The list of tools and materials used to complete this CTF.</p><p>The legend: 👤 = people OSINT, 📍 = GEO INT, ✅ = general/books, 🔐 = steganography and forensics, 🎼 = Audacity</p><ul><li>✅ <strong>ASINT</strong> collection — a list of tools for OSINT / <a href="https://start.me/p/b5Aow7/asint_collection">https://start.me/p/b5Aow7/asint_collection</a></li><li>👤 <strong>Lullar</strong> — meta searcher of usernames/ <a href="https://lullar-com-3.appspot.com/en">https://lullar-com-3.appspot.com/en</a></li><li>🔐 <strong>Stegonline</strong> — steganography for images / <a href="https://stegonline.georgeom.net/image">https://stegonline.georgeom.net/image</a></li><li>👤 <strong>EPIEOS</strong> tool — OSINT by email or phone / <a href="https://epieos.com/">https://epieos.com/</a></li><li>📍<strong>Reverse image</strong> — TinEye, Yandex Images, Google Images, Bing Images</li><li>✅ <strong>Deep Dive: Exploring the Real-World Value of OSINT by Rae Baker / </strong>just an awesome book for OSINT beginners like me</li><li>👤 <strong>GHUNT</strong> — another OSINT tool for gmail accounts, similar to EPIEOS / <a href="https://github.com/mxrch/GHunt">https://github.com/mxrch/GHunt</a></li><li>📍<strong>cleanup</strong> — a tool for removing objects from pictures / <a href="https://cleanup.pictures/">https://cleanup.pictures</a></li><li>📍<strong>Geoestimation</strong> — German website for estimating the location of a photo / <a href="https://labs.tib.eu/geoestimation/">https://labs.tib.eu/geoestimation/</a></li><li>🎼<strong>Audacity</strong> — open source audio editor / <a href="https://www.audacityteam.org/">https://www.audacityteam.org/</a></li><li>🔐 <strong>Cyberchef</strong> — a swiss knife of a cyber security and forensics / <a href="https://gchq.github.io/CyberChef/">https://gchq.github.io/CyberChef/</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1ba678d7cac3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[overthewire / bandit game lvls 0->5 writeup]]></title>
            <link>https://shozin.medium.com/overthewire-bandit-game-lvls-0-5-writeup-73315e39f2ed?source=rss-26fd39604ba4------2</link>
            <guid isPermaLink="false">https://medium.com/p/73315e39f2ed</guid>
            <category><![CDATA[ctf-writeup]]></category>
            <category><![CDATA[overthewire]]></category>
            <category><![CDATA[overthewire-writeup]]></category>
            <dc:creator><![CDATA[shozin]]></dc:creator>
            <pubDate>Fri, 12 May 2023 07:04:00 GMT</pubDate>
            <atom:updated>2023-05-12T07:04:00.976Z</atom:updated>
            <content:encoded><![CDATA[<h3>Intro to the wire</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*munF-v4K2ShCPC6T2xIs4A.png" /><figcaption>not when you study cybersec though</figcaption></figure><p>Yoo, two writeups in two days, you say go get a life, i say this is my life now. Anyway this post is a writeup of six first levels of the game <a href="https://overthewire.org/wargames/bandit/">Bandit from overthewire</a>, which is nice because a) it is for absolute beginners like shozin and b) it is supposed to teach the basics needed to be able to h̵a̵c̵k̵ ̵t̵h̵e̵ ̵N̵S̵A̵ ̵T̵A̵O̵ ̵u̵n̵i̵t̵ play other wargames. Another wonderful thing about OTW games (i am not sure myself, but the internet says so and the internet never lies) is that they often require users to do some studying on their own, so one can learn and play at the same time, need no registration/payment and can be started right away should the user be able to launch terminal and google SSH. When i started playing, turned out levels 0,1,2 and 3 were really easy even for me, maybe because i already started doing linux 101 on hackthebox, level 4 and 5 a bit more challenging. And yet i saw people on the OTW Discord server asking how to pass level 0, so i thought that writeup could be useful for someone and, as usual, a good way for detective Shozin McNaulty to internalize new knowledge to be g̵o̵o̵d̵ ̵p̵o̵l̵i̵c̵e̵ ̵t̵o̵d̵a̵y̵ good hacker tomorrow.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_DfsZrh1Pccq3hamChjZGA.png" /><figcaption>spoilers ok, but why not the solution?</figcaption></figure><p>OTW team does not want people to publish writeups for some reason, so I will try to respect that as much as possible, first of all by publishing this write up and second of all through outlining my line of reasoning rather than specific commands (even though they themselves mention what to look for in description of every level). And I will surely provide no passwords since I believe they are changed regularly anyway. As I’ve mentioned above, this post will cover levels zero to five, and then, i believe, as levels get more challenging, I will publish each two-three of them upon completion. But that is to happen in future which remains unknown for everyone, so let’s proceed to real hacking, cause that is what you’re here for.</p><p>Oh boy, I wish one day I will learn how to make my writing short.</p><h3>Zero to Five (Peter Thiel was wrong)</h3><h4>Level Zero</h4><p>Here we just need to use <a href="https://man7.org/linux/man-pages/man1/ssh.1.html">SSH</a> to log in into the game over the port 2220 of the network <strong>bandit.labs.overthewire.org</strong> with the username <strong>bandit0</strong> and the password <strong>bandit0</strong>. SSH is a nice way to log in into a remote machine for executing commands on it, sometimes it requires password, sometimes not (if you can get access to user’s private SSH keys), this particular game is based on getting the login password for the next level on the previous level.</p><p>So on level zero we just run</p><pre>ssh bandit0@bandit.labs.overthewire.org -p2220</pre><p>get prompted for the password which is not shown as we type it, as it is most often the case in CLIs to avoid over-the-shoulder spying. I really enjoy this feature, because this way the fridge behind me can never log in into services i use (such as medium) and come up with a really short writeup!</p><p>And to get to level one we need to find the password in a file called readme from the home directory. This is super easy, we run</p><pre>pwd # to find out where we are after logging in with SSH -&gt; we are at home dir<br>ls # to see what is there in home directory -&gt; only one file<br>cat readme # to see the content of the file -&gt; get the password</pre><p>Don’t forget to copy the passwords you get, because if you lose them, you will need to redo the level. Even though it can be quick, especially if you journaled every move and command you performed like every good boy should do, it is still a waste of time, and I know you have better ideas where to invest those 15 seconds. Let’s move on.</p><h4>Level One</h4><p>Here OTW team already starts testing people for brain availability, this is when my future as a bandit was really jeopardised, you can judge by the task:</p><blockquote>The password for the next level is stored in a file called — located in the home directory</blockquote><p>File called what exactly? Is it some kind of a joke? If you fail to see the link to helpful reading material titled “<em>google search for dashed filename</em>” located <a href="https://overthewire.org/wargames/bandit/bandit2.html">just two lines below the task</a>, no worries! Of course I saw it, just saying. Anyway i decided to complete the same steps and see what is inside the home directory using ls and located the file named “-”. As dash is used a lot for writing arguments in CLI commands, one way to open files like that is:</p><pre>cat ./-</pre><p>It outputs the password and we can move on to the next level.</p><h4>Level Two</h4><p>Here I almost fell in the trap of the previous level by not getting the task at first, but it quickly became obvious since I remembered something about files with spaces in filenames.</p><blockquote>The password for the next level is stored in a file called <strong>spaces in this filename</strong> located in the home directory</blockquote><p>This is also a trivial task which can be completed with single quote marks:</p><pre>cat &#39;spaces in this filename&#39;</pre><p>The password is there, we advance further.</p><h4>Level Three</h4><blockquote>The password for the next level is stored in a hidden file in the <strong>inhere</strong> directory.</blockquote><p>For some reason that i also knew, while ls command just lists normal files and directories, ls -a lists all of them, we do that, see inhere directory, move to it using cd inhere, list all files again, get to see the hidden one, run cat ./.hidden and capture another flag. So far so good, ~10% of the game done (there are 33 levels in the Bandit game).</p><h4>Level Four</h4><p>Here things start to get interesting, because being top-notch detective and decent philosopher, I tend to doubt everything:</p><blockquote>The password for the next level is stored in the only human-readable file in the <strong>inhere</strong> directory. Tip: if your terminal is messed up, try the “reset” command.</blockquote><p>But what exactly is human-readable? I am definitely a human, and i can read, even though my first OSINT challenges proved that is not always true. So what i did is moved to the inhere folder specified in the task and discovered there were ten files. Not much for me to open each of them, right?</p><p>But that is not the way. We have a hint in form of the list of commands that might come in handy for getting the password, one of the is file. When we run it on some file, it returns the type of it, which looks like this:</p><pre>file ./-file00<br>./-file00: data # &lt;- output</pre><p>So we can probably conclude this bad boy number 00 is not a human-readable one, it is data. Now we really stand at the forkroad, because we can do it shozin way and run this file command ten times on each file or we can do it shozin 2.0 way and invest two minutes in googling how to make some command run on every file in the directory. Two-minutes researches are my favourite, because they give you something like</p><pre>find . -type f -exec file {} \;</pre><p>which looks for files and then runs the file command on every file, and then returns a list of all files with respective data types. One of them happens to be ASCII and you are like aaaaah that is what human-readable is supposed to mean, okay. We cat that ASCII file real quick and get the password. Good job!</p><h4>Level Five</h4><p>The complexity of the challenge really increases here, because this time</p><blockquote>The password for the next level is stored in a file somewhere under the <strong>inhere</strong> directory and has all of the following properties: 1. human-readable and 2. 1033 bytes in size and 3. not executable</blockquote><p>Again, I had no clue what not executable means, like we do not have rights to execute it? Maybe, but the problem was inhere directory had 19, i will write it in letters, nine-fucking-teen, directories, Karl, which means shozin cannot open each of them and look for human-readable file which is not even C-level (or it would be executable, right).</p><p>However I thought that 1033 bytes of size is the most precise detail and decided to see how many files of that exact size are we going to find. With a little help from the <a href="https://man7.org/linux/man-pages/man1/find.1.html">find documentation</a> i’ve come up with</p><pre>find . type -f -size 1033c</pre><p>and it turned out only one file of all directories had this very size. I moved to that directory and opened it, got the password.</p><p>So far we’ve seen that first levels of the Bandit game can be solved with just a couple of the most basic commands, I am sure that will not be the case on later levels. Stay in touch, I will post more OTW writeups as soon as i make some progress in the game, and I promise to never end them in the middle of</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=73315e39f2ed" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[hacktoria / last flight writeup]]></title>
            <link>https://shozin.medium.com/hacktoria-last-flight-writeup-76424cf9d4c9?source=rss-26fd39604ba4------2</link>
            <guid isPermaLink="false">https://medium.com/p/76424cf9d4c9</guid>
            <category><![CDATA[hacktoria]]></category>
            <category><![CDATA[ctf-writeup]]></category>
            <category><![CDATA[writeup]]></category>
            <category><![CDATA[osint-investigation]]></category>
            <dc:creator><![CDATA[shozin]]></dc:creator>
            <pubDate>Wed, 10 May 2023 03:56:44 GMT</pubDate>
            <atom:updated>2023-05-10T05:31:18.799Z</atom:updated>
            <content:encoded><![CDATA[<h3>Intoduction + context</h3><p>Yo, this is my writeup of <a href="https://hacktoria.com/contracts/last-flight/">Hacktoria’s <strong>Last Flight</strong> contract</a> delivered by Tungst. That was a lovely AIRINT? GEOINT? contract tagged under <em>Identification</em> that got me really engaged and entertained, to the point that I forgot to eat. Also in this writeup I will slightly abuse the privileged mode of being a writer to show you how learning something new could sometimes prove really useful in OSINT challenges.</p><p>I am not a fan of re-typing the whole narrative of the challenge in the writeup, the key idea is we got a passenger aircraft that had some secret electronic device with ECCM capabilities installed on it in <strong>April 1993 </strong>in order to avoid missile and rocket targeting during the Cold War (i always thought that the Cold War ended with the collapse of Soviet Union in late 1991, but whatever), and then in the year 2000 all information about it got lost, the only piece of information we got is a photo of the plane, but without any exploitable metadata.</p><p>The task is to find the last known location of the plane as well as where the plane was during the device deployment (i.e. in April 1993).</p><p>Answer Format: country_of_deployement-icao_code_of_airport-country_of_airport</p><p>Answer example: belgium-lfou-france</p><p>Okay, now let’s have a look at the photo we got as a starting point and then move on to how i approached this challenge:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dAZMmqlAmh7gwT9dz8EMsA.jpeg" /><figcaption>the plane</figcaption></figure><h3>Part 1: finding out I am an OSINT-egist</h3><p>There is a well-known model both in American military strategy and cyber sec literature called <a href="https://en.wikipedia.org/wiki/OODA_loop">OODA loop</a>, which initially meant Orient-Observe-Decide-Act and recently <a href="https://www.nationaldefensemagazine.org/articles/2003/10/1/2003october-new-meaning-for-ooda-loop#:~:text=During%20Operation%20Iraqi%20Freedom%2C%20British,participated%20in%20the%20war%20planning.">transformed into</a> Observe-Overreact-Destroy-Apologize. Anyway, OODA loop is one of those amazing concepts that every human being uses on a daily basis sometimes being completely unaware of it (just like I did before reading about it for the first time), but when properly internalised and used consciously, it enables user to be more efficient in pursuing their goals, since deliberate descriptions and/or meditations on each stage of the loop might yield some insights and make sure the overall course of actions is headed in the right direction.</p><p>However I have recently had some abstract feeling there might exist another LOOP i am running into every time I try to deal with a CTF challenge, and looking at the photo of this aircraft finally helped bring it to the surface of my consciousness. Which, in turn, made it extremely hard to resist the temptation of believing I am at least an OSINT-egist if not a full scale cybersec-strategist (people from RAND or Palantir, if you guys are reading this, I am open to negotiations). But let me first introduce you to the new concept I’ve finally put up: <strong>PO(U)DA</strong>™<strong> loop</strong>. If you are not using PO(U)DA™, you are not doing OSINT properly. Being a bastard brother of OODA, PO(U)DA™ stands for <strong><em>Panic &lt;-&gt; Over(Under)search &lt;-&gt; Distract &lt;-&gt; Attract™</em></strong>.</p><p>Just like John Boyd wanted to help American pilots be more efficient in combat, my goal is to make other OSINTers be able to achieve my levels of efficiency when it comes to modern CTF-style combats. We will explore each stage of PO(U)DA™ later, for now just remember that the <strong>Distract</strong> stage is directed at no one but yourself, and that unlike OODA, transition from stage to stage in PO(U)DA™ is <strong>bi-directional</strong>, which means you can progress towards the end, but you can equally regress towards the start, and it is also fine, i would even say it is encouraged. Remember this, we’ll use it later!</p><h3>Part 2: first results</h3><p>With that brilliant loop now not only in my mind but on paper, it should become obvious the first thing I did after looking at this plane was pure <strong>PANIC</strong>. I am no passenger plane expert, nor am I, excusez-moi, an aircraftier, so this image gave me no quick visual clues on how would it be possible to identify the aircraft itself or the area around the plane.</p><p>So i let myself panic for some time and then moved on to the second stage of PO(U)DA™ which is <strong><em>Over(Under)search</em></strong>. The key idea here is an analyst should at all times be striving to <strong>maximize</strong> searching for everything unrelated to the challenge (Oversearch) and to <strong>minimize</strong> searching for actually relevant things (Undersearch). In respect to this particular CTF, one should, just like me, spend some time googling areas of the Earth where it might occasionally snow. Or read about the Cold War and what spy operations did both sides conduct during almost fifty years of rivalry between the Western and the Eastern bloc. A well-known <a href="https://en.wikipedia.org/wiki/Pareto_principle">80/20 rule</a> might come in handy here: let’s assume one only has 60 minutes to do all the searching, so only after 48 of them were spent on all that irrelevant shit shall thee proceed to formulating the questions and trying to actually answer them.</p><p>In this case it all came to having three of them:</p><ol><li><strong>What is this plane?</strong></li><li><strong>Where was it last known location?</strong></li><li><strong>Where was it in April 1993?</strong></li></ol><p>It is clear that once we identify the aircraft itself, the information on its known location should be available kinda automatically, because even noob aircraftiers have heard about apps like FlightRadar from their over-anxious friends&amp;family tracking every minute and every status change of the plane once one desires to fly somewhere for vacations.</p><p>Running a quick reverse-image search yielded no matches, but it started to look like the aircraft we are looking at is actually Boeing. And maybe even Boeing 747, but that was really not certain since there were a lot of fucking <a href="https://en.wikipedia.org/wiki/Boeing_747#Variants">variants</a> of Boeing 747. Those aircraft engineers definitely need to learn a thing or two, first of all not to create five hundred variants of the same model, especially the military and cargo ones, because a̶ ̶d̶u̶m̶b̶ ̶O̶S̶I̶N̶T̶e̶r a PO(U)DA™ practitioner can forget that the challenge explicitly stated that we are dealing with a PASSENGER PLANE and spend another half an hour doing the Oversearch phase of clearly IRRELEVANT for the challenge variants of B747 like this one:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*x3CXooViR8od_LSCoDWofg.jpeg" /><figcaption>Boeing 747 Dreamlifter, ladies and gentlemen! Be aware though that if your dreams are to get to the flag quickly that one will definitely lift them (and take to the opposite destination)</figcaption></figure><p>But it is okay, we are all humans. At some point I passed Aeronautics 101 and realised passenger planes are for carrying passengers, and decided to see just how many B747 were there in the world in 1993. My wild guess before searching for that was maybe 100? Maybe less? Readers already familiar with my writeups might guess that I was hoping for such small numbers so that i could just go through every B747 instead of actually thinking about ways to identify the aircraft. But then comes <strong>that-tweet-you-do-not-wanted-to-see</strong> and you immediately realise <strong>why a LOOP is actually called a LOOP</strong>:</p><h3>SFO Museum on Twitter: &quot;#OnThisDay in 1993, #Boeing finished production on their 1,000th 747, a 747-400 that was delivered to #Singapore Airlines in October. Have you ever flown on a Boeing 747? #avgeek pic.twitter.com/pNpxXdDpaL / Twitter&quot;</h3><p>OnThisDay in 1993, #Boeing finished production on their 1,000th 747, a 747-400 that was delivered to #Singapore Airlines in October. Have you ever flown on a Boeing 747? #avgeek pic.twitter.com/pNpxXdDpaL</p><p>Because there was one fucking thousand of passenger Boeings 747 out there in 1993 and you are back to <strong>stage 1 PANIC</strong>! Now i understand my grannie who used to say “<em>bi-directionality in loops is a bi-atch</em>”, as i clearly fell the victim of one here.</p><p>Okay, but there should be something, right? I mean, no result is also a result, but we are here for the win, and I know there should be some clues, such as those small blue signs on the right side of the aircraft’s cabin. And ChatGPT is like “that is right, try to search by LIVERY” and you are like “search by WHAT” and ChatGPT is like “yeah by LIVERY you ignorant idiot” and you are like “OKAY” and go to google with BOEING 747 LIVERY and it proves super useful of course:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*e8dzlnV7Ee0UDTC3p9x1MA.png" /><figcaption>now we have DREAMLINER instead of DREAMLIFTER, feels like success to me</figcaption></figure><p>Moving back and forth the first two stages of PO(U)DA™ is nice, but you got to experience other stages too, so I opened my notes from a very valuable <a href="https://www.youtube.com/watch?v=uyqXS5lL-mc">GJIN’s workshop called “So you think you can google”</a> where Henk Van Ess showed some real lifehacks on how to make Google search for what you want and not what it believes you need.</p><p>One thing Henk mentioned there is search “by color” where you just input things like “white blue” in your search query and then the results are also in that color you specified. I decided to try this one and typed “Boeing 747 white top blue bottom” and “Boeing 747 white blue” and just “Boeing 747 blue” until i found what looked like exactly the bad boy from the start photo with the same LIVERY signs on the right side of the cabin:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8hIHYYV2YHqkM3-Jh-VWJA.png" /><figcaption>god bless Henk van Ess!</figcaption></figure><h3>Part 3: D for Distract(ions)</h3><p>If you already forgot the structure of my genuine <strong>PO(U)DA</strong>™<strong> loop</strong>, i am here to kindly remind you: <strong><em>Panic &lt;-&gt; Over(Under)search &lt;-&gt; Distract &lt;-&gt; Attract™. </em></strong>Now that we’ve identified the exact aircraft is it time to move on from <strong><em>Over(Under)search</em></strong> to <strong><em>Distract</em></strong> phase of it.</p><p>One might wonder, but what is Distract? Who distracts who? Oh, I will tell you everything about it. We’ve mentioned earlier, that Distraction is self-directed, but what it actually means is that the analyst (or OSINTer) is not only encouraged but also obliged to engage in activities completely unrelated to their primary task, making it a distant memory, thereby allowing fresh, often non-scensical, perspectives to bubble up to the surface (no, it is not a Chat-GPT written definition).</p><p>To be more specific, once we identify that this very aircraft <a href="https://www.aviation24.be/tourism/travel-report-atypical-accommodation-jumbo-stay-in-boeing-747-at-arlanda-airport-stockholm-sweden/">is a Boeing 747 turned into hotel that is currently located in Arlanda Airport in Stockholm, Sweden</a> (thus giving us 2/3 anwers needed to capture the flag – we know it ends with “…-essa-sweden”), instead of focusing on finding one missing piece of the flag, we start:</p><ol><li>reading every article available about this hotel, then watching videos and travel blogs about it;</li><li>thinking about visiting it ourselves, maybe next summer;</li><li>googling if any other planes were also transformed into hotels;</li><li>googling what devices generally could be transformed into hotels;</li><li>reading about world’s 50 most luxurious hotels</li></ol><p>This is how it works. Distractions distract, that is all. Yet nothing lasts under the moon, self-awareness comes back and we proceed with new knowledge of the registration number that was assigned to that Boeing (9V-SQE). That immediately gives us a list of Airlines that were operating it and we can see that in April 1993 in was owned by Cathay Pacific, which happens to be <a href="https://en.wikipedia.org/wiki/Cathay_Pacific">a Hong-Kong based Airline</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5Rix-AgxzvbIaFWEbPJGew.png" /></figure><p>There are not many things in life that I truly believe in, but the saying “it’s darkest before the dawn” is definitely one of them. Why is that? Because when you have 2/3 of the flag and need to find 1/3 and think it is easy as you already have the aircraft and its MSN (Manufacturer’s Serial Number), you are wrong.</p><p>This is where the phase <strong>ATTRACT</strong> of the <strong>PO(U)DA</strong>™<strong> loop </strong>kicks in: you find a website with photos of this aircraft from different years, and guess what – April 1993 is not there. You try AROUND key for google query that Henk van Ess also mentioned – it is not there. What does a determined analyst (OSINTer) do when the facts are not there? They ATTRACT the correct answer. There is a wide variety of techniques one could try to achieve that, I prefer a good old affirmation method first created by Aristotle and further popularized by Sir Francis Bacon: you just stand in front of the mirror and proclaim “I attract the flag!” ten to fifty times while looking yourself straight in the eye. <strong>This approach got me the flag, this approach will get you a degree™!</strong></p><p>What happened in real life is I saw somewhere that this very plane was in Canada some date close to April 1993 and figured that if the challenge mentioned anti-missile device for the Cold War, we are not talking Soviet Union for sure since Boeing is American, thus the answer could be any of Five Eyes states (which are US, UK, Canada, Australia and NZ). Probably that is not the smartest way to capture flags, but Canada actually worked and I ended up getting a lovely contract card and putting down my <strong>PO(U)DA</strong>™<strong> loop </strong>for you guys to use in future challenges. I suspect there could be websites that enable you to get the historical data for any given aircraft, but at that point I was too tired and Canada worked, so I did not even try to reverse search the correct answer to see where I could actually get it. Maybe next time..</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/533/1*-bQtqDm8kDqrMXQLp-dfbg.png" /></figure><p>🚩<strong>: canada-essa-sweden</strong></p><h3>Part 4: Conclusions</h3><p>Okay folks, thank you for reading this writeup. As this is indeed a conclusion section, let us ask ourselves, what conclusions shall thee make after reading this post? Well, who am i to tell thee about that, right? Independent thinkers shall make their own conclusions, but still here are some 100% valid statements to sum up this writeup:</p><ol><li><strong>PO(U)DA</strong>™<strong> loop </strong>works. The concept is ready and has been tested in cyber combat. Fully operational.</li><li>Boeings 747 are a trap. They are not bro. Especially Dreamlifter one</li><li>Being aircraftier is hard, reading what is written in CTF brief is double-hard.</li><li>Affirmations work. They are bro. Who says otherwise just wants thee to fail. Don’t listen to stupid rationalists and just ATTRACT the flag! Or money. Or Pu$$y. Or F@M€.</li><li>Each day RAND and PALANTIR spend without contacting me is a day wasted. I will never say they are not bro (in case they end up hiring me), but I am worried for the quality of HR-INT there.</li><li>Hacktoria is 🩵</li><li>You can always contact me at <strong>shoz1n@proton.me</strong></li></ol><p>-shozin</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=76424cf9d4c9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[projet fox/ ec 2 reedition writeup]]></title>
            <link>https://shozin.medium.com/projet-fox-ec-2-reedition-writeup-89af97a6302c?source=rss-26fd39604ba4------2</link>
            <guid isPermaLink="false">https://medium.com/p/89af97a6302c</guid>
            <category><![CDATA[ctf]]></category>
            <category><![CDATA[osint-investigation]]></category>
            <category><![CDATA[ctf-writeup]]></category>
            <category><![CDATA[osint]]></category>
            <category><![CDATA[writeup]]></category>
            <dc:creator><![CDATA[shozin]]></dc:creator>
            <pubDate>Mon, 01 May 2023 00:48:51 GMT</pubDate>
            <atom:updated>2023-05-01T00:48:51.945Z</atom:updated>
            <content:encoded><![CDATA[<p>This is the writeup of my performance during <a href="https://fic.projetfox.com/">Projet Fox’s two-day CTF OSINT challenge</a> that took place April 28–30 and has just terminated. That was also my first ever “hackatonish” event that lasted for a specific duration (48 hours in this case), and I was not sure about participating till almost last minutes, so I did not have a team (chat gpt not included) but decided to try anyway since practice is the only way to mine experience.</p><p>Even though my priors of myself were quite low and on task complexity quite high, I took 10th place out of 54 (<a href="https://fic.projetfox.com/scoreboard">the scoreboard with more details is available here</a>) and could potentially take 9th were it not for a couple of stupid mistakes and unbelievably high inefficiency, that, looking backwards, could be avoided (but it almost always seems that mistakes could be avoided when you look at them retrospectively). Also, i lost a lot of time at the beginning of the challenge because for some reason i only started with the first flag seven hours after the official start, TGIF what do can you say. But enough with excuses, let’s move on to the challenge itself. I will try to make this writeup as short as possible, but as i captured several flags, it might still end up a long-read, take that into account before committing to finding out what happened in chapter three of the challenge….</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fKlNPiMNVvH7wYBLdV_Y4w.png" /><figcaption>shozin is in the game! not in the one top 3 teams play though</figcaption></figure><h4><strong>Context + piratii pe mare</strong></h4><p>We get the context that we represent an analyst in an investigation cell for Europol and get a scan of what looks like a national ID of Russian citizen by the name of <strong>Aleksandr Avdeev, </strong>which we can see in latin at the bottom of the passport<strong>.</strong> He seems to be working for a Russian anti-piracy unit which was operating in the Gulf of Guinea from where another agent of our cell just returned with all those docs. The first flag is given, so we just type it and move on to the first real challenge with 75 points.</p><p>🚩<strong>: Let’s_start</strong></p><p><strong>&gt;&gt;&gt; naval operation</strong></p><blockquote>The man is reportedly active <strong>on a Mastodon community of his home country</strong>. He posted a video on his account in which we see a security incident that probably took place in the same geographical area where our agent found his documents. Find the name of the container carrier, at its creation, targeted in the video</blockquote><p>Flag : <em>write the name in capital letters and replace spaces with underscores ( _ )</em></p><p>Okay, I had no idea what is Mastodon and what is its community. I guess I’ve ran across that name a couple of times before and had somewhat vague understanding it is a web3 platform challenging traditional social media players like instagram or twitter. Even now the way things work with Mastodon are still not fully clear for me. There are servers like discord, there are communities, there are rooms, to be a member of some of them you need to request an access yet still can read the content, and apparently there is no Mastodon Russia community, so i guess i’ve spent like 30 minutes trying to find russian-speaking communities on Mastodon, that lead me nowhere and i pivoted to my genuine <strong>follow-the-name-not-the-platform</strong>™<strong> </strong>approach.</p><p>It is not a secret Alexander is a common name worldwide, it is not a secret it is a common name in Russia as well. Turns out Avdeev is also a very common surname, since quick twitter and especially instagram search returned a loooooot of Aleksander’s Avdeevs. Also knowing how bureaucracy operates, the fact that the guy has his name written as Aleksandr in the passport does not imply he identifies himself as that – he could as well be Alexander, Aleksander, Alexandr and maybe a couple of other variations.</p><p>At that moment I’ve already spent maybe 45 minutes on the task so i pivoted once again to my genuine <strong>take-that-hint-you-are-not-going-to-win-anyway</strong>™<strong> </strong>approach<strong>. </strong>There were two hints available, and the first one i bought (hints require points, you “buy” them and exchange points earned for supposedly valuable information of that hint) said:</p><blockquote>In OSINT sometime we have to find all the online footprints of our target in order to find a specific account. Try finding the instagram or twitter account of your target.</blockquote><p><strong>NO SHIT! </strong>Best 25 (I guess) points invested in my life. I kept on with social media searching, got to know many Aleksanders Avdeev and at some point even though the first hint was not informative decided to pursue the abovementioned approach and bought the second hint just for fun:</p><blockquote>A colleague points out that the suspect’s name is written in Latin letters at the bottom of the passport. Calling on the department’s linguists, we deduced that the most correct spelling would be “<strong>Aleksander Avdeyev</strong>”. You can consult the classic social networks to find him.</blockquote><p>Oh, that is really useful, as now we get the understanding of what is needed exactly. This time instagram search gave me back <a href="https://www.instagram.com/shadow_rus1/">this creepy account</a> <strong>shadow_rus1</strong> with only one low quality photo of ships and several versions of his own name written in the profile description. Taking into account the narrative of anti-piracy we got for the content, could easily be what we look for. The account name make me try the same <strong>shadow_rus1</strong> in twitter and there i got my first dophanime burst since one of the tweets had words <strong>masto</strong> and <strong>mk.phreedom</strong> written in latin: we are definitely moving in the right direction!</p><h3>Shadow.rus on Twitter: &quot;Мне нравится Masto инстанс mk.phreedom! Здесь так много интересных людей и обсуждений на разные темы. Рекомендую всем, кто ищет новых друзей и вдохновения! #mkphreedom #социальныесети / Twitter&quot;</h3><p>Мне нравится Masto инстанс mk.phreedom! Здесь так много интересных людей и обсуждений на разные темы. Рекомендую всем, кто ищет новых друзей и вдохновения! #mkphreedom #социальныесети</p><p>Now the task becomes trivial, having all that it is a matter of five minutes to get his mastodon account: <a href="https://mk.phreedom.club/@shadow_rus">https://mk.phreedom.club/@shadow_rus</a>. And there after some scrolling <a href="https://mk.phreedom.club/notes/9aljuw0pav">we come across the video</a> which depicts what seems like a military vessel at the beginning and then some military operation with a container career.</p><p>Our task is to get the name of the container career <strong>at its creation</strong>, in the video we see big letters MSC, so the search “msc container career pirates” gives us several news pieces from which we extract the name of the career: <strong>MSC Lucia</strong>. But it is most likely not the name of the career at its creation, so we find <a href="https://www.vesselfinder.com/vessels/details/8413887">the profile of the ship on vesselfinder</a> and realise it was first named <strong>NORASIA SAMANTHA</strong>. Time to replace the space with _ and get my first flag!</p><p>🚩: <strong>NORASIA_SAMANTHA</strong></p><p><strong>&gt;&gt;&gt; cargo</strong></p><p>The IMO number of the vessel is requested as , that one is also found on the same MSC Lucia’s page on vesselfinder, easy money.</p><p>🚩: <strong>8413887</strong></p><p><strong>&gt;&gt;&gt; amiral</strong></p><p>Here I did not write the precise question but they wanted to know the general name of the class of military vessels that was engaged in that event with MSC Lucia. It was mentioned in the news that the Russian military vessel was named <strong>Vice Admiral Kulakov</strong> which is a “Udaloy class destroyer”. As the format of the tag was not specified, I got a couple of rejections by putting in all those three words or just “destroyer” until I ended up trying Udaloy and it worked.</p><p><strong>🚩: Udaloy</strong></p><p><strong>&gt;&gt;&gt; location</strong></p><p>The question here was to provide the distance in km from the point where the attack happened to the nearest oil platform. That word combination “nearest oil platform” made me for some reason believe there are hundreds of oil platforms in the Gulf of Guinea, so i pivoted to my genuine <strong>use-google-earth-pro-even-if-you-dont-actually-need-it</strong>™ approach. I am a man of many talents as you have already probably realised by now. Google Earth images in the Gulf of Guinea were extremely low res, also zero oil platforms were discovered, we are doing great so far i told to myself and then suddenly Abgami Oil Platform caught my attention as i was re-reading the news in order to at least find the exact coordinates of the attack on MSC Lucia. The news said the ship was 86 nm away from that Oil Platform, we make it into 159.272 km with the help of google, assume some rounding down et voila! One more flag in the pocket</p><p>🚩<strong>: 159</strong></p><p><strong>&gt;&gt;&gt; registry</strong></p><p>Next challenge asked to identify the publication number which would mention the company owing the vessel being separated or separating fromone of its directors. I had no clue at all where to look for that, but as we know the vessel is owned by MSC, we ask chat gpt and not only does it suggest to check swiss gazette of commerce, but also provides link for it. That is a public database of all companies registered in Switzerland, after opening several docs <a href="https://www.shab.ch/#!/search/publications/detail/2489e95f-040d-46b6-88e6-9aafd3c5735a">I found the one which seemed relevant</a> and got the publication number. Tried – it worked, nice!</p><p>🚩<strong>: HR02–1004952444</strong></p><p><strong>&gt;&gt;&gt; paperwork</strong></p><p>It is also very interesting for Europol to find out the name of the first notary to be commissioned by the company owning the vessel. Since we in our cell don’t challenge the task but execute the task, I had no choice but to dig a little bit deeper into swiss public data. My assumption was the notary could be the one who left some footprint on MSC’s charter docs. So i went back to the page with director change, saw “show in zefix”, went there, realized it is <a href="https://ge.ch/hrcintapp/externalCompanyReport.action?companyOfsUid=CHE-111.954.803">some kind of company profile page</a>, pressed “extrait avec radiations” (excerpt with cancellations), and there in the section “dates des statuts” (bylaws dates) saw the very first one from the year 2004. The number in Ref column was clickable, it opened a PDF at the end of which I saw the name of <strong>Mr Lacin</strong>. I tried it as a flag and it worked!</p><p>Even though it might seem as a lot of steps, I somehow intuitively managed to follow that path and it turned out to be correct, spent maybe 20–30 minutes on that overall.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/707/1*UNA25MzKLgfMMMi5F59yMg.png" /></figure><p><strong>🚩: David Lacin</strong></p><h4>Lumea Interlopă: Frăția Basarabiană and the [shameful] end of cognitive function</h4><p>Okay, now we move into the new chapter, the day was Saturday, the sun was shining and i woke up believing i was not that bad at all since i’ve managed to get all those flags earlier and end up with 1150 points with several teams still at zero. Being in a highly optimistic mood i’ve opened the first challenge of this new chapter…</p><p><strong>&gt;&gt;&gt; new task</strong></p><p>We get a three-page pdf file describing an organized crime group or gang called Frăția Basarabiană (FB), involved in all types of sins, apparently connected to Russian intelligence and leaded by a man with a strange name <strong>Ilan Ipisich</strong>. We also get a 78-page pdf from Europol which is a database of criminals known to be involved in FB activity, with columns like ID, Gender, GivenName, Surname, Age, Birthday, NationalID, Organization, Vehicle, Phone numbers and Face (which is a photo of the face and is not there for all rows — i.e. for all criminals).</p><p>⛔️ <strong>DUMB ALLERT</strong> YOU ARE NOW GOING TO ACCESS MY UNIQUE GUIDE “<em>HOW TO WASTE 5 HOURS OF YOUR LIFE 101</em>™” AT ZERO COST PLEASE BE AWARE YOU WILL NOT BE ABLE TO UNREAD OR FORGET THAT I AM NOT RESPONSIBLE FOR MAKING YOU DUMB CAUSE IT IS SURELY CONTAGIOUS AS I DEFINITELY WAS NOT BORN THAT WAY ⛔️</p><p>This is the task of that challenge:</p><blockquote>In parallel with your investigation, you receive a file on an investigation implicating an important man involved in the underworld in the Balkans: Ilan Ipisich. The document provided specifies the data we have on this organization, make good use of it. Also, a database of men and women associated with organized crime is provided by Europol. Some informations are missing, especially for the individual numbered “975994”. We are missing his/her phone number, find it.</blockquote><p>So I open that database, have a quick look at it, find user with UID 975994 who happens to be <strong>Tamara Voronina</strong> from FB as well (with Ilan Ipisich they are the only two members of FB in that database).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9eN3PKc0tSv8rMCXic4AGA.png" /><figcaption>our guys there</figcaption></figure><p>We need to find her phone. The challenge costs 50 points, so it should be easy. Also, Projet Fox enables to see at what time each team has captured each flag and when I saw how top 3 teams were doing while i was sleeping, i realised one of them captured this flag in 5 minutes. So it must be easy.</p><p><strong>But. I. Do. Not. Believe. In. Easy.</strong></p><p>There is not much info in the DB, we only have Tamara’s car and i thought maybe someone else has the same car, so it is the same person and this person’s number is Tamara’s number. That did not work as she was the only one to roll in 2014 Chevrolet Malibu. Social networks search gave nothing. I spent maybe 30 minutes going back and forth and then saw there is a hint available, and as one of my other approaches is stated as <strong>take-the-hint-even-for-that-easy-50-point-challenge-you-are-not-dumb-you-are-curious</strong>™ I gladly pivoted to it. The hint cost was 25 points so I believed i would still end up receiving 25 if i capture the flag, but little did i know… The hint said:</p><blockquote>Ilan Ipisich would be a good pivot point …</blockquote><p>Fuck me. Ilan Ipisich would be a good pivot point?</p><p>At that moment that little thing 🧠 (because judging by what happens next it cannot be big) in my head decided to <strong>REALLY USE THAT HINT. </strong>So what it did is it turned on that voice in my head which said: “<em>does not the name Ilan Ipisich indeed look like </em><strong><em>I</em></strong><em>-</em><strong><em>LAN</em></strong><em> </em><strong><em>IP IS ICH</em></strong><em>?</em>” and i said “<em>wow, yes, it really does, wow, thank you for being such a sherlock once again for me, wow</em>!”</p><p>Do i need to tell you about how I then transformed ICH into ASCII to get <strong>105.99.104.X</strong> and then spent two or three hours trying to figure out what that X could be, maybe the sum of Ilan’s UID digits? Hmm, but if there is an IP, let’s assume it’s valid, there should also be a port, right? What could be the port number? Let’s <strong>exiftool</strong> that database! Oh, there are several normal dates which look exactly like they are supposed to be, and then there is another <strong>Modify Date : 0000:01:01 00:00:00</strong>, and chat gpt says it could be the hidden message, maybe this is where the port is? So let’s write a script and try all ips in the range from <strong>105.99.104.0 to 105.99.104.255 </strong>with different ports such as 101 and 1001, because why not, that seems to be exactly the way one of those top 3 team could capture that 50-point flag in five minutes, does not it?</p><p>At some point I asked people from Hacktoria server if someone would like to join me for that challenge, and one kind soul asked “i would if there is forensics to do cause i am interested in forensics” and i said “sure there is forensics, getting a number hidden in the db or getting an ip and a port hidden in a name is forensics right?”. And they joined me, and we extracted all criminals images from the DB to see if maybe there is something there, and did a couple of other things and then this nice person asked <strong>“did you check on public sources like his name, his UID, etc?”</strong> and I said yes surely i did, because i really did at some point, before seeing Ipisich as “IP is ICH” i guess. But i decided to double-check and turned out there was a typo in the name i searched, so I rerun the search in the way people with brain do it and <a href="https://www.linkedin.com/feed/update/urn:li:activity:7040713675757768704/">it gave me the LinkedIn page of Ipisich with a post including Tamara’s phone number at the end of it</a>. Fucking easy. No fun at all. But with 25 additional points and five or so subtracted hours.</p><p><strong>🚩: +373 77799436</strong></p><p><strong>&gt;&gt;&gt; eyes in the sky</strong></p><p>I could be dumb but I am also stubborn, so proceeding to the next challenge, this one for <strong>300 points</strong>:</p><blockquote><strong>In a small town south of the criminal gang’s homeland</strong>, we have received multiple reports of suspicious activity involving Ipisich’s men. We have received satellite images of the location where these individuals meet. Find the IBAN of the organization that owns the blue-roofed structure in order to identify them and monitor money flows. Also find the last person who wired them a large sum of money in November 2022.</blockquote><p>The low res quality of video made it almost impossible to identify any visual clues to proceed with further research:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tEPK1WW41retRSyNw1sxDQ.png" /><figcaption>screenshot from the video provided</figcaption></figure><p>But words “in a small town south of the criminal gang’s homeland” caught my attention and i decided that if i can afford to spend 5 hours on a 50-point challenge, why not spend another 7 on this 300-point task by simply exploring every square meter in southern Moldova with Google Earth Pro. Maybe OSINT gods were favoring me or I just got lucky, but I almost instantly located the village of Cismichoi. I believe 100 points should be awarded for just being able to pronounce that word.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GlsBjLOrLTLvnQ3zrhFPiA.png" /></figure><p>So it was super easy to identify that blue-roofed structure that turned out to be an orthodox church which had <a href="https://hram.md/mdl/">its own webpage with bank details</a> as well as a FB page where we scroll and find <a href="https://www.facebook.com/hram.md/posts/pfbid037em7kmQp9wFsp4iVmYf1QaZpH8E6bx6ngPWrE25X1t75haN5rsDWQsXHvWwx3j74l?__cft__[0]=AZWsBPZrVIWL4eFVCeYKwboE1MXTjypHBPS8JB8v5Ot9MxHusXfQgcU6GgQg1PWa4nOtaTN44U1LY5UsVwzXZZWAk_fzFnE7-zzCtSBWy8j4vWtdwAtjm-8SF0VQ-YWnnnhfHOeqniVtS63u5nP6t1wUc9zgcUh95uBuN_0aNmwni_63Orf057hCJf-6aXKA3vtRDEmveIZJh7tXT8vOo_Zb&amp;__tn__=%2CO%2CP-R">a post dated November 2022 with a mention of some person named Mikhail who donated</a>. So we take the IBAN, add to it the name of the person who donated in Russian and get the flag!</p><p><strong>🚩: MD24AG000000022512577084_Михаила</strong></p><p><strong>&gt;&gt;&gt; deportation</strong></p><blockquote>One of Ipisich’s men was arrested at the Polish border in 2012. He was placed in a detention center near the border in the southwest of the country before being deported. Unfortunately we have lost all records of this arrest. Find the division of the Polish border guards that was in charge of this detention center. To help you, we remember that this detention center did not receive any complaints about mistreatment of prisoners between January 2008 and March 2011. <strong>Flag:</strong> example: <em>xxxxx Border Guard</em></blockquote><p>Here i first did not get the task as i thought that each division of the border guard is supposed to have a number and that is what needed, but as the date of the arrest was provided i decided to see what were those detention centers in Poland at that time. Also, complaints about detention centers were mentioned, so I found the report entitled “P<a href="https://www.globaldetentionproject.org/wp-content/uploads/2016/06/Poland_Detention_Profile_2013.pdf">oland detention profile 2013</a>” and as i was reading it and quietly writing out the names of detention centers for further research, the following sentence came up:</p><blockquote>There were discrepancies with respect to the numbers of detained migrants depending on the Border Guard division on the territory in which the person concerned was previously apprehended, <strong>ranging from 18 percent in Sudecki Border Guard Division to 90 percent in Luzycki Border Guard Division</strong> (HNLAC 2010).</blockquote><p>Having read that I felt some vague intuition that maybe Sudecki Border Guard Division is a bit more chill, since it arrested less people over time, and tried them as a flag – it worked! 300 more points, at that point I think I had something like 1825 and was ranked 10th again after previously been moved to 12th position.</p><p><strong>🚩: Sudecki Border Guard</strong></p><p><strong>&gt;&gt;&gt; flame</strong></p><p>This challenge was a fucking nightmare for me, that flame literally burned all remaining brain cells I had by the moment i got to it, but judging by the discussion in discord, a lot of teams were also struggling with it, so at least I was not alone. So this is the challenge:</p><blockquote>On April 5, 2021, a fire takes place in western Slovakia. The Frăția Basarabiană gang is believed to be connected with this incident. Find the contact email addresses of the two companies, manufacturer of building materials, which are on the scene of this fire. <strong>Flag :</strong> <em>email1_email2</em> (in alphabetical order)</blockquote><p>Wow nice, I thought, we have an exact date, this is going to be easy. The challenge cost 250 points i believe. So i started searching within the timerange provided but it gave me NOTHING. Like nothing at all. No fucking fires in Slovakia, at least not in the western part of it. Are they all fireproof there? I want to live in Slovakia! The challenge had a hint at the price of 150 points, when i saw it I immediately applied my another genuine <strong>hints-are-for-losers-who-cannot-google-and-therefore-should-not-be-allowed-to-do-osint™</strong> approach and just ignored it.</p><p>But the search still gave me nothing, so at some point I just started searching instagrams of firefighters from Slovakia and i found a couple of them, then I managed to understand how the Ministry responsible for handling fires is called in Slovakia…</p><p>AND THEN I FOUND IT.</p><p>If you missed the DUMB ALLERT earlier in this post, I strongly encourage you to scroll up a little bit and read it, because you are now going to witness another brilliant example of OSINT research. So i found what seemed like a press release dated April 6, 2021 of that Ministry of Handling Fires in Slovakia which said that on <strong>April 5, 2021</strong>, <a href="https://www.minv.sk/?tlacove-spravy-3&amp;sprava=poziar-traktora-a-slamy-v-k-o-baka">a tractor and straw fire was reported close to Baka village</a>! I double-checked that Baka was located in western Slovakia, indeed it was, and what is more, the photo of the tractor catching fire which was attached to the press-release <a href="https://www.minv.sk/swift_data/source/hasici_a_zachranari/ujpalova_fotky/2021/april/05_poziar_traktora_baka_ds/ILUSTR%20poziar%20traktora.JPG">was uploaded on a webpage in a very high quality</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*swWU-lVMm1i6tojv9HLfLA.jpeg" /><figcaption>today i hate this tractor. yesterday… it was different</figcaption></figure><p>There it is, I said to myself, we got it, we fucking got it, does a tractor catching fire represent “<em>a scene of this fire</em>” as the brief says? Yes sir! “<em>Two companies, manufacturers of building materials</em>” needed? Well, is not a tractor, a machine used in agriculture or construction, a building material? Of course it is sir. Was it produced by some company? Most definitely sir! Should it also have TYRES produced probably by another company? Absolutely sir!!!! Goooo shawty it is your birthday! As you see, apart from being a talented investigator I have reached a god-like level of the Socratic method which helps me a lot both in everyday life and CTF challenges.</p><p>I will spare the reader and omit details on how i quickly identified John Deere as tractor manufacturer and then spent maybe another hour or so trying to read letters on those tyres, <strong>only to realize at some point that John Deere does not even have a contact email</strong>. But it has all kinds of tractors that I am now more or less familiar with, and what do you got? However I somehow did not feel April 29 is a good day for killing myself through being trapped in a Slovakian limb of tractor-straw fires that, as legend says, has consumed thousands of OSINTers, so i quickly rejected my previous approach and pivoted to another genuine one – <strong>hints-are-not-for-losers-if-the-task-is-stupid-and-you-are-not-stupid-you-are-still-smart-and-curious™</strong>. Also, the hint-to-reward ratio seemed good because after buying it and succeeding i would still be 100 points positive. I opened it and saw the message:</p><blockquote>NASA has made available some amazing tools to track forest fires around the world. It might help you</blockquote><p>This one was also surpisingly useful, after I read it it took me only maybe 20 minutes to figure out <a href="https://firms.modaps.eosdis.nasa.gov/">NASA FIRMS</a> (an incredible tool indeed, just wow), locate the fire in western Slovakia on April 5, 2021, find <strong>Baumit production plant</strong> and <strong>Rohoznik Cement CRH</strong>, find their emails and get the flag with 100 points.</p><p>I believe my performance in this challenge as well as in “new task” one provide enough legitimate reasons for all OSINT communities to ban me forever. Anyway, after completing “flame” i had <strong>1925 </strong>points, and the leading team had <strong>4550</strong>, so i knew i just need to concentrate a little bit more and maybe be a bit faster here and there, but not too much, and I will surely be able to get my victory.</p><p><strong>🚩: </strong><a href="/service/mailto:office@baumit.sk"><strong>office@baumit.sk</strong></a><strong>_</strong><a href="/service/mailto:zakaznickyservis@danucem.com"><strong>zakaznickyservis@danucem.com</strong></a></p><p><strong>&gt;&gt;&gt; old friends</strong></p><blockquote>We have received information that Ilan Ipisich has met someone in Vienna in march 2023. According to HUMINT information, he was seen in a restaurant on Pilgramgasse. We interviewed locals and apparently a man matching Ilan’s description was with a woman who posted a photo on social media. Find out the identity of the woman. <strong>Flag :</strong> FirstName LastName</blockquote><p>Oh, we are moving to Europe finally. My first intuitive feeling was Pilgramgasse is some kind of a tourist street with million restaurants. That was not true, but there were still some and i needed to find a woman who posted a photo on social media.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pEj6aEO_hSSaRrOWMTJwVw.png" /><figcaption>first look on pilgramgasse with google earth</figcaption></figure><p>As during this challenge I lived through enough feedback loops to realise that I probably need to interpret the challenge the way it is written and not the way i read it, i asked myself “what could really be considered a restaurant? There was a coffee shop there, is it considered a restaurant? What is a restaurant? Why do people go to restaurants? Why do people go? Why do people? Why do? Why?” Not being able to yield any reasonable answers, I decided to start with Coffee Junky anyway, identified a woman who posted a video on instagram from there in March, found her name, but it was not accepted.</p><p>I proceeded to Budapest Bistro and there it was. <a href="https://www.instagram.com/p/CpoCDEUMZqD/?igshid=YmMyMTA2M2Y=">A photo by a lady saying how good it is to meet a friend from childhood</a>, and, to my surprise, a comment of that Russian naval guy from the beginning, asking her not to tag him. As the mission brief clearly stated that we are following Ilan, and here this Russian was tagged, I started suspecting that Ilan = Aleksander Avdeev, and probably the woman we are trying to identify is that Tamara who killed five hours of my life even though she is probably a fictional character. Imagine what would happen if she was real! I am scared. Anyway, Tamara was not accepted as a flag. I had no clue since instagram post was clearly satisfying all the requirements, in a good way, not in a tractor-fire way.</p><p>This one also had a hint, but while the challenge awarded 350 points, the hint was given for 300, not the best deal to strike, yet I opted to use it because it would at least move me forward and give me some points, better than zero. The hint said:</p><blockquote>Try to investigate other pages linked to the restaurant on which our target could have left a trace…</blockquote><p>NO SHIT AGAIN! Like I have not checked facebook of that bistro already and even tried to find them in twitter. I contacted a member of Projet Fox’s team to confirm i was moving in the right direction and they did, only after that i remembered I have not checked Tripadvisor, Foursquare etc. Tripadvisor had a similar comment on childhood friendship from an account that looked promising, <a href="https://www.tripadvisor.com/Profile/xadoxab">I opened it and got the name</a> that was a valid flag. Indeed 300 points well spent, what can I say.</p><p><strong>🚩: Ruja Ignatova</strong></p><p><strong>&gt;&gt;&gt; display</strong></p><p>This challenge was the last one in that chapter and had no attachments, only text instruction, 400 points award and 10 attempts:</p><blockquote>Local Polish police arrested one of Ipisich’s goons in the country. After being interrogated, he revealed that the leaders of the criminal organization used a website to communicate their orders. This website can help us to get mass information about these criminals, even hard evidence. Find the link of the website.</blockquote><p>I started with wild guesses by putting <strong>facebook.com</strong>, <strong>google.com</strong>, <strong>linked.in, mk.phreedom.club, </strong>because this is a kind of flag you expect to have in a 400-point challenge, right?</p><p>With 5 attempts left I started thinking and something made me believe the link is hidden within the challenge instruction itself, so I wasted another hour maybe figuring out how to use steganography to extract a message hidden in a text string. FYI: there is no way if you are stupid.</p><p>Long story short, I did not capture the flag on this challenge as time was running out and I realised I have two other challenges open from the next chapter left to try, so I left that one, came back to it a couple of times, but had no ideas and gave up.</p><h4>Clienti Bandei and the end of the challenge</h4><p><strong>&gt;&gt;&gt; platz an der sonne</strong></p><blockquote>One of our specialised units recently managed to steal a large batch of accounting documents, including this invoice which seems to expose one of Ipisich’s commercial intermediaries. However, our local relays are at a dead end, as this company has ceased to exist a decade ago. Please trace the scheme behind this puppet and indicate the name of its last known beneficial owner so that we can question him. <strong>Flag:</strong> <em>FirstName LastName</em></blockquote><p>This challenge had 450 as an award, but i tackled it surprisingly fast, just googled <strong>Equalia Capital Management LTD</strong>, got to Panama Papers portal, at first got a little bit scared of all that mindmaps it was drawing there with shareholders and intermediaries, but then started just putting connections on paper and eventually ended up finding too many arrows pointing to <strong>Qualis Wealth SA, </strong>googled it and realised it was liquidated only recently and the name David Salama came up somewhere in google, I tried it and it worked. +450</p><p><strong>🚩: David Salama</strong></p><p><strong>&gt;&gt;&gt; cyber-east</strong></p><blockquote>We intercepted a telecommunication between Ipisich and his men about a delivery for a client. We are unable to make anything of it. Investigate and find the client’s website, in the clear web, and its hosting provider. <strong>Flag :</strong> <em>Website_hosting provider</em></blockquote><p>This challenge provided a .wav file, this time I was sure some steganography is needed, so I google how to extract messages from sound, found <a href="https://academo.org/articles/spectrogram/">that awesome portal</a> which showed me something like:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/658/1*MoguUuX1KViu-67EcEvbMg.png" /></figure><p>For some reason i read this logo as a very liberal interpretation of digit <strong>7</strong>, and even though i was able to read the line <em>“type: hacker”</em>, i could not identify the line that followed and when tried to google by the image of the logo it only gave me back other examples of spectrograms which were completely useless for me. So even though I was aware that I need to find a hacker who is a member of a well-known hacking group, time went out and the challenge ended. This flag I did not capture, too.</p><p>Summing it all up, it was a very nice and entertaining challenge from <strong>Projet Fox</strong>, the narrative started to really make sense as I progressed through the challenge, but unfortunately too much time was wasted on doing stupid things and I also lack some fundamental technical knowledge which i clearly understood when I was reading the discussion after the end of the challenge.</p><p>However I believe I could be potentially useful as a member of a team if other OSINTers in the team were more experienced and could guide me/filter the bullshit, so that I would not waste too much time on tasks that clearly make no sense like trying to identify tractor tyres brand or try to transform a surname Ipisich into an IP address 🤦🏼‍♂️</p><p>Thank you for reading this writeup, I would gladly participate in other OSINT challenges in future and hopefully journal them, so I guess stay tuned</p><p>-shozin</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=89af97a6302c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[pwn-heaven / the “night stalker” writeup]]></title>
            <link>https://shozin.medium.com/pwn-heaven-the-night-stalker-writeup-31b0c532d16e?source=rss-26fd39604ba4------2</link>
            <guid isPermaLink="false">https://medium.com/p/31b0c532d16e</guid>
            <category><![CDATA[hacktoria]]></category>
            <category><![CDATA[ctf-walkthrough]]></category>
            <category><![CDATA[ctf-writeup]]></category>
            <dc:creator><![CDATA[shozin]]></dc:creator>
            <pubDate>Wed, 26 Apr 2023 14:26:57 GMT</pubDate>
            <atom:updated>2023-04-26T15:18:00.796Z</atom:updated>
            <content:encoded><![CDATA[<p>This is the writeup of <a href="https://www.pwnheaven.com/post/the-night-stalker-serial-killer-case">PWN Heaven’s The “Night Stalker” Serial Killer case</a>. I need to make a disclaimer that I am currently a complete noob in CTF challenges, and contacted the author of this quest a couple of times to specify something, also got help in brainstorming from another member of the lovely <a href="https://hacktoria.com/">Hacktoria community</a> (props to @carcosa). What is more, this is my first ever writeup, I hope one day I will be able to re-read it and laugh at how dumb and inefficient I was. However, we all start somewhere, so let’s go!</p><h3>Introduction</h3><p>The story starts with TFBI team investigating a serial killer case where they managed to identify the suspect named David Carusso. I recommend reading the full brief as the narrative is quite engaging, but long story short, Mr Carusso eventually got captured, his computer brought in for analysis in order to find evidence and we, as cyber sec analysts, have identified a hidden folder with a file name DNA.txt within it, as well as an encrypted ZIP folder.</p><p>The Challenge is formulated as follows:</p><pre>Upon opening the &quot;DNA.txt&quot; file, you see what appears to be <br>a series of letters and numbers. <br><br>After closer inspection, you realize that it&#39;s a DNA sequence. <br><br>You remember that Special Agent James Wood mentioned that the &quot;Night Stalker&quot; killer <br>was caught using DNA evidence, and you realize that this could be <br>a crucial piece of evidence in the case.<br><br>You need to find out what this DNA sequence means and if it is related to the possible key to open the misterious ZIP file <br>to see how it relates to the &quot;Night Stalker&quot; case.</pre><p>And Materials and Answer instruction provides answer formats which are:</p><p>Answer example of first flag = “nospaces”</p><p>Answer example of second flag = “all,words,no,spaces”</p><p>With that in mind we download Challenge.rar and proceed to the investigation part of it.</p><h3>Layer one → Case evidence and DNA sequence decoding</h3><p>Unzipping Challenge.rar gives us 4 more folders [Arrest Report, Forensics Reports, Interrogatory Report and Witness Report] as well as another Challenge.rar archive (this time password protected) and a DNA.txt file. Each of the folders contains PDFs describing how victims of the Night Stalker were killed, where and when were they found etc. I read each doc once just to “load” the info on the case in my brain, but did not really considered the details mentioned in the docs useful at that point.</p><p>Moving on to DNA.txt. This bad boy had a single line:</p><pre>BBBGCTAAAGAACGTTCTTTTATTGAATTAGAT</pre><p>It made no sense to me since I already knew that DNA sequence can only contain letters A, G, C, T with each one of them describing a particular nucleotide. Without diving to deep into the theory, that “BBB” just should not be in a normal DNA sequence. So i thought maybe it was a hint of some kind for later and decided to disregard those Bs for now and isolate them from the “normal” sequence. Judging by the mission brief, it was easy to guess that the sequence uses some kind of steganography, which means it hides a password for the archive inside.</p><p>Looking for some DNA-based steganography tools, i found that page where DNA section had two options for encoding information into DNA:</p><p><a href="https://github.com/JohnHammond/ctf-katana">GitHub - JohnHammond/ctf-katana: This repository aims to hold suggestions (and hopefully/eventually code) for CTF challenges. The &quot;project&quot; is nicknamed Katana.</a></p><p>One of them where each letter of a DNA sequence has a binary representation, I did that and got something like</p><p>BBB 100001010000101000010011011000000010000100111111011111111001111010000010011</p><p>but after playing with that zeroes and ones for some time i realised this is a no-go, but there was another way of encoding info into DNA sequence shown on that page I’ve provided above, this time where each codon (a three-letter sequence like AAA or GAT) had a corresponding symbol. I tried replacing each of them and got the following string: NaGB4.pG9J. Also not very helpful.</p><p>At that moment Mr. Carcosa came up with two tools for DNA decoding/translation, which means it transforms the sequence from nucleotides to proteins.</p><p>The <a href="https://www.dcode.fr/codons-genetic-code">first one</a>, after having received BBBGCTAAAGAACGTTCTTTTATTGAATTAGAT as input, gave back BBBAKERSFIELD. And the <a href="https://web.expasy.org/translate/">second one</a> produced XAKERSFIELD from the same input. It it still a mystery for me why those tools would even accept a DNA sequence with Bs in it, and also why they would produce two different outputs from the same input, but at this point I’ve tried XAKERSFIELD as a pass for the archive and it did not work (I guess somewhere in my subconscious I find it appealing to think about a hacker owing a corn field in the middle of which he sits and does his hacks. prolly with no internet connection) and Mr. Carcosa suggested Bakersfield as it is an actual location in California. We tried opening up the archive with bakersfield (because as we remember the example answer for the first archive said &quot;nospaces&quot;) and it did not work, then some of us tried BAKERSFIELD et voila! We got into the second layer.</p><h3>Layer two → Read Me.txt + evidence.jpg + MissionAccomplished.rar</h3><p>That new read me file contained two following paragraphs:</p><pre>After decoding the DNA sequence, you realize that it represents <br>a phrase related to a park, but you&#39;re not sure what to do next. <br><br>You remember that the &quot;Night Stalker&quot; killer operated in a specific area of the city, <br>so you decide to use geolocation to narrow down the search.<br><br>Using the suspect&#39;s computer, you find an email with an attachment that contains an image. <br>You task, is to find the exact location of the image to open the second zip file encrypted.</pre><p>Okay, GEOSINT department is on the line. Let’s have a look on the image attached:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/408/1*fhmBBPgTToFchqU8dgehIQ.jpeg" /><figcaption>evidence.jpg</figcaption></figure><p>I could not immediately identify any clear clues from that image, the quality of it is also far from HD, also it did not reveal any exif data, no GPS, nothing. And google images as well as other search engines did not come up with anything valuable as well, neither did TinEye. Having found nothing useful, I decided to do it the hard way, thanks god i do not work as a police detective, I guess in that case our crime clearance rate would be zero if not negative. But we work with what we have, so as the read me.txt provided a clear clue of a “specific area of the city”, I re-read the initial docs with forensics reports and found out that:</p><ul><li>victim 1 was located in a deserted alleyway behind a local bar;</li><li>victim 2 was discovered by a jogger (where do joggers most often do their jogging — definitely not in corn fields, right);</li><li>victim 3 also discovered by a jogger in a remote area of a local park (damn, at that point jogging started to look like a really fun thing to do);</li><li>victim 4 was discovered by a local resident (i was ready to bet some money that local resident also was a jogger at some point in their life, maybe in future) in a park near his home.</li></ul><p>So what do we got at this point — we know that several victims were discovered (and thus probably murdered, too) in a park, and there probably is a bar around. Easy money, I said, how many parks do have a bar close to them in such a small town as Bakersfield, CA, which I have never even heard of before. And then I googled it and realized its population is over 403k people and there were A LOT of bars. And what is worse, there were a lot of bars close to several parks that Bakersfield had. My intuition was however that there should normally be less parks than bars in any given town/city, so i decided to proceed with “brute forcing” parks. Opened google maps, typed “bakersfield california parks” and started looking at each of them and the area around in Google Earth Pro with 3D Buildings option on. I vaguely knew what i was looking for, since the building on that image provided had what looks like a chimney on the outer side of it and a particular roof with no solar panels, which, as Google Earth showed, is definitely a mainstream thing to be located on your roof in Bakersfield, California.</p><p>As i was going from one park to another thinking of myself as probably being not shozin but sherlock of modern era, who really values his time and most definitely knows how to minimize the effort to reward ratio, the Mill Creek park turned up in the list. I moved to the location of it in Google Earth and look what we see there:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1yG9hM52JMU1IVk03ooEMA.png" /><figcaption>hmmm nice chimney on the left side of the building, also no solar panels! there are some at the bottom right corner though</figcaption></figure><p>I zoomed in, rotated the camera a little bit and realized that one was the building i was actually looking for:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kKEyy7_lvKF-nDLdqcxISg.png" /><figcaption>i love google earth!</figcaption></figure><p>After that i moved the little yellow man to that point in Google Maps and confirmed it was the building we were looking for — <a href="https://goo.gl/maps/WNFpKeYC7rfoqHcy9">Bakersfield Community House</a>. The photo in google street view was identical to the one provided in the archive. After that it was pretty much done, I was struggling with the form of the answer since the instruction said “all,words,no,spaces”. So taking into account that the first archive was accessed using BAKERSFIELD, and not bakersfield, i kinda learned the lesson and tried BAKERSFIELD,COMMUNITY,HOUSE, but nope. Then i tried bakersfield,community,house, then community,house,bakersfield then maybe ten other permutations and then contacted the author of this quest who said that I am actually very close, but precise location is needed.</p><p>Hmm, what could be more precise than what3words square — i said to myself, not even thinking about the fact that w3w provides no spaces and the instruction explicitly states “all,words,no,spaces”. Long story short here, I spent maybe another 30 minutes drawing lines in order to locate the exact square the photo was taken from. Like this 🥲</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/920/1*kGDuy0oTu68GA0hmJ-rRAw.png" /><figcaption>if at this point you also believe i have a big future in investigations, i am ready to have you as my first client. just don’t ask me to find the exact location of your office!</figcaption></figure><p>That gave me options like GOOD,PARENT,CLOSER good,parent,closer brass,token,line BRASS,TOKEN,LINE SHOTS,MOUNT,GOLF shots,mount,golf etc. I was starting to get pissed off by not being able to get the answer right even though i definitely had the answer, and also readme.txt said “You task, is to find the exact location of the image to open the second zip file encrypted” and i thought “hmmm okay am I supposed to find the exact location of what is on the image (i.e. that building) or of the point from which the image was taken or of that park where murders were allegedly committed”? I am definitely not an overthinker, why would you even think that???</p><p>We discussed what could be the format of the correct password with Mr. Carcosa and then the author of the quest confirmed we needed the address and did not need to worry about the answer being in CAPS or not in caps, and suggested using google maps, so at some point i just put the pin on that Bakersfield Community House building, which by that time seemed more like a home than a house to me, and google maps gladly provided me with something like <strong>2020 R St, Bakersfield, CA 93301, USA</strong></p><p>I deleted all spaces in that address line et voila once again, it worked! ̶T̶h̶r̶e̶e̶ ̶d̶a̶y̶s̶ ̶a̶n̶d̶ ̶f̶i̶v̶e̶ ̶o̶u̶n̶c̶e̶s̶ ̶o̶f̶ ̶t̶e̶a̶r̶s̶ ̶l̶a̶t̶e̶r̶</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kpI1LsPVWKswwbbkNDwtzw.png" /><figcaption>it is basically a 20+ MG gif so medium would not let me upload it as it is, but anyways it feels great looking at that awesome card!</figcaption></figure><h3>Conclusions</h3><p>Summing it all up, it was not an easy CTF, one of my first ones, and it definitely revealed several growth zones for me, but overall it was fun and entertaining, and I believe I learned something. I want to use it as a baseline for my future CTFs, to be able to track progress and identify areas where I am becoming better/need to work on more.</p><p>Wanted to first of all thank <a href="https://twitter.com/pwnheaven">PWN Heaven</a> team for creating this amazing quest! Follow them in <a href="https://twitter.com/pwnheaven">twitter</a>, they already published a new chapter, I guess you could expect another writeup on that one for me in one month or so (assuming i start right now).</p><p>Also thanks to Mr. Carcosa for being a valuable teammate in solving that quest.</p><p>And thank you, dear reader, for taking this virtual walk with me, I hope it was worth it. Feel free to email me at shoz1n@proton.me</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=31b0c532d16e" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>