Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
そうだCTFをしよう!(LT会でCTFを開催した
Search
trimscash
January 02, 2024
40
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
そうだCTFをしよう!(LT会でCTFを開催した
trimscash
January 02, 2024
Transcript
17 slides
ハンドスピナーを回し水を飲む.. そうだ! をやろう
自己紹介 わいのかちだことうえすぎにぐせうことTrimsCashです. Twitterやってます
CTFってな~に? セキュリティの大会(AtCoder のセキュリティ版) 与えられた問題の脆弱性などを突いてフラグと呼ばれる文字列 を取得するゲーム Pwnable 代表的な大会 SECCON (国内) DEFCON
(海外) 大会は毎週… ctftime.org 開催される予定のCTFの一覧
問題のカテゴリ Pwnable Pwnable Pwnable Web Pwnable Reversing Pwnable Crypto Pwnable
Misc Pwnable OSINT
Pwnable Pwnable http://192.168.1.80 CTF開催してます PLAY NOW!! FREE!! spc-24Jかspc-5Jに接続
Pwnable Pwnable http://192.168.1.80 粗品 PLAY NOW!! FREE!! spc-24Jかspc-5Jに接続
bunaiCTFのカテゴリ
Buffer類似問の解説
Buffer類似問の解説 vuln.c
スタック領域とは 関数呼び出し スタック領域 リターンアドレス 関数呼び出し前のrbp (8byte) ローカル変数1 スタック領域 ローカル変数や 関数呼び出し時の引数
リターンアドレス等を入れておくのに使う スタック ローカル変数2
スタック領域とは 関数呼び出し スタック領域 リターンアドレス 関数呼び出し前のrbp (8byte 分) ローカル変数1 スタック領域 ローカル変数や
関数呼び出し時の引数 リターンアドレス等を入れておくのに使う スタック ローカル変数2
Buffer類似問の解説 vuln.c スタック領域 関数の引数 リターンアドレス a (1byte分) buf (10byte分) リターンアドレス
関数呼び出し前のrbp (8byte 分)
Buffer類似問の解説 vuln.c スタック領域 関数の引数 リターンアドレス a (1byte分) buf (10byte分) 10byte分のバッファしか確保されて
いないのに20byte書き込める! リターンアドレス 関数呼び出し前のrbp (8byte 分)
Buffer類似問の解説 vuln.c スタック領域 関数の引数 リターンアドレス a (1byte分) buf (10byte分) 10byte分のバッファしか確保されて
いないのに20byte書き込める! aaaaaaaaaa (10byteの文字) A (1byteの文字) 上書きできる リターンアドレス 関数呼び出し前のrbp (8byte 分)
Buffer類似問の解説 スタック領域 関数の引数 リターンアドレス a (1byte分) buf (10byte分) 10byte分のバッファしか確保されて いないのに20byte書き込める!
aaaaaaaaaa (10byteの文字) A (1byteの文字) 上書きできる 関数呼び出し前のrbp (8byte 分)
ありがとうございました
Pwnable Pwnable http://192.168.1.80 CTF開催してます PLAY NOW!! FREE!!
More Decks by trimscash
See All by trimscash
アセンブリにHello!
trimscash
4
88
Featured
See All Featured
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
760
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
1
310
Chasing Engaging Ingredients in Design
codingconduct
0
400
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
430
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
35
2.9k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
380
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
203
77k
The Curious Case for Waylosing
cassininazir
1
620
AI Search: Where Are We & What Can We Do About It?
aleyda
0
8.2k
Designing for humans not robots
tammielis
254
26k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
63
48k