Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
CTFに興味が湧くLT~プログラマ編~
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
acht3
May 28, 2024
Programming
0
150
CTFに興味が湧くLT~プログラマ編~
Shima Tech Hub #3でLTしたときの資料
acht3
May 28, 2024
Tweet
Share
Other Decks in Programming
See All in Programming
ぼくの開発環境2026
yuzneri
1
290
24時間止められないシステムを守る-医療ITにおけるランサムウェア対策の実際
koukimiura
2
180
文字コードの話
qnighy
43
16k
Ruby x Terminal
a_matsuda
5
530
2026年は Rust 置き換えが流行る! / 20260220-niigata-5min-tech
girigiribauer
0
210
PJのドキュメントを全部Git管理にしたら、一番喜んだのはAIだった
nanaism
0
230
CSC307 Lecture 11
javiergs
PRO
0
580
AWS Infrastructure as Code の新機能 2025 総まとめ 〜SA 4人による怒涛のデモ祭り〜
konokenj
10
2.9k
「ブロックテーマでは再現できない」は本当か?
inc2734
0
1.1k
AIによる高速開発をどう制御するか? ガードレール設置で開発速度と品質を両立させたチームの事例
tonkotsuboy_com
7
2.6k
Python’s True Superpower
hynek
0
190
Event Storming
hschwentner
3
1.3k
Featured
See All Featured
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
290
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
60
42k
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
90
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.1k
The Curse of the Amulet
leimatthew05
1
9.3k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.1k
Prompt Engineering for Job Search
mfonobong
0
180
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
1
1.4k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.3k
Transcript
CTFに興味が湧くLT ~プログラマ編~ Shima Tech Hub #2 1
自己紹介 鉢嶺 光(はっちーと言われてます) 株式会社セキュアイノベーションで働くセキュリティ エンジニア プログラム書いたりSIEM構築したりIoTや車載セキュ リティにも顔出したりとサブクエも全力対応中
最近は県警のサイバー犯罪対策アドバイザーになりま した(サブクエ多くない??) 2
CTFってなに? 3
CTFとは Capture The Flagの略 セキュリティの分野においては、 ハッキング技術を競い合う競技 を指していて、分野別に出題さ れる問題をどれだけ早く解ける
かを競うよ DEFCON、SECCONが有名だ よ 4
クイズ形式のCTF 大体以下の分野で問題が出題されます Crypto ⇒ 暗号を解いたりする Network ⇒
パケットを見たりする Binary ⇒ バイナリファイルを解析したりする Web ⇒ Webアプリの脆弱性を突いたりする Pwn ⇒ プログラムの脆弱性を突いたりする Forensics ⇒ ファイル解析とかする Misc ⇒ その他 難易度はEasy、Medium、Hard、Expertの3~4種類 それぞれの問題に隠されているフラグを見つけたらOK 5
プログラマ向けの 面白い問題を爆速紹介 6
writeme CTF for Beginners 2021で出題されたmisc[medium]の 問題で、作問者のSatokiさんのgithubでWriteup(解説) がされています。 https://github.com/satoki/ctf4b_2021_satoki_writeups/t
ree/main/misc/writeme 問題内容としては、Pythonのプログラムが与えられるので、 それを読み解いてPythonのプログラムにフラグが記載され ているファイルを読み取らせるというもの 7
writeme.py 8
writeme.pyの動作 9
問題を解くカギ 10 「42 >= 99」をどう にか突破できれば、 フラグが読み取れる どこかにキャッシュさ れている情報を上書き させることができる
試行錯誤しながら前に進む 11
Pythonの定数を書き換える 12 この位置に整数データが存在し ているので、ここを書き換える
他の情報も組み合わせて[解]を導く 13
爆速紹介は以上! 14
ちょっと興味が湧いたという そこのあなた!朗報です!! 15
SECCON Beginners https://www.seccon.jp/13/seccon_beginners/content.html 通称はCTF4B (CTF for Beginners)
CTF未経験者向けのCTF大会が今年も開催されます! 今年の開催は6/15 (土) 14:00 ~ 無料でオンライン参加可能 チーム、個人のどちらでも参加できます 制限時間は24時間 時間配分は自由なので遅れて参加しても問題なし Discordで他の人の解き方を見たり、意見交換もできるよ 16
Hack Yourself - fin - 17