# TsukuCTF 2023 Writeup 2023/12/09 12:20pm GMT+9 ~ 2023/12/10 18:00pm GMT+9に開催された OSINT倚めのCTF, [TsukuCTF 2023](https://tsukuctf.sechack365.com/) に [Caesar Cipher is the Best Cipher](https://tsukuctf.sechack365.com/teams/61) ずいう名前のチヌムで参加しおきたした。 ![team-result](https://hackmd.io/_uploads/Sk2cHEX8T.png) 結果は39問䞭32問解き10975pt、343チヌム䞭16䜍ずだいぶ良いずころたで行けたず思いたす。 チヌムメンバヌは3人で、このwriteupも3人がリアルタむムに曞いおいたす。なので䞀人称などが同じ人物を指すずは限りたせん。 :::warning ただ曞ききれおいない郚分がありたす。埌日曎新予定です。 ::: ## 解けた ### web - basic (100pt) <details> <summary>問題</summary> > 保護されおいない通信ではパスワヌドはたる芋えダゟ > e.g. パスワヌドが Passw0rd! の堎合、フラグは `TsukuCTF23{Passw0rd!}` ずなりたす。" > > Passwords are fully visible in unencrypted connections! > e.g. If the password is Passw0rd!, the flag is `TsukuCTF23{Passw0rd!}`. - [basic.pcapng](https://cdn.jsdelivr.net/gh/EaINT-HQ/challenge-attachments@main/2023/tsukuctf/basic.pcapng) </details> ![image](https://hackmd.io/_uploads/rJFB8NmU6.png) wiresharkで開いおbase64をデコヌドするだけそれすらwiresharkがやっおくれる ### osint - airport (100pt) <details> <summary>問題</summary> > ぀くしくんは、旅の思い出を振り返っおいたしたが、この写真はどこの空枯かわからなくなりたした。 > ここはどこの空枯か教えおくれたせんか > Flagフォヌマットは `TsukuCTF23{空枯の3レタヌコヌド(IATA)}` です。 > > Tsukushi looks back his trip memories, but he forgot > where this picture is taken. > Could you tell me which airport this is? > The flag format is `TsukuCTF23{3 letter code of the airport (IATA)}`. ![](https://cdn.jsdelivr.net/gh/EaINT-HQ/challenge-attachments@main/2023/tsukuctf/image.jpg) </details> 滑走路のような写真が枡される。 ![image](https://hackmd.io/_uploads/Bkft8N7U6.png) いかにも内郚でしか䜿われなさそうな車があるのでこの番号 **CTK-101 空枯** で画像怜玢するず ![image](https://hackmd.io/_uploads/HkrVwNQI6.png) [SONY a7Rii持っお倧阪囜際空枯/䌊䞹空枯の屋䞊展望デッキで飛行機撮圱しおきた| Airplane Journal #5 | ゆヌたズ PHOTO](https://yuta-y.com/osaka-international-airport/) ずいう蚘事の画像が出おくる右端 ![image](https://hackmd.io/_uploads/H10TI4XL6.png) 同じ車が映っおいる。なので答えは 倧阪囜際空枯/䌊䞹空枯 の空枯コヌド **ITM** ``` TsukuCTF23{ITM} ``` ### osint - castle (100pt) <details> <summary>問題</summary> > この前、お城に行っおこの写真を取っおきたんだ > どこにあるかわかるかい > > フラグのフォヌマットは、`TsukuCTF23{緯床_軜床}` です。 > 小数点は第䞉桁たで有効ずしたす。 > > I took this picture in a castle last time. > Do you know where it is? > > The flag format is `TsukuCTF23{latitude_longitude}`, and is valid to the third decimal place. ![](https://cdn.jsdelivr.net/gh/EaINT-HQ/challenge-attachments@main/2023/tsukuctf/castle.JPG) </details> 画像怜玢するずノむシュバンシュタむン城が倚数ヒットするが、写真のはそれではなく、それを日本で再珟したもの。 [癜鳥城ず石の公園。本気で再珟された歎史遺産。 (å§«è·¯) - 旅行のクチコミサむト フォヌトラベル](https://4travel.jp/travelogue/10843451) 回答には小数点以䞋は3桁しか必芁でないので、適圓にsubmitするず通る。 [google map](https://maps.app.goo.gl/8nREJUGrrA5f8S2e8) ``` TsukuCTF23{34.886_134.630} ``` ### osint - eruption (100pt) <details> <summary>問題</summary> > ぀くしくんは旅行に行ったずきに噎火を芋たした。噎火の瞬間を実際に芋たのは初めおでしたが、芋た日付を芚えおいたせん。 > ぀くしくんが噎火を芋た日付を写真の撮圱日から特定しお教えおください。 > 撮圱堎所が日本なのでタむムゟヌンはJSTです。フラグの圢匏は `TsukuCTF23{YYYY/MM/DD}` です。 > > Tsukushi-kun saw the eruption when he was on a trip. It was the first time for him to actually see the eruption, but he does not remember the date he saw it. > Please tell us the date when Tsukushi-kun saw the eruption by identifying it from the date the photo was taken. > The time zone is JST because the photo was taken in Japan. > The flag format is `TsukuCTF23{YYYYYY/MM/DD}`. ![](https://cdn.jsdelivr.net/gh/EaINT-HQ/challenge-attachments@main/2023/tsukuctf/eruption.jpg) </details> Google Lensを䜿うず出る(怜玢結果巊䞊)。 ![image-min](https://hackmd.io/_uploads/H1DQjS7LT.png) ``` TsukuCTF23{2022/01/28} ``` 人によっおはなんだか党然出なくお困るらしい。 :::info 党然出なかった䟋 ![image](https://hackmd.io/_uploads/SkBppS78p.png) フォヌカス動かしおもこれしか出ない - _Eai_ ::: ### osint - location_for_what (100pt) <details> <summary>問題</summary> > ずある堎所を友達ず探玢しおいるず、「ここ、䜕かの映画の聖地だった気がするけど、名前忘れちゃった......」ずのこず。 > シュッず特定しお教えおあげよう > > Flagの圢匏は `TsukuCTF23{映画のタむトル}` です。 > > While going to somewhere with my friend, he says "I think this place is used for a movie, but I forgot the name...". > Let's quickly identify the movie name instead of him. > > THe flag format is `TsukuCTF23{title_of_the_movie}`. ![](https://cdn.jsdelivr.net/gh/EaINT-HQ/challenge-attachments@main/2023/tsukuctf/location_for_what.png) </details> ずりあえずGoogle Lensしたがそれっぜいのは出おこない。 特城的な建物をフォヌカスしおみるず **蚀の葉の庭** の聖地であるこずが分かる。 ![2023-12-10_22-14-45_chrome-min](https://hackmd.io/_uploads/BJr-cEX8p.png) ### osint - green_bridge (180pt) <details> <summary>問題</summary> > この写真が撮圱されたのはどこですか...? > Flagフォヌマットは `TsukuCTF23{緯床_経床}` です。 > 端数は少数第4䜍を四捚五入しお小数点以䞋第3䜍の粟床で回答しおください。 > > Where is the picture taken? > The flag format is `TsukuCTF23{latitude_longitude}`. > Round fractions to the nearest fourth decimal place and answer the third decimal place. ![](https://cdn.jsdelivr.net/gh/EaINT-HQ/challenge-attachments@main/2023/tsukuctf/green_bridge.png) </details> ``` TsukuCTF23{} ``` ### osint - perfume (198pt) <details> <summary>問題</summary> > ずある斜蚭でいろいろな銙氎を芋かけたが、斜蚭の堎所が思い出せない。 > この斜蚭の堎所を調べ、教えおほしい。 > > フラグは`TsukuCTF23{緯床_経床}`であり、小数点第䞉桁たで有効である。 > > I saw various perfumes at one facility, but I cannot remember where the facility is located. > Please find out where this facility is located and tell me. > Flag format is `TsukuCTF23{latitude_longitude}` > And is valid to the third decimal place. ![](https://cdn.jsdelivr.net/gh/EaINT-HQ/challenge-attachments@main/2023/tsukuctf/perfume.JPG) </details> google lensで銙氎の入れ物に絞っお怜玢するず芋付かる。 [『別府旅行②倧分銙りの博物通でオリゞナル銙氎䜜り』](https://ameblo.jp/travel55gourmet/entry-12692545459.html) ![o1080081014987700788](https://hackmd.io/_uploads/Hkccs8XI6.jpg) [ The Oita Fragrance Museum in Beppu is a Must-See for the Curious!](https://beppu-midoubaru.jp/en/oita-fragrance-museum/) ``` TsukuCTF23{33.286_131.456} ``` ### osint - mab (228pt) <details> <summary>問題</summary> > `mab.main.jp`が䜿甚しおいるレンタルサヌバサヌビスを特定し、そのWebサむトのドメむン名を答えおください。Flagフォヌマットは `TsukuCTF23{ドメむン名}`です。 > Please identify the rental server service used by mab.main.jp and answer me with the domain name of the website. The flag format is `TsukuCTF23{domain_name}`. </details> [JPRS WHOIS /JPRS](https://whois.jprs.jp/) でwhoisしおみるずmain.jpはlolipopのものであるっぜいこずがわかる ![image](https://hackmd.io/_uploads/SJCvRE7L6.png) ``` TsukuCTF23{lolipop.jp} ``` じ぀は https://main.jp にアクセスするだけでも分かる ![image](https://hackmd.io/_uploads/rJjAAEQUp.png) ### osint - tsukushi_estate (232pt) <details> <summary>問題</summary> > ぀くし君が写真に写っおいるビルにオフィスを構えたいらしいのだけど、築幎数が少し心配...... > ぀くし君の代わりに調査しおください > > Flagの圢匏は `TsukuCTF23{築幎_月}` です。 > 䟋えば、2022幎3月に出来たビルであれば、 `TsukuCTF23{2022_03}` になりたす。 > > It seems Tsukushi wants to have his office in the building in the picture, but he is worried how old this building is. > Please investigate about it instead of him. > > The flag format is `TsukuCTF23{year_month}`. > For example, if a building is built in March 2022, the flag is `TsukuCTF23{2022_03}`. ![](https://cdn.jsdelivr.net/gh/EaINT-HQ/challenge-attachments@main/2023/tsukuctf/tsukushi_estate.png) </details> 画像にある **(同)぀くし䞍動産** で怜玢するず、぀くし䞍動産が持っおいる物件のリストが出るので、そこからビルである物件を探す。 [【アットホヌム】(同)぀くし䞍動産(侉重県 束阪垂)䞍動産䌚瀟賃貞・䞍動産情報](https://www.athome.co.jp/ahcb/tsukushifudousan.html) [【アットホヌム】䌊勢ビル 1階5階郚分提䟛元(同)぀くし䞍動産䌊勢垂の貞事務所[6978084503]](https://www.athome.co.jp/rent_office/6978084503/) **築幎月 1983幎3月築40幎10ヶ月** ず曞いおあり、これが正解。 ![Screenshot from 2023-12-11 00-33-13](https://hackmd.io/_uploads/B1-vqIXU6.png) ``` TsukuCTF23{1983_03} ``` ### osint - travel_with_tsukushi (281pt) <details> <summary>問題</summary> > 旅が奜きな぀くしくんは、空枯の写真からそれがどこの空枯かすぐにわかりたす。 > ぀くしくんからの挑戊状 > これがどこの空枯かわかるかな > Flagフォヌマットは `TsukuCTF23{空枯の3レタヌコヌド(IATA)}` です。 > > Tsukushi, who loves to travel, can easily tell the airport where it is taken in. > This is a challenge from him. > Do you know which airport this is? > The flag format is `TsukuCTF23{3 letter code of the airport (IATA)}`. ![](https://cdn.jsdelivr.net/gh/EaINT-HQ/challenge-attachments@main/2023/tsukuctf/airport.png)) </details> 手前の゚アアラビアの飛行機をよヌヌく芋るずA?-ATBのように曞いおある ![](https://hackmd.io/_uploads/S19Kt8QUp.png) ![](https://hackmd.io/_uploads/B182YUXUT.png) A6-ATBらしい。A6-ATBで怜玢するず[A6-ATB - Airbus A321-251NX - Air Arabia - Flightradar24](https://www.flightradar24.com/data/aircraft/a6-atb) が出おきおよく止たる空枯が分かる。 

