Top Banner
Welcome to the Black Hole of Bug Bounty Program HTML5 Night June 14 th , 2014
24

Welcome to the Black Hole of Bug Bounty Program

May 22, 2015

Download

Internet

HTML5 Nightの発表資料です。
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Welcome to the Black Hole of Bug Bounty Program

Welcome to the Black Hole of

Bug Bounty Program

HTML5 Night June 14th, 2014

Page 2: Welcome to the Black Hole of Bug Bounty Program

西村 宗晃 a.k.a. nishimunea

html5j Webプラットフォーム部 部員 HTML5 Experts.jp コントリビューター セキュリティキャンプ全国大会 2014 講師 FxOS コードリーディング 部員

Page 3: Welcome to the Black Hole of Bug Bounty Program

Mozilla Security Bug Bounty Program

(Mozilla セキュリティバグ報奨金制度)

Page 4: Welcome to the Black Hole of Bug Bounty Program

https://www.mozilla.org/security/bug-bounty.html

Page 5: Welcome to the Black Hole of Bug Bounty Program

• 重大なセキュリティバグを発見した人にMozillaが報奨金を支払う制度

• バグ1件につき3000ドル(約30万円)

Page 6: Welcome to the Black Hole of Bug Bounty Program

国内の報奨金取得者も

MFSA 2014-09

MFSA 2010-42

Page 7: Welcome to the Black Hole of Bug Bounty Program

でもどこを狙えば…

これはやるしかない!

Page 8: Welcome to the Black Hole of Bug Bounty Program

1千万行を超えるFirefoxのコードからバグを探すのは 砂漠の中からダイアモンドを見つけ出すようなもの

過去にバグの見つかったところを狙う • 修正が不十分で、まだバグが残っているかも • 担当者のセキュリティの知識が浅く、類似のバグがあるかも

Page 9: Welcome to the Black Hole of Bug Bounty Program

お分かりですよね?

バグの見つかったところと言えば

Page 10: Welcome to the Black Hole of Bug Bounty Program

Web Workers

MFSA 2014-09

MFSA 2010-42

Page 11: Welcome to the Black Hole of Bug Bounty Program

本当にあった!

Page 12: Welcome to the Black Hole of Bug Bounty Program

しかし既知のバグだとの指摘が

This is a dupe of 9497XX.

Page 13: Welcome to the Black Hole of Bug Bounty Program

既知のバグを見つけた場合 Mozillaは同件と思われるBugzillaの アクセス権を付与してくれる

Page 14: Welcome to the Black Hole of Bug Bounty Program

き… Kinugawaさん…(;´Д⊂)

Page 15: Welcome to the Black Hole of Bug Bounty Program

• Firefoxのバグ探しは競争率が高く、 既に探し出されている場合もある

• ニッチケースまで安全に実装されており そもそもバグを見つけることが難しい

Page 16: Welcome to the Black Hole of Bug Bounty Program

そこで、競争率が低そうな Firefox OS固有の機能を狙う

Page 17: Welcome to the Black Hole of Bug Bounty Program

なんと1週間で5件見つかる

Page 18: Welcome to the Black Hole of Bug Bounty Program

ぶっ、ブルーオーシャン!

そう、Firefox OSならね。

Page 19: Welcome to the Black Hole of Bug Bounty Program

Lesson Learned

Bug Bounty Programは中毒性が高い

Page 20: Welcome to the Black Hole of Bug Bounty Program

• 一日中バグのことを考えるようになる

• 新しい機能を知ると無性に攻撃したくなる

Page 21: Welcome to the Black Hole of Bug Bounty Program

しかし得られるものも多い

Page 22: Welcome to the Black Hole of Bug Bounty Program

• 攻撃者の視点で物事を考える力が付く

• 安全な実装方法を意識する習慣が身に付く

Page 23: Welcome to the Black Hole of Bug Bounty Program

Let’s Bug Hunt!

Page 24: Welcome to the Black Hole of Bug Bounty Program

まだ報奨金は獲得してないんですけどね…

ここに小切手の画像をドロップ