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
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
50
10k
Music & Morning Musume
bryan
48
7.5k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
490
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
960
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
850
Large-scale JavaScript Application Architecture
addyosmani
516
110k
The agentic SEO stack - context over prompts
schlessera
0
1k
Ethics towards AI in product and experience design
skipperchong
2
470
Bash Introduction
62gerente
615
220k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
1.1k
Being A Developer After 40
akosma
PRO
92
590k