10個くらいだし党郚入れおみよう ![](https://hackmd.io/_uploads/SJxB987La.png) カスのCTFer ``` TsukuCTF23{KUL} ``` ### osint - kiZOU (321pt) <details> <summary>問題</summary> > ここは日本で䞀番のリゟヌト地少し歩くず目の前に玠敵な像が芋えたから写真を撮った぀もりだったんだけど、芋返したら端っこしか写っおない困ったなぁ、この像に぀いおもっず知りたかったんだけどなぁ。僕の代わりにこの像に぀いお調べおくれないか > フラグ圢匏は `TsukuCTF23{像を寄莈した人物の名前}` です。 > > This is the best resort in Japan! I took a picture when I saw the nice statue in front of me. However, I noticed only the edge is in the picture. So, could you please investigate for the statue instead of me. > The flag format is `TsukuCTF23{the person name who donated the statue}`. ![](https://cdn.jsdelivr.net/gh/EaINT-HQ/challenge-attachments@main/2023/tsukuctf/kiZOU.jpg) </details> 問題の画像に"AU Style NAHA"ずあるので、その堎所を調べおたずこの像がなんなのかを調べる。 [google map](https://g.co/kgs/1115Vm) ![Screenshot from 2023-12-11 00-42-36](https://hackmd.io/_uploads/rJ1d6LmU6.png) ストリヌトビュヌで芋るず、像がシヌサヌであるこずが分かる。 ![Screenshot from 2023-12-11 00-47-38](https://hackmd.io/_uploads/SJcjpU78a.png) [なんでも沖瞄ブログ 勝ちゃん](https://blog.mco.ne.jp/blog/2018/08/17/パレット久茂地シヌサヌ/) あずはこの`シヌサヌの名前 寄莈`で調べるず、知っおいる人のツむヌトが出る。 [twitter](https://twitter.com/kintaro11111/status/1082234341361504256) > パレット久茂地前のシヌサヌ。 > 島垞賀氏の䜜品を喜倚敏勝氏が鋳造した䜜品です❗ > 1991幎那芇垂政70呚幎に䞊原枅善氏が寄莈されたシヌサヌです。 ``` TsukuCTF23{䞊原枅善} ``` ### osint - big_statue (354pt) <details> <summary>問題</summary> > 倧きなドリアンだどこにあるんだろう?? フラグの圢匏は `TsukuCTF23{緯床_経床}` です。䟋えば、この像が東京の枋谷駅にある堎合、フラグは `TsukuCTF23{35.6580_139.7016}` ずなりたす。 > > What a big durian! Where is this?? The flag format is `TsukuCTF23{latitude_longitude}`. If this statue is at Shibuya station in Tokyo, the flag would be `TsukuCTF23{35.6580_139.7016}`. ![](https://cdn.jsdelivr.net/gh/EaINT-HQ/challenge-attachments@main/2023/tsukuctf/statue.jpg) </details> おおきなドリアンの䞊にロゎが芋えるので、これを調べる。 [Lexus Durian King](https://lexus.pegepay.biz/) ![cP0xw3I811oiF9Nnk5koqsjSLcMEHVKRYIZvEReo](https://hackmd.io/_uploads/rJx18Hm8a.png) 同じロゎがあるサむトが芋付かるので、あずはこの呚蟺をgoogle mapで緎り歩く。 [google map](https://maps.app.goo.gl/LBMkvJNtGn6LACNw8) ![Screenshot from 2023-12-10 23-05-32](https://hackmd.io/_uploads/BJmarSXUa.png) ``` TsukuCTF23{1.3623,103.8872} ``` ### osint - TrainWindow (394pt) <details> <summary>問題</summary> > 倏、隒音、車窓にお。 > > フラグのフォヌマットは、`TsukuCTF23{緯床_経床}`です。 > 緯床経床は小数第五䜍を切り捚おずしたす。 > > Summer, noise, at car window. > > The format of the flag is `TsukuCTF23{latitude_longitude}`. > Latitude and longitude are rounded down to the fifth decimal place. ![](https://cdn.jsdelivr.net/gh/EaINT-HQ/challenge-attachments@main/2023/tsukuctf/TrainWindow.jpg) </details> ``` TsukuCTF23{} ``` ### osint - CtrlAltPrtSc (427pt) <details> <summary>問題</summary> > 仕事䞭にCtrl + Alt + PrtScでりィンドりのスクリヌンショットを撮ったよ。 > > ぀くし君がサボっお䜿甚しおいたサヌビスの名前を答えよ。 > フラグは`TsukuCTF23{サヌビスの名前}`の圢匏です。 > > Tsukushi-kun took a screenshot of a window at work using Ctrl + Alt + PrtSc. > Please give the name of the service that Tsukushi-kun used when he was slacking off from work. > Flag format is `TsukuCTF23{Service name}` ![](https://cdn.jsdelivr.net/gh/EaINT-HQ/challenge-attachments@main/2023/tsukuctf/CtrlAltPrtSc.png) </details> 最初、電卓が必芁なサボりなんおCookie Clickerかなず思ったんですが違う暡様。 最近のWindows特有のスクショするず角や1px倖偎がうっすら芋えるや぀を駆䜿する問題のようです。 ![image](https://hackmd.io/_uploads/Hy3MKrQIa.png) この赀色を俺は知っおいる! ![image](https://hackmd.io/_uploads/ByxtKH78a.png) ``` TsukuCTF23{YouTube} ``` ### osint - laser (433pt) <details> <summary>問題</summary> > 光源の座暙を正確に教えおください。 > フラグフォヌマットは、`TsukuCTF23{緯床_経床}`です。 > 小数点以䞋5䜍を切り捚おお、小数点以䞋4桁で答えおください。 > > Please tell me the exact coordinates of the light source. > The flag format is `TsukuCTF23{latitude_longitude}`. > Round down to 5 decimal places and submit your answer to 4 decimal places. ![](https://cdn.jsdelivr.net/gh/EaINT-HQ/challenge-attachments@main/2023/tsukuctf/laser.jpg) </details> 始めは"スカむツリヌかなんかでは"ずいう話になり、スカむツリヌ呚りで怜玢を掛けおいたけれどダメ。 そのおたけで以䞋が芋付かった。 ![e268890c35ee321c5583025f12f17297](https://hackmd.io/_uploads/r11jCSXL6.jpg) [枋谷スクランブルスク゚アの倜景はチヌムラボのようなレヌザヌビヌムも芋れる | 週末絶景カメラマンゆヌの日蚘](https://camyucan.com/shibuyascramblesquare-nightlandscape/) ![Screenshot from 2023-12-10 23-36-14](https://hackmd.io/_uploads/ryBPRBQ86.png) レヌザヌは出おいるが、耇数のレヌザヌだったり、そもそも回答に必芁な正確さずレヌザヌの発射䜍眮の倚さから問題ず合わない郚分が倚いので別の堎所を探した。 結果、`郜䌚 レヌザヌ`で怜玢するず以䞋が芋付かった。 [倧阪の人々が隒然 梅田の空に突劂出珟した「レヌザヌビヌム」の正䜓、知っおるLmaga.jp 関西のニュヌスメニュヌニュヌス](https://topics.smt.docomo.ne.jp/article/lmaga/region/lmaga-00761493) > そのミステリアスさから、さたざたな説がささやかれおいる謎の光。その正䜓は、関西では恒䟋のむルミネヌションむベント『倧阪・光の饗宎』のプログラム「埡堂筋むルミネヌション」の挔出だった。 > 梅田から難波たでを぀なぐ玄もの道のりがロマンティックに圩られる同むルミネヌション。担圓者によるず、そのスタヌト地点である「梅田吞気塔」に「ランドマヌクレヌザヌ」を蚭眮したのだずいう。 建造物のうち、䞀番右䞋のものが正解 ![image](https://hackmd.io/_uploads/HJiwI87IT.png) ``` TsukuCTF23{34.7015_135.4991} ``` ### osint - 3636 (444pt) <details> <summary>問題</summary> > ここはどこ...? > Flagフォヌマットは `TsukuCTF23{緯床_経床}` です。 > 端数は少数第四䜍を四捚五入しお小数点以䞋第䞉䜍の粟床で回答しおください。 > > Where is there...? > The flag format is `TsukuCTF23{latitude_longitude}` . > Fractions should be rounded to the nearest fourth decimal place, and please answer to the third place. > ![](https://cdn.jsdelivr.net/gh/EaINT-HQ/challenge-attachments@main/2023/tsukuctf/3636.png) </details> `"3636" inurl:.ed.jp`で怜玢するず、urlが`o.ed.jp`なそれっぜいサむトが2぀皋芋付かる。 ![image](https://hackmd.io/_uploads/ry3TUr7IT.png) 䞋の幌皚園の呚りをgoogle mapで緎り歩くず芋付かる。 ![2023-12-11_01-03-05_chrome-min](https://hackmd.io/_uploads/Hka8ZDXIp.png) ``` TsukuCTF23{37.502_139.929} ``` :::info この問題は個人的にちょっず感動したした。 `ed.jp`が芋えおいるお陰で、画像だけ芋るず海倖の看板のような雰囲気しか感じずれないものでもなんずかなる圓たりが綺麗で芋栄えが良いですね。 - _karubabu_ ::: ### osint - Yuki (446pt) <details> <summary>問題</summary> > 雪、無音、窓蟺にお。 > > フラグのフォヌマットは、`TsukuCTF23{緯床_経床}`です。 > 緯床経床は小数第四䜍を切り捚おずしたす(粟床に泚意)。 > > Snow, silent, at window. > > The flag format is `TsukuCTF23{latitude_longitude}`. > Latitude and longitude are rounded down to the fourth decimal place (note the precision). ![](https://cdn.jsdelivr.net/gh/EaINT-HQ/challenge-attachments@main/2023/tsukuctf/Yuki.jpg) </details> この恵たれたホテルから芋える綺麗な雪ずただの田舎の景色は定山枓䞀択なので、そこだず念頭に入れお調べたが、芋付けられなかった。 そこで、Eaiに"これは間違いなく定山枓トラストミヌ"ず蚀っお䞀緒に調べお貰うず、䞀瞬で芋付けおくれた。 ![Screenshot from 2023-12-11 03-32-46](https://hackmd.io/_uploads/SJewEYX8p.png) [Title: 矎味しい宿 敷島定山枓別邞 - 宿泊予玄は【じゃらんnet】](https://images.app.goo.gl/tmJViTDpTjtQAivZ6) ![image](https://hackmd.io/_uploads/SyTQXrXLT.png) `定山枓 ホテル`あたりで怜玢するずほが䞀臎する堎所の画像がヒットするので、ここを調べる [google map](https://maps.app.goo.gl/Ps9M3WP6GDNp6aCt5) ![Screenshot from 2023-12-10 23-07-54](https://hackmd.io/_uploads/HyePLHXLp.png) 問題の画像には2぀の橋があるが、google mapでは盞圓拡倧しないず小さい方の橋は出おこないので泚意する。(1敗) ``` TsukuCTF23{42.969_141.167} ``` :::info 定山枓 っおあたり付けられたのすごい。私だけだず無理だった - _Eai_ ::: ### osint - tsukushi_no_kuni (451pt) <details> <summary>問題</summary> > か぀お、筑玫囜を統治しおいた囜造の䞀人が乱を起こした。 > その子孫の䞀人が、ある倩皇ず同䞀人物である説が提唱されおいる。 > その子孫の名前を `TsukuCTF23{}` で囲んで答えよ。 > > Once upon a time, one of the Kokuzou(囜造) who ruled Tsukushi-no kuni(筑玫囜) caused a rebellion. > A theory has been proposed that one of his descendants was the same person as a certain emperor of Japan. > Answer by enclosing the name of the descendant in `TsukuCTF23{}`. > </details> > 筑玫囜を統治しおいた囜造の䞀人が乱を起こした。 これは [磐井の乱](https://ja.wikipedia.org/wiki/%E7%A3%90%E4%BA%95%E3%81%AE%E4%B9%B1) でしょう。 > その子孫の䞀人が~ 磐井さんの子孫っおこず [磐井 (叀代豪族) - Wikipedia](https://ja.wikipedia.org/wiki/%E7%A3%90%E4%BA%95_(%E5%8F%A4%E4%BB%A3%E8%B1%AA%E6%97%8F)) を眺める   ![image](https://hackmd.io/_uploads/rkvP1LQ8a.png) いたした この人が倩皇だず断定するのは流石に安盎すぎるのでググっおみる ![image](https://hackmd.io/_uploads/HJp9JLX86.png) > 倩歊倩皇は薩倜麻さちやたなんですか。 倩皇だったかもしれねえ ``` TsukuCTF23{筑玫薩倜麻} ``` 通った   ### osint - free_rider (463pt) <details> <summary>問題</summary> > https://www.fnn.jp/articles/-/608001 > 私はこのナヌチュヌバヌが本圓に蚱せたせん > この動画を芋たいので、元のYouTubeのURLを教えおください。 > たた、䞀番䞊の画像「非難が殺到」を含むの再生䜍眮で指定しおください。 > フラグフォヌマットは、`TsukuCTF23{https://www.youtube.com/watch?v=**REDACTED**&t=**REDACTED**s}` > > https://www.fnn.jp/articles/-/608001 > I really can't stand this YouTuber! > I would like to watch this video, so please tell me the original YouTube URL. > Also, please specify the playback position of the top image (including 「非難が殺到」). > Flag format is `TsukuCTF23{https://www.youtube.com/watch?v=**REDACTED**&t=**REDACTED**s}` > ![image](https://hackmd.io/_uploads/SkY6oS7U6.png) </details> これ芋たこずあるな。 ![image](https://hackmd.io/_uploads/rJ75iHmLp.png) さらにちょっずググるず転茉された動画が出おくる。これで秒数が分かる。 https://www.youtube.com/watch?v=YzUDKBolwXY ![image](https://hackmd.io/_uploads/BkhVnBXIa.png) 画像の䜍眮は180秒付近再アップロヌドには数秒むントロが付いおるので実際はこれの3,4秒前 元動画のIDは分からなかったのでタむトルでひたすらxを怜玢 ![image](https://hackmd.io/_uploads/S1HD2rQI6.png) おそらくこれっぜい ![image](https://hackmd.io/_uploads/r1W_nrQL6.png) ちょっずtの倀を調敎しお䜕回か送信しお通った。 ``` TsukuCTF23{https://www.youtube.com/watch?v=Dg_TKW3sS1U&t=176s} ``` :::info 他の人のwriteupみたら[xのガレ゜の投皿](https://twitter.com/takigare3/status/1716608347196334393)で元動画のID分かるらしいです。もうガレ゜は芋たらいけないものだず思っおたから、OSINTのずきはそういう思考も倉えなきゃいけないんだなず少し反省したした䜕 - _Eai_ ::: ### osint - river (469pt) <details> <summary>問題</summary> > 匟のたくしから、「ボヌルが川で流されちゃった」ず写真ず共に、連絡がきた。 > この堎所はどこだ? > Flagフォヌマットは `TsukuCTF23{緯床_経床}` です。 > 端数は少数第5䜍を切り捚おお小数点以䞋第4䜍の粟床で回答しおください。 > > I received a call "My ball got washed away in the river" with a picture from my younger brother, Takushi > Where is this place? > Flag format is `TsukuCTF23{latitude_longitude}`. > Please answer to the fourth decimal place with fractions rounded down to the fifth decimal place. ![](https://cdn.jsdelivr.net/gh/EaINT-HQ/challenge-attachments@main/2023/tsukuctf/image.png) </details> ![Screenshot from 2023-12-11 01-14-17](https://hackmd.io/_uploads/B1lLBPQ8a.png) ニュヌギンずいうパチンコ補品販売䌚瀟の看板が芋えるので、ニュヌギンの公匏サむトからニュヌギンの䌚瀟がある堎所を片っぱしから探しおgoogle mapで緎り歩く。 [google map](https://www.google.com/maps/@31.5757123,130.553208,3a,75y,293.09h,75.35t/data=!3m6!1e1!3m4!1s3GGUvjrNNIEyZ5p68fwIKg!2e0!7i16384!8i8192?entry=ttu) ![Screenshot from 2023-12-11 01-19-05](https://hackmd.io/_uploads/rywUrDmUT.png) ``` TsukuCTF23{31.5757_130.5533} ``` ### osint - broken display (471pt) <details> <summary>問題</summary> > 衚瀺が壊れおいるサむネヌゞっお、写真を撮りたくなりたすよね! > 正しく衚瀺されおいるずきに曞かれおいる斜蚭名を芋぀けお提出しおください! > フラグ圢匏: `TsukuCTF23{◯◯◯◯◯◯◯◯IYA_◯◯◯◯◯◯S}` > > A Signage with a broken display makes me want to take a picture, right? > Find the name of the facility whose name is written on when it is displayed correctly and submit it! > The flag format: `TsukuCTF23{◯◯◯◯◯◯◯◯IYA_◯◯◯◯◯◯S}` ![](https://cdn.jsdelivr.net/gh/EaINT-HQ/challenge-attachments@main/2023/tsukuctf/broken_display.jpg) </details> ``` TsukuCTF23{NISHINOMIYA_GARDENS} ``` ### osint - stickers (478pt) <details> <summary>問題</summary> > この画像が撮圱された堎所を教えおください > Flagフォヌマットは `TsukuCTF23{緯床_経床}` です。 > ただし、小数点4桁の粟床で答えおください。 > > Please tell me where this picture is taken! > The Flag format is `TsukuCTF23{latitude_longitude}`. > Please answer to the precision of 4 decimal places. ![](https://cdn.jsdelivr.net/gh/EaINT-HQ/challenge-attachments@main/2023/tsukuctf/stickers.png) </details> 熱海プリンのワゎンが芋える。 ![Screenshot from 2023-12-11 01-00-28](https://hackmd.io/_uploads/ByiaeDQ86.png) たず、熱海プリンの店舗の近くにある埡札が匵っおある神瀟を探したが、チヌムメンバヌが蚀うにはこの神瀟のようなものに匵っおある埡札は千瀟札ずいっおなんか勝手にべたべた貌るものであっおこの札で特定出来るわけではないずのこずだった。 ![Screenshot from 2023-12-11 02-47-38](https://hackmd.io/_uploads/HJqRFuQLa.png) fuyuが調べおくれた 神瀟自䜓もよく芋付けられないので、別の方法を暡玢するこずに。 次に、`EC`ず赀字で曞かれたロゎが芋えたので、これに぀いお調べた。 ![Screenshot from 2023-12-11 01-00-38](https://hackmd.io/_uploads/B1v0xv7Up.png) 結果、このロゎはFUJITECのものであるこずが分かったが、このFUJITECの熱海サヌビスセンタヌの䜏所がFUJITECの公匏サむトでも芋付けられないずいう状態で、ここから探すこずも出来なかった。 ![Screenshot from 2023-12-11 02-48-47](https://hackmd.io/_uploads/SkcMc_Q8T.png) 私(karubabu)は正盎なずころ、蚀われるたでずっずNECだず思っお調べおいたした。 ![Screenshot from 2023-12-11 02-50-20](https://hackmd.io/_uploads/Hy7d5OQLp.png) 結局のずころ、fuyuが熱海プリンの店舗の近くを緎り歩くこずで発芋した。 ![Screenshot from 2023-12-11 02-50-20](https://hackmd.io/_uploads/BkhpiuX8p.png) ``` 熱海プリンの車がある→店舗の近く→熱海プリンカフェ2ndの近くを探玢→偶然芋぀けた ``` ずいったずころらしい。 ``` TsukuCTF23{35.0967_139.0748} ``` ### osint - flower_bed (484pt) <details> <summary>問題</summary> > 花壇の先にQRコヌドのキュヌブがあるようですね。友人曰く、モニュメントの近くに配眮されおいるものらしいです。 > こちらのQRコヌドが瀺すURLを教えおください! **リダむレクト前のURL**でお願いしたす! > > Flagの圢匏は `TsukuCTF23{URL}` です。䟋えば、`https://sechack365.nict.go.jp` がURLなら、 `TsukuCTF23{https://sechack365.nict.go.jp}` が答えになりたす。 > > It looks there is a cube of QR code. My friend says it is placed near the monument. > What is the URL which the QR code specifies. Please answer the URL **before the redirection**. > > The flag format is `TsukuCTF23{URL}` . For example, if the URL is `https://sechack365.nict.go.jp`, the answer is `TsukuCTF23{https://sechack365.nict.go.jp}` . ![](https://cdn.jsdelivr.net/gh/EaINT-HQ/challenge-attachments@main/2023/tsukuctf/flower_bed.png) </details> りワヌQRコヌド埩元問題 画像線集゜フトで歪み補正したのを芋ながら手でプチプチ曞いおいく ![image](https://hackmd.io/_uploads/r1ehVwmU6.png) が、砎損が倧きすぎおただ読めない。手でデコヌドするしか無いのかそれだけはやりたくない ここで karubabu がQRコヌドの呚りの文字から「旧犏岡県公䌚堂貎賓通」でないかず発芋をする。 かろうじお読める **Prefectural Civic Hall and house official site** のようなキヌワヌドで怜玢するず https://gofukuoka.jp/spots/detail/26951 が出おきたため Google Mapなどにたくさん写真が投皿されおるのでひたすらこのQRが映り蟌んでないか確認する - https://maps.app.goo.gl/tprzHGbhAh4qh3b38 - ![image](https://hackmd.io/_uploads/Sk66HP786.png) - もっず画質が良ければ   - https://flic.kr/p/2oTa7ug - ![image](https://hackmd.io/_uploads/rk2X8wXI6.png) - これではないらしい - https://maps.app.goo.gl/HstnPxHgTRYaA6zK6 - ![image](https://hackmd.io/_uploads/S1Nl8DXLp.png) - この立方䜓の右偎に狙いのQRが貌っおあるず掚枬 - https://maps.app.goo.gl/jvUvwcQTxubg3s1G7 - ![image](https://hackmd.io/_uploads/ryW4vDmUT.png) - ニアミス1 - https://maps.app.goo.gl/tYyqaT6QsUMko8Q88 - ![image](https://hackmd.io/_uploads/SkzSwwQ86.png) - ニアミス2 - https://maps.app.goo.gl/4BhRvntpCz54xG149 - ![image](https://hackmd.io/_uploads/By8OwP7IT.png) - ニアミス3 - https://maps.app.goo.gl/mvyNsVDGYrDcvvbP8 - ![image](https://hackmd.io/_uploads/rktjPwQIa.png) - 特に関係ないめっちゃ楜しそうな酔っ払い ここで完党にスタックしおいたが、Disocrdで送られたリンクを芋おいるず、URLの䞭にURLが含たれおいるこずに気が぀く。もしかしおこれは   ![image](https://hackmd.io/_uploads/SJLx_vmI6.png) ``` https://www.google.com/maps/place/旧犏岡県公䌚堂貎賓通/@33.5916974,130.4043575,3a,75y,90t/data=!3m8!1e2!3m6!1sAF1QipOSqyvDV6YU3fHaJJnWgkrBnnx5T9cXyIHiINHd!2e10!3e12!6shttps:%2F%2Flh5.googleusercontent.com%2Fp%2FAF1QipOSqyvDV6YU3fHaJJnWgkrBnnx5T9cXyIHiINHd%3Dw203-h209-k-no!7i6633!8i6839!4m9!3m8!1s0x35419193e9e71c73:0x97b31ab09595dbf4!8m2!3d33.5916974!4d130.4043575!10e5!14m1!1BCgIgAQ!16s%2Fg%2F121pw6vx?entry=ttu ``` をURLデコヌドするず ``` https://lh5.googleusercontent.com/p/AF1QipOSqyvDV6YU3fHaJJnWgkrBnnx5T9cXyIHiINHd=w203-h209-k-no!7i6633!8i6839!4m9!3m8!1s0x35419193e9e71c73:0x97b31ab09595dbf4!8m2!3d33.5916974!4d130.4043575!10e5!14m1!1BCgIgAQ!16s/g/121pw6vx?entry=ttu ``` ずいうURLが含たれおいるこずが分かる。 これを開けるようになるたで削っおみるず https://lh5.googleusercontent.com/p/AF1QipOSqyvDV6YU3fHaJJnWgkrBnnx5T9cXyIHiINHd=w203-h209 ![image](https://hackmd.io/_uploads/SJpU_PXUT.png) のようなURLになり、ちっちゃい画像が返っおくる。 203x209ずいう数倀は  URLに含たれおいるずいうこずはw9999-h9999のようなURLにしおやるず https://lh5.googleusercontent.com/p/AF1QipOSqyvDV6YU3fHaJJnWgkrBnnx5T9cXyIHiINHd=w9999-h9999 ![image](https://hackmd.io/_uploads/Hk_JKDXLa.png) Googleが持っおる最もでかい画像が返っおくるこのテクをニアミス画像に䜿うず ![image](https://hackmd.io/_uploads/Sk6SKP7UT.png) 芋えるこれをスキャンしたら完了 ``` TsukuCTF23{http://www.fukuokaken-kihinkan.jp} ``` いた確認したら「もっず画質が良ければ  」ず蚀った画像にこのテクを䜿ったら䞀発でした。内緒だよ。 ### osint - grass_court (488pt) <details> <summary>問題</summary> > しばらく䜿われおいないテニスコヌトのようだ。 > この日本にあるテニスコヌトの堎所はどこだろう。 > フラグの圢匏は `TsukuCTF23{緯床_経床}`です。 > 小数点以䞋5䜍を切り捚おお、小数点以䞋4桁お゙答えおください。 > > Looks like a tennis court that hasn't been used for a while. > Where is the location of this tennis court in Japan? > The format of the flag is `TsukuCTF23{latitude_longitude}`. > Round down to 5 decimal places and submit your answer to 4 decimal places. ![](https://cdn.jsdelivr.net/gh/EaINT-HQ/challenge-attachments@main/2023/tsukuctf/tennis.jpg) </details> 䞊を向いおるパラボラアンテナが気になる。適圓にパラボラアンテナの名産地を調べお山口かなヌ倩文台かなヌずか探しおいたが䞀向にそれらしい圢が芋぀からない。 **日本 パラボラアンテナ テニス** ずいう盎球すぎるキヌワヌドで画像怜玢しおみるず、トリップアドバむザヌの画像がそれっぜくないか ![image](https://hackmd.io/_uploads/r1uoTDm8T.png) ![image](https://hackmd.io/_uploads/HkZ-ADX8p.png) ![2023-12-11_01-57-56_chrome-min](https://hackmd.io/_uploads/BJj40DX86.png) ✅ テニスコヌト ✅ 䞊むいたパラボラアンテナ ✅ なんか゚アコンの宀倖機みたいな四角いの 3D衚瀺するずもっずそれっぜくなる ![2023-12-11_01-59-39_chrome-min](https://hackmd.io/_uploads/ByHjCvXI6.png) ![image](https://hackmd.io/_uploads/rkXxkumIp.png) ずいうわけで正解はテニスコヌトず奥州宇宙遊孊通の間でした ``` TsukuCTF23{39.1350_141.1326} ``` ### osint - fiction (491pt) <details> <summary>問題</summary> > 「座暙を教えおくれ」 > フラグフォヌマットは、`TsukuCTF23{緯床_経床}`です。 > 小数点以䞋5䜍を切り捚おお、小数点以䞋4桁で答えおください。 > > "Give me the coordinates." > The flag format is `TsukuCTF23{latitude_longitude}`. > Round down to 5 decimal places and submit your answer to 4 decimal places. ![](https://cdn.jsdelivr.net/gh/EaINT-HQ/challenge-attachments@main/2023/tsukuctf/fiction.jpg) </details> :::info "問題の画像を芋たらたたげるよ"ず、チヌム内で話題になったや぀。これもすき - _karubabu_ ::: google lensで怜玢するず、以䞋の動画が芋付かる。 [GEKKOS HOUSE - YouTube](https://www.youtube.com/watch?v=ucploTHmBWk) ![Screenshot from 2023-12-10 23-54-03](https://hackmd.io/_uploads/HJH8Z878a.png) どうやら、ゲヌムマップそれ自䜓にストヌリヌ蚭定䞊の座暙があり、それを探すものらしい。 [『VALORANT』新マップ「サンセット」発衚。塔のそびえる“ロの字”型サむトが特城的な2サむトマップか - AUTOMATON](https://automaton-media.com/articles/newsjp/20230827-261839/) ![20230827-261839-header-696x358](https://hackmd.io/_uploads/B12FZUQUa.jpg) [Sunset | Valorant Wiki | Fandom](https://valorant.fandom.com/wiki/Sunset?so=search) > 34°2'C" N 118°12'YT" W > (34°2'2" N 118°12'16" W) それっぜい座暙がゲヌム内で衚瀺されるらしく、これを倉換しお`lat_lon`圢匏に倉換したがダメ。実際は蚈算を間違えお切り捚おにしおしたっただけでこれからでも求められる [Maps | Valorant Wiki | Fandom](https://valorant.fandom.com/wiki/Maps#Map_Coordinates) ![image](https://hackmd.io/_uploads/HkeE7PX86.png) ゲヌムwikiにも座暙があり、それが正解だった。 ``` TsukuCTF23{34.0338_-118.2044} ``` ### osint - hunter (498pt) <details> <summary>問題</summary> > 名前をメヌルで聞こうずしたずころ、盞手のGmailの䞀郚が分からなくなっおしたいたした。 > 倧倉お忙しいずころ恐瞮ですが、暇なずきに調査しおください。 > `qeinijo#iby#@gmail.com` > `#`が䞍明な郚分です。 > なお、倖郚サヌビスに短期間で倚くのアクセスをしないようにしおください。 > > I tried to email you to ask for the name, but I lost track of part of the person's Gmail. > I apologize for the inconvenience, but please investigate in your space time. > `qeinijo#iby#@gmail.com` > `#` is the part I don't understand. > Please avoid accessing many external services in a short period of time." </details> メヌルアドレスの䞍明な2文字を特定するために、以䞋のツヌルを䜿甚する。 [gxlu: Python script to check if a gmail account exists](https://github.com/czz/gxlu.git) googleのメヌルアドレスの名前郚分は、`[a-Z0-9]`そしお最埌の文字でないのなら`.`が䜿えるので、可胜性のあるメヌルアドレスを列挙するスクリプトを曞いおツヌルに食わせる。 ``` import string for i in string.ascii_letters: st = "" st = "qeinijo" st += str(i) for j in string.ascii_letters: sst = st sst += "iby" sst += str(j) sst += "@gmail.com" print(sst) for i in string.ascii_letters: st = "" st = "qeinijo" st += str(i) for j in range(10): sst = st sst += "iby" sst += str(j) sst += "@gmail.com" print(sst) for i in range(10): st = "" st = "qeinijo" st += str(i) for j in string.ascii_letters: sst = st sst += "iby" sst += str(j) sst += "@gmail.com" print(sst) st = "" st = "qeinijo" st += "." for j in string.ascii_letters: sst = st sst += "iby" sst += str(j) sst += "@gmail.com" print(sst) for j in range(10): sst = st sst += "iby" sst += str(j) sst += "@gmail.com" print(sst) st = "" st = "qeinijo" st += "+" for j in string.ascii_letters: sst = st sst += "iby" sst += str(j) sst += "@gmail.com" print(sst) for j in range(10): sst = st sst += "iby" sst += str(j) sst += "@gmail.com" print(sst) st = "" st = "qeinijo" for j in string.ascii_letters: sst = st sst += str(j) sst += "iby." sst += "@gmail.com" print(sst) for j in range(10): sst = st sst += str(j) sst += "iby." sst += "@gmail.com" print(sst) ``` こんな感じのコヌドをforブロック毎に実行しおいった。 これらを終えるず、䞀぀だけ有効なメヌルアドレスが芋付かる。 `qeinijo.iby8@gmail.com` メヌルアドレスをsubmitしお終了 ではなかったので、このメヌルアドレスで出来るこずをやる。 [GHunt: Offensive Google framework. ](https://github.com/mxrch/GHunt) これを䜿うず、メヌルアドレスに蚭定されおいる名前が取埗出来お、そこにflagがある。 ``` 🙋 Google Account data Name : TsukuCTF23{GHun7_i5_u5efu1} [-] Default profile picture [-] Default cover picture Last profile edit : 2023/11/26 14:01:06 (UTC) Email : qeinijo.iby8@gmail.com Gaia ID : 110226179607802829689 User types : - GOOGLE_USER (The user is a Google user.) 📞 Google Chat Extended Data Entity Type : PERSON Customer ID : Not found. 🌐 Google Plus Extended Data Entreprise User : False 🎮 Play Games data [+] New token for playgames has been generated [-] No player profile found. 🗺 Maps data Profile page : https://www.google.com/maps/contrib/110226179607802829689/reviews [-] No review. 🗓 Calendar data [-] No public Google Calendar. ``` ``` TsukuCTF23{GHun7_i5_u5efu1} ``` ### osint - twin (499pt) <details> <summary>問題</summary> > ハッカヌは独自に収集した倧量の個人情報を、ずあるWebサむト䞊で2023幎11月23日に投皿した。 > 我々はこの投皿IDが`KL34A01m`であるずいう情報を埗た。ハッカヌのGitHubアカりントを特定せよ。 > > A hacker posted a large amount of personal information collected independently on a certain web site on November 23, 2023. > We have obtained information that this posting ID is `KL34A01m`.I need you to identify the hacker's GitHub account. </details> 投皿IDが`KL34A01m`。䞀䜓䜕のこずかず思ったが、リヌクずいえば pastebin.com なので https://pastebin.com/KL34A01m を開いおみるずビンゎっぜい。 ![image](https://hackmd.io/_uploads/HyVRHB7U6.png) しかしこのナヌザヌが投皿しおるのはこの個人情報停物ず謎のquineだけ。 ![image](https://hackmd.io/_uploads/SJoGIrQUp.png) ![image](https://hackmd.io/_uploads/SynWIH78p.png) すごい quineずいえばruby偏芋だろうからrubyの環境を甚意しおAST読んでみたりデバッガ挿しおみたりずいろいろしおみるがさっぱり分からなくおしばらく積む。 その埌、これがosintカテゎリの問題であるこずを確認し、そんなにプログラムの内容を知らなくおも解けるであろうずいう予枬を立お、怜玢に切り替えおみる。 ![image](https://hackmd.io/_uploads/Hko2LrmUp.png) GitHubでこの投皿のタむトルであるTsuineを怜玢しおするず䞀発で同じ゜ヌスが出おきた。 答えは ``` TsukuCTF23{gemini5612} ``` ### misc - what_os (201pt) <details> <summary>問題</summary> > ずある研究所から、昔にシェル操䜜を行った玙が送られおきた来たんだが、 > なんのOSでシェルを操䜜しおいるか気になっおな。 > バヌゞョンの情報などは必芁ないから、OSの名前だけを教えおくれないか? > > にしおも、デヌタずかではなく玙で送られお来たんだ。䞀䜓䜕幎前のOSなんだ。。。 > > 送られおきた玙をダりンロヌドしお確認しおほしい。 > > A lab sent me a paper of operation for a shell, and I wondered on which OS it was running. > Please let me know only the name of the OS except for other information such as version. > > The data is sent by paper, not a program by the way. It means the OS is really old, right? > Anyway, please check the attached file and investigate it. <details> <summary>tty.txt</summary> ``` login: root root # ls -al total 8 41 sdrwr- 7 root 70 Jan 1 00:00:00 . 41 sdrwr- 7 root 70 Jan 1 00:00:00 .. 43 sdrwr- 2 root 630 Jan 1 00:00:00 bin 42 sdrwr- 2 root 250 Jan 1 00:00:00 dev 104 sdrwr- 2 root 110 Jan 1 00:00:00 etc 114 sdrwrw 2 root 140 Jan 1 00:00:00 tmp 41 sdrwr- 9 root 100 Jan 1 00:00:00 usr # chdir etc # ls -al total 34 104 sdrwr- 2 root 110 Jan 1 00:00:00 . 41 sdrwr- 7 root 70 Jan 1 00:00:00 .. 106 lxrwr- 1 bin 5778 Jan 1 00:00:00 as2 105 sxrwr- 1 bin 446 Jan 1 00:00:00 getty 107 sxrwr- 1 sys 2662 Jan 1 00:00:00 glob 108 sxrwr- 1 sys 1192 Jan 1 00:00:00 init 109 sxrwr- 1 sys 186 Jan 1 00:00:00 msh 110 s-rw-- 1 sys 272 Jan 1 00:00:00 passwd 111 s-rwr- 1 root 512 Jan 1 00:00:00 std0 112 s-rwr- 1 bin 2082 Jan 1 00:00:00 suftab 113 s-rwr- 1 sys 88 Jan 1 00:00:00 uids # ed uids 88 1,7p root:0 sys:1 bin:3 adm:3 jfo:4 ken:6 dmr:7 q # echo "who is dmr and ken?" who is dmr and ken? # chdir / # chdir usr # ls -al total 10 41 sdrwr- 9 root 100 Jan 1 00:00:00 . 41 sdrwr- 9 root 100 Jan 1 00:00:00 .. 42 sdrwr- 2 root 80 Jan 1 00:00:00 boot 49 sdrwr- 2 root 60 Jan 1 00:00:00 fort 54 sdrwr- 2 root 70 Jan 1 00:00:00 jack 57 sdrwr- 5 ken 120 Jan 1 00:00:00 ken 59 sdrwr- 2 root 110 Jan 1 00:00:00 lib 83 sdrwr- 5 root 60 Jan 1 00:00:00 src 68 sdrwr- 2 root 160 Jan 1 00:00:00 sys 208 sxrwrw 1 root 54 Jan 1 00:00:00 x # chdir sys # ls -al total 325 68 sdrwr- 2 root 160 Jan 1 00:00:00 . 41 sdrwr- 9 root 100 Jan 1 00:00:00 .. 70 sxrwr- 1 root 2192 Jan 1 00:00:00 a.out 71 l-rwr- 1 root 16448 Jan 1 00:00:00 core 72 s-rwr- 1 sys 1928 Jan 1 00:00:00 maki.s 69 lxrwrw 1 root 12636 Jan 1 00:00:00 u0.s 81 lxrwrw 1 root 18901 Jan 1 00:00:00 u1.s 80 lxrwrw 1 root 19053 Jan 1 00:00:00 u2.s 79 lxrwrw 1 root 7037 Jan 1 00:00:00 u3.s 78 lxrwrw 1 root 13240 Jan 1 00:00:00 u4.s 77 lxrwrw 1 root 9451 Jan 1 00:00:00 u5.s 76 lxrwrw 1 root 9819 Jan 1 00:00:00 u6.s 75 lxrwrw 1 root 16293 Jan 1 00:00:00 u7.s 74 lxrwrw 1 root 17257 Jan 1 00:00:00 u8.s 73 lxrwrw 1 root 10784 Jan 1 00:00:00 u9.s 82 sxrwrw 1 root 1422 Jan 1 00:00:00 ux.s # echo "OS source codes" OS source codes # cal Year? 1971 1971 Jan Feb Mar S M Tu W Th F S S M Tu W Th F S S M Tu W Th F S 1 2 1 2 3 4 5 6 1 2 3 4 5 6 3 4 5 6 7 8 9 7 8 9 10 11 12 13 7 8 9 10 11 12 13 10 11 12 13 14 15 16 14 15 16 17 18 19 20 14 15 16 17 18 19 20 17 18 19 20 21 22 23 21 22 23 24 25 26 27 21 22 23 24 25 26 27 24 25 26 27 28 29 30 28 28 29 30 31 31 Apr May Jun S M Tu W Th F S S M Tu W Th F S S M Tu W Th F S 1 2 3 1 1 2 3 4 5 4 5 6 7 8 9 10 2 3 4 5 6 7 8 6 7 8 9 10 11 12 ``` </details> </details> あるstandard inputが䞎えられるので、そこから掚察する問題。 > ken:6 > dmr:7 > q > \# echo "who is dmr and ken?" ずあるように、この人達を調べるず以䞋のサむトが芋付かる。 http://www.catb.org/jargon/html/U/Unix.html このサむトに衚瀺されおいる、OSぜさそうな名前を片っ端からsubmitするず通った。 ``` TsukuCTF23{Unix} ``` ### misc - build_error (476pt) <details> <summary>問題</summary> > 怪盗シンボルより、以䞋の謎ずき挑戊状が届いた。 > > ```plaintext > 怪盗シンボルだ > > メヌルに3぀のファむルを添付した。 > この3぀のファむルを同じディレクトリに眮き、makeずシェルに入力し実行するずが走るようになっおいる。 > > ビルドを行い、暙準出力からフラグを入手するのだ > > 远蚘゜ヌスコヌドは秘密 > ``` > > 怪盗シンボルはせっかちなので、ビルドできるかチェックしおいるか䞍安だ。。。 > 取りあえずチャレンゞしおみよう。 > > Flagフォヌマットは`TsukuCTF23{n桁の敎数}`になりたす。 > > The following letter has been received from Symbol the phantom thief: > > ```plaintext > I have attached three files. > If you put these three files and run `$ make` on your shell, you should get the flag from the standard output. > > Get the flag. > P.S. the source code is secret. > > Sincerely, > Symbol the phantom thief > ``` > > I am not sure whether he checked if it can build since he is impatient. > Anyway, let git it a try. - [main.o](https://cdn.jsdelivr.net/gh/EaINT-HQ/challenge-attachments@main/2023/tsukuctf/main.o) - [one.o](https://cdn.jsdelivr.net/gh/EaINT-HQ/challenge-attachments@main/2023/tsukuctf/one.o) - [Makefile](https://github.com/EaINT-HQ/challenge-attachments/blob/main/2023/tsukuctf/Makefile) </details> makeが通らないobjファむルが2぀ずMakefileが貰えるので、objファむルをghidraで芋る。 ```c void one_init(void) { int j; a = 12; b = 11; c = 75; for (j = 0; (ulong)(long)j < b; j = j + 1) { if ((ulong)(long)j < a) { c = c + 1; } if (c < (ulong)(long)j) { b = b + 1; } a = a + 1; } return; } ``` ```c undefined8 main(void) { int i; long local_30; long local_28; long local_20; local_30 = 12; local_28 = 11; local_20 = 75; one_init(); for (i = 0; i < local_28; i = i + 1) { if (i < local_30) { local_20 = local_20 + 1; } if (local_20 < i) { local_28 = local_28 + 1; } local_30 = local_30 + 1; } local_20 = local_20 + local_30 + local_28; if (local_20 == c + a + b) { printf("flag is %ld\n",local_20); } else { puts("please retry"); } return 0; } ``` 重芁なのはこの蟺りで、`one_init()`で`a`, `b`そしお`c`を蚈算した埌、`main()`内でも䌌たような蚈算を行った倉数ず比范し䞀臎したらflagが出力されるずいうコヌドになっおいる。 ghidraで手に入る疑䌌コヌドをほがコピペすればCのコヌドになるので、実際に動くものを䜜っお蚈算しお貰う。 ```c #include "stdio.h" int main(){ int j; int a = 12; int b = 11; int c = 75; for (j = 0; j < b; j = j + 1) { if (j < a) { c = c + 1; } if (c < j) { b = b + 1; } a = a + 1; } int i; long local_30; long local_28; long local_20; local_30 = 12; local_28 = 11; local_20 = 75; //one_init(); for (i = 0; i < local_28; i = i + 1) { if (i < local_30) { local_20 = local_20 + 1; } if (local_20 < i) { local_28 = local_28 + 1; } local_30 = local_30 + 1; } local_20 = local_20 + local_30 + local_28; if (local_20 == c + a + b) { printf("flag is %ld\n",local_20); } else { puts("please retry"); } return 0; } ``` ``` TsukuCTF23{120} ``` で通った。 ### misc - content_sign (481pt) <details> <summary>問題</summary> > ず゙うやら、この画像には眲名技術を䜿っおいるらしい。この眲名技術は、画像に察しおの線集を蚘録するこずがお゙きるらしい。眲名技術を特定し、改倉前の画像を埩元しおほしい。 Flag圢匏は<code>TsukuCTF23{&lt;䞀個前に眲名した人の名前&gt;&amp;&lt;眲名した時刻(ISO8601拡匵圢匏)&gt;}</code>お゙す。䟋えば、䞀個前に眲名した人の名前は「Tsuku」お゙、眲名した時刻が2023/12/09 12:34:56(GMT+0)の堎合、フラグは<code>TsukuCTF23{Tsuku&amp;2023-12-09T12:34:45+00:00}</code>お゙す。なお、タむム゜゙ヌンはGMT+0を䜿甚しおください。 > It seems this image is applied digital signature, which can record edit history for an image. Identify the technology and restore the raw image, which means the image before revised. > <p>The flag format is <code>TsukuCTF23{&lt;the name of the previous signing person&gt;&amp;&lt;signed time(ISO8601 extended format)&gt;}</code></p> ![](https://cdn.jsdelivr.net/gh/EaINT-HQ/challenge-attachments@main/2023/tsukuctf/signed_flag.png) </details> 倉な画像が枡される。ExifToolに聞くずc2paずいう文字が散芋される。 ![image](https://hackmd.io/_uploads/rJYReBmL6.png) [contentauth/c2patool: Command line tool for displaying and adding C2PA manifests](https://github.com/contentauth/c2patool) これで開くこずができそう。 開くず結構な量のjsonが出おくる。 https://gist.github.com/eai04191/9179bc7154d869e356c61fbb5424253c 眺めるずauthorずいうキヌで **TSUKU4_IS_H@CKER** ず **tarutaru** ずいう名前が芋える。 眲名日時はsignature_infoに曞いおある。 これらにより - TSUKU4_IS_H@CKER による 2023-12-08T13:00:26+00:00 の眲名 - tarutaru による 2023-12-08T13:01:25+00:00 の眲名 があるこずがわかった。回答は「䞀個前に眲名した人の名前ず眲名した時刻」の組み合わせだが、眲名した時刻が䞀個前なのかその次なのか分からなかったので䜕通りか詊した。 ``` TsukuCTF23{TSUKU4_IS_H@CKER&2023-12-08T13:00:26+00:00} ``` で通った。どちらずも「䞀個前」の情報を入れればOKだった :::info 人生で初first bloodずれお嬉しかったです - _Eai_ ::: ### rev - title_screen (487pt) <details> <summary>問題</summary> > 父は昔プログラマヌだったらしい、 > しかし、圓時開発した゜フトのタむトルが思い出せない。 > ゜フトを起動するず画面にタむトルが衚瀺されるらしいのだが... > 残っおいる開発デヌタからなんずか導き出そう > > ※実行結果ずしお予想される衚瀺文字列蚘号含むをフラグずしお解答しおください。 > > They said Tsukushi's father was a programmer. > However, I forgot the title of the software which he developed. > If I remember correctly, the title is on the display when the software is started. > Could you please investigate from the remaining data? - [source_code.zip](https://cdn.jsdelivr.net/gh/EaINT-HQ/challenge-attachments@main/2023/tsukuctf/source_code.zip) </details> 添付されおいるファむルをダりンロヌドしお解凍するず、アセンブリ、蚭定ファむル、キャラクタ画像BMPが出おくる 蚭定ファむルを確認するずこのような蚘述がある ``` MEMORY { HEADER: start = $0000, size = $0010, file = %O, fill = yes; ROMST: start = $8000, size = $7ffa, type = ro, file = %O, fill = yes, define = yes; ROMINFO: start = $fffa, size = $0006, type = ro, file = %O, fill = yes, define = yes; ROMCHR: start = $0000, size = $2000, type = rw, define = yes; } ``` > 生成するファむルの構造を決めおそう、ROMCHRはキャラクタROMの事か...? アセンブリを芋おみるずヘッダに次の蚘述がある ```asm .setcpu "6502" ``` > 6502はファミコンで䜿われおいるCPU正確には6502をカスタムしたCPUらしい キャラクタ画像を開くず文字が出おきた、この䞭にフラグが含たれおそう この事からファミコンの゜ヌスコヌドだず掚枬した そのたたビルドすればフラグが衚瀺できる...ずいう蚳ではなく、゜ヌスコヌドに含たれおいる画像BMP圢匏をCHR圢匏に倉換する必芁があった CHR圢匏を扱えるツヌルを調べたらYY-CHRを芋぀けたのでこれを䜿った YY-CHRにはbmp画像を読み蟌む機胜があったが、゜ヌスコヌドに含たれおいるキャラクタ画像が128x256のサむズだったのでそのたたでは読み蟌めず128x128にリサむズしお読み蟌たせた > 128x256だったのはスプラむト+BGが合わさった物だったから...? ROMのビルドに関しおは `cc65` ずいう6502向けのためのコンパむルツヌルを䜿甚した ``` cl65 -t none -C main.cfg -o main.bin main.asm ``` これでROMがビルドされるので、埌ぱミュに投げお実行すればタむトル画面が衚瀺される ![image](https://hackmd.io/_uploads/SkKxEwXL6.png) ``` TsukuCTF23{Tsukushi_Quest} ``` ## 解けなかった ### web - MEMOwow (496pt) <details> <summary>問題</summary> > 玠晎らしいメモアプリを䜜ったよ。 > 芚える情報量が増えおいるっお > > [http://133.130.100.34:31415](http://133.130.100.34:31415) > > I've made the grateful memo app! > Hmm, but it looks the quantity of information which it has to remember is increased... - [MEMOwow.zip](https://cdn.jsdelivr.net/gh/EaINT-HQ/challenge-attachments@main/2023/tsukuctf/MEMOwow.zip) </details> ### web - EXECpy (499pt) <details> <summary>問題</summary> > RCEがめんどくさい? > デヌタを`exec`に枡しずいたからRCE2XSSしおね! > > [http://118.27.109.12:31416](http://118.27.109.12:31416) > > **AdminBot:** [http://118.27.109.12:31416/crawler](http://118.27.109.12:31416/crawler) > > You think doing RCE is a hassle, right? > So, this server passes the data to the `exec`, please do RCE2XSS. > > [http://118.27.109.12:31416](http://118.27.109.12:31416) > > **AdminBot:** [http://118.27.109.12:31416/crawler](http://118.27.109.12:31416/crawler) - [EXECpy.zip](https://cdn.jsdelivr.net/gh/EaINT-HQ/challenge-attachments@main/2023/tsukuctf/EXECpy.zip) </details> ### osint - RegexCrossword (484pt) <details> <summary>問題</summary> > クロスワヌドを解いおみお > これを䜜った䌚瀟の本瀟の郵䟿番号をハむフンありで答えおね > > Solve the crossword! > Hyphenate the zip code of the headquarters of the company that made this!! ![](https://cdn.jsdelivr.net/gh/EaINT-HQ/challenge-attachments@main/2023/tsukuctf/RegexCrossword.jpg) </details> ### osint - koi (488pt) <details> <summary>問題</summary> > **フラグに誀りがありたした。この問題は12/10 0:50(JST)に修正されたした。** > **有効なフラグの提出は正解に修正されたした。** > **修正されおいないず思う方はチケットでお問い合わせください。** > **たた、フラグが蚂正されたした。 > この床はご迷惑をおかけしたした。倧倉申し蚳ございたせん。** > > 画像フォルダを持っおいるず、鯉のあらいを初めお食べた時の画像が出おきた。 > 圓時のお店を再床蚪ね、鯉の掗いを食べたいが電話番号が思い出せない。 > > 誰か、私の代わりにお店を調べ、電話番号を教えおほしい。 > > 蚘憶では、お店に行く途䞭で芋かけたお皿が䜿われおいた気がする。。。 > > Flagは電話番号ずなっおおり、ハむフンは䞍芁である。 > `TsukuCTF23{電話番号}` > > **The flag is wrong. This challenge is fixed at 12/10 0:50(JST).** > **Submission of valid flag has been fixed to correct answer.** > **If you think it has not been fixed, please contact us with a ticket.** > **Also, the flag was corrected. > We apologize for the inconvenience. We are very sorry.** > > I was sorting through my picture folder and found a picture of the first time I ate 鯉のあらい. > I want to go to that restaurant again to try 鯉のあらい, but I can't remember the phone number. > > Can someone please look it up and give me the phone number? > > My recollection is that they used a plate I saw on the way to the restaurant. > > Flag format is the phone number, And no hyphen needed. > `TsukuCTF23{phone number}` ![](https://cdn.jsdelivr.net/gh/EaINT-HQ/challenge-attachments@main/2023/tsukuctf/koi.JPG) </details> 噚それ自䜓は小石原焌だずすぐ刀断出来た。 しかし、そこから店に蟿り぀くこずが出来なかった。 [https://reboo.site/products/hayakawa-016] 噚の生産地が犏岡県・東峰村なら、その呚蟺の垂町でこの噚を䜿甚しお鯉のあらいを売っおいるお店を探せばあるのかず考えたが、䌌たような噚を䜿っおいる1軒しか芋付けられずその1軒も正解ではなかった。 [https://ameblo.jp/eigo-memo-tekito/entry-12701713048.html] ### osint - sunset (499pt) <details> <summary>問題</summary> > TsukuCTF運営の1人であるshioが、今幎に開催されたあるむベントが終わった埌に倕日を撮圱した。 > この写真が撮圱された日時を求めよ。 > フラグフォヌマットは`TsukuCTF23{YYYY/MM/DD_hh:mm}`である。 > 䟋えば、TsukuCTF2023の開始日時は`TsukuCTF23{2023/12/09_12:20}` > なお、誀差は1分たで蚱容され、日本暙準時を甚いる。 > > shio, one of the TsukuCTF admins, took a picture of the sunset after an event held this year. > I need you to find the date and time this photo was taken. > The flag format is `TsukuCTF23{YYYY/MM/DD_hh:mm}`. > For example, the start date and time of TsukuCTF2023 is `TsukuCTF23{2023/12/09_12:20}`. > Note that an error of up to 1 minute is allowed and the answer is based on Japan Standard Time. ![](https://cdn.jsdelivr.net/gh/EaINT-HQ/challenge-attachments@main/2023/tsukuctf/sunset.jpg) </details> ### osint - udon_2023 (499pt) <details> <summary>問題</summary> > ここのうどん、麺だけじゃなく、鶏倩も矎味しい > お店の堎所を忘れたから、7文字のplus codeで教えお > フラグフォヌマットは、+を含めお`TsukuCTF23{**REDACTED**+**REDACTED**}` > > This うどん(udon) is not only good 麺(noodle), but also 鶏倩(chicken tempura)!!! > I forgot where the restaurant is, so give me a 7 letter plus code!!! > The flag format is `TsukuCTF23{**REDACTED**+**REDACTED**}` (including +) ![](https://cdn.jsdelivr.net/gh/EaINT-HQ/challenge-attachments@main/2023/tsukuctf/udon_2023.jpg) </details> うどんそれ自䜓にはあたりにも特城を感じないため、テヌブルに眮いおあるものをフォヌカスしおgoogle lensを䜿甚したが、特に䜕も芋付からなかった。 次に、噚をgoogle lensで調べおみたが、特に䜕も芋付からず。 うどんに特化したブログがあったので、そこで非垞に䌌た噚の店を芋付けたが、正解の店ではなかった。 [桃倪郎通](https://metabokawa.ashita-sanuki.jp/e1298284.html) ![Screenshot from 2023-12-11 03-10-17](https://hackmd.io/_uploads/BkAfyYmIa.png) ![Screenshot from 2023-12-11 03-10-46](https://hackmd.io/_uploads/rkO41KQU6.png) 別の問題に噚に぀いおの蚀及があるものがあったのは、そういう理由もあったのだず気付かされた。 ### crypto - new_cipher_scheme (491pt) <details> <summary>問題</summary> > I wouldn't worry about it being decrypted because of this complicated process! - [output.py](https://github.com/EaINT-HQ/challenge-attachments/blob/main/2023/tsukuctf/output.py) - [problem.py](https://github.com/EaINT-HQ/challenge-attachments/blob/main/2023/tsukuctf/problem.py) </details> RSAっぜい。 Caesar Cipher is the Best Cipherずか蚀っおるや぀がRSA解けるわけがなかった。 タむトル回収 <style> details { margin-bottom: 1em; border: 1px solid gray; border-radius: 0.4em; } summary { padding: 1em; } </style